Repository navigation
PDS members under *.COBOL/ *.COPYLIB/ *.PLI/ route their language (Part of #7064) - #7141
Merged
Merged
Conversation
…rt of #7064) Extensionless PDS members under a dataset-qualifier directory now route to cobol / pli with content evidence (_PDS_MEMBER_EVIDENCE), the same mechanism as hlasm's asm/maclib. Golden masters unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Oct 30, 2026
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 #7064.
Checklist: partial [c:f6a05563] -- NASM/troff
.macstill land in easytrieve and DSP in plaintext (different mechanism)Checklist: partial [c:374fb3c9] -- Hyperion, MS-DOS and NASM trees not held; no real COBOL/PL/I PDS members held
Checklist: partial [c:4655d8ac] -- results are in hlasm.md; the consolidated defect issue is for the orchestrator to file
What
Extensionless PDS members under
*.COBOL/,*.COPYLIB/,*.CPY/,*.PLI/,*.PL1/directories now route tocobol/pli, extending thelibrary_directory_suffixesmechanism #7081 added for hlasm (asm,maclib).Class / Sibling gaps
Class: an extensionless PDS exported member under a dataset-qualifier directory is unrouted (split across
go,plaintext,undeterminable). Members handled here: cobol (cobol,copylib,cpy), pli (pli,pl1); hlasm already done (#7081, pinned again in the new test's uniqueness check). The plan was wrong on one point: hlasm.md said each sibling was one entry plus a pin; COBOL and PL/I have nointernal_discriminatorand the lexical scan labels their membersgo, so the lens also gains a per-language content shape (_PDS_MEMBER_EVIDENCE, built from short parts for the X-Ray gate).Sibling gaps (same mechanism, not done, 5-file limit): JCL
jcl/cntl/proclib(its discriminator already proves content: one key injcl.pyplus a pin). Other mechanisms: NASM/troff.macin easytrieve, DSP in plaintext;fragile_debt/planned_debtfalse positives (moves golden). No burned-estate program needs any of these.Cross-repo
None.
Evidence
test_pds_library_routing.py(44 cases: each suffix, upper/lower case, nested dirs; outside a library directory, README/C text, PL/I in a COBOL directory are not claimed; no suffix listed by two languages) +test_hlasm_strict.py: pass.pr_gates --fast9/9,--ratchetsall PASS (ruff local 0.16.0 vs CI 0.17.1 warned; formatted with the pinned 0.17.1).crucible_check.pyvia golden-lock: full_precision and zero_dependency PASS, no re-bless (only extensionless files change).*.ASM//*.MACLIB/): synthetic members only.Lessons for agents
internal_discriminatorcannot ride the PDS lexical fallback: the all-language scan labels COBOL/PL/I textgo. ProbeLanguageDetector.focuson a sample before assuming a one-line registry entry routes.language_lens.pytrips X-Ray (binary_anomaly_detector <repo>names the file); build it from joined parts.🤖 Generated with Claude Code