Skip to content

COBOL: extensionless copybook members of every body shape reach the census (Part of #8074) - #8108

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8074-20261108T1514Z
Nov 8, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8074-20261108T1514Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 with CopyUnresolved (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 .copy extension (#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):

  • Undotted qualifier directories are read for the member's own directory only (cpylib/orders/MEMBER is 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.
  • The blind estate's 2 remaining refusals name a member no file of the clone carries: not a search miss.

Evidence

Re-measuring the blind estate is the next checklist item and is left to the tick.

🤖 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 15:38
@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

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