Skip to content

spec: clear the two new Corpus ratchet regressions (sha256_round0, glass_window) - #13121

Merged
cursor[bot] merged 3 commits into
masterfrom
lane/corpus-ratchet-repair
Nov 9, 2026
Merged

cursor[bot] merged 3 commits into
masterfrom
lane/corpus-ratchet-repair

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

What

Corpus ratchet (expected-failure ledger) is red on master. Run 41439759552 names two regressions:

  • sha256_round0 is a new row;
  • glass_window discards 404 tokens instead of 396.

This PR fixes each one at its source. It does not bless, does not raise a cap and does not touch docs/reports/suite_expectations.json.

1. specs/numeric/sha256_round0.t27: a new parse-no-discard row

  • Cause. A stray } at line 63, present since the spec's first commit 26d81c7. This is a spec error, not a parser regression: the local t27c reproduces the CI verdict.
  • Fix (6d8ff82). Delete that line.
  • After. t27c parse-complete --show prints "nothing discarded", and t27c check reports 0 errors and 0 warnings.

2. specs/t27os/glass_window.t27: discard 396 -> 404

What this PR turns red

  • One new red. The spec hash of T27osGlassWindow moves from 603968db to d81bd284, so Seal Coverage and spec-guards will name that seal. A re-save needs a master-built t27c and is not in this PR.

  • Four reds that predate this PR. These seals are already red on master as gen-drift, with the spec hash unchanged:

    • GlassWindow (zig, verilog)
    • HotReload (verilog)
    • PtySys (zig)
    • Release (verilog)

    This PR leaves them alone. The re-seal in seal: re-seal GlassWindow/HotReload/PtySys/Release from current master t27c #13115 changed only sealed_at.

Not done

  • Tests are not run. t27b test specs/t27os/glass_window.t27 and t27c test-report specs/numeric/sha256_round0.t27 wait for a T27 OS pane.
  • The ratchet is not re-run locally. CI is its check.
  • The glass_window change is not yet agreed with the T27 OS lane that added the two imports.

Note on the ledger

The ledger holds 75 of 75 rows.

  • The cap counts rows, one per spec and first failing phase. It does not count diagnostics.
  • Blocked downstream phases and specs/scratch never appear as rows.
  • All 75 rows expire on 2026-11-30.

Refs #13055
Refs #13113

🤖 Generated with Claude Code


Note

Low Risk
Single-line syntax fix in a numeric spec; no runtime, auth, or generated artifact changes in this diff.

Overview
Clears the Corpus ratchet parse regression for specs/numeric/sha256_round0.t27 by deleting a stray } after ch_ref (before endmodule). That brace was invalid module syntax and caused the spec to fail parse-complete / show discarded tokens in CI.

No logic or test assertions change—only the erroneous closing brace is removed so the module closes correctly with endmodule.

Reviewed by Cursor Bugbot for commit ce59fb3. Bugbot is set up for automated code reviews on this repo. Configure here.

gHashTag and others added 2 commits November 2, 2026 19:30
Line 63 held a `}` with no opening partner, present since the file's
first commit 26d81c7. t27c discarded it at top level, so the corpus
ratchet saw sha256_round0.t27 as a new parse-no-discard failure.

Before: `t27c parse-complete --show` reports 1 token DISCARDED at 63.
After: "nothing discarded"; `t27c check` reports 0 errors, 0 warnings.
Minimal repro of the same parser behaviour: any stray top-level `}`
after a fn body (3-line module) is discarded the same way.

No seal exists for this module; no ledger or threshold is changed.

Refs #13055

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…imports

2c396c3 (#13062, reached master through the #13053 merge c78af5f)
added `use t27os::bench::dec_digits;` and `use t27os::bench::dec_char;`
at glass_window.t27:1495-1496. `bench` lexes as the keyword KwBench, so
t27c stops the use path at `t27os::` and discards `: : NAME ;` on each
line: 8 tokens, the whole "+8" the corpus ratchet reported (404 vs the
396 pinned). The defect is #11101; #13113 tracks the spec-side remedy.

The two imports fed four digit loops. They now call put_dec, which the
file already imports from t27os::session_store and which writes the
same unpadded decimal digits.

Before: `t27c parse-complete --show` 404 tokens across 101 lines.
After: 396 across 99, and the sorted set of dropped source lines is
identical to the file before #13053 (`diff` rc 0). `t27c check` gives
0 errors and the same 69 warnings as master (texts diffed, rc 0).

Not done here: no seal re-save (t27os_T27osGlassWindow spec_hash goes
stale, 603968db -> d81bd284), no ledger, baseline or threshold change.
t27b tests of this spec were not run.

Refs #13113

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-02 12:45:36 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 42
PRs with All Checks Green 4
READY 2
FAILING 42
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 42 + 0 + 0 = 44, and there are 46 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=e75b498e5e79 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

Co-authored-by: Dmitrii Vasilev <gHashTag@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-09 22:05:13 UTC

Summary

Status Count
Total Open PRs 40
PRs with Failing Checks 38
PRs with All Checks Green 2
READY 0
FAILING 38
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 38 + 0 + 0 = 38, and there are 40 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@cursor
cursor Bot merged commit 88df5ef into master Nov 9, 2026
36 of 43 checks passed
@cursor
cursor Bot deleted the lane/corpus-ratchet-repair branch November 9, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants