Skip to content

ADDRESS TWA / TCTUA: modelled in the det port, stub still refuses (Part of #5079, slice 2a) - #7157

Merged
squid-shepherd[bot] merged 8 commits into
mainfrom
churn/5079-20261030T1511Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 8 commits into
mainfrom
churn/5079-20261030T1511Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5079

Stacked on #7146 (slice 1, open, queued): base is its branch churn/5079-20261030T1310Z, so the diff is this slice's 5 hand-written files; churn selfcheck counts 9 only because it diffs against main and sees #7146's 4 files too. Retarget to main when #7146 lands. Slice 2a of 3.

What

ADDRESS TWA(ptr) / TCTUA(ptr) are modelled in the det port; the stub (ggcics.c GGCADDR) is not yet, so the harness refuses them by name.

  • standards/cics/commands/storage.py: TWA, TCTUA move from refused to options (CWA, ACEE, SET stay refused).
  • det/cics.py address(): lowers them to DetCics.addressTwa(task, ptr) / DetCics.addressTctua(task, ptr) (slice 1's runtime; X'FF000000' when the area is unsized), in IBM's option order EIB, COMMAREA, TWA, TCTUA.
  • tests/tools/equivalence_cics.py _address: raises Unsupported for TWA / TCTUA (the stub cannot serve them yet), so the stub leg never emits wrong code.
  • register/X59.md: the TWA/TCTUA paragraph, with what is and is not proven.
  • tests/cobol_mainframe/test_address_5079.py: TWA, TCTUA, both, and all four options translate with no hole and in order; CWA/ACEE still refused; the harness still refuses TWA/TCTUA.

Evidence

IBM, EXEC CICS ADDRESS: TWA / TCTUA return the address of the transaction work area / terminal control table user area; no condition. Initial content is unstated by IBM, so it is outside the proof.

  • Tests: test_address_5079.py + test_address_twa_tctua_5079.py: 39 passed (the slice-1 runtime test compiles and runs the Java side: TWA shared across LINK, TCTUA across tasks, size 0 / unstated gives X'FF000000'); tree-wide guards 266 passed.
  • pr_gates --fast 9/9, --ratchets 9/9, audit_check.py all clear.
  • det_port.py check (base = the commit before this change): 182/182 ports unchanged. No burned estate program issues ADDRESS TWA / TCTUA (0 uses), so no port moves.
  • Crucible ca-address-twa-tctua re-measured (engine-facts, forge-compile pass; java / java-facade / java-ported fail; cobol-stub unsupported): baseline.json is unchanged. The java side is the forge's stub with no ported PROCEDURE DIVISION (the already-modelled ca-address-commarea fails the same way), and the cobol-stub reason text is the same, so no cell moves in this slice.

Class / Sibling gaps

Class: every ADDRESS area option and the facts each needs (EIB, COMMAREA, TWA, TCTUA, CWA, ACEE, old SET form).

  • EIB, COMMAREA: handled (X59). TWA, TCTUA: handled in the port here (this PR's class table).
  • TWA, TCTUA in the C stub: slice 2b, see Remaining slices.
  • CWA: needs a SIT WRKAREA fact the crucible leaves out: stays refused. ACEE: no security manager modelled: stays refused. No burned-estate program needs either.
  • ADDRESS SET (old form), OS/VS BLL-cell form: slice 3; no burned-estate reader.

Remaining slices

  • Slice 2b: tests/equivalence/cics/ggcics.c (GGCADDR serves TWA / TCTUA from env sizes, TCTUA kept across tasks), tests/tools/equivalence_cics.py _address (call it instead of refusing), tests/tools/cics_crucible.py (env wiring from the plan facts), the X59 stub text, and re-measure the ca-address-twa-tctua/*/cobol-stub baseline cells. The 5-file cap put it here.
  • Slice 3: OS/VS BLL-cell form, estate-harness path.

Cross-repo

None. The cics-crucible pin (v0.10.0) already carries the case; no pin bump.

Lessons for agents

  • det_port.py check --base-ref against the stacked parent branch shows main's drift as changed ports once main moved: use --base-ref HEAD~1 (the commit before your change).
  • The crucible java side is the forge stub, not the det port: a det-port-only change cannot flip those cells.

🤖 Generated with Claude Code

squid-protocol and others added 6 commits October 30, 2026 09:22
…that serves them (Part of #5079)

Slice 1 of ca-address-twa-tctua: parse_csd reads TWASIZE per transaction and USERAREALEN per terminal (keys only when
non-empty), the crucible runner carries them, CicsTask holds a task-shared TWA and a terminal-kept TCTUA, and DetCics
addressTwa / addressTctua give the area's handle or X'FF000000' when none. The spec entry stays refused (slice 2).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…S (Part of #5079)

test_the_catalogue_matches_the_runtime failed on ground-truth part 2/2: the two new DetCics methods were in no rule.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…Part of #5079)

Slice 2a: spec flip (storage.py), det/cics.py address() lowers TWA / TCTUA to
DetCics.addressTwa / addressTctua, harness refuses them by name until the stub
(GGCADDR, slice 2b), X59 register text, tests.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Base automatically changed from churn/5079-20261030T1310Z to main October 30, 2026 15:43
@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 30, 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 30, 2026 15:45
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot disabled auto-merge October 30, 2026 16:20
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #7157 @ 73efdae: 2 failed check(s)

== ground-truth part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41083689173/job/124166760126
repro: python -m pytest -q tests/cobol_mainframe/test_bll_cells_5119.py::test_a_cell_in_a_command_the_lane_refuses_stays_a_hole[MOVE
failing tests: tests/cobol_mainframe/test_bll_cells_5119.py::test_a_cell_in_a_command_the_lane_refuses_stays_a_hole[MOVE
errors:
fail-on-cache-miss: false
E AssertionError: []
tests/cobol_mainframe/test_bll_cells_5119.py:333: AssertionError
FAILED tests/cobol_mainframe/test_bll_cells_5119.py::test_a_cell_in_a_command_the_lane_refuses_stays_a_hole[MOVE FRPTR TO TSPTR SERVICE RELOAD TS-REC.-EXEC CICS ADDRESS TWA(TSPTR) END-EXEC SERVICE RELOAD TS-REC.-ADDRESS TWA: option not mode
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: 41142ebb72e231e2945ad0a7aee53781460668fb7746c3689e66b42e13194858
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 135722
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 779589dc861f77463a81decc6d30f6afb82ff129114908491cc537f086c1fbd0
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12991174578
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 135722 bytes. Artifact ID is 12991174578
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41083689173/artifacts/12991174578
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/979479e3-28ac-49fd-82f5-64646c26af2c' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

== shard 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41083689019/job/124164569922
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
failing tests: tests/cobol_mainframe/test_bll_cells_5119.py::test_a_cell_in_a_command_the_lane_refuses_stays_a_hole[MOVE
errors:
fail-on-cache-miss: false
E AssertionError: []
tests/cobol_mainframe/test_bll_cells_5119.py:333: AssertionError
FAILED tests/cobol_mainframe/test_bll_cells_5119.py::test_a_cell_in_a_command_the_lane_refuses_stays_a_hole[MOVE FRPTR TO TSPTR SERVICE RELOAD TS-REC.-EXEC CICS ADDRESS TWA(TSPTR) END-EXEC SERVICE RELOAD TS-REC.-ADDRESS TWA: option not mode
##[error]Process completed with exit code 1.
log tail:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-equivalence-e2e-shard-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 61955
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 669fc10b087114a537e275ed3494e87234da44122d44df0d915e14cc1eaf91a8
Finalizing artifact upload
Artifact test-times-equivalence-e2e-shard-1 successfully finalized. Artifact ID 12991304976
Artifact test-times-equivalence-e2e-shard-1 has been successfully uploaded! Final size is 61955 bytes. Artifact ID is 12991304976
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41083689019/artifacts/12991304976
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/7a464bce-1ea7-4c74-9da1-76f5051e3255' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
@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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 16:30
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 5bfe68f into main Oct 30, 2026
77 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5079-20261030T1511Z branch October 30, 2026 18:08
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