Skip to content

evidence: GenApp LGAPDB01 and LGUPDB01 as det ports, java-facade side proven (Part of #6271) - #6684

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6271-det-ports-facade
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6271-det-ports-facade

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6271 (the harness-gap issue; this slice clears the java-facade items from its sibling report). No checklist key was given.

What changed

The java facade did not fail on the harness: the committed GenApp LGAPDB01 / LGUPDB01 ports were model-written and never reached Db2 through cobolrt.sql.DetSql, so a scenario's declared sql_faults could not fire on them (.hole: "no SQL fault hook"). Their clock text in the no-commarea message also differed. The det translator's own ports (197/197 statements, no holes) are committed instead, with det-port-provenance/1 provenance (service/ only, as COPAUS0C/1C in #6138), and equivalence.py run CASE --record re-records both.

case before (facade) after (runTask and facade) coverage
genapp-lgapdb01 6/8 14/14 proven 7/7 paragraphs, 28/31 branches
genapp-lgupdb01 8/15 22/22 proven 9/9 paragraphs, 38/38 branches

tests/equivalence/facade_baseline.json is emptied (the ledger only shrinks). New test_genapp_det_ports_facade_6271.py pins the det provenance, the proven facade side and the empty #6271 baseline. The oracle is GnuCOBOL plus our stub, not z/OS.

Class / Sibling gaps

Class: a committed equivalence port with no DetSql seam cannot take declared sql_faults on the facade (or runTask) side. Members: genapp-lgapdb01 and genapp-lgupdb01, both handled here. Other model ports with declared sql_faults: none were in the facade baseline; I did not audit unbaselined ones. Mutation (L5) for these two det ports is not re-run here.

Gates

pr_gates --fast 7/7; --ratchets 9 pass, 0 fail, 0 skipped; test_evidence.py 49 passed; det_port.py run of both cases PROVED. No engine file changed, so no golden bless.

Lessons for agents

  • A facade failure on a model-written port ("no SQL fault hook" in <keep>/java/out/<scenario>.hole) is the port, not the harness: swap in the det port (det_port.py run CASE --work DIR, copy DIR/<case>/port/service/*.java, det provenance) and re-record.

🤖 Generated with Claude Code

…acade side proven (Part of #6271)

The model-written ports never reached Db2 through cobolrt.sql.DetSql, so the harness could not fire declared
sql_faults on them and the facade run failed (8/15, 6/8). The det translator's own ports pass every scenario both ways:
LGAPDB01 14/14 (7/7 paragraphs, 28/31 branches), LGUPDB01 22/22 (9/9, 38/38). The facade baseline is emptied.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@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 25, 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 25, 2026 23:05
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 23:09
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit efff67b into main Oct 25, 2026
69 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6271-det-ports-facade branch October 25, 2026 23:35
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