Repository navigation
X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252) - #6573
Conversation
… both sides (Part of #5252) Regraft of #5898 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#5252) genapp-lgsetup now reaches SEND TEXT with a typed-numeric WRITE-MSG-HIGH (a known #5252 cause): baselined. Coverage rises on lgdpvs01, lgapvs01, lgupvs01, lgucvs01, lgicvs01 and the LINKed GenApp programs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
X6 is ASSUMED (owner 2026-10-21): a WRITEQ TD / TS whose LENGTH runs past FROM now writes FROM's bytes then spaces, and the task runs on. The proof used to list X6 only for tasks judged up to the refused WRITEQ (judged_to), so a padded task (lgdpvs01 / lgapvs01 / lgupvs01's error paths) no longer stated it. The stub DISPLAYs "GG-X6 PADDED <verb>" on the padded path; outputs() moves those lines out of the task's sysout into x6_padded, the run report carries it, and evidence.proof_section records assumes = X6 for the task. The page states the padded assumption separately from the judged-up-to one. X6.md no longer says the assumptions list does not name it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Part of #5252) det_coverage_ledger.py update from a full non-Db2 (95/98, the three baselined) and Db2 (35/35) det sweep: 130 entries move only their harness:cics fingerprint; no coverage number moves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
…5252) The two genapp coverage ledgers conflicted: kept the base's harness fingerprint and measured_at, and this branch's case fingerprint (its case.json notes changed). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…(Part of #5252) (#6574) * Blocker feed: survey cics-crucible so its leak scan runs; a feed failure fails the Evidence Refresh run (Part of #5054) (#6566) cics_census survey --baseline --crucible DIR surveys a cics-crucible checkout as one more burned corpus (the nightly refresh passes its clone), so blocker_estate_feed reads its rows and --require-sources finds its sources. The feed step keeps continue-on-error (records are not held back) but the job's last step now fails the run on it. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) The notes and scenario whys no longer say the oracle refuses LGSTSQ's WRITEQ TD: it is past FROM (FROM's bytes then spaces, ASSUMED) and the task runs on through the EIBCALEN arms. Coverage ledger re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CI: post-merge Full Suite Gate dispatch on main drops ubuntu/3.12 (Part of #5953) (#6568) Smoke runs the same suite on ubuntu / 3.12 on every main push; Ground Truth covers test_evidence_components. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CI: narrow unicode-gauntlet, rosetta-audit, ports-compile, fact-crosscheck path filters by import reach (Part of #6278) (#6569) Scan-only gates skip a translator/controller-only PR; ports-compile and fact-crosscheck skip the standalone terabyte_log_scanning tool. A new test derives reach from the import closure of each gate's entry modules and pins both directions. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * generated pushes: rebase and retry on a rejected push (Part of #6563) (#6565) * generated pushes: fetch, rebase and retry on a rejected push (Part of #6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test_generated_branch: use non-.md fixture names so docs_read_by_tests.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence-e2e db2 job: fetch the pinned mainframe corpora like the shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (5c24e7b) is not the one a maintainer labelled |
…057Z-regraft # Conflicts: # .github/workflows/full-suite-gate.yml # tests/tools/test_sweep_plan.py
|
CI shepherd: the head of this PR (2703fe2) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #6573 @ 2703fe2: 1 failed check(s) == shard 3/4 (failure) -- real |
|
No description provided. |
|
No description provided. |
…s (Part of #5252) (#6583) * X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252) Regraft of #5898 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger and baseline after X6 (Part of #5252) genapp-lgsetup now reaches SEND TEXT with a typed-numeric WRITE-MSG-HIGH (a known #5252 cause): baselined. Coverage rises on lgdpvs01, lgapvs01, lgupvs01, lgucvs01, lgicvs01 and the LINKed GenApp programs. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ruff format test_equivalence_cics.py (Part of #5252) Co-Authored-By: Claude Opus 5.5 <[email protected]> * A proof names X6 for every task that ran a padded WRITEQ (Part of #5252) X6 is ASSUMED (owner 2026-10-21): a WRITEQ TD / TS whose LENGTH runs past FROM now writes FROM's bytes then spaces, and the task runs on. The proof used to list X6 only for tasks judged up to the refused WRITEQ (judged_to), so a padded task (lgdpvs01 / lgapvs01 / lgupvs01's error paths) no longer stated it. The stub DISPLAYs "GG-X6 PADDED <verb>" on the padded path; outputs() moves those lines out of the task's sysout into x6_padded, the run report carries it, and evidence.proof_section records assumes = X6 for the task. The page states the padded assumption separately from the judged-up-to one. X6.md no longer says the assumptions list does not name it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger after the X6 padded marker (Part of #5252) det_coverage_ledger.py update from a full non-Db2 (95/98, the three baselined) and Db2 (35/35) det sweep: 130 entries move only their harness:cics fingerprint; no coverage number moves. Co-Authored-By: Claude Opus 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) (#6574) * Blocker feed: survey cics-crucible so its leak scan runs; a feed failure fails the Evidence Refresh run (Part of #5054) (#6566) cics_census survey --baseline --crucible DIR surveys a cics-crucible checkout as one more burned corpus (the nightly refresh passes its clone), so blocker_estate_feed reads its rows and --require-sources finds its sources. The feed step keeps continue-on-error (records are not held back) but the job's last step now fails the run on it. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) The notes and scenario whys no longer say the oracle refuses LGSTSQ's WRITEQ TD: it is past FROM (FROM's bytes then spaces, ASSUMED) and the task runs on through the EIBCALEN arms. Coverage ledger re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CI: post-merge Full Suite Gate dispatch on main drops ubuntu/3.12 (Part of #5953) (#6568) Smoke runs the same suite on ubuntu / 3.12 on every main push; Ground Truth covers test_evidence_components. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CI: narrow unicode-gauntlet, rosetta-audit, ports-compile, fact-crosscheck path filters by import reach (Part of #6278) (#6569) Scan-only gates skip a translator/controller-only PR; ports-compile and fact-crosscheck skip the standalone terabyte_log_scanning tool. A new test derives reach from the import closure of each gate's entry modules and pins both directions. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * generated pushes: rebase and retry on a rejected push (Part of #6563) (#6565) * generated pushes: fetch, rebase and retry on a rejected push (Part of #6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test_generated_branch: use non-.md fixture names so docs_read_by_tests.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence-e2e db2 job: fetch the pinned mainframe corpora like the shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp-lgstsq / lgapvs01 committed ports: pad past FROM, and fix what the X6 refusal hid (Part of #5252) The committed LGSTSQ model port still threw PastFrom, so with X6 modelled only the Java side refused and LGAPVS01's committed-port proof failed (shard 3/4). It now pads as the stub does. Running on past the refusal surfaced three latent defects, hand-edited and recorded in provenance: - LGAPVS01: WS-ABSTIME is PIC S9(8) COMP, so FORMATTIME sees only its low 8 digits. - LGAPVS01: the second LINK passes CA-ERROR-MSG, 'COMMAREA=' FILLER included. - LGSTSQ: the WRITEQ TS item is the region page's bytes (IBM037), not the record charset. Both evidence records re-proven. Co-Authored-By: Claude Opus 5.5 <[email protected]> * genapp-lgupvs01 committed port: the same two WRITE-ERROR-MESSAGE defects X6 hid; re-prove the LGSTSQ linkers (Part of #5252) LGUPVS01's port kept the full ASKTIME (WS-ABSTIME is PIC S9(8) COMP: 8 digits) and handed LGSTSQ the LINK area from offset 9 instead of its first 90 bytes (COMMA-DATA). Both showed only once the stub stopped refusing a WRITEQ LENGTH past FROM. Re-proven: lgupvs01 10/10 (facade included), and lgapdb01 / lgupdb01, whose records fingerprint the LINKed ports. Co-Authored-By: Claude Opus 5.5 <[email protected]> * proof_reach: re-proved LGSTSQ/LGAPVS01/LGUPVS01 ports skip their stale mutation survivors, 114 -> 74 (Part of #5252) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ee-wide (Part of #6271) (#6802) Since #6573 only LENGTH > 32767 is refused. 17 GenApp cases still said "judged up to the refused WRITEQ"; notes and scenario why strings now say written padded, whole task compared. The LGTESTP-only test becomes a glob over every case.json. det_sweep_coverage ledgers re-recorded; coverage numbers unchanged. genapp-lgsetup is not proven when compared whole (#5252). Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #5252 (slice 1 of 2; folds in the former Remaining slice 2, the evidence.py X6 assumption, per review).
Supersedes #5898 (regraft onto current main: #5898 was 562 commits behind with conflicts; the hand-written files were re-applied on a fresh branch and every generated file was regenerated).
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.
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. Now both sides write FROM's bytes and then SPACES up to LENGTH:_write_fromintests/tools/equivalence_cics.pymoves FROM into a space-filledGG-PADQ PIC X(32767). The area is added only to programs that need it, and the move is split when the FROM name is long (column 72).mask_clock_eventsalso masks a clock inside an event's text/data when the case declaresclock_fields.DetCics.padded, emitted bydet/cics.py, under ruleRT-CICS-WRITEQ-PAST-FROM(now ASSUMED incobolrt_rules.json).register/X6.mdis now ASSUMED.judged_topath no longer named X6 for it. That would have loosened the proofs of lgdpvs01 / lgapvs01 / lgupvs01. Now:GG-X6 PADDED <verb>on the padded path.outputs()moves those lines out of the task's sysout (the Java side prints none) intox6_padded, and the run report carries it (only when non-empty).evidence.proof_sectionrecordsassumes: X6for such a task, and the page states the padded assumption apart from the judged-up-to one.X6.mdno longer says the assumptions list does not name X6.Class table
judged_to, #4607)x6_padded, this PR)Class / Sibling gaps
judge_facade) records nox6_padded: the facade proof judges the deployed entry points and does not build the evidence record's per-task assumptions.Evidence (re-measured on the regraft)
Non-Db2 det sweep (
proof_sweep.py --det-only): 95/98 proven.det_coverage_ledger.py update:det_coverage_ledger checkreports "as expected", andproof_sweep --aggregate --expect allreports "sweep: as expected".genapp-lgsetup: it used to stop at its WRITEQ TS past FROM. It now reaches
SEND TEXT FROM(WRITE-MSG-H) LENGTH(24), which sends WRITE-MSG-H plus WRITE-MSG-HIGH PIC 9(10).HIGH CUSTOMER=0000000000vs=0000000050).det_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 Remaining slice 3.Coverage ledger: 131 entries were rewritten by
det_coverage_ledger.py update. Most only move the harness/oracle fingerprints, because the stub and harness changed. The real moves:After the evidence fold-in (second push):
x6_padded(e.g. lgdpvs01delete-io-error: WRITEQ TD, WRITEQ TS twice, from LGSTSQ).det_coverage_ledger updaterewrote 130 entries, all fingerprint-only (no coverage field moves).det_coverage_ledger checkreports "as expected", andproof_sweep --aggregatereports "as expected" for both.pr_gates --fast7/7 PASS and--ratchets9/9 PASS. Targeted tests: 801 passed, 3 skipped.Gates (first push):
pr_gates --fast7/7 PASS (CI ruff 0.17.1, mypy 2.4.0) andpr_gates --ratchets9/9 PASS.test_det_translate,test_equivalence_cicsandtests/equivalencepass (724 passed, 3 skipped). Golden masters are untouched (no parsing change).Why more than 5 hand-written files
There are 9 hand-written files plus the regenerated ledger. The overrun was accepted by the owner in review as an atomic policy flip (X6 modelled, and named in every proof that relies on it):
equivalence_cics.py,det/cics.pyandDetCics.java.equivalence_cics_tempstorage.pyis the TS call site.test_det_translate,test_equivalence_cics) andcobolrt_rules.jsonpin the old refusal text.X6.mdis the register page.evidence.pyandtest_evidence.pystate X6 for padded tasks (the former slice 2).det_sweep_baseline.jsonrecords lgsetup.Remaining slices
case.jsonnotes for genapp-lgdpvs01 / lgucvs01 now that X6 is modelled. This is the genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) #5900 regraft, stacked on this PR. It also covers scenarios for the remaining unreachable arms of lgapvs01, lgupvs01, lgacvs01 and lgicvs01.Cross-repo: none.
Lessons for agents
judged_tocarried X6). Check what the proof record says for the newly-whole tasks, not just that they prove.equivalence.py run CASEtakes the bare case name and uses the facade, not the det port. Usedet_port.py run.det_coverage_ledger.py updaterewrites every entry whose harness fingerprint moved. Diff the coverage fields, not the file list, to find the real moves.Checklist: partial [c:190843d4] -- LGDPVS01 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:c7bc14cc] -- LGUCVS01 det sweep is 3/4 branches (this PR only updates its LGSTSQ-path case notes); 1 branch left
🤖 Generated with Claude Code