Skip to content

equivalence: file-fault conditions per command x IBM RESP2 (Part of #5044) - #5063

Merged
squid-protocol merged 5 commits into
mainfrom
churn/5044-20261013T2133Z
Oct 14, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/5044-20261013T2133Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5044. Sibling of #4623 / #5043.

Design: fault_lines checks every file-command fault (READ, READNEXT, READPREV, STARTBR, ENDBR, WRITE, REWRITE, DELETE) against IBM CICS TS 6.x's per-command Conditions (condition lists and RESP2 read from the raw pages): allowed only where IBM lists it, carrying IBM's RESP2 (default when one value; INVREQ / LENGERR scenarios name one); refused by name elsewhere. Register X49.

Class table (command x condition): FILENOTFOUND, NOTAUTH, IOERR, SYSIDERR (130), ISCINVREQ (70): all 8. ILLOGIC: READ, STARTBR, ENDBR, WRITE, DELETE (READNEXT / READPREV / REWRITE also end the browse: refused, not modelled). NOTFND: READ, READNEXT, READPREV, STARTBR, DELETE. ENDFILE: READNEXT, READPREV. DISABLED, NOTOPEN: READ, WRITE, DELETE, STARTBR (REWRITE lists neither: re-fetched, raw page). NOSPACE: WRITE, REWRITE. LOCKED: the six data commands. LENGERR, INVREQ: per-command RESP2 sets. Refused by name: LOADING, RECORDBUSY, CHANGED, SUPPRESSED (data tables / RLS), DUPKEY on DELETE (X48, no IBM source settles it). SYSIDERR / ISCINVREQ are allowed (injections, like IOERR; cbsa-inqcust's retry scenarios use them) rather than refused.

Fallout (RESP2 now IBM's, which programs DISPLAY):

  • CicsTask.write / rewrite / deleteHeld set the planned RESP2 (resp2()), as the stub does and the det ports already read.
  • Six model ports hardcoded RESP2 0 after file commands (userupd, userdel, userlist, tranlist, billpay, tranadd, cardlist): now task.resp2() / b.resp2(); provenance edited events. All seven re-proved (evidence.py prove).
  • carddemo-userupd rewrite-not-open -> rewrite-io-error (IBM lists no NOTOPEN for REWRITE; same WHEN OTHER branch).

Tests: tests/cics_crucible/test_file_fault_conditions.py (command x condition x RESP2, the whole class, plus a CicsTask javac test).

Cross-repo: none. docs/language_status/oracle_assumptions.md is re-rendered only (register.py render); drop that edit if #5057 merges first.

Gates: pr_gates --fast 5/5, --ratchets 7 pass / 0 skipped.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 13, 2026 17:42
…e rest by name (Part of #5044)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ETE; the six model ports show it; userupd rewrite-not-open -> rewrite-io-error (Part of #5044)

Co-Authored-By: Claude Sonnet 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 and others added 2 commits October 13, 2026 19:43
…133Z

# Conflicts:
#	docs/language_status/oracle_assumptions.md
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 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 14, 2026 00:05
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 00:05
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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