Skip to content

Attack mutation survivors before excusing them: survivor_attack.py and the skill (Part of #4628) - #7474

Merged
squid-protocol merged 4 commits into
mainfrom
flash-survivor-tools
Nov 1, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
flash-survivor-tools

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4628.

A surviving mutant is a claim about the tests until shown otherwise, but no tool could aim new inputs at a det port's survivors: strengthen.py --case-gaps reads only the hand-port scores. So a stated verdict was the only cheap move. This makes the attack the cheap move.

What changes

  • tests/tools/survivor_attack.py:
    • next ranks the verdicts most worth attacking.
    • facts settles what the port's text shows: code no entry point of the program reaches, and constants nothing reads.
    • packet gives one mutant's Java, hints and input format.
    • try proves the det port and each mutant on new inputs against the COBOL oracle.
    • lint lists reasons state would refuse.
  • det_mutation.py state now refuses an equivalent / unreachable verdict with no attack on record (new --attempts), and an unreachable reason that only says what the tests do. Accepted verdicts record tried.
  • Guidance: a new survivor-attack skill, a pointer in ANTIGRAVITY.md, and a corrected det-port line that read "code no proof runs is unreachable".

Not changed

The committed verdicts, the ledgers, and the L5 rule. lint output is a report, not a gate. try handles cics and call cases; batch cases still use strengthen.py.

Checked

  • pr_gates.py --fast, and 68 tests in test_survivor_attack.py and test_det_mutation.py.
  • try on the real oracle, end to end: 3 mutants known to be killable came back killed, and 2 mutants read as equivalent came back survived on the same inputs.

🤖 Generated with Claude Code

squid-protocol and others added 4 commits November 1, 2026 15:04
…d the skill (Part of #4628)

A survivor is a claim about the tests until shown otherwise, but no tool could aim
new inputs at a det port's survivors: strengthen.py --case-gaps reads only the
hand-port scores. Verdicts were the only cheap move.

- tests/tools/survivor_attack.py: next, facts, packet, try and lint. `try` proves
  the det port and each mutant on new inputs against the COBOL oracle.
- det_mutation.py state refuses an equivalent/unreachable verdict with no attack
  on record, or an unreachable reason that only says what the tests do.
- survivor-attack skill, an ANTIGRAVITY.md pointer, and the det-port line that
  read "code no proof runs is unreachable" corrected.

Stated verdicts and the L5 rule are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol
squid-protocol marked this pull request as ready for review November 1, 2026 20:21
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 437d120 into main Nov 1, 2026
36 checks passed
@squid-protocol
squid-protocol deleted the flash-survivor-tools branch November 1, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant