Repository navigation
Admit .lib/.cobcpy/.cobcopy/.cpb COPY members when the body is COBOL (Part of #8412) - #8416
Conversation
…(Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8416 @ a0d172d: 1 failed check(s) == shard 3 (1670389 LOC) (failure) -- real |
… their reason (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (a1b559c) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
…ity test pins it (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Pull request was converted to draft
|
CI shepherd: the head of this PR (5c4f9ee) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #8412. Checklist: done [c:a6a0525b]
What
Copy members with an extension no language claims (
.lib,.cobcpy,.cobcopy,.cpb) never reached the lens:.libwas a denied extension and the other three failed the whitelist gate, so aCOPY Xwhose member wasX.cobcpyresolved nothing. Aperture now admits the four (path gate only; thear-magic check, binary and content gates still run), andlanguage_lens._COBOL_MEMBER_EXTENSIONSlets a COBOL body make the file COBOL, as it does for.inc. A.libwith a Lua / ini / C / prose / binary body stays non-COBOL.Class / Sibling gaps
Class: COPY / EXEC SQL INCLUDE member extensions the engine does not scan as COBOL. Members:
.cpy .copy .dcl(registry, handled),.inc(#8111 lens, handled),.lib .cobcpy .cobcopy .cpb(this PR, upper and lower case, with non-COBOL bodies as negatives), extensionless (#8111, handled). The translator's own fallback search (det/source.py, nowCOPYBOOK_EXTSincludesBODY_JUDGED_EXTS) tries the four in both cases, andtest_copy_extension_parity_8074exempts exactly that set and pins it to the lens's body-judged list. Sibling gaps: none known;cobol_graveyard_finder._COPYBOOK_EXTSis a separate legacy tool list, left out.Gates
tests/cobol_mainframe/test_copy_member_extensions_matrix_8111.py(21 tests, one real scan + lens over the class);_8111and_8074neighbours pass (62).crucible_check.pyvia golden-lock: both legs PASS, no re-bless needed.pr_gates --fast: 7/9;test_runtime_option_table.py::test_used_by_is_exactly_the_burned_corpora...fails identically on clean main (not this change);affectedover-budget tests left to CI.--ratchetsnot run.Parity round:
det/source.py+test_copy_extension_parity_8074.py(51 tests pass across the three copy test files; ruff format clean).Hand-written files: 5 (aperture.py, language_lens.py, det/source.py, new matrix test, parity test).
🤖 Generated with Claude Code