Repository navigation
fix: one-digit level numbers in the forge (#4626) and END PROGRAM extents (#4630) - #4643
Merged
Merged
Conversation
squid-protocol
added a commit
that referenced
this pull request
Oct 7, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
…ents (#4630) - cobol_schema_forge reads 1 / 2 as 01 / 02 (0 -> 158 fields on the async credit-card estate) - the referee translator adapter ends a lone program's last unit before END PROGRAM - ledgers: -158 ground-truth forge entries, -20 fact cross-check entries, refraction baseline 166 -> 0 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… now reads its one-digit levels) refraction_snapshot.py update --excerpts: only that estate moved -- 35 new schema files (its records now have fields), its IR dumps, audit report and generated entities. No other estate changed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol
force-pushed
the
fix/4626-4630-level-numbers-end-program
branch
from
October 7, 2026 20:56
82864ba to
de3d46d
Compare
…ard; DBB epscsmrd now has fields) The forge reading one-digit levels also gives DBB Mortgage's epscsmrd record its fields (it was empty): refraction_snapshot.py update --corpus dbb-mortgage-application cics-async-api-credit-card-application-example. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Fixes #4626. Fixes #4630.
Causes
1/2for 01 / 02) #4626:cobol_schema_forge._LEVEL_ENTRYaccepted only two-digit levels (0[1-9]|[1-4][0-9]|...), so1 PROG-NAMES./2 GETPOL PIC X(8)never matched and the forge read 0 of the estate's 158 fields.END PROGRAM 'X'.line #4630: the extent in the fact cross-check's translator referee (tests/tools/referees/translator_adapter.py) counted theEND PROGRAM 'X'.line as code of the last unit. The det translator itself (gitgalaxy/tools/cobol_to_java/det) is unchanged, so no port moves.Fixes
0?[1-9]; the level is normalised to two digits (1->01), whichrender_schemasand the engine's records already assume.END PROGRAMlines are not code lines for unit extents.test_forge_reads_one_digit_level_numbers,test_translator_extent_stops_before_end_program.Moved numbers (all via the repo tools:
fact_crosscheck.py update,ground_truth_ledger.py update,refraction_differential.py --update-baselinefor excerpts and--corpusfor full)translator-extent-over-end-programcause.forge_one_digit_levelscause. The 20 deliberate orphaned_logic reports 100% dead code for five languages whose invocation model never names the callee — the family #2727 closed without covering #2806 entries stay.forge_flat_schema158 gone); note updated. The cbsa excerptentry_point37 -> 38 also appears in the re-bless; it is aby_causevisibility count (does not gate, unexplained stays 0) and already reproduced on origin/main before this change, so it is drift unrelated to the fix.--refreshproduced no change. Golden masters: unmoved (no crucible regen needed).Gates
pr_gates.py --fast5/5,--ratchets6/6 (ports, port-surface, estate, fact-crosscheck, completeness, ground-truth).🤖 Generated with Claude Code