Repository navigation
Fix #4007: CICS harness models HANDLE AID - #4022
Merged
Merged
Conversation
squid-protocol
force-pushed
the
fix/4007-handle-aid
branch
2 times, most recently
from
September 29, 2026 19:39
86bd4da to
0e677de
Compare
Contributor
squid-protocol
force-pushed
the
fix/4007-handle-aid
branch
3 times, most recently
from
September 29, 2026 20:38
147a912 to
12b33d6
Compare
- Stub: HANDLE AID gives each key (ENTER, CLEAR, PA1-3, PF1-24, ANYKEY, ...) its label index per level; an option without a label deactivates it; PUSH HANDLE suspends it with the other handlers. GGCAID maps the EIBAID byte (the harness's DFHAID, pinned by a test) to its key: the key's label, else ANYKEY's for a PA / PF key or CLEAR (not ENTER), else 0 -- control goes on after the input command. - Translator: in a program that issues HANDLE AID, RECEIVE MAP and terminal RECEIVE GO TO the pressed key's label when they completed normally; RESP or NOHANDLE suspends it. A condition the command raised is handled first (the precedence is not documented; the crucible never has both). pc-aid-menu's cobol-stub cells lose their HANDLE AID blocker: their event flow matches the oracle except for the SEND-MAP fields and cursor, which BMS output fidelity (#4001) adds. Part of #3989. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EC8FWfn3aPmsUPnRgKNVup
…he baseline Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EC8FWfn3aPmsUPnRgKNVup
squid-protocol
marked this pull request as ready for review
September 29, 2026 20:42
squid-protocol
force-pushed
the
fix/4007-handle-aid
branch
from
September 29, 2026 20:42
12b33d6 to
6b7d076
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4007
Part of #3989 (phase 3, lane B)
What
Stub:
GGCAID): the EIBAID byte is mapped to its key. A test pins this table to the harness'sDFHAID.cpy, which the driver sets EIBAID from. The result is:Translator:
task.aid()and branches on it itself.Cells (side × status)
translator: HANDLE AIDforstub: SEND-MAP cursor, the BMS output fidelity that lane A's CICS harness: BMS output fidelity in the stub and CicsTask (unlocks 6 cobol-stub cells, all hx-*) #4001 adds.fieldsandcursorleft out, and all three scenarios pass:aid-keys: PF5's label falls into SHOW-MENU, PF9 has no label, CLEAR comes before RECEIVE, PF3's label exits, and PC12 is typed.option1-xctlandoption2-next-transidpass as well.Tests
cc: own labels, a key with no label, ENTER, ANYKEY (PF, CLEAR and PA but not ENTER), deactivation, and PUSH/POP. A test also pins the stub's EIBAID bytes toDFHAID.cpy.EQUIVALENCE_E2E=1fixture passes, and CardDemo account view passes 9/9 events.Audits: ruff, mypy and dead-key show no new findings. Touched files are formatted.
🤖 Generated with Claude Code