Skip to content

RESP faults on SEND MAP / RECEIVE MAP / RETURN / SYNCPOINT in the equivalence harness (Part of #6271) - #6292

Merged
squid-protocol merged 8 commits into
mainfrom
churn/6271-s2
Oct 23, 2026
Merged

squid-protocol merged 8 commits into
mainfrom
churn/6271-s2

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6271 (slice 2 of 5: failing SEND MAP / RECEIVE MAP / RETURN / SYNCPOINT). Part of #6072.

What

Harness-only. A scenario can plan a RESP/RESP2 fault on SEND MAP (INVMPSZ, TSIOERR, INVREQ 200), RECEIVE MAP (INVMPSZ, INVREQ), RETURN (INVREQ 1/2/4/200, LENGERR 11/26/27) and SYNCPOINT / ROLLBACK (INVREQ 200). The command is not performed, RESP/RESP2/EIBRESP carry the plan, HANDLE CONDITION fires when no RESP is coded. Conditions IBM lists but the case cannot model are refused by name. Oracle assumption: register X71, citing the IBM CICS TS 6.x Conditions pages.
Changed: ggcics.c (stub), equivalence_cics.py (plan parser), det port (det/cics.py) and forge CicsTask.planned, test_equivalence_cics_fault_resp.py, test_det_translate.py, X71.md. That is 7 hand-written files, over the 5-file cap: one coherent change across stub, parser, both runtimes, tests and doc.

Re-measure (ladder_gaps / ladder_refresh, CI's numbers)

case paragraphs before after net branches before after
cbsa-bnkmenu 19/25 24/25 35/62 46/62
cbsa-dbcrfun 16/22 19/22 25/35 26/35

Both cases proved (equivalence). Oracle is GnuCOBOL plus our stub, not z/OS.

Gates

audit_check (ruff/mypy/dead-key/ast) clean; changed files ruff-format clean; unit tests pass. ladder_refresh test chain: 965 passed, 1 failed -- test_harness_report::test_burned_generated_inputs_need_no_class_1_or_3_cause (LayoutError: CarDemo PAUDBLOD COPY CIPAUSMY not found, it lives in cpy/); this PR touches nothing near it, not confirmed on main.

Remaining / sibling gaps

Plain RETURN TRANSID RESP (BNKMENU 178), SEND TEXT / SEND CONTROL faults; no burned program beyond BNKMENU needs them yet. #6271 left: DELAY fault, CEEDAYS, X6 WRITEQ.

Cross-repo

None. Overlaps open PRs #5898, #5900 (det/cics.py, equivalence_cics.py, test_det_translate.py) and #6277 (BNKMENU/DBCRFUN ledgers): merge those first, then re-run ladder_refresh.py cbsa-bnkmenu cbsa-dbcrfun.

Lessons for agents

ladder_refresh.py prints "before" from the working-tree ledger, so after a merge it shows no change; take before numbers from git show origin/main:tests/equivalence/det_sweep_coverage/<case>.json.

🤖 Generated with Claude Code

squid-protocol and others added 6 commits October 23, 2026 15:55
…er scenario (Part of #6271)

A scenario can plan an IBM-documented condition on these commands in both the
stub and the det-port; X71 cites the conditions and refuses by name where IBM is
silent. BNKMENU 19->24/25 paragraphs, 35->46/62 branches; DBCRFUN 16->19/22, 25->26/35.

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 Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 20:54
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 20:54
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6292 @ 28f29f9: 3 failed check(s)

== ground-truth part 2/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/job/120654714411
repro: python -m pytest -q tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[ROLLBACK]
failing tests: tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[ROLLBACK]
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_strengthen_loop.py:137: AssertionError
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[ROLLBACK] - assert "scenario x: fault {'cmd': 'ROLLBACK', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTAUTH is n
##[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: ef73f663ff6bfd9e492e66b678d757b1ff04f7a600f8d77e6fb3eaaf76c596b3
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-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 67073
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 039d0710ac3586d542b502e0cfe3dcec8a2a2d4d80040c561480a188e3fb2576
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12532425810
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 67073 bytes. Artifact ID is 12532425810
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/artifacts/12532425810
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/dce3a927-0ada-4029-9bd2-6c43832d31de' 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

== ground-truth part 3/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/job/120654714400
repro: python -m pytest -q tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RECEIVE-MAP] tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SYNCPOINT]
failing tests: tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RECEIVE-MAP] tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SYNCPOINT]
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_strengthen_loop.py:137: AssertionError
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RECEIVE-MAP] - assert "scenario x: fault {'cmd': 'RECEIVE-MAP', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTAUT
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SYNCPOINT] - assert "scenario x: fault {'cmd': 'SYNCPOINT', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTAUTH is
##[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: ef73f663ff6bfd9e492e66b678d757b1ff04f7a600f8d77e6fb3eaaf76c596b3
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-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 66401
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a1db6b2812b958bc0191316a2b4d53d2fb307d158b6ba55a0f8064ae3693be92
Finalizing artifact upload
Artifact test-times-ground-truth-part-3 successfully finalized. Artifact ID 12532431192
Artifact test-times-ground-truth-part-3 has been successfully uploaded! Final size is 66401 bytes. Artifact ID is 12532431192
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/artifacts/12532431192
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f0432235-4d13-48e8-9ebc-b5274a4f96d2' 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

== ground-truth part 4/4 (failure) -- flake
https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/job/120654714421
repro: python -m pytest -q tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RETURN]
failing tests: tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RETURN]
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_strengthen_loop.py:137: AssertionError
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[RETURN] - assert "scenario x: fault {'cmd': 'RETURN', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTAUTH is not p
##[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: ef73f663ff6bfd9e492e66b678d757b1ff04f7a600f8d77e6fb3eaaf76c596b3
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-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 66700
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a491330bd11f2459d5307d28888b9674637c21ec15cf957f8c2698cafdb6ec68
Finalizing artifact upload
Artifact test-times-ground-truth-part-4 successfully finalized. Artifact ID 12532107011
Artifact test-times-ground-truth-part-4 has been successfully uploaded! Final size is 66700 bytes. Artifact ID is 12532107011
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40022842385/artifacts/12532107011
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/e36e2e28-0c6a-4b2f-a2c6-aba331773bfc' 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

@squid-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (fe804f2) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 21:21
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 47486d3 into main Oct 23, 2026
67 checks passed
@squid-protocol
squid-protocol deleted the churn/6271-s2 branch October 23, 2026 21:55
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…aches (Part of #6072)

After merging main (#6292 added RESP faults on SEND MAP / RECEIVE MAP / RETURN),
the proof reaches BNKMENU IOT010:{394,466,539,612,685,758,831,905}:true,
SMM010:{987,1138}:true and DBCRFUN WTPD010:569:true, so the infeasible claims
were wrong. Removed them (cbsa-dbcrfun's file is now empty and deleted),
refreshed the dbcrfun coverage ledger, updated the pin test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…6072) (#6277)

* CBSA L3: DBCRFUN SQL-fault scenarios, BNKMENU / DBCRFUN stated arms (Part of #6072)

DBCRFUN: ACCOUNT UPDATE -911 and 923 (storm drain) and PROCTRAN INSERT -803.
infeasible_outcomes: BNKMENU's RETURN / SEND failure arms and dead flags,
DBCRFUN's SYNCPOINT ROLLBACK failure arm, each with its IBM condition list.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det_sweep_coverage: cbsa-bnkmenu, cbsa-dbcrfun after the new scenarios and stated arms (Part of #6072)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Drop 11 stated-infeasible CBSA outcomes the RESP-fault harness now reaches (Part of #6072)

After merging main (#6292 added RESP faults on SEND MAP / RECEIVE MAP / RETURN),
the proof reaches BNKMENU IOT010:{394,466,539,612,685,758,831,905}:true,
SMM010:{987,1138}:true and DBCRFUN WTPD010:569:true, so the infeasible claims
were wrong. Removed them (cbsa-dbcrfun's file is now empty and deleted),
refreshed the dbcrfun coverage ledger, updated the pin test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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