Skip to content

det_mutation: ASYNCPNT / SEQPNT swapZosComp5 restore survivors accounted (Part of #7646) - #7756

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7646-20261105T0509Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7646-20261105T0509Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7646. Slice 4 follow-up: the 16 swapZosComp5 restore survivors of ASYNCPNT and SEQPNT are attacked and accounted (the re-proof itself landed in #7750).

Checklist: done [c:2484171c]

What changed

Ledger data only (4 files): det_mutation/asynccc-{asyncpnt,seqpnt}.json (survivors fingerprint) and det_mutation_survivors/asynccc-{asyncpnt,seqpnt}.json (8 new equivalent entries each, each with its own reason and tried inputs).

The 8 open survivors per program are all DEL Cobol.swapZosComp5(comp5Before); in a service's runTask finally (CRDTCHK, GETNAME, GETPOL, UPDCSDB, GETSPND, GETADDR, CSSTATS2 or CSSTATUS, and the top-level ASYNCPNT / SEQPNT service).

Attack

On the real GnuCOBOL oracle through survivor_attack.py try, every mutant survived each input:

  • ASYNCPNT: terminal-long-account (terminal account 9999), web-service-empty-container (web task, account 0002), delay-invreq-geta (first DELAY of child GETA fails INVREQ, account 0002).
  • SEQPNT: the first two again, plus send-text-invreq-0002 (SEND TEXT fails INVREQ, account 0002).
  • Two earlier inputs of mine reported port-differs; the log showed the faults never fired (cobol [] / java [], 29/29 events equal), so they were bad inputs, not a port finding. They are not recorded as attempts.

Verdicts

All 16 equivalent:

  • Nested services restore the caller's already-true value, so dropping it leaves the same value.
  • The top-level service leaves true after the task; the next scenario's entry sets true itself and nothing outside an entry reads COMP-5 through Codec (the comparator reverses raw oracle bytes).

Residual risk: this holds while every entry swaps on entry and nothing reads Codec COMP-5 outside an entry. The translate() default is NOT flipped here (slice 5).

Evidence

det_mutation.py table: ASYNCPNT 1964 killed / 128 survived / 128 stated / 0 unaccounted, L5 yes. SEQPNT 1831 / 108 / 108 / 0, L5 yes. det_mutation.py check: ok. L5 stays at 12.

Owner decisions

Owner ruling 2026-11-04: COMP-5 follows z/OS byte order by default (option B). The det port holds COMP-5 big-endian, as z/OS does, for every program, not only where a byte view would otherwise be refused. Rationale: one representation (no per-program hidden mode); no byte-order mismatch when COMP-5 crosses a COMMAREA, file or CALL boundary; IBM is the reference and GnuCOBOL the instrument (#4702). The oracle's little-endian bytes are a declared difference (#7725, #7729, #7733). zos_comp5=False stays an explicit GnuCOBOL-native what-if.

Class / Sibling gaps

Class: det-mutation survivors of the Cobol.swapZosComp5(comp5Before) restore in generated entries under zos_comp5=True. Members: the 8 services' restores in ASYNCPNT's estate case and the same 8 in SEQPNT's (16 entries over 10 distinct mutants); all handled here. Other cases declaring comp5_byte_order (PAUDBLOD, PAUDBUNL, DBUNLDGS) were accounted in #7743 / #7750. Sibling gaps: slice 5 (flip the translate() default to zos_comp5=True) is blocked until v2.12.1 is on PyPI and is not done here; the evidence report refresh with it re-proves the 5 programs.

Cross-repo

None. No companion PRs.

Lessons for agents

  • A survivor_attack.py try fault that never fires shows as port-differs with faults fired differ or none fired: {'cobol': [], 'java': []} in <work>/attacks/*/baseline.log: read it before calling it a port finding. A DELAY fault needs child naming a child that DELAYs (GETN does not).
  • attempts.json keeps port-differs records and state then refuses the verdict: drop the bad-input records.

🤖 Generated with Claude Code

…ed and accounted (Part of #7646)

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

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 05:31
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 05:31
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

PR #7756 @ 3cb92cd: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41974566730/job/127073472253
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {7182f8a9-e472-44c0-906f-28995359a237}
Region: westus3
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261025.353.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261025.353/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261025.353
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41974566730/job/127070513614
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/tools/test_evidence_report.py::test_deltas_report_stale_against_current: 17.4s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1050140
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is f8a81287bfd2d54c5d1300bc49e452da39bb78087b5272b80bdd40e94299d41c
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 13391576857
Artifact test-times-part-2 has been successfully uploaded! Final size is 1050140 bytes. Artifact ID is 13391576857
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41974566730/artifacts/13391576857
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/a8dec30a-19da-4302-8bba-86134acf3276' 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 disabled auto-merge November 5, 2026 05:41
@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 Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 05:58
@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 Nov 5, 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 Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant