Skip to content

#6876: HCRDST / HCUNLK stated file keys: pin bump, ADDRESS OF record operand, det ports whole (Part of #6876) - #7498

Merged
squid-shepherd[bot] merged 8 commits into
mainfrom
churn/6876-20261102T0029Z
Nov 2, 2026
Merged

squid-shepherd[bot] merged 8 commits into
mainfrom
churn/6876-20261102T0029Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Part of #6876 (HCRDST and HCUNLK file keys).

What changed

  • Pin tests/crucible_pins.toml [cics] -> cics-crucible PR chore(deps): bump wcwidth from 0.6.0 to 0.7.0 #51 head 904e9877 (the cases hc-file-read-set and hc-file-unlock state their file key through an in-stream IDCAMS DEFINE CLUSTER ... KEYS(4 0)).
  • Engine fix the plan did not foresee: galaxy_ir._operand_name read ADDRESS OF LS-REC (the READ/STARTBR SET operand of HCRDST) as a name that matches no record, so the store was dropped. A leading ADDRESS OF is now stripped. The JCL alone fixed HCUNLK but not HCRDST.
  • Det ports regenerated: HCRDST 77/77 and HCUNLK 70/70, no holes (HCUNLK was 63/70).
  • Re-ledger / reprove: cics_crucible.py --update-baseline, crucible_port_provenance.py reprove (provenance files for the pin).
  • Port tests rewritten (0 holes, missing-event reasons) plus a regression test for the ADDRESS OF operand; X58.md updated.

Cells that moved (16, all hc-file-read-set and hc-file-unlock, java-ported and java-facade)

Before: DRIVER-ERROR at a named Hole (no key / no stored file). Now: event N: READ|STARTBR|REWRITE expected, got WRITEQ-TS. Still fail: the det translator emits the event-free task.read/readForUpdate/rewrite, so no READ/REWRITE event is logged. Nothing else moved; golden masters and the ground-truth ledger are unchanged.

File-cap exception: 7 files are hand-written (galaxy_ir.py, the two port tests, X58.md, crucible_pins.toml, and the two pin-fixture tests above); the other two flagged files are the regenerated det-port overlays (HcrdstService.java, HcunlkService.java) and cics_crucible.md is a generated report.

Class

A keyed CICS file whose generated entity states no key (entity_key refusal, X58), plus a SET operand the store resolver cannot read. Siblings in the burned estates: none found among the det-port table's cases beyond these two.

Sibling gaps

  • Any burned program with SET(ADDRESS OF rec) in a file command now resolves its store; no other burned-estate program was seen to need a key stated.

Remaining slices

  1. Det translator emits the recording forms (readInto / readSetEvent / rewriteFrom), which touches other det ports and proofs.
  2. Java-side seed of data/<FILE>.dat rows into the generated repository (prototype reverted; the runner seeds no file rows). Together these turn the 8 scenarios green.

Cross-repo

Companion: squid-protocol/cics-crucible#51, now merged (owner OK 2026-11-02); the pin is its merged commit 904e98777548993f52b21bc2cfe2baefdb8b6b78 (same tree as the PR head, so no cell moved; only the recorded ref). Nothing else needs to merge first. Not tagged: the crucible has no tag at that commit (see below).

Gates run

audit_check.py all clear; pr_gates.py --ratchets 9/9 (the ports gate needs CICS_CRUCIBLE_PATH at the new pin; the shared checkout is still on v0.11.0); crucible_check.py both legs PASS (no golden change); ground_truth_ledger.py check clean; test_port_provenance and pin tests pass; ruff format --check clean; plain pytest <file> from /tmp passes.

Pin as a commit SHA

The pin is the merged crucible commit, not a tag. Eight fixture tests (test_equivalence_env.py x5, test_mainframe_corpus.py x3) tagged a throwaway crucible with the pin value, which cannot work for a SHA; they now pin a fixture tag (fixture-pin) instead, so they pass for a tag or a SHA pin. Tagging the crucible later is optional.

Lessons for agents

  • A cics pin bump: crucible_port_provenance.py reprove and pr_gates --ratchets refuse while the shared cics-crucible-pin checkout is on the old SHA; point CICS_CRUCIBLE_PATH at your own clone at the pin instead of moving the shared one.
  • A stated IDCAMS key is not enough when the record operand is ADDRESS OF x: check the store resolver (_operand_name) too.

Facts checked: pr_gates --fast 9/9 after the fixture fix; crucible PR #51 head is 904e9877 (git -C clone rev-parse HEAD); pin in tests/crucible_pins.toml equals it; 16 baseline cells moved (git diff); crucible_check both legs PASS; ground-truth ledger clean.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits November 1, 2026 19:43
… det ports whole (Part of #6876)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…port tests and X58 follow (Part of #6876)

Pin = cics-crucible PR #51 head (hc-file-read-set / hc-file-unlock state their keys via IDCAMS KEYS(4 0)).
16 baseline cells move: DRIVER-ERROR (named hole) -> missing READ/STARTBR/REWRITE event. Provenance reproved.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-11-02). Nothing is needed from contributors; work resumes once it is answered.

…ocs-read-by-tests list (Part of #6876)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

The owner decided (2026-11-02); the bot applies it on its next tick.

squid-protocol and others added 4 commits November 1, 2026 21:42
… merged); re-ledger, reprove, re-prove evidence (Part of #6876)

Same tree as the PR head 0af1af2e: only the recorded ref moves.

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

squid-shepherd Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 2, 2026 04:00
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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