Skip to content

tri: add seals check + lefthook pre-push (Closes #14052) - #14054

Merged
gHashTag merged 4 commits into
masterfrom
worktree-agent-a8fb7022d84f85b4f
Nov 16, 2026
Merged

gHashTag merged 4 commits into
masterfrom
worktree-agent-a8fb7022d84f85b4f

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Summary

  • Adds seals|check-seals|seals-check arm to scripts/tri — thin wrapper calling python3 tools/check_seal_coverage.py; exits 1 on stale seals, 0 on fresh seals or when compiler is absent (exit-2 from the tool means "skip", not "fail")
  • Adds seals-check command to lefthook.yml pre-push hook so stale seals block push on machines with a built compiler

Test plan

  • ./scripts/tri seals check exits 0 when compiler absent (compiler-not-built = skip)
  • ./scripts/tri seals check exits 0 on current master with compiler built (all seals fresh)
  • git push triggers pre-push hook and seals-check passes green

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) November 16, 2026 04:36
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-16 04:39:58 UTC

Summary

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

These columns do not partition: 0 + 44 + 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)=29c50ada25c9 != 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 added a commit that referenced this pull request Nov 16, 2026
…ipts/tri (#14055)

PR #14054 adds +2 lines to lefthook.yml and +8 lines to scripts/tri.
Add these files to ONEOFF_GROWTH (FILES=3) so the shrink check passes.

Refs #14052

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-16 05:01:05 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 43
PRs with All Checks Green 3
READY 0
FAILING 43
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=29c50ada25c9 != 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 added a commit that referenced this pull request Nov 16, 2026
…ml) (#14056)

PR #14054 diff (after update-branch with master) is lefthook.yml+2 and
scripts/tri+8 only. vf-diff-ci.yml was already on master before the
update-branch merge, so it no longer appears in the PR diff. FILES=3
caused check_budget to require 3 matching entries but only 2 were present.

Refs #14052

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
gHashTag and others added 2 commits November 16, 2026 12:37
The spec/claw/gates.t27 changed in PR #14031 (d77e7ff) but the seal
was not updated. This stale seal exists on master HEAD too, so it is an
inherited red that must not block PR #14054. Baseline it here; fix tracked
in Refs #14052.

Refs #14052

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-16 05:49:11 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 43
PRs with All Checks Green 3
READY 0
FAILING 43
PENDING 0
NO CHECKS YET 0

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=29c50ada25c9 != 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 cbd1b69 into master Nov 16, 2026
33 of 35 checks passed
@gHashTag
gHashTag deleted the worktree-agent-a8fb7022d84f85b4f branch November 16, 2026 05:50
gHashTag added a commit that referenced this pull request Nov 16, 2026
PR #14031 added vf-diff-ci.yml to the gate inventory, raising G_BLOCKING
from 62 to 63. Three assertions in specs/claw/gates.t27 still used the old
count; t27c seal refused without --force. Baselined as inherited red in
#14054; this commit fixes the root cause.

Changes:
- class_census_62_3_5 -> class_census_63_3_5 (count_class assertion)
- coverage_report_carries_every_class: n=62 -> n=63
- coverage_report_lines_are_exact: G_BLOCKING n=62 -> n=63
- claw_ClawGates.json: resealed (25/25 pass, no --force)
- seal_baseline.txt: remove now-fixed claw_ClawGates.json entry

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
gHashTag added a commit that referenced this pull request Nov 16, 2026
…ed (#14062)

lefthook.yml was added in PR #14054. Remove it from ONEOFF_GROWTH
leaving only the pending scripts/tri entry (FILES=1).

Refs #14059

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant