Skip to content

proof_blockers: fact scan reads free and variable format source (Part of #5089) - #5451

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5089-20261018T0945Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5089-20261018T0945Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5089 (box: "Free-format source: code_only is column-based").

What

cics_census.fixed_format_text and proof_blockers.code_only cut every line to columns 7-72, so a free-format program lost its first six columns and all text past column 72 (command and fact scans missed real reads). Both now follow each line's format via cobol_source_format.line_formats (new cics_census.source_lines): free lines are read whole (*> lines/tails, literals continued onto a line opening with the quote, >>D lines active only under WITH DEBUGGING MODE); variable lines keep the fixed areas without the column-72 cut; >>SOURCE FORMAT switches are followed.

Class table

Member Status
proof_blockers.code_only / facts_needed fixed here
cics_census.fixed_format_text / commands fixed here
cics_spec_status (shares fixed_format_text) fixed by the same change
variable format, >>D free debug lines, mid-file switches here, tested

No burned-estate program is free-format (checked: no >>SOURCE FORMAT / $SET SOURCEFORMAT in any burned corpus), so this is scan hygiene, not proof work.

Evidence

  • Before/after over 247 burned-corpus sources: code_only, fixed_format_text, facts_needed, commands identical.
  • pr_gates --fast 6/6; --ratchets 8/8 pass; tree-wide guards pass; time ratchet 0 over limit.
  • tests/tools: 1388 passed; 3 fail, none touching this code (test_crucible_case x2: crucible schema const KeyError from the local sibling checkout; test_pin_requirements: stale ci/requirements pins).

🤖 Generated with Claude Code

… of #5089)

cics_census.fixed_format_text and proof_blockers.code_only cut every line to columns 7-72, so a free-format
program lost its first six columns and everything past column 72. Both now follow the per-line format
(cobol_source_format.line_formats): free lines are read whole with *> comments, literals continued onto a line
opening with the quote and >>D debug lines; variable lines keep the fixed areas without the column-72 cut.
Fixed-format output is unchanged (identical on every burned-corpus source).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 10:01
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 10:13
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit c4411b1 into main Oct 18, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/5089-20261018T0945Z branch October 18, 2026 10:29
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