Skip to content

#3898: a bare LINE SEQUENTIAL is LINE SEQUENTIAL; defects found by review join the field-testing log - #3904

Merged
squid-protocol merged 1 commit into
mainfrom
fix/3898-bare-line-sequential
Sep 27, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/3898-bare-line-sequential

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #3898.

Engine (gitgalaxy/core/file_control.py)

ORGANIZATION is optional in a SELECT. SELECT B ASSIGN TO 'b.txt' LINE SEQUENTIAL. reached the bare-word branch only at SEQUENTIAL, so LINE was dropped. A Micro Focus / GnuCOBOL short-form file then got the RECFM=FB porting rule (#3895) instead of one record per line.

  • SEQUENTIAL preceded by LINE is now LINE SEQUENTIAL.
  • Micro Focus RECORD SEQUENTIAL, with or without ORGANIZATION [IS], is SEQUENTIAL.
  • RECORD KEY / ALTERNATE RECORD KEY ... WITH DUPLICATES are unchanged (tested).

No pinned corpus uses LINE SEQUENTIAL, so golden masters don't move.

Field-testing log: defects found by review

Until now, every defect had to name the estate whose round exposed it. This one was found by reading code while writing #3833's porting rules.

  • A defect with found_by: "review" now names no estate. after_round is the last round checked before it was found.
  • It still resets its fields' clean rounds from after_round, because those rounds did not catch it.
  • validate rejects a review defect that names an estate, lacks after_round, or points past the last round.
  • The report shows review, after N in the defect log's round column.

D028 is the first such entry. The report and fact_channel_confidence.json are regenerated: file control clean fresh rounds 1 → 0, engine defects 0 → 1.

Gates

pr_gates.py:

  • Engine change: 7/7 pass (full suite included).
  • After the field-testing change: lint, audits, secrets, xray and golden masters pass; test_field_testing.py is 7/7.

🤖 Generated with Claude Code

…view join the log

ORGANIZATION is optional in a SELECT, so `ASSIGN TO 'b.txt' LINE SEQUENTIAL` reached the
bare-word branch at SEQUENTIAL and dropped LINE: a Micro Focus / GnuCOBOL short-form file got the
RECFM=FB porting rule instead of one record per line. Micro Focus `RECORD SEQUENTIAL` (with or
without ORGANIZATION) is SEQUENTIAL.

The field-testing log gains defects found by reading code rather than by a round: found_by
"review", no estate, `after_round` = the last round checked before it. It resets its fields'
clean rounds from there. D028 is the first (file control: clean fresh rounds 1 -> 0).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit f777eac into main Sep 27, 2026
38 checks passed
@squid-protocol
squid-protocol deleted the fix/3898-bare-line-sequential branch September 27, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

file_control: a bare LINE SEQUENTIAL (no ORGANIZATION keyword) is recorded as SEQUENTIAL

1 participant