Repository navigation
COBOL: COPY members named with @ # $ link to their copybook (Part of #8074) - #8110
Merged
Merged
Conversation
…8074) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t of #8074) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
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.
Checklist: done [c:d8b68492]
What
A probe of 22 authored directory and member-name shapes (invented names, one real scan, extensionless program in a
.COBOLdataset dir) found one remaining engine miss: a COPY member whose name carries@,#or$(valid PDS member-name characters). The engine's_dependency_captureincobol.pystopped at the character (COPY FAKE@I.read asFAKE), so no COPY edge was drawn and the program refused whole withCopyUnresolved. The translator's own COPY parser (cobol_preprocessor._NAME) already reads these names. The capture now accepts@#$(COPY and EXEC SQL INCLUDE).Class and siblings
Class: the engine's COPY member-name character class disagrees with the translator's.
@#$, extensionless or.cpy, inCOPYLIB/CPYLIBdirs..inc/.txt/.bak/.v1members,INCLUDE/MACLIB/COPYLIB2/COBCOPY/A.COPY.LIBdirectory qualifiers..CPY/.cpy/.Cpy/.cobol, mixed-case dirs, hyphen names, 11-char names, a library dir seven levels deep.Tests
tests/cobol_mainframe/test_copy_member_names_8074.py(4 scan cases + a capture/translator charset parity test): fails 5/5 without the fix, passes with it.pytest tests/cobol_mainframe -k copy: 382 passed, 6 skipped.Gates
crucible_check.py(golden-lock): both legs PASS, no re-bless needed.audit_check.py: all clear.fact_channel_confidence.jsonregenerated.Facts checked
Blind-estate re-measure is the next checklist item and is not done here. The D056 entry cites no IBM page: the
@#$rule for text-names should be confirmed against the Enterprise COBOL Language Reference COPY statement before it is quoted as a citation.Lessons for agents
_dependency_capturelives underDEFINITION["rules"], not at the top level of the definition.pythonin a;chain fails withpython: command not found; export PATH first.🤖 Generated with Claude Code