Skip to content

Batch kind for the blind estate draw + pre-registration (Part of #3806) - #5754

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3806-20261020T1549Z
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3806-20261020T1549Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Part of #3806, epic #3803.

What

  • tests/tools/estate4_draw.py: an estate kind (--kind cics|batch, default cics). The batch kind replaces rule 4 (.bms/.csd) with JCL evidence from file names only (.jcl, .proc, .prc, or a jcl/ folder), writes to separate files, and build --kind batch refuses without --approved-by-owner. The allow-list is untouched, so the blindness rule holds. The committed CICS candidates, request log and page are not touched.
  • docs/language_status/estate_batch_preregistration.md: the batch pre-registration (draft), committed before any crawl. It lists the owner decisions (a)-(d) the draw waits on.
  • docs/language_status/estate_batch_candidates.md: a status stub. No crawl was run, no candidate was listed, no target round was set, nothing was drawn, and no candidate code was read.
  • 5 new tests in tests/cobol_mainframe/test_estate4_draw.py (batch rule 4, CICS tree not mistaken for batch, separate outputs, allow-list for batch, approval guard).

Class table

Class: the blind-estate metadata draw is hard-wired to the CICS kind; its mechanism (rule 4 evidence, output files, approval guard, allow-list) must take an estate kind.

member status evidence
cics kind handled, unchanged (default) committed candidates/log/page untouched; test_kind_outputs_are_separate_and_cics_is_unchanged, test_cics_tree_is_not_mistaken_for_batch
batch kind: rule 4 (JCL from file names) handled here test_batch_rule4_jcl_evidence_from_file_names
batch kind: separate outputs handled here kind_paths, same test
batch kind: owner-approval guard handled here test_batch_build_refuses_without_owner_approval
batch kind: blindness allow-list handled here (unchanged) test_batch_allow_list_still_blocks_content_endpoints
batch crawl, candidates, draw missing: waits on owner decisions (a)-(d) pre-registration section 0
IMS / MQ / VSAM-heavy kinds out of scope see Sibling gaps

Sibling gaps

member status why not here burned-estate program needing it
IMS, MQ, VSAM-heavy estate kinds in the draw missing different evidence rules; no owner request none
hard weight counts JCL for every batch candidate (always >= 1) documented in the pre-registration one function serves both kinds; changing it alters the CICS draw none
.github/workflows/blocker-baseline.yml estate4 reference not checked for a batch counterpart outside this slice none

Gates

audit_check.py all clear; pr_gates.py --fast 6/6; test_estate4_draw.py 25 passed, also as plain pytest from /tmp. No golden bless: the engine is untouched.

Cross-repo

No companion PRs.

Checklist: partial [c:143e6adc] -- crawl and draw await the owner's approval of the metadata-only draw (a)-(d), then one PR for the candidates and the draw result

Lessons for agents

  • ruff check on a test file run from the shell without the repo config path shows S101 everywhere; use audit_check.py / pr_gates.py --fast instead.

🤖 Generated with Claude Code

… of #3806)

estate4_draw.py gains --kind batch (rule 4 = JCL evidence from file names, separate
output files, build refuses without --approved-by-owner). The CICS outputs are unchanged.
No crawl, candidates or draw: those wait on the owner's decisions (a)-(d).

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 20, 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 20, 2026 15:55
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 20, 2026
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 16:03
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 7cb4ee0 into main Oct 20, 2026
47 checks passed
@squid-protocol
squid-protocol deleted the churn/3806-20261020T1549Z branch October 20, 2026 16:15
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