Repository navigation
tri: add oneoff command + spec; fix ONEOFF_GROWTH for scripts/tri - #14061
Merged
Merged
Conversation
gHashTag
enabled auto-merge (squash)
November 16, 2026 07:06
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>
gHashTag
force-pushed
the
fix/auto-oneoff-14059-14060
branch
from
November 16, 2026 08:10
c3af682 to
2a75260
Compare
3 tasks
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
tri oneoffcommand andspecs/tri/oneoff_growth.t27spec; 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: newoneoffarm — runsgit diff --numstat origin/master...HEAD, filters to foreign non-gen files, and prints the exact string to paste intoONEOFF_GROWTHplus the matchingFILEScount.specs/policy/own_language.t27: updatesONEOFF_GROWTHfrom the two-file value to"8\t0\tscripts/tri,$"(FILES=1) covering the 8 lines this PR adds toscripts/tri. Updates testoneoff_growth_waives_the_shrink_clause_for_the_exact_diff_onlyto match. All 43 tests pass.gen/c/policy/own_language.c: regenerated to match updated spec.🤖 Generated with Claude Code