Repository navigation
COBOL: extensionless copybook members of every body shape reach the census (Part of #8074) - #8108
Merged
Merged
Conversation
…ensus (Part of #8074) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Nov 8, 2026
Merged
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.
Part of #8074 (blind trial #8073).
Checklist: done [c:ce5045ad]
What
An extensionless copybook member under a library directory (
FAKE.APP.COPYLIB/MEMBER) is claimed as COBOL only on body evidence (_COBOL_MEMBER_BODY,language_lens.py). The evidence needed a division/section header or a data item with PIC, USAGE, COMP, COMP-3, BINARY, OCCURS or REDEFINES on its own line. A group-only layout, an 88-level or VALUE-only member, an item whose PIC sits on the next line, or a COMPUTATIONAL / SYNC item was never scanned, so the engine drew no COPY edge and the program refused whole withCopyUnresolved(cause line: "the language lens did not claim it as COBOL", the last cause #8089 made diagnosable). The evidence now reads a group header's period, VALUE, COMPUTATIONAL and COMP-1..5, SYNC, JUSTIFIED, DISPLAY, INDEXED, POINTER, BLANK and PACKED-DECIMAL clauses, on the item's line or the next (with its own sequence area). Prose in a library directory stays unclaimed.Class / Sibling gaps
Class: an estate file the translator's COPY search finds but the engine census never claims as COBOL. Earlier slices covered pruned dataset-name dirs (#8079), library qualifiers (#8087), the
.copyextension (#8102). This slice covers the member-body shapes of the lens evidence: group-only, 88-level, VALUE-only, multi-line item, COMPUTATIONAL / COMP-n, SYNC (each its own test row), plus prose negative controls.Sibling gaps (no burned-estate program needs either; scope if filed: core):
cpylib/orders/MEMBERis missed). Widening risks claiming README-like files and needs a golden look: separate slice.COPY "x.inc"with a quoted non-COBOL extension: the registry lists no such extension, so the file is never scanned.Evidence
crucible_check.py(golden-lock, both legs): PASS, no drift, no re-bless.pr_gates --fast: only failure was the staledocs_read_by_tests.txt(regenerated);audit_check.py: all clear;ground_truth_ledger.py check: clean.field_testing.json(report regenerated).Re-measuring the blind estate is the next checklist item and is left to the tick.
🤖 Generated with Claude Code