Skip to content

cics oracle: GGCECBW stub and harness _wait_external for WAIT EXTERNAL / WAITCICS (Part of #5079) - #7406

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5079-20261101T0752Z
Nov 1, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5079-20261101T0752Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Oracle half of WAIT EXTERNAL / WAITCICS (slice 3 of #5079, after #7395): C stub GGCECBW in ggcics_taskcontrol.c, harness _wait_external in equivalence_cics_taskcontrol.py (dispatched from equivalence_cics.py), and Impl(...) on both spec entries so the stub and harness names are checked. The stub mirrors CicsTask.waitExternal: ECBLIST is a task-storage block of NUMEVENTS pointers, an ECB is posted at first byte X'40' (X63 assumption); INVREQ RESP2 2/3/5; a null WAITCICS list, non-storage list/ECB and no posted ECB are refused by name.

The brief's name GGCWEXT is already WEB EXTRACT's stub, and a GGCW* name is read as a web stub by test_cics_family_split, so the stub is GGCECBW.

Class

Modelled CICS task-control commands lacking their oracle half (C stub + harness + Impl). Same-mechanism siblings: WAIT EXTERNAL, WAITCICS (both done here). WAIT EVENT already complete.

Tests

New harness translation/refusal tests and a stub/spec wiring test in test_post_wait_converse_5079.py; 1193 passed with the cics spec, family-split, det-translate, equivalence_cics tests. gcc -fsyntax-only on ggcics.c clean; audit_check.py all clear. No cobc on this box: no end-to-end COBOL run, left to CI.

Cross-repo

None. A cics-crucible hand-traced case for WAIT EXTERNAL/WAITCICS is a separate companion PR (not opened).

Lessons for agents

  • GGCW* stub names are assumed to be web stubs by test_ggcics_holds_the_web_stubs_in_its_family_file; GGCWEXT is also taken (WEB EXTRACT). Check grep -rn "int GGC<name>(" tests/equivalence/cics before naming a stub.

Remaining slices

  • X63 register doc note on the oracle stub (6th hand-written file, over the cap).
  • cics-crucible hand-traced case (companion repo).
  • Open members: ROUTE / SEND PARTNSET / RECEIVE PARTN, CONVERSE SET conversation options, clock-driven posting.

🤖 Generated with Claude Code

…NAL / WAITCICS (Part of #5079)

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

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 1, 2026 07:58
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 1, 2026 07:58
@github-actions

github-actions Bot commented Nov 1, 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