Repository navigation
EXEC CICS VERIFY PASSWORD: stub GGCVER and fault validation (Part of #5859, slice 3d) - #6907
Merged
squid-shepherd[bot] merged 1 commit intoOct 28, 2026
Conversation
…#5859, slice 3d) The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a scenario states for the trimmed USERID and records one VERIFY-PASSWORD event; the password is never passed (register X32). equivalence_cics_faults.py accepts only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits the DSECT field verbatim (see PR body). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
squid-shepherd
Bot
merged commit Oct 28, 2026
9265dc9
into
churn/5859-20261028T1538Z-regraft
5 checks passed
Contributor
|
No description provided. |
This was referenced Oct 28, 2026
Closed
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
…lice 3c) (#6905) * EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907) The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a scenario states for the trimmed USERID and records one VERIFY-PASSWORD event; the password is never passed (register X32). equivalence_cics_faults.py accepts only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits the DSECT field verbatim (see PR body). Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859) The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32 registry entry rightly refuses (ground-truth red on #6905). Co-Authored-By: Claude Opus 5.5 <[email protected]> * HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910) * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900) * CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's injected() and the port's task.planned() read the same line, a planned fault means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134 and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e) cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * hlasm: build the reserved-word set with findall (SIM905) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Joe Esquibel <[email protected]>
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
…) (#6923) * EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907) The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a scenario states for the trimmed USERID and records one VERIFY-PASSWORD event; the password is never passed (register X32). equivalence_cics_faults.py accepts only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits the DSECT field verbatim (see PR body). Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859) The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32 registry entry rightly refuses (ground-truth red on #6905). Co-Authored-By: Claude Opus 5.5 <[email protected]> * HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910) * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900) * CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's injected() and the port's task.planned() read the same line, a planned fault means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134 and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e) cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * hlasm: build the reserved-word set with findall (SIM905) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * zecs-zecs002 case: VERIFY userid_hex, latin-1 fault logs (Part of #5859) ZECS002 holds the USERID as EBCDIC bytes, so a plain-text VERIFY verdict could not match it. `userid_hex` states the verdict for the field's own bytes; faults.cfg and the fired-fault logs are read/written as latin-1 (COBOL stub) and UTF-8 (Java), split on newline only. COBOL-reserved-word renaming (PASSWORD etc.) came with #6905. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fact-crosscheck ledger: ZECS002.asm disagreements assigned hlasm-lowered-cobol (Part of #5859) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Joe Esquibel <[email protected]>
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.
Part of #5859 (slice 3d, partial). Checklist: partial [c:e14a97c1]
What
ggcics.c:GGCVERstub for EXEC CICS VERIFY PASSWORD. It takes the trimmed USERID, looks up the fault plan'sVERIFYline, and records oneVERIFY-PASSWORDevent. The password is never passed. A USERID with no stated verdict is refused by name.equivalence_cics.py: translates VERIFY PASSWORD toGGCVER, converts the event, adds USERIDERR toCICS_RESP. PHRASE and TOKEN stay refused.equivalence_cics_faults.py:VERIFYfault lines are accepted with NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2 (register X32).test_equivalence_cics_verify_5859.py); X32 updated.Not done: the zecs-zecs002 case
I wrote the case (11 scenarios) and ran the harness. The COBOL side fails to compile:
syntax error, unexpected PASSWORD. ZECS002's DSECT fieldPASSWORDis emitted verbatim by_cobol()indet/hlasm.py, and GnuCOBOL reserves the word. The fix is a reserved-word rename there, a 6th hand-written file, so it is left as the next slice and the case is not committed (a failing case would break the sweep). The case was kept under/tmp/gitgalaxy-scratch/claude/5859/zecs-zecs002-caseonly.File cap
This PR's own diff is 5 hand-written files (base is #6905's branch). Against
mainthe diff also shows #6905's 9 files, which are its commit 9b12718, not written here.File-cap exception: stacked PR; the extra files are #6905's, and retargeting to main after #6905 merges leaves only these 5.
Cross-repo
None. This PR carries #6905's commit (9b12718) and is stacked on its branch. Overlaps: #6898 and #6900 (
ggcics.c,equivalence_cics_faults.py); merge-tree against origin/main is clean at push.Class / Sibling gaps
Class: HLASM field names that are COBOL reserved words.
_cobol()only upper-cases and swaps_for-, so any DSECT field named like a reserved word (PASSWORD, and likely others such as FILE, DATE, TIME) breaks the generated source. Sibling gaps: the same rename must also reach the Java side's field naming; VERIFY PHRASE / VERIFY TOKEN remain refused; ZECS001CALL ZUIDSTCKunchanged.Remaining slices
det/hlasm.pyreserved-word rename, then commit the zecs-zecs002 case,equivalence.py run --record, det_port run, ledgers.tests/tools/hlasm_interp.pyand its test).'@tdq@'queue literal, FORMATTIME YYYYMMDD / DATESEP / TIMESEP).Gates
pr_gates.py --fast9/9 (re-run after merging origin/main); new test file,test_equivalence_cics_fault_resp,abend_injection,test_source_reads,test_cics_specpass; ruff format clean on changed files.--ratchetsandaudit_check.pynot run.Lessons for agents
cobcwith "unexpected PASSWORD", not in the translator.🤖 Generated with Claude Code