Repository navigation
ZECS001 1500-AUTHENTICATE LINKs the lowered HLASM ZECS002; auth arms proved, cp037 at the boundary (Part of #6839) - #7009
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…overage refresh (Part of #6839) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…305Z # Conflicts: # docs/language_status/port_blockers.md # tests/cobol_mainframe/port_blockers.json # tests/equivalence/det_sweep_coverage/zecs-zecs001.json # tests/equivalence/zecs-zecs001/case.json
…t prefixes (Part of #6839) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
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. |
…ckers page and zecs-zecs001 coverage (Part of #6839) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (6cfa0ed) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #7009 @ 6cfa0ed: 12 failed check(s) == durations key (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == runner-tests (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
1 similar comment
|
PR #7009 @ 6cfa0ed: 12 failed check(s) == durations key (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == runner-tests (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #6839 (row H). ZECS001's
1500-AUTHENTICATEnow LINKs the lowered HLASM ZECS002 (#5859) instead of ending NOPROGRAM, so the long-header auth arms,1600-USER-ACCESSand1610-SCAN-ZCXXSDare proved.What changed
tests/tools/det_port.py: a shared_service_stub(project, program, source). A LINK target the forge made no service for (an HLASM program: the forge reads COBOL only) gets the translator's ownhlasm.service_stub, as the case's main HLASM program already did. Before, the extras loop raised FileNotFoundError onZecs002Service.java.gitgalaxy/tools/cobol_to_java/det/cics.py(not in the plan):dto_for(..., link=True). A LINK's COMMAREA that no DTO types is refused there instead of falling back to the caller's own contract of another size, so the LINK passes the bytes (DetCics.commareaBytes, det: LINK RESP2, RETURN TRANSID LENGTH past the DTO, and onward pass-through of opaque COMMAREA bytes (follow-up to #4501) #4679). Typing ZECS001's 66-byteZECS002-COMM-AREAas ZECS001's own 1-byte DFHCOMMAREA made DetCics refuse the call at run time (Siblings of #4965: crucible COMMAREA byte-channel checks (LINK/XCTL bytes, det-port page-aware bytes, PCCONF holes, pc-return-immediate) #5053). RETURN / XCTL keep the old fallback. This is LINK /dto_forcode, not the web parts WEB RECEIVE: accept the SRVCONVERT pass after a NOSRVCONVERT receive (Part of #6839, Row F) #7007 changes.tests/equivalence/zecs-zecs001/case.json:programs: [ZECS002 / Source/ZECS002.asm]plus 8 https scenarios with a ZC01SD template (USERID1 SELECT / UPDATE / DELETE, USERID2 SELECT):auth-get-select,auth-put-update,auth-post-update,auth-delete-delete: the four 1610 arms.auth-no-access: USERID2 POST, 401.auth-user-not-listed: the scan ends on SD-LENGTH 0, 401.auth-verify-fails: VERIFY NOTAUTH, ZECS002's TD record, RC 08, 401.auth-decode-invalid: cp037=, RC 12 before VERIFY, 401.Code page at the boundary (
hlasm_cics_design.mdassumption 3, extended). ZECS002 reads EBCDIC by content:B64XLTis indexed by cp037 code point,CLI X'7E'is EBCDIC=, andTR A_TO_Ereturns CA-USERID in EBCDIC. Each scenario therefore states the bytes z/OS holds:Basicas cp037 bytes;userid_hex, as inzecs-zecs002.Feeding ASCII Base64 would have matched on both legs, but on a path z/OS never takes, so that was not done.
Regenerated:
det_sweep_coverage/zecs-zecs001.json, P117 (one appended round-8 sentence) +port_blockers.md.Evidence
det_port.py run zecs-zecs001/proof_sweep.py --det-only: PROVED on 50 scenarios, 1072/1072 translated including ZECS002, no holes. Paragraphs 91 -> 96/119, branches 124 -> 153/208 (vs main after equivalence: scenario-stated datasets reach the Java side as stated; FILENOTFOUND for an undefinable file name; ZECS001 82 -> 91/119 paragraphs (Part of #6072) #6952). 1500-EXIT, 1600-USER-ACCESS, 1600-EXIT, 1610-SCAN-ZCXXSD and 1610-EXIT are covered. Every new scenario's event list (LINK, VERIFY-PASSWORD userid / resp, WRITEQ-TD, WEB-SEND status) was read and is the intended path, with equal output on both legs.det_port.py check --base-ref origin/main: 181/182 ports unchanged; only zecs-zecs001 moved (re-proved above).zecs-zecs002is unchanged.pr_gates.py --fast9/9,--ratchets9/9,audit_check.pyall clear;test_det_translate.py,test_evidence.py,test_port_blockers.py,test_zecs_slice_6072.py,test_zuidstck_model_5945.pypass.New tests (in
test_det_translate.py, no JDK):test_a_link_area_no_dto_types_is_not_the_callers_contracttest_det_port_gives_an_hlasm_link_target_the_translators_stubTwo existing
dto_forstubs there take the newlinkkeyword.Class / Sibling gaps
Class: a burned CICS program's LINK / XCTL / START to a program the forge does not generate (HLASM, lowered by
det/hlasm.py).test_hlasm_estate_census_5859pins the burned assembler set:zecs-zecs002,zecs-zecsnc): already handled (zECS assembler: ZECS002 / ZECSNC refused whole, ZECS001's CALL ZUIDSTCK; frontier (Gap Atlas) #5859).RUN TRANSID/ START, not LINKed. It is a sibling with another mechanism and is not done here.Sibling gaps:
linked.ZECS002as 0/0 paragraphs and branches, because coverage anddet_parityread the.asmas COBOL. The parity warnings "ZECS002: methods 40 vs 21 expected from 0 in the COBOL" are therefore noise, and the LINKed target's own coverage under ZECS001 is unmeasured.Remaining slices
.asm.Lessons for agents
dto_for's fallback to the program's own contract is wrong for a LINK. A LINK area of another size with no DTO must travel as bytes. A translation that "builds whole" can still fail on the Java side with#5053 ... no layout converts, so always readjava_failedin report.json.test_det_translate.py's_OverCicsandno_dtooverridedto_for. Grep fordto_for =/def no_dtowhen its signature changes.test_zuidstck_model_5945needs every zecs-zecs001 scenario's TOD to be unique in its first 12 hex digits. A sibling PR adding scenarios can take your TODs. Check after merging main.CLI X'..'). A COBOL -> HLASM boundary needs its inputs stated in cp037, or both legs agree on a path z/OS never takes.Cross-repo: none.
🤖 Generated with Claude Code