Repository navigation
Equivalence harness states TWASIZE / WRKAREA / USERAREALEN; ADDRESS TWA/CWA/TCTUA proven end to end (Part of #5079) - #7470
Merged
Conversation
…WA/CWA/TCTUA proven end to end (Part of #5079) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 carrytwasize,wrkareaanduserarealen(a TCTUA is the terminal's, so it needs atermid). 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.pyadds 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-cwais 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):
DetCics.javacopies in two crucible ports: deliberate (docs/cobolrt_api_contract.md).Facts checked:
ca-address-cwais indocs/language_status/cics_crucible.mdat the pinned ref; the JavaCicsTaskalready haswithTwaSize/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.--ratchetsnot 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