Skip to content

t27b: home_plan law spec-first; t27b-native gate decides the job; rehearsal credits law - #13142

Merged
gHashTag merged 4 commits into
masterfrom
lane/ci-signal-pack
Nov 2, 2026
Merged

gHashTag merged 4 commits into
masterfrom
lane/ci-signal-pack

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Follows the merged #13136 (its content is master now; this branch carries exactly the two post-squash commits).

1. home_plan.t27 (NEW, 4 tests, seal, gen-rust) - ladder step 3 of #13132

The home-assignment law: combined weight (writes count only when read), the leaf free-argument-register pool ascending from nint, the leaf skip rule, and the non-leaf rank home. codegen.rs assign_homes (+29/-42) walks the generated decisions; the emitter stays plumbing.

2. t27b-native gate decides the job (+21/-17)

The test step records rc without hard failing; the summary step's false-green guard fails immediately on rc != 0 with no test results (infra breakage is never baseline); the red-baseline verdict alone decides green.

3. The rehearsal law of the deletion-credits queue (specs/policy/deletion_credits.t27, 5/5)

queue_entry_ok: an entry sits in the queue only with a rehearsal reference naming its measured numstat; an estimate is a draft and waits. TRAP_PLAN_STUBS demoted to draft honestly (12/6 was an estimate). HOME_PLAN_LEAF corrected by rehearsal to 42/29.

Verify

  • cargo build -p t27b green; cargo test -p t27b 178 passed / 0 failed.
  • Spec test-reports: home_plan 4/4, deletion_credits 5/5; fmt clean; seals saved (T27bHomePlan, PolicyDeletionCredits).
  • Foreign budget vs master: 50 added / 59 deleted (codegen.rs 29/42, yml 21/17); gates exit 0.

Known reds on this PR (not caused here, blessed follow-ups queued on #13132)

Closes #13132

phi^2 + 1/phi^2 = 3 | TRINITY

Ladder step 3 (#13132), rehearsed and measured by lane A
(.claude/worktrees/diff-glue-wt); the honest numbers replace the
ledger's optimistic estimate.

- specs/tri/t27b/home_plan.t27 (NEW, 4 tests, seal, gen-rust): the
  home-assignment law - combined weight (writes count only when read),
  the leaf free-argument-register pool ascending from nint, the leaf
  skip rule, and the non-leaf rank home (callee-saved then slots) -
  codegen.rs assign_homes walks the generated decisions now.
  Measured: codegen.rs +29/-42.
- tools/deletion_credits.txt: HOME_PLAN_LEAF corrected to 42/29 with
  the dated rehearsal note (the 28/17 estimate was wrong both ways) -
  the credits law working as designed.
- t27b-native.yml (+21/-17): the test step records rc without hard
  failing; the summary step's false-green guard fails immediately on
  rc != 0 with no test results (infra breakage is never baseline); the
  red-baseline verdict alone decides green. Pairing deletions are
  duplicated doc text the file carries better elsewhere.
- specs/ci/red_baseline.t27: the gate-names header lines, left out of
  c564925 by a missed git add, land here.

Verify: spec test-report 4/4; fmt clean; cargo build green;
cargo test -p t27b 178 passed / 0 failed; seal saved; budget gate
exit 0 at 50 added / 59 deleted (yml 21/17, codegen 29/42).

Known remainder: the diff-cache glue (differential.rs +38, lib.rs +5,
verified live: HIT 0.02 s, key invalidated by backend bytes) waits in
the credits queue for its paired deletion top-up - DIFF_CACHE_GLUE is
a debt the current queue cannot cover honestly.

Closes #13132

phi^2 + 1/phi^2 = 3 | TRINITY
The 2026-11-02 rehearsal lesson becomes law: an entry sits in the queue
only with a rehearsal reference naming its measured numstat; an
estimate without one is a draft and waits in the consuming issue
(queue_entry_ok). TRAP_PLAN_STUBS is demoted to a draft honestly - its
12/6 was an estimate, not a measurement.

Verify: test-report 5/5 (new test added); fmt clean; seal re-saved;
zero hand-written foreign lines in this commit.

Closes #13132

phi^2 + 1/phi^2 = 3 | TRINITY
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-02 17:03:46 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 47
PRs with All Checks Green 3
READY 2
FAILING 47
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 47 + 0 + 0 = 49, and there are 50 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).

… added its deciding step

The census pin moved 37 -> 38 quiet steps because the summary step now
carries the false-green guard (the gate decides the job, #13132).
Re-blessed in the same lane as the change, per the census rule.

Part of the red-baseline train (#13132).

phi^2 + 1/phi^2 = 3 | TRINITY
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-02 17:12:54 UTC

Summary

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

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).

… in this PR

The credits law: the drawing pull request removes the entries it
consumed in the same commit that lands the migration. home_plan.t27
landed here; the queue drops the entry.

Part of #13132

phi^2 + 1/phi^2 = 3 | TRINITY
@gHashTag
gHashTag force-pushed the lane/ci-signal-pack branch from 4533f8d to c7654a1 Compare November 2, 2026 17:16
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-02 17:18:00 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 47
PRs with All Checks Green 3
READY 2
FAILING 47
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 47 + 0 + 0 = 49, and there are 50 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).

@gHashTag
gHashTag merged commit 7fe50cd into master Nov 2, 2026
44 of 51 checks passed
@gHashTag
gHashTag deleted the lane/ci-signal-pack branch November 2, 2026 17:38
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.

t27b: move every codegen law from .rs glue into .t27 specs (the rs-to-t27 ladder)

1 participant