Skip to content

ASSIGN FACILITY/TERMCHK: unstated terminal refused on stub and port (Part of #5126) - #5346

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5126-20261017T1431Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5126-20261017T1431Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5126 (checklist item "ASSIGN FACILITY with no terminal: stub and port agree").

Change. The stub refuses TERMCHK/FACILITY when $GGCICS_FACILITY is unset; CicsTask answered INVREQ RESP2 5 for any null termid. CicsTask now records whether withTermid was called: unstated refuses (IllegalStateException), stated none (withTermid(null) / empty env) is INVREQ 16 / RESP2 5 on both, as IBM documents. assignFacility can no longer print "null". The equivalence harness calls the new withTermidIfStated, so an absent or empty "termid" stays unstated, like the stub.

Class. A port and stub disagree on what an unstated task fact does. Members: FACILITY/TERMCHK (fixed), SCRNHT/SCRNWD and USERID (already refuse when unstated on both sides).

Sibling gaps. EIBFN/EIBRCODE (no verbatim IBM tables); EIBCPOSN, EIBREQID, EIBRSRCE, EIBERR (refused by name in X64, no burned program reads them). No burned program is affected by this change.

Evidence. 912 tests passed, 4 skipped (Docker/NIST corpora absent): test_cics_runtimes, test_det_translate, test_proof_blockers, test_equivalence_cics. pr_gates --fast 6/6; --ratchets 8/8 (ports, port-surface, estate, fact-crosscheck, completeness, ground-truth). No golden impact. Register X19 updated.

Cross-repo. None.

🤖 Generated with Claude Code

…as on the stub (Part of #5126)

CicsTask answered INVREQ RESP2 5 for a task nobody stated a terminal for, while the
stub refuses ("not stated"). The port now tracks whether withTermid was called:
unstated refuses, stated none is INVREQ 16/5 on both. The equivalence harness
states a terminal only for a non-empty "termid".

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 17, 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 17, 2026 14:44
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 14:52
@github-actions

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