Skip to content

ladder(cics-genapp): lgicdb01 short-commarea, 5/12; fault arms need a port PR (Part of #6072) - #6811

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6072-20261027T1942Z
Oct 27, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6072-20261027T1942Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6072. Ladder slice, estate cics-genapp. Data only (case.json, regenerated ledger and evidence record).

Class / Sibling gaps

Class: a hand-seeded Db2 GenApp case that lacks the error-path scenarios its -generated twin carries. Measured from the committed ledgers (uncovered minus infeasible_outcomes), genapp-lgicdb01 is the ONLY one of the 48 genapp cases below L4; every other case, twins and linked ones included, has net-uncovered = [].

It cannot close by data alone. Adding the twin's four error scenarios (no-commarea, short-commarea, SQLCODE -913, SQLCODE -811) made the det port prove 17 scenarios at 4/4 paragraphs and 11/12 branches (the 12th, line 231 true, is the twin's stated infeasible outcome). But the model-written Java port of LGICDB01 then fails the deployed-entry-point proof (evidence verdict proven -> not-proven, 13/16):

  • select-fails-deadlock, select-fails-other: facade/out/*.hole: "no SQL fault hook in LGICDB01 (its Java does not reach Db2 through cobolrt.sql.DetSql)": Java side yields no events.
  • no-commarea: the port's LGSTSQ error record carries the clock time (10012026 103015) where COBOL has 01011900 105655 (ASKTIME never ran on that path): a port divergence.
    Fixing either is port/harness code, not allowed in a ladder PR, and there is no per-scenario det-only switch, so I did not loosen the proof or ship a regressed record.
member status why not here
lgicdb01 select-fails-* (192 WHEN@197/OTHER, 230, 231 false, WRITE-ERROR-MESSAGE paragraph) open port has no SQL fault hook (JPA repository, not DetSql)
lgicdb01 no-commarea (119 true, 230) open port's LGSTSQ error-record timestamp differs from COBOL
lgicdb01 231 true would be infeasible (EIBCALEN 90 needs INTO past EIBCALEN, X23), same entry as the twin write it with the two items above
genapp-lgsetup no ledger entry (2 scenarios, unmeasured) not in the measured set

Remaining slices

  1. Port PR: route Lgicdb01Service SELECT through a fault-injectable seam (as lgapdb01's port does) and fix the no-commarea LGSTSQ timestamp, then re-prove.
  2. Ladder follow-up: add programs LGSTSQ + region, scenarios no-commarea, select-fails-deadlock, select-fails-other (copy from genapp-lgicdb01-generated) and infeasible_outcomes/genapp-lgicdb01.json (231 true), refresh, evidence.py prove.

Change and evidence

Added short-commarea (EIBCALEN 60, copied from the twin) to genapp-lgicdb01: it passes COBOL vs det vs Java facade. The evidence.json re-proved proven.

case paragraphs before after net branches before after
genapp-lgicdb01 3/4 3/4 4/12 5/12 (140 true)

Gates: pr_gates --ratchets 9/9, --fast 9/9, tree-wide guard tests 265 passed, test_evidence.py 58 passed. ladder_refresh pin tests: 232 passed, 61 skipped (translator-dependent skips not investigated).

Checklist: no line of the #6072 checklist covers a genapp program, so none is ticked by this PR.

Lessons for agents

  • A ladder slice that adds a scenario to a case with a model-written port (tests/equivalence/<case>/port/) must check the Java facade table in report.md first: a port with no cobolrt.sql.DetSql hook cannot judge sql_faults, and ladder_refresh silently rewrites evidence.json to not-proven. Run equivalence.py run CASE --keep DIR and read facade/out/*.hole before adding fault scenarios.

🤖 Generated with Claude Code

…hes; fault arms left open (Part of #6072)

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 27, 2026 19:57
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 27, 2026 19:57
@squid-shepherd
squid-shepherd Bot merged commit aaada2c into main Oct 27, 2026
67 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6072-20261027T1942Z branch October 27, 2026 20:08
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