Skip to content

COUSR00C: two scenarios kill the two "returns after an XCTL" survivors (Part of #6166) - #6525

Merged
squid-protocol merged 4 commits into
mainfrom
churn/6166-20261024T1807Z
Oct 24, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/6166-20261024T1807Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #6166

Checklist: done [c:2e323ba5]

What changed

The two COUSR00C survivors recorded as harness_gap ("the dead task's later commands are not observed by the harness") were not harness gaps. The harness does record events after a dead task; each deleted return; was shielded by the other guard, or no scenario reached the path. Two scenarios in tests/equivalence/carddemo-userlist/case.json close both. There is no engine, forge or harness change, so the overlap with #5898, #5900 and #6442 (equivalence_cics.py, the forge) is empty.

  • first-entry-endbr-ioerr: an ENDBR IOERR on the first page abends the task before any screen is sent. It kills the mutant at Cousr00cService.java:328 (return; under if (ended) after processEnterKey()).
  • no-commarea-xctl-fails-browse-fault-unreached: no COMMAREA, so COUSR00C XCTLs to COSGN00C, and the XCTL fails (PGMIDERR). A STARTBR IOERR fault is armed that only a port running on after the dead XCTL would take. It kills the mutant at :316 (return; after returnToPrevScreen()).
  • tests/cobol_mainframe/test_carddemo_userlist_returns_after_xctl_6166.py pins both scenarios (pure JSON).
  • P052 summary in port_blockers.json updated; its IOERR oracle-abend-code half is untouched.

Evidence

  • Each mutant alone on a copy of the port: before the scenarios both survived (rc 0); after, m316 differs on the second scenario and m328 on the first.
  • Unmodified port: proven on all 72 scenarios (equivalence.py run carddemo-userlist --record).
  • mutation.py run carddemo-userlist --record: 381/507 killed (was 379), harness_gap 0 (was 2), equivalent 55 and unreachable 71 unchanged.
  • det_mutation.py refresh carddemo-userlist: det port unchanged, ledger renewed.
  • Gates: pr_gates --fast 7/7, --ratchets 9/9, audit_check.py clear, test_evidence, test_mutation_scores, test_port_blockers, test_proof_reach, test_det_mutation pass. The golden masters are not touched (no parsing change).

Class / Sibling gaps

Class: a harness_gap verdict that is a case gap, i.e. a deleted return; / ended guard after a task-ending command that no scenario isolates. In userlist this was exactly the two rows (harness_gap 2 -> 0). mutation_scores.json still carries 197 harness_gap rows in other cases, mostly other mechanisms (genapp Db2-fault injection, the refused WRITEQ TS, an unobservable output directory). Same-mechanism siblings NOT fixed here: genapp-lgstsq, "Deleting the return after the first LINK (line 148)" and "Negating task.ended() after the first LINK (line 147)" (reason: the four error scenarios compare one event), plus the genapp-lgapvs01/lgicdb01/lgupdb01/lgupvs01 rows whose reason is "after the first LGSTSQ LINK of WRITE-ERROR-MESSAGE". Also open: the carddemo-useradd FROM-PROGRAM row on the no-COMMAREA XCTL path (a COMMAREA-content gap, not a return), and the 43 det-mutation survivors of carddemo-userlist awaiting verdicts (c:da7b5789). The evidence-staleness warning for ~55 other records predates this branch.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 24, 2026 15:07
…s (Part of #6166)

The harness_gap verdicts were case gaps: each `return;` was shielded by the other
guard, or no scenario reached the path. first-entry-endbr-ioerr (abend in the
first-page browse) kills the mutant at Cousr00cService.java:328;
no-commarea-xctl-fails-browse-fault-unreached kills the one at :316. No engine,
forge or harness change. Mutation record: 381/507 killed, harness_gap 0.

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 24, 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 24, 2026 19:12
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 19:22
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6525 @ 64eb731: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40124208671/job/120963712061
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
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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 176 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 146797
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d4e247c213ae7ba5befb956e2e28c7001297fc2263ed5ca64e4bab4147abbe63
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12573231110
Artifact det-sweep-ledger has been successfully uploaded! Final size is 146797 bytes. Artifact ID is 12573231110
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40124208671/artifacts/12573231110
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7812f3c3-0ad6-4638-9a8a-6e562bf7fe1c' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 24, 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 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit bc04e12 into main Oct 24, 2026
41 checks passed
@squid-protocol
squid-protocol deleted the churn/6166-20261024T1807Z branch October 24, 2026 20:20
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant