Skip to content

det ports: re-prove carddemo-menu + 3 mortgage ports; det sweep in CI (#4463) - #4466

Merged
squid-protocol merged 4 commits into
mainfrom
fix/4463-det-sweep
Oct 5, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
fix/4463-det-sweep

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

Four det ports failed their proofs on main, and no CI job runs the det sweep. I bisected each one on this box (tsvenv, det_port.py run):

port first divergence cause introduced by
mortgage-cmort / mlist / nbrvl Maven compile: EpscsmrdCurrentCondition.java:[359,20] <identifier> expected, i.e. private Integer case; Generator: java_identifier's Java keyword list was incomplete. The engine fix #4245 started reading every program of EPSCSMRD's multi-program source, and that source has a field named CASE. 2d7052c (#4245): ~1 proves, the commit fails
carddemo-menu ArrayIndexOutOfBounds: last source index 4556 out of bounds for byte[554] in COMEN01C's CDEMO-MENU-OPT-USRTYPE(WS-OPTION) Case expectation: scenario option-12-typed-over sent option 99. COMEN01C rejects it but still uses it as a subscript of its 12-entry table, which reads 4K past the record. That is undefined, register X8: "the det port stops ... the case leaves it out". 737cab8 (#4049): a73c34a proves

Fixes

  • Generator keywords: cobol_to_java_common._RESERVED_VARS now holds every JLS 3.9 keyword, with a test per keyword.
  • carddemo-menu case: option-12-typed-over sends 12, which keeps its stated purpose (an invalid option with line 12 typed over) and stays inside the table. The model port is re-proven: proven, unapproved, evidence refreshed. X8 now also covers subscripts.
  • CI: a new .github/workflows/det-sweep.yml runs proof_sweep.py --det-only --skip-db2:
    • triggers: on PRs that touch the translator or generator, the harness, the cases or the corpus pin; nightly; and on manual dispatch;
    • cancel-in-progress for PRs, timeout-minutes: 60;
    • the Db2 cases are left out (the Db2 container is slow to start); Evidence Refresh covers them.
  • proof_sweep.py gains --skip-db2.

Proof

All four ports now prove locally (det_port.py run):

port translated
carddemo-menu 91/91
mortgage-cmort 112/112
mortgage-mlist 51/51
mortgage-nbrvl 52/52

Follow-ups (not here)

Closes #4463

🤖 Generated with Claude Code

https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz

… in CI (#4463)

Four det ports stopped proving on 2026-10-04 (bisected):
- mortgage-cmort / mlist / nbrvl: since 2d7052c (#4245, every program of a
  multi-program source read), IBM DBB EPSCSMRD's CURRENT-CONDITION field CASE
  became the entity field `private Integer case;` -- a compile error. The
  generator's Java keyword list (java_identifier) lacked case, if, for, etc.;
  it now holds every JLS 3.9 keyword.
- carddemo-menu: since 737cab8 (#4049), scenario option-12-typed-over sent
  option 99; COMEN01C still subscripts its 12-entry table with it, 4K past the
  record (oracle_assumptions.md X8: the det port stops). The scenario now sends
  12, inside the table; the model port is re-proven (evidence refreshed).

CI: .github/workflows/det-sweep.yml runs proof_sweep.py --det-only --skip-db2
on translator / harness / case changes and nightly (cancel-in-progress,
60-minute timeout). proof_sweep gains --skip-db2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

# Conflicts:
#	docs/language_status/evidence/carddemo-menu.md
#	tests/equivalence/carddemo-menu/evidence.json
…det ports (#4463)

tests/equivalence/det_sweep_baseline.json lists each det port the sweep does not prove, with its issue: 21 CICS ports whose
runTask proof passes but whose det-generated java-facade is a stub (#4465), plus the three long-standing ones. CI fails on a new
not-proven port and on a baselined one that now proves; --update-baseline drops the stale entries.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
@squid-protocol
squid-protocol marked this pull request as ready for review October 5, 2026 17:10
@squid-protocol
squid-protocol merged commit bc622b7 into main Oct 5, 2026
41 checks passed
@squid-protocol
squid-protocol deleted the fix/4463-det-sweep branch October 5, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant