Skip to content

file_control keeps the I-O-CONTROL RERUN clause; estate-crucible scores it (Part of #7065) - #7716

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261104T1711Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261104T1711Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7065 (Batch Badlands, #4891 / #4890).

What

Every Batch Badlands horror already scores PASS at the pinned estate-crucible v0.7.0; the one BDLD check still unscored was BDLDCKP SELECT TRAN-FILE ... RERUN SYSCKPT (H-0095), because the engine kept no I-O-CONTROL RERUN clause.

  • core/file_control.py: reads RERUN [ON assign] EVERY n RECORDS OF file (and the END OF REEL/UNIT forms, every null) from I-O-CONTROL and puts rerun: {assign, every} on the file's SELECT row, only when present.
  • core/fact_channels.py: file_control_data.rerun column (JSON), healed onto older tables, restored as NULL on a baseline from before it.
  • galaxy_ir.py: EngineFileControl.rerun, loaded with a column guard.
  • tests/tools/estate_crucible.py: scores rerun (assign and every) inside the SELECT check instead of an extra unscored check; baseline re-measured (BDLDCKP unscored row gone, checks_total 2844 -> 2843, horrors 105/108 unchanged).
  • Tests (in test_estate_crucible_scorer.py, to stay inside the 5-file cap): scorer pass/fail, extraction forms, fact-channel row and old-baseline restore.

Class

A key fact the engine never extracts, so the scorer reports it unscored. Same-mechanism siblings (other I-O-CONTROL clauses: SAME AREA, MULTIPLE FILE TAPE, APPLY WRITE-ONLY) are listed below.

Checklist: partial [c:e739f1dd] -- estate-crucible repo still to do: plant BPXBATCH/DSNUTILB/BIND/ADRDSSU/IEBIMAGE, fill the First-time run row in docs/levels/batch-badlands.md, owner release + pin bump

Sibling gaps

  • I-O-CONTROL SAME AREA / SAME RECORD AREA / MULTIPLE FILE TAPE / APPLY: no burned-estate program or BDLD horror uses them (sweep scope if ever planted).
  • Dedicated test_file_control.py unit cases for odd RERUN spellings (the 5-file cap put the extraction test in the scorer test file).
  • Audit report "File Control" section does not list the new rerun column.

Remaining slices

  1. estate-crucible repo: plant BPXBATCH, DSNUTILB, BIND, ADRDSSU, IEBIMAGE (the engine already pins their decks, job_flow: pin the in-stream control decks of ADRDSSU, IEBIMAGE, DSNUTILB, BPXBATCH, IKJEFT01 (Part of #7065) #7708).
  2. estate-crucible repo: First-time run row (docs/levels/batch-badlands.md), then owner release and pin bump here.

Lessons for agents

  • A new column on a fact channel needs three places: DDL + extra_columns (heal), restore_select as a function with has_column, and the galaxy_ir loader's own _has_column guard.
  • pr_gates --fast lint flags a concatenated SQL select (S608); use an f-string with one-of-two-literals plus the noqa the neighbours use.

🤖 Generated with Claude Code

…es it (Part of #7065)

BDLDCKP's `RERUN ON SYSCKPT EVERY 1000 RECORDS OF TRAN-FILE` was the last unscored
Batch Badlands check. The extractor now attaches rerun {assign, every} to the file's
SELECT row, file_control_data gains a healed `rerun` column, and the scorer compares it.

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 Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 17:44
@github-actions

github-actions Bot commented Nov 4, 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 4, 2026 17:52
@squid-shepherd
squid-shepherd Bot merged commit 5efe908 into main Nov 4, 2026
113 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7065-20261104T1711Z branch November 4, 2026 18:28
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