Repository navigation
EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) - #6905
Conversation
…lice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
Waiting on an owner decision (asked privately, 2026-10-28). Nothing is needed from contributors; work resumes once it is answered. |
…#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]>
|
CI shepherd: the head of this PR (9265dc9) is not the one a maintainer labelled |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
|
No description provided. |
|
No description provided. |
…538Z-regraft # Conflicts: # tests/tools/equivalence_cics_faults.py
|
No description provided. |
… 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]>
|
Owner fix pushed (a6cbef9): |
…t' into churn/5859-20261028T1538Z-regraft
|
CI shepherd: the head of this PR (018b6d8) is not the one a maintainer labelled |
…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]>
|
No description provided. |
|
No description provided. |
…) (#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]>
Part of #5859, slice 3c. Supersedes #6902 (and #6901, #6896 before it): regraft onto current main
3b9a43109; the old branch stopped taking main merges.models
EXEC CICS VERIFY PASSWORD, ZECS002's last translation hole. ZECS002 now translates whole and compiles (det_surveyzecs: 7 of 7 whole, 7 compile). It is still L0 on the ladder: the stub has no VERIFY, so there is no case yet.Checklist: partial [c:e14a97c1] -- the zecs-zecs002 equivalence case (blocked on the HLASM
PASSWORDreserved-word rename indet/hlasm.py) and 4 interpreter cross-check left. The 3d stubGGCVERand fault-plan validation landed on this branch via #6907.What changed
VERIFY PASSWORDis a modelled command (register X32) instandards/cics/commands/task.py(USERID, PASSWORD, RESP/RESP2; NORMAL, USERIDERR, NOTAUTH, INVREQ). Removed from the name-only refusals inapi.py. VERIFY PHRASE / TOKEN stay refused.det/cics.py: dispatch totask.verifyPassword(userid);_FORM_OPTION["VERIFY"]so the two-word key resolves.CicsTask.verifyPassword(forge): the region has no security manager, so the verdict is a fact the scenario states through the fault plan. An unstated verdict is refused by name. The password is not compared (assumption in X32, residual risk stated).det/hlasm.py: ZECS002 continues an EXEC CICS command in column 15; the front end now keeps that text (it used to cut the first character, losing the option). A non-EXEC continuation before column 16 is refused by name.equivalence_cics.py: one line refusing VERIFY as stub-only until 3d.test_cics_spec(modelled 103, refused 152). Docs: X32,hlasm_cics_design.md,ladder_exclusions.pyreason text.Gates
Regraft: #6902's diff applied to main
3b9a43109withgit apply -3, no conflicts (none of the 12 files moved on main sincebbe38ee5a); no generated files carried.pr_gates --fast9/9 (incl.affected); det-translate / HLASM lowering 5859 / cics_spec tests: 609 passed, 108 skipped.Not re-run locally:
crucible_check(#6896 measured both legs PASS, no golden change; this diff touches no detector, prism or language rules) anddet_port check(no cobc; CICS ports list for re-prove becauseCicsTask.javagains a method, additive; CI ground-truth covers them).DOOM-rosetta: #6902's four red shards (
crispy-doom,prboom-plus,fastdoom,srb2... fail 'callgraph') (<port> fails 'callgraph', the manifest expects '') are not from this diff. Main's own DOOM-rosetta runs one51660227and332ca4679are red too (the last two main runs;ba863100awas the last green), and the same assertion failed on unrelated branches (#6895, #6894). The workflow reaches this PR only through its broadgitgalaxy/standards/**path filter (this PR editsstandards/cics/commands/).Class / Sibling gaps
Same class: security commands still refused by name: VERIFY PHRASE, VERIFY TOKEN, SIGNON, SIGNOFF, CHANGE PASSWORD. No burned-estate program uses any of them (only ZECS002 reads VERIFY PASSWORD), so none is in scope.
Remaining slices: 3e (reserved-word rename for HLASM fields such as
PASSWORDindet/hlasm.py_cobol(), then thezecs-zecs002case from/tmp/gitgalaxy-scratch/claude/5859/zecs-zecs002-case), 4 (interpreter cross-check), ZECS001CALL ZUIDSTCK(c:f5d905de).Hand-written file count
File-cap exception: one indivisible slice. The model (registry
task.py+api.py), its dispatch (det/cics.py), runtime (forge) and the front-end continuation fix (hlasm.py) cannot land apart: a registry entry without dispatch fails the survey andtest_cics_spec, and ZECS002 needs the continuation fix to reach VERIFY's options. The test files (test_det_translate.py,test_hlasm_lowering_5859.py,test_cics_spec.py), the one-line stub-only refusal inequivalence_cics.pyand the docs are forced by existing guard tests (pinned counts, a required_RESP_SAMPLESentry, the X32 register) or are one-line text corrections.Cross-repo
None.
Lessons for agents
cat > filewith no heredoc blocks a shell on stdin until the timeout._FORM_OPTIONentry indet/cics.py, or the survey says "EXEC CICS VERB not modelled".[15:71]slicing drops a character); the CICS translator takes continuation text wherever it starts.test_cics_spec.pyand needs a_RESP_SAMPLESentry.🤖 Generated with Claude Code