Repository navigation
zecs-zecs002 case: VERIFY userid_hex, latin-1 fault logs (Part of #5859) - #6923
Merged
Merged
Conversation
…lice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#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]>
…538Z-regraft # Conflicts: # tests/tools/equivalence_cics_faults.py
… 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]>
…t' into churn/5859-20261028T1538Z-regraft
…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]>
…t' into churn/5859-20261028T1723Z
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]>
…red-cobol (Part of #5859) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Closed
3 tasks done
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 3e).
What changed
det/hlasm.pychange. The reserved-word rename the slice planned (PASSWORD->PASSWORD-HL, a_RESERVED_WORDSset, a collision refusal in_place) already landed in EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) #6905. The plan was wrong on that point; this branch merges it and adds nothing there.tests/equivalence/zecs-zecs002(zECS ZECS002, HLASM, CICS/REST Basic Auth): 11 scenarios (verified, USERIDERR, NOTAUTH, INVREQ, 8-char and over-8 UserID, 8-char password, no colon, invalid encoding, COMMAREA short and long).userid_hexon a VERIFY fault (equivalence_cics_faults.py). An assembler program holds the USERID as EBCDIC bytes, so a plain-textuseridverdict never matched.userid_hexstates the verdict for the field's own bytes, padding included.equivalence_cics.py):faults.cfgis written as latin-1;_firedreads the COBOL log as latin-1 and the Java log as UTF-8, and splits on\nonly (str.splitlinesbreaks at\x85, which an EBCDIC byte can be).det_sweep_coverage/zecs-zecs002.json(new), 603fact_crosscheck_ledger.jsonentries forZECS002.asmassignedhlasm-lowered-cobol(the cause ZECSNC.asm already carries).Evidence ladder (ZECS002)
det_port.py run zecs-zecs002PROVED: 11 scenarios, runTask side and java-facade side both equal; injected faults agree.Gates
New tests (
test_equivalence_cics_verify_5859.py,test_hlasm_lowering_5859.py): 118 pass.audit_check.py: clear.pr_gates --fast: 9/9 after the det ledger refresh (the first run failedderived: no det ledger entry).pr_gates --ratchets: 8/9, the fact-crosscheck failure fixed by the ledger change above; re-run not repeated after the final merge of origin/main. Not run: full suite, crucible_check (no parsing logic touched). Local ruff is 0.16.0, CI pins 0.17.1: format not checked with the pinned version.Sibling gaps
None found to list: the other reserved-word names were already covered by #6905's set and its tests; I did not search the burned corpora for further reserved-word collisions beyond ZECS002.
Remaining slices
Not started here: the ZECS001
CALL ZUIDSTCKSTCK wrapper.Checklist: partial [c:e14a97c1] -- ZECS002 lowers, translates whole and is proved; the assembler path is not complete for other programs
Checklist: partial [c:f5d905de] -- ZECS001 (the ZUIDSTCK STCK wrapper) is untouched
Lessons for agents
userid_hex, and the stub and fired-fault logs are latin-1 (COBOL) / UTF-8 (Java), neversplitlines.det_port.py run, notequivalence.py run, for an assembler case; the latter needs a COBOL service class and dies withStopIteration.det_sweep_coverage/<case>.jsonand, for an.asm, fact-crosscheck entries assignedhlasm-lowered-cobol.🤖 Generated with Claude Code