Skip to content

genapp-lgstsq: commit the LGSTSQ port and evidence record, GenApp moves off E1 (Part of #4054) - #5744

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4054-20261020T1342Z
Oct 20, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4054-20261020T1342Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Part of #4054

Checklist: partial [c:93ce969f] -- LGAPDB01 evidence record (Db2) and the LGUPVS01 record still to do

What

GenApp's LINKed callee LGSTSQ had a det-proved case (#5611) but no committed port or evidence record, so every caller was held at E1 by the callee-hole rule (policy 4). This slice commits LGSTSQ's port and record.

  • tests/equivalence/genapp-lgstsq/port/ (model port from the porting loop, one hand edit recorded in provenance.json edited_after): a WRITEQ LENGTH past WRITE-MSG's 95 bytes now throws PastFrom (X6) instead of padding. The model's padding made LGAPVS01's proof fail, because equivalence: model-port proofs don't run a case's LINKed programs (INQACC, XFRFUN, LGUPDB01 unprovable) #4188 runs a LINKed program's committed port and the oracle stub refuses that length.
  • tests/equivalence/genapp-lgstsq/evidence.json: E2, 7 runs / 0 fault, 1/1 paragraphs, 3/6 branches, mutation 25/78 (53 survivors: 49 case_gap, 1 harness_gap, 1 equivalent, 2 unreachable, 0 untriaged; 11 stillborn).
  • tests/equivalence/genapp-lgapvs01/evidence.json: re-proved against the new LGSTSQ port; still E2.
  • tests/cobol_mainframe/test_proof_reach.py: pin 58 -> 58 (LGAPVS01's score goes stale on its re-proved port, -8; LGSTSQ's first run adds +8 unreachable).

Evidence

estate_evidence.py cics-genapp: 4 programs, E1 1 / E2 3 (was E1 4). LGUPDB01 stays E1: LGUPVS01 has no record, so the callee-hole rule still holds.

The LGSTSQ case never exercises the LINKed arm: ASSIGN INVOKINGPROG answers blank in all 7 scenarios, so every run takes the RECEIVE arm, and the RECEIVE answers an empty record (WS-RECV-LEN is 0 at the WRITEQ). That is why 49 survivors are case gaps. The record says so; the case was not changed here.

Oracle: GnuCOBOL plus gitgalaxy's CICS stub, not z/OS.

Class

A LINKed callee with a case but no committed port or evidence record holds every caller at E1 (policy 4). Every member of the class in the burned GenApp estate:

Program State Status
LGSTSQ case, no port, no record fixed here (E2)
LGAPVS01 record E2 re-proved here against the LGSTSQ port; mutation score stale (re-run needed)
LGAPDB01 case only, no port or record (Db2) remaining slice
LGUPVS01 no record; holds LGUPDB01 at E1 remaining slice
LGUPDB01 record E1 waits on LGUPVS01

Sibling gaps

  • LGSTSQ case: no LINKed scenario (INVOKINGPROG blank in all 7) and RECEIVE answers empty data, so 49 survivors are case_gap. Needs: a LINKed scenario with a non-blank invoker and a COMMAREA over 95 bytes, and RECEIVE scenarios with data (some starting Q=). Needed by LGAPVS01, LGUPVS01, LGAPDB01.
  • LGAPVS01: mutation score stale on its re-proved port; re-run seed 0, 150 and re-triage (Mutation testing of every proven port: measure what "proven" means #4047).
  • Harness: SEND TEXT's LENGTH argument is not compared (the one harness_gap). Any CICS program using SEND TEXT with LENGTH.
  • Other GenApp cases listing LGSTSQ have no evidence records.

Remaining slices

  • LGAPDB01 port and record (Db2).
  • LGUPVS01 record.

Plan changes

  • The model port needed the hand edit above (the plan allowed it as a last resort).
  • The record needed a mutation run and triage (test_every_record_carries_a_mutation_section), not in the plan.
  • The proof-reach pin moved.

Gates

test_evidence, test_mutation_scores, test_proof_reach, test_source_reads, test_cics_spec, test_generated_branch, test_sweep_plan, test_ci_critical_path_split, test_estate_evidence, test_evidence_report: 343 passed. pr_gates --fast 6/6, --ratchets 8 pass, audit_check clear.

Cross-repo: none.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 20, 2026 09:50
…6) and its evidence record; re-prove LGAPVS01 (Part of #4054)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…) and move the proof-reach pin (Part of #4054)

The LGSTSQ case never LINKs the program (INVOKINGPROG is blank in all 7 scenarios) and its RECEIVE answers an empty
record, so 49 survivors are case gaps; 6 sit in the LINK facade entry, 2 in dead helpers (unreachable).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 14:27
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 14:43
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant