Skip to content

ZECSPLT: compare the bytes left in the caller's COMMAREA with the oracle's (Part of #7607) - #7665

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/7607-20261104T0442Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/7607-20261104T0442Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7607. ZECSPLT: the proof now compares the COMMAREA bytes the program leaves in the caller's area with the oracle's.

What changed

  • tests/tools/equivalence_cics.py: caller_bytes_diff compares the runTask-leg Java COMMAREA event's area (caller bytes after the caBack write-back) with the stub's out/commarea.out. A mismatch fails the scenario and adds caller_bytes to the report (key only when non-empty). java_raw reads the raw events.
  • tests/equivalence/zecs-zecsplt/case.json: new scenario beyond-ca (16 distinct bytes, reaches the Storage.beyond copy that a 5-byte COMMAREA cannot).
  • Ledgers: det_mutation/zecs-zecsplt.json re-recorded (148 killed, 213 survived, 22 stillborn; 11/11 paragraphs, 6/6 branches); det_mutation_survivors/zecs-zecsplt.json; evidence.json and det_sweep_coverage regenerated.
  • Tests: test_equivalence_cics_facade_bytes_7607.py (6 pass): agree / differ / absent, an unjudged scenario, and a pin on run_case.

Plan change

The plan compared bytes on the facade leg. That was wrong: the facade's byte overload passes "previous task bytes", never the task's linkArea, so the write-back is only reached in the runTask leg. The compare moved there; the facade change was reverted.

Evidence level (ZECSPLT)

Translated whole. Executed-equivalent over 9 scenarios, 0 diffs. Paragraphs 11/11, branches 6/6. Mutants: 3 caBack mutants (afb8f42dfe, f193ba288b, 77653a7ed4) killed by the new compare and scenario. 22e8e1f4d6 (DEL) is stated equivalent with an attack on record (2 extra inputs, both survived). 7 earlier stated survivors are now killed and removed. Open survivors for the L5 ledger: 0. The oracle is GnuCOBOL plus our stub, not z/OS.

Class / Sibling gaps

Class: bytes handed back in an untyped (commarea_hex) COMMAREA were never compared. Siblings with commarea_hex: zecs-zecsnc, zecs-zecs002, cruc-ca-address-commarea-callee, cruc-ca-address-eib-commarea-callee. All four still PROVED under the new compare (det_port run). No new gap found. The typed LINK path was already compared (#4765).

Facts checked

  • Facade byte overload ignores linkArea (read in FACADE_JAVA); the runTask leg writes area.
  • det_mutation.py stale-check: no stale ledger. check: ok (survivor warnings are for other cases: carddemo-userlist, zecs-zecs003).
  • Gates: audit_check.py pass, pr_gates.py --fast 8/9 passed; the failing step was the affected tests, and its one failure was my own source-text pin broken by ruff format, fixed in fa0d6af. The other 4954 passed. Not re-run in full after the fix; the 6 new tests pass.
  • Det tests may skip without the translator extra.

Remaining slices

None for ZECSPLT. Golden masters unaffected (harness-only change).

Checklist: done [c:5fb62cdc]

🤖 Generated with Claude Code

squid-protocol and others added 3 commits November 3, 2026 23:46
…e caller (WIP, Part of #7607)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ith the oracle's; beyond-ca scenario; 3 caBack mutants killed, DEL stated equivalent (WIP, Part of #7607)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… compare by its call (WIP, Part of #7607)

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 Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 06:23
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 06:29
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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