Skip to content

EIBRCODE slice 2 follow-up: name a LINKed program with no generated service; X64 slice-2 evidence (Part of #5126) - #7085

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
churn/5126-20261030T0445Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
churn/5126-20261030T0445Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5126 (follow-up to slice 2). Cross-repo: none. Depends on #7084 (the det/forge port side), merged into this branch as its base: merge #7084 first, then this PR's diff shrinks to its 3 files. Check gh api repos/squid-protocol/gitgalaxy/pulls/7084 -q .merged_at.

Checklist: partial [c:bc93a812] -- EIBRCODE is modelled stub + port (ASSUMED, X64); EIBFN and IBM's code tables are not (no burned reader)

File-cap exception: 5 of the 7 counted hand-written files are #7084's, merged into this branch as its base (cics_task_faults.py, det/cics.py, det/program.py, test_cics_family_split.py, test_eibrcode_port_5126.py are its 5); this PR's own are 3 (equivalence_cics.py, X64.md, test_linked_service_5126.py).

What changed

  • equivalence_cics.run_java_cics: a case program the project has no service for (the forge writes none for HLASM ZECS002) is refused by name, via the existing RuntimeError feedback path, instead of the Java test failing with "cannot find symbol Zecs002Service". Before: plain equivalence.py run zecs-zecs001 ended in a compile error; now: ZECS002: a program the case LINKs to has no generated service and no port (run it through its det port).
  • X64.md: slice-2 evidence (port, ZECS001 PROVED by det_port.py run) and the decision on a normal response.
  • test_linked_service_5126.py: none / missing / present services.

Evidence

Class / Sibling gaps

Class: EIBRCODE agreement between the stub and the port, plus a LINKed program with no Java. Covered: the no-service refusal applies to every case programs entry. Deviation from my plan: zero-EIBRCODE-on-normal in ggcics_faults.c is NOT done. It needs the same change in det/cics.py (#7084's file) and nothing in the burned estate can observe it (only error paths read EIBRCODE); recorded in X64. Sibling gaps: EIBFN, EIBCPOSN, EIBREQID, EIBRSRCE, EIBERR/EIBERRCD stay refused (no burned reader); the other checklist keys (USERID/FACILITY/SCRNHT, STARTCODE cases, census regex) are untouched. Remaining slice: normal-response zero on both sides when a reader can observe it. The 155 other ports that differ by CicsTask.java are left to the nightly det sweep.

Lessons for agents

  • equivalence.py run CASE takes no --work; it prints its temp dir (/tmp/equiv_<case>_*). A no-port run of a case whose LINKed program is HLASM cannot work: prove it with det_port.py run.

🤖 Generated with Claude Code

squid-protocol and others added 7 commits October 29, 2026 23:36
…2 (Part of #5126)

A scenario's file control fault may state `rcode` (12 hex digits = the 6 bytes of EIBRCODE); the planner writes it as
faults.cfg's sixth column and the C stub copies it into a program that reads EIBRCODE after the command. Unstated,
nothing changes. Port side is slice 2; X64 records ZECS001 is whole and the ASSUMED status.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…mn (Part of #5126)

A program that reads EIBRCODE gets the 6 bytes a planned file-control condition states, set right after the
EIBRESP stores and before a condition's jump (as the stub's GGCRCOD); unstated, the field is left as it was.
CicsTask.withFaults keeps the sixth column of a non-ABEND row as rcode(), cleared at each lookup.
ZECS001 IOERR/NOSPACE scenarios on ZC01FILE now state their rcode.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…cs-zecs001 det ledger (Part of #5126)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ervice; X64 slice-2 evidence (Part of #5126)

Built on #7084 (merged into this branch as its base). The no-port equivalence.py run of
zecs-zecs001 failed to compile because the forge writes no service for the HLASM ZECS002;
run_java_cics now refuses it by name. X64 records the slice-2 port evidence and why a
normal response does not zero EIBRCODE.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

2 similar comments
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 06:09
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

class _RcodeCics(_LenCics):
def __init__(self, reads: bool):
super().__init__()
self.eibrcode_read = reads
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.

2 participants