Skip to content

fix(l5): survivor_attack proves a CICS attack through the facades too (Part of #8599) - #8820

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8599-20261121T0206Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8599-20261121T0206Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8599 (Part of #7954).

survivor_attack.py try ran every proof with --no-facades, while live_methods counts facade-only methods (handleLink, lastLinkBytes) as live. An attack on such a survivor could report survived where the java-facade side kills it: the same false-survivor gap #8639 closed for mutation.py's in-process path. attack_flags(kind, ...) now drops --no-facades for a CICS case (its baseline is proven through the facades too); batch and other kinds are unchanged. --first-difference is a batch-only path, so it does not interact.

Checklist: partial [c:e1debb2d] -- the flag gap is closed; the 360 survivors auto-triaged in #8485 are not re-attacked on the oracle yet.

Checklist: partial [c:47d5fdb6] -- the in-process runner already judges facades (#8639); the attack tool now does too.

Class / Sibling gaps

Class: a proof entry point that judges a CICS port without the java-facade side, so a facade-only mutant survives falsely. Members: mutation.py in-process path (handled, #8639); mutation.py --no-one-jvm separate runs (judged, facades on by default); survivor_attack.py try (this PR); survivor_attack.py screen and det_mutation.py state only re-read verdicts and run no proof, so nothing to fix there. Sibling gaps: re-attacking the 360 survivors from #8485 against the facade side (needs the Docker oracle, not run here); early exit at first kill in the CICS in-process path and sharing the baseline proof across cases (different mechanisms, see Remaining slices).

Remaining slices

  1. Share the baseline proof and scan across cases in one refresh/run batch (det_mutation.py, equivalence.py); measure with the per-case table in mutation_testing.md.
  2. Early exit at first kill in the CICS in-process path (mutation.py _DirectContext), scenarios ranked by past kills; measure first, then mutation.py compare --require-agree N.
  3. Re-attack tools(mutation): speedups, triage CLI tools, and 360 auto-triaged survivors #8485's 360 survivors with the new flags on the oracle box.

Gates

Not proven on the Docker oracle (no proof run). tests/tools/test_survivor_attack.py: 83 passed, 1 skipped. tests/tools/audit_check.py: all clear. survivor_attack.py already fails ruff format --check on main, so I did not reflow it.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 21, 2026
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant