Skip to content

det layout: an I-O-CONTROL clause on the header row is read past (Part of #8412) - #9047

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-20261122T1805Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-20261122T1805Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

Checklist item [c:37025b61] (I-O-CONTROL RERUN refusal) of #8412. Verified on main first: the BDLDCKP shape (I-O-CONTROL. header alone, RERUN ON SYSCKPT EVERY 1000 RECORDS OF F. below) is already read past (#8577, pinned end to end by #9037). Probing the IBM clause forms found one still refused: a clause on the same row as the header, I-O-CONTROL. RERUN ..., gave "DATA DIVISION does not parse". det/layout.py::_data_only now blanks the header when a clause follows it on the row, then reads the clause past as before (accepted with no effect on layout, as IBM documents). 4 authored cases (RERUN, SAME AREA, END OF REEL + SAME SORT-MERGE AREA, MULTIPLE FILE TAPE); they fail without the fix (3 of 4 verified) and pass with it.

Probed and already fine on main: RERUN EVERY END OF REEL / END OF UNIT / n CLOCK-UNITS / condition-name, no ON clause, lowercase, SAME SORT-MERGE AREA, two clauses on one row, APPLY CORE-INDEX.

Checklist: done [c:37025b61]

Class / Sibling gaps

Class: I-O-CONTROL paragraph clauses (RERUN, SAME [RECORD|SORT|SORT-MERGE] AREA, MULTIPLE FILE TAPE, APPLY) reaching the det layout reader, by clause form and by row position. Members handled: every clause kind in every form probed above, now in both header-alone and header-row positions. Sibling gaps: none in this class. A clause missing its terminating period is invalid COBOL and stays refused by name (DATA DIVISION does not parse). Remaining #8412 lines (not this item): the OWNER (licence) product-copybook stand-ins line.

Gates

pr_gates --fast 9/9 pass (ruff/mypy local versions differ from CI pins, noted by the tool; it used the pinned ruff). det layout only: no scanner parsing change, so no golden re-bless. Ratchets not run (no engine-scan, port or ledger input changed).

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 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 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 22, 2026 18:27
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 18:27
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 6e78cd8 into main Nov 22, 2026
93 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8412-20261122T1805Z branch November 22, 2026 18:57
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