Repository navigation
genapp-lgstsq: det-proved LINKed-arm case; port held back by an X6 gap (Part of #4054) - #5611
Merged
Merged
Conversation
…eld back by an X6 gap (Part of #4054) Seven scenarios drive LGSTSQ as a LINKed target (COMMAREA DTO from the callers' CA-ERROR-MSG, EIBCALEN stated), det-proved 7/7, 1/1 paragraphs, 3/6 branches. The coverage ledger entry is regenerated. The model-written port (proven on attempt 1) and its evidence record are NOT committed: adopting the port changes LGAPVS01's proof inputs (#4188 runs a LINKed program's committed port), and LGAPVS01 then fails -- the port clamps WRITEQ LENGTH to FROM where the oracle refuses (X6), so the Java runs on past the refusal. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 11:24
squid-protocol
enabled auto-merge (squash)
October 19, 2026 11:28
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 #4054. Checklist: partial [c:93ce969f] -- GenApp stays at E1: LGSTSQ has a det-proved case but no committed port or evidence record (X6 gap below); LGAPDB01 (Db2 case, no port or record yet) and LGUPVS01 (holds LGUPDB01 at E1) are untouched.
What changed
tests/equivalence/genapp-lgstsq/(case.json, LICENSE, NOTICE): LGSTSQ driven as a LINKed target, seven scenarios (EIBCALEN 90, 40, 10, 9, a blank text, a full text, the caller's error record). The COMMAREA DTO is the callers' 99-byteCA-ERROR-MSG.tests/equivalence/det_sweep_coverage/genapp-lgstsq.json: regenerated bydet_coverage_ledger.py update, not hand-written.Evidence ladder (this program)
Q=and RECEIVE arms are unreachable when LINKed; longer COMMAREAs hit the X6 refusal (the oracle is GnuCOBOL plus our CICS model, not z/OS).Why the port is not here
Adopting it changes
genapp-lgapvs01's proof inputs (evidence.equivalence_target, #4188: a LINKed program's committed port runs in the proof). Re-proving LGAPVS01 then fails:add-duplicate-key,add-io-errorandadd-nospacecompare 1 vs 9 events. LGAPVS01's 101-byte ERROR-MSG reaches LGSTSQ's WRITEQ TD, where the oracle refuses (X6: LENGTH > FROM) and is judged up to there. The model port clamps LENGTH to FROM (min(recvLen, 95)) and keeps going, so no.x6is written. I did not loosen the comparison or hand-edit the port. The held files are in the worktree's scratch dir only.Class table (GenApp callees that hold callers at E1)
Sibling gaps
Gates
pr_gates.py --fast6/6,--ratchets8/8; pytest (test_estate_evidence, test_det_coverage_ledger, test_proof_reach, test_evidence, test_source_reads, test_cics_spec, test_generated_branch, test_sweep_plan, test_ci_critical_path_split, test_evidence_report) 352 passed. Not run:audit_check.py(no Python source changed).Cross-repo: none.
Lessons for agents
programs(equivalence: model-port proofs don't run a case's LINKed programs (INQACC, XFRFUN, LGUPDB01 unprovable) #4188). Checkevidence.py statusfor them before adopting, and re-prove them in the same PR.prefix_x6) and a Java side that runs on fails the comparison. Only translator output throwsDetCics.PastFrom.🤖 Generated with Claude Code