Skip to content

CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) - #6898

Closed
squid-protocol wants to merge 3 commits into
mainfrom
churn/6882-20261028T1229Z
Closed

squid-protocol wants to merge 3 commits into
mainfrom
churn/6882-20261028T1229Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Part of #6882 (slice 1: a SET TERMINAL fault, CBSA).

What changed

  • A scenario can plan SET-TERMINAL TERMIDERR (RESP2 23) / INVREQ (RESP2 43) and INQ-TERMINAL TERMIDERR (RESP2 1), the DELAY mechanism of DELAY faults in the equivalence harness: EXPIRED and INVREQ planned per scenario; CRDTAGY1-5 reach the failure branch (Part of #6271) #6318 (X72). The harness vocabulary (equivalence_cics_faults.py), the stub (GGCSETT / GGCINQT call injected() first) and the det port (task.planned(...) before setUctranst / inquireUctranst, det/cics.py SET/INQUIRE TERMINAL block only) read the same CMD - NTH RESP RESP2 line. A planned fault means the command is not performed. The key is INQ-TERMINAL because the stub parses command keys into 15 characters.
  • Four CBSA scenarios (case data): BNK1CCS first-entry-uctran-set-invreq, mapfail-uctran-set-termiderr; BNK1DCS first-entry-set-terminal-invreq, inquire-uctran-set-terminal-termiderr.
  • X26 register entry documents the vocabulary, the assumption that a failed SET changes nothing, and the refusals.

Evidence (ladder #6072)

case net branches before after proof
cbsa-bnk1ccs 126/143 128/143 (415:true, 1134:true) PROVED on 100 scenarios
cbsa-bnk1dcs 93/102 95/102 (532:true, 1676:true) PROVED on 55 scenarios

Paragraphs stay 33/33 and 51/51. Every gap left in both programs is a stated infeasible outcome. det_sweep_coverage regenerated for both.

Gates

  • det_port.py check: 177/181 unchanged; the four that moved (bnk1ccs, bnk1dcs and their -generated variants) re-proved with --faults all: all PROVED.
  • pr_gates --fast 9/9, pr_gates --ratchets 9/9, audit_check.py clear, ruff format clean, ladder_refresh.py pin tests 637 passed.
  • Engine scan code untouched, so no golden bless.

Class / Sibling gaps

Class: a RESP fault on a command the burned estates issue. Siblings: INQ-TERMINAL is unit-proven only (no burned program INQUIREs a terminal, so no scenario); a SET naming another terminal is refused (the stub models only the task's own). Remaining #6882 slices: container / RUN TRANSID faults, the GenApp lgicdb01 SQL-fault seam, the lgsetup translator packing gap.

Cross-repo

None: no companion PRs, nothing re-runs elsewhere. Overlap: det/cics.py with worker 5859's branch, confined to the SET/INQUIRE TERMINAL block.

🤖 Generated with Claude Code

Checklist: done [c:b8ce0a3b]

…Part of #6882)

A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL
and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's
injected() and the port's task.planned() read the same line, a planned fault
means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134
and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102).

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 28, 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 28, 2026 13:04
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 13:04
@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

PR #6898 @ b402584: 1 failed check(s)

== ground-truth part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40693121487/job/122834196101
repro: python -m pytest -q tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[INQ-TERMINAL] tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SET-TERMINAL]
failing tests: tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[INQ-TERMINAL] tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SET-TERMINAL]
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_strengthen_loop.py:154: AssertionError
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[SET-TERMINAL] - assert "scenario x: fault {'cmd': 'SET-TERMINAL', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTA
FAILED tests/cobol_mainframe/test_strengthen_loop.py::test_the_strengthen_loop_plans_a_fault_for_every_fault_command[INQ-TERMINAL] - assert "scenario x: fault {'cmd': 'INQ-TERMINAL', 'resp': 'NOTAUTH', 'resp2': 101, 'file': 'TARGET1'}: NOTA
##[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: a3bfe3aac92ded35c4b3c6b4a4eca428d47e209c10de743b37dd71c40e93ffc6
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 126090
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 7007e8d537bbada1b05e58e711e24716d399010ead8b74dcf4daf590500eb016
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12820375914
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 126090 bytes. Artifact ID is 12820375914
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40693121487/artifacts/12820375914
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/19683c7a-b8d0-4565-9afb-fceb20122f57' 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-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 28, 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 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@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 28, 2026
…edgers

The two det_sweep_coverage ledgers conflicted on input fingerprints only. Took main's
copy and regenerated with ladder_refresh.py: both cases proven, BNK1CCS 128/143,
BNK1DCS 95/102 net branches (unchanged from the PR's claim).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (2e15d01) 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-shepherd
squid-shepherd Bot disabled auto-merge October 28, 2026 15:33
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 28, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

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

Copy link
Copy Markdown
Owner Author

Closing as already on main: #6900 (eb5934f) squash-merged this PR's own commit ("CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms") along with RUN TRANSID / FETCH ANY.

Checked file by file against origin/main: docs/language_status/register/X26.md, det/cics.py, tests/equivalence/cics/ggcics.c, and the cbsa-bnk1ccs / cbsa-bnk1dcs case.json files are identical. In equivalence_cics_faults.py, test_equivalence_cics_fault_resp.py and test_strengthen_loop.py, main has every line of this PR plus the RUN-TRANSID / FETCH-ANY additions. Main regenerated the coverage ledgers for both programs. The SET TERMINAL checklist line [c:b8ce0a3b] was completed by #6900.

auto-merge was automatically disabled October 28, 2026 16:16

Pull request was closed

@squid-shepherd

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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant