Skip to content

tri: add oneoff command + spec; fix ONEOFF_GROWTH for scripts/tri - #14061

Merged
gHashTag merged 1 commit into
masterfrom
fix/auto-oneoff-14059-14060
Nov 16, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/auto-oneoff-14059-14060

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Add tri oneoff command and specs/tri/oneoff_growth.t27 spec; update ONEOFF_GROWTH for this PR's scripts/tri addition.

Closes #14060
Refs #14059

Changes

  • specs/tri/oneoff_growth.t27 (new): documents the ONEOFF_GROWTH string format with invariants and passing tests (sealed 2/2 pass, 0 vacuous passes).
  • scripts/tri +8 lines: new oneoff arm — runs git diff --numstat origin/master...HEAD, filters to foreign non-gen files, and prints the exact string to paste into ONEOFF_GROWTH plus the matching FILES count.
  • specs/policy/own_language.t27: updates ONEOFF_GROWTH from the two-file value to "8\t0\tscripts/tri,$" (FILES=1) covering the 8 lines this PR adds to scripts/tri. Updates test oneoff_growth_waives_the_shrink_clause_for_the_exact_diff_only to match. All 43 tests pass.
  • gen/c/policy/own_language.c: regenerated to match updated spec.

🤖 Generated with Claude Code

Closes #14060
Refs #14059

- Add specs/tri/oneoff_growth.t27: documents ONEOFF_GROWTH format with
  invariants and tests (sealed, 2/2 pass, 0 vacuous passes).
- Add tri oneoff arm in scripts/tri: prints ONEOFF_GROWTH value and
  FILES count for the current branch diff (skips .t27 and gen/).
- Update ONEOFF_GROWTH in specs/policy/own_language.t27 from the
  two-file value (lefthook.yml + scripts/tri) to the single-file value
  for scripts/tri only (8 lines added by this PR). FILES=1.
- Reseal specs/policy/own_language.t27 (43/43 pass).
- Regen gen/c/policy/own_language.c to match new ONEOFF_GROWTH.

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-16 08:12:54 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
gHashTag merged commit b8f791c into master Nov 16, 2026
36 of 40 checks passed
@gHashTag
gHashTag deleted the fix/auto-oneoff-14059-14060 branch November 16, 2026 08:14
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.

tri: add oneoff command to auto-generate ONEOFF_GROWTH constant

1 participant