Repository navigation
X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252) - #5898
X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252)#5898squid-protocol wants to merge 7 commits into
Conversation
… sides ASSUMED (Part of #5252) Owner 2026-10-21: the stub and the det port write the same record (FROM, then SPACES to LENGTH) instead of refusing. A LENGTH over 32767 stays refused. genapp-lgsetup, now past the WRITEQ, reaches an existing SEND TEXT past-FROM defect (typed numeric sibling not in the bytes) and is baselined with its cause. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5898 @ e1a8b19: 1 failed check(s) == det (failure) -- real |
…; re-record the det coverage (Part of #5252) With a WRITEQ LENGTH past FROM now modelled, LGAPDB01's CICA line reaches the compared events with the run's CURRENT TIMESTAMP in it, which differs between the two runs by the moment: mask_clock_events now masks a run-written clock inside an event's text/data when the case declares clock_fields. A FROM item with a long name no longer pushes the GG-PADQ move past column 72 (carddemo-copaua0c refused it). The det coverage ledger is re-recorded for the ten cases that moved (LGDPVS01 now 2/4 branches). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (9f498e1) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
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. |
…coverage of the cases X6 moves (Part of #5252) The carddemo-copaua0c ledger conflicted on its harness fingerprint (both sides changed equivalence_cics.py). Resolved by re-running the det sweep on the merged tree, not by hand: copaua0c, lgapol01, lgtestp1-4, lgupol01, lgdpvs01, lgucvs01 all PROVED ("sweep: as expected"), ledger written by det_coverage_ledger.py update and checked. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Part of #5252 (slice 1 of 2).
Owner decisions
Owner OK (phone 2026-10-21): model short-source WRITEQ (X6: LENGTH past FROM) in the test stand-in/oracle, recorded as ASSUMED (IBM undefined; GnuCOBOL layout differs); unblocks lgdpvs01, lgucvs01, lgapvs01, lgupvs01 branches. Copy this line into the PR body under ## Owner decisions.
What changed
A WRITEQ TD/TS whose LENGTH runs past its FROM item used to stop both sides (98, "not modelled";
DetCics.PastFrom) and the task was judged only up to that statement. Both sides now write FROM's bytes then SPACES to LENGTH:_write_fromintests/tools/equivalence_cics.pymoves FROM into a space-filledGG-PADQ PIC X(32767)(only added to programs that need it);DetCics.padded(ruleRT-CICS-WRITEQ-PAST-FROM, now ASSUMED incobolrt_rules.json), emitted bydet/cics.py;register/X6.mdis ASSUMED. A LENGTH over 32767 is still refused. START / PUT CONTAINER / DOCUMENT CREATE past their area stay refused.Class table
Evidence
det_port.py check: 142 ports flagged (DetCics.java edit moves every port's diff);det_port.py runon the 7 whose service file changed: lgstsq, lgicvs01, lgwebst5, lgtestc1, zecs-zecsplt, zecs-zecs000 PROVED; genapp-lgsetup DIFFERS.SEND TEXT FROM(WRITE-MSG-H) LENGTH(24), which sends WRITE-MSG-H plus WRITE-MSG-HIGH PIC 9(10); the det port keeps that numeric as a BigDecimal outside the record bytes, so Java sends zeros (HIGH CUSTOMER=0000000000vs=0000000050). An existing translator defect the old stop hid, not a regression of the padding. Baselined by hand indet_sweep_baseline.jsonwith its cause (Siblings of #4174: GenApp VSAM programs' COMMAREA (STARTCODE D) path cases #5252); the fix (pack the enclosing record before a past-FROM read) is a Remaining slice.equivalence.py run genapp-lgdpvs01shows 0/N equal both here and on unmodified main: it runs the Spring facade, not the det port, so it is not a proof route.pr_gates --ratchets8/8 PASS,audit_check.pyclear,ruff formatclean, unit and rule-catalogue tests pass. Golden masters untouched (no parsing change).Why more than 5 hand-written files
8 files: the tests (
test_det_translate,test_equivalence_cics) andcobolrt_rules.jsonpin the old refusal text,X6.mdis the register page, anddet_sweep_baseline.jsonrecords lgsetup. The core change is 3 files (equivalence_cics.py,det/cics.py,DetCics.java).Remaining slices
case.jsonscenarios and notes for genapp-lgdpvs01, lgucvs01, lgapvs01, lgupvs01 (and lgacvs01, lgicvs01, same unreachable arms); det coverage ledger refresh; re-prove the Db2 cases.evidence.py: list X6 as an assumption for tasks that run the padded WRITEQ (today only for judged-up-to tasks).Cross-repo: none.
Lessons for agents
equivalence.py run CASEtakes the bare case name and uses the facade, not the det port; usedet_port.py run.🤖 Generated with Claude Code
Fix round (det)
The X6 WRITEQ-past-FROM model unmasked a run-written CURRENT TIMESTAMP inside LGAPDB01's CICA record (6 genapp cases differed) and a column-72 overflow on a long FROM name (carddemo-copaua0c).
mask_clock_eventsnow masks a clock inside an event's text/data when the case declaresclock_fields; the GG-PADQ move splits when long. Det coverage ledger re-recorded for the 10 cases that moved.Rescue round (merge with main)
Merged origin/main (no rebase). The one conflict,
det_sweep_coverage/carddemo-copaua0c.json(harness fingerprint; both sides changedequivalence_cics.py), was resolved by re-running the det sweep on the merged tree: copaua0c, lgapol01, lgtestp1-4, lgupol01, lgdpvs01 and lgucvs01 all PROVED,sweep: as expected. The 9 ledger files were written bydet_coverage_ledger.py update, andcheckpasses.pr_gates --fast7/7, and 723 unit tests pass (test_equivalence_cics,test_det_translate,test_source_reads,test_proof_reach). Stacked follow-up: #5900 (merges after this one).Checklist: partial [c:190843d4] -- LGDPVS01 det sweep now 3/4 branches, 3/3 paragraphs (was 0/4); 1 branch left
Checklist: partial [c:c7bc14cc] -- LGUCVS01 det sweep now 3/4 branches, 3/3 paragraphs (was 0/4); 1 branch left
Checklist: partial [c:5dfb49d0] -- LGAPVS01 det sweep now 7/9 branches (was 5/9); 2 branches left
Checklist: partial [c:cf05352d] -- LGUPVS01 det sweep now 7/9 branches (was 5/9); 2 branches left
Checklist: partial [c:818452c8] -- LGICVS01 det sweep now 10/12 branches (was 7/12); 2 branches left