Skip to content

COBOL: .inc members and library-directory extensionless members claimed on body evidence (Part of #8111) - #8135

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8111-20261108T2058Z
Nov 8, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8111-20261108T2058Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8111 (slice 4: .inc members and library-path directories in the copybook-resolution census).

Checklist: partial [c:469b20a7] -- copybook-analysis/v1 extensionless chain members (COPYBOOK, PARS: no sibling COBOL file in their directory) need a declared-library claim (che4z proc_grps.json / .vscode/settings.json) or a cross-file reference-evidence pass; COPY x OF lib in the census regex; NIST copybooks/ is importer-side (#8112).

What changed

gitgalaxy/standards/language_lens.py, two body-evidence anchors for a COPY / EXEC SQL INCLUDE member the lens did not call COBOL:

  • an .inc member (extension shared with PHP / NASM / C / PL/I) is COBOL when its body passes the ordinary-directory evidence (two strong lines, or one beside a group header); PL/I .inc beside .pli is decided first and is unchanged.
  • an extensionless member in a directory that holds COBOL files (.cbl .cob .cpy .cobol .copy .pco .cut .dcl, memoised per directory) on weaker evidence: one strong line, or a body of only comments and COPY name. statements (at least one).

Class / Sibling gaps

Class: a COPY / EXEC SQL INCLUDE member whose file the language lens does not label COBOL, so the resolver draws no edge (the census miss class). Members handled here: .inc (any case) x COPY and EXEC SQL INCLUDE x upper/lower/mixed member case; extensionless item-only, group-only and COPY-chain-only members in a COBOL-sibling directory, each COBOL sibling extension. Tests cover the negatives (PHP / NASM / C / PL/I .inc, prose and one-stray-item .inc, README beside COBOL files, comments-only body, no COBOL sibling, name with a space).

Sibling gaps:

member status why not here source
.lib, .cobcpy, .cobcopy members missing aperture never admits those extensions (measured on an authored estate), .lib is mostly a binary; an aperture change is a different mechanism this PR's first test run
copybook-analysis/v1 COPYBOOK, PARS (3 census misses) missing no COBOL file beside them and no data lines: needs the declared library path (proc_grps.json, .vscode/settings.json) or a cross-file reference-evidence claim census on che4z
COPY x OF lib in the census member regex missing tool change, no corpus miss census docs
NIST copybooks/ (8 misses) out of scope importer-side, #8112 slice 2 handoff
WSFST (2, ambiguous) stated refusal three holders, no SYSLIB order census

Evidence

  • Census, burned + non-candidate corpus_cobol (40 repos): main 22 miss -> 20 miss (testing/REPLERR, testing/COPYC now resolve), ambiguous 2, different 0, burned 0. Counts only.
  • Golden masters: crucible_check.py PASS on both legs, zero drift (no re-bless).
  • test_copy_member_extensions_8111.py (new, 38 tests incl. one real scan of an authored estate), plus the 8074 / 8111 / PDS-routing / census tests: 244 passed.

Facts checked

Cross-repo: none.

Lessons for agents

  • Aperture drops unregistered extensions (.lib, .cobcpy) before the lens runs: a lens rule for them is dead code; probe a real scan first.
  • archive FETCH_HEAD after a failed gh/fetch silently extracts main: check the SHA before reading a census as "the PR's".

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 8, 2026 21:40
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 8, 2026 21:45
@squid-shepherd
squid-shepherd Bot merged commit 20fc963 into main Nov 8, 2026
108 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8111-20261108T2058Z branch November 8, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant