Skip to content

Equivalence harness states TWASIZE / WRKAREA / USERAREALEN; ADDRESS TWA/CWA/TCTUA proven end to end (Part of #5079) - #7470

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5079-20261101T1914Z
Nov 1, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5079-20261101T1914Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5079

What

The equivalence harness (equivalence_cics.py, GnuCOBOL end to end) never stated the sizes of the TWA, CWA and TCTUA, so ADDRESS TWA / CWA / TCTUA were proven by the cics-crucible runner only (X59 listed this as an open gap). A case or scenario may now carry twasize, wrkarea and userarealen (a TCTUA is the terminal's, so it needs a termid). They go to the stub (GGCICS_TWASIZE, GGCICS_WRKAREA + GGCICS_CWA, GGCICS_USERAREALEN + GGCICS_TCTUA) and to the port (withTwaSize, withCwa, withTctua) alike, and appear in the scenario facts only when stated. A bad value is refused by name.

test_address_areas_e2e_5079.py adds unit tests for the keys and a hand-traced end-to-end program: the second ADDRESS returns the same area as the first, so each view reads what the first view wrote. Proven against GnuCOBOL + the det port (EQUIVALENCE_E2E=1, 1 passed). X59 drops the open-gap sentence and the stale "arrives with the next pin bump" (ca-address-cwa is in the v0.11.0 pin).

Class / Sibling gaps

Class: old-style CICS commands that were refused whole (#5079), plus the proof gap of its modelled ADDRESS members. Every checklist member is now modelled or refused by name with a register entry (pinned by test_old_style_sweep_5079.py); this PR closes the harness-proof gap for the three area options of ADDRESS (same mechanism, one handler). No burned-estate program issues any of them.

Sibling gaps (none needed by a burned-estate program):

  • ADDRESS ACEE: refused by name (X59); needs a security-manager model.
  • CONVERSE SET / APPC options, CONVERSE on LUTYPE2: refused by name (X63); IBM leaves it open.
  • Clock-driven POST (another task's CANCEL, SUSPEND polling): not modelled, one task runs.
  • TCTUA persistence across tasks: crucible-only; the harness runs one task per scenario.
  • Frozen DetCics.java copies in two crucible ports: deliberate (docs/cobolrt_api_contract.md).
  • ROUTE / SEND PARTNSET / RECEIVE PARTN / SEND PAGE / PURGE MESSAGE: refused whole by owner decision (2026-10-14).

Facts checked: ca-address-cwa is in docs/language_status/cics_crucible.md at the pinned ref; the Java CicsTask already has withTwaSize / withCwa / withTctua; no golden, parser or pin change.

Verification

  • EQUIVALENCE_E2E=1 pytest tests/cobol_mainframe/test_address_areas_e2e_5079.py: 1 passed (GnuCOBOL + port proven); plain run 15 passed, 1 skipped.
  • test_address_5079, test_old_style_sweep_5079, test_bll_cells_5119, test_source_reads, test_proof_reach: pass.
  • pr_gates.py --fast: 9/9 pass. --ratchets not run (no parser/golden change, harness-only).

Lessons for agents

A harness case with no COMMAREA must say "commarea": null; omitting it raises Unsupported on the COBOL side.

🤖 Generated with Claude Code

…WA/CWA/TCTUA proven end to end (Part of #5079)

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

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 1, 2026 19:30
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 1, 2026 19:34
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 5f7c99a into main Nov 1, 2026
79 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5079-20261101T1914Z branch November 1, 2026 20:20
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