Skip to content

test(l5): pin that no current det_mutation ledger is translated or proven again (Part of #8599) - #8814

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8599 (L5 epic #7954).

What

Answers the checklist item "check whether the detmut and ground-truth CI shards re-prove anything a fingerprint says has not changed": they do not. Adds a test that pins this and a paragraph in docs/language_status/mutation_testing.md. No engine or tool code changes.

  • detmut (PR job, det-sweep.yml) runs det_mutation.py stale-check --vs origin/main: fingerprints only, for the cases the PR changes. No translation, no Docker, no mutation.py run.
  • Nightly refresh (evidence-refresh.yml, 3 shards) selects only ledgers whose blocking inputs moved or whose generator/harness/oracle drifted; a current ledger returns "nothing stale" before _run_translate.
  • The ground-truth workflow does not call det_mutation.py or mutation.py (grep of .github/workflows: only det-sweep.yml and evidence-refresh.yml).
  • New test test_a_current_ledger_is_never_translated_or_proven_again_8599 fails if either path translates or calls mutation.run for a current ledger.

Checklist: done [c:1e9afc06]

Checklist: partial [c:17c4dbfd] -- baseline proof is still run per case (13-26 s); not touched here.

Checklist: partial [c:6437d0ca] -- early exit and scenario ordering in the CICS in-process path not started.

Class / Sibling gaps

Class: per-case work a det-mutation lane repeats although a fingerprint says the input has not moved. Members: translation of an unchanged case (done, #8802), CI detmut job (fingerprints only, this PR), nightly refresh of a current ledger (skips, this PR), refresh of an INFO-drift-only ledger (translates once to compare port bytes, by design), baseline proof per case in a batch (open), CICS in-process scenarios run in one call then judged (open, burned: CBSA ABNDPROC, CardDemo CICS ports).
Sibling gaps: (1) baseline proof shared across cases in a run/refresh batch: needs an isolation change since each baseline proof is per case port; source: docs/language_status/mutation_testing.md split table; not here, different mechanism. (2) Early exit at first kill in the CICS in-process path (CBSA ABNDPROC): needs the session call split per scenario and a measurement. (3) Spot-check of the 360 survivors auto-triaged in #8485 against the facade gap (CBSA ABNDPROC): needs a multi-hour box run (survivor_attack.py --no-facades).

Facts checked

  • refresh selects _outdated(entry, fingerprints(case)) before _run_translate (tests/tools/det_mutation.py, refresh).
  • stale_check only calls fingerprints, stale, drifted.
  • pytest tests/tools/test_det_mutation.py: 67 passed. audit_check.py: all clear. ruff format --check on the test file reports drift at lines 368, 565-626 that is already on main, none in the added lines.

Remaining slices

Baseline-proof sharing; CICS in-process early exit and ordering; #8485 survivor spot-check (see Sibling gaps).

🤖 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.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 01:20
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 01:25
@squid-shepherd
squid-shepherd Bot merged commit d661fe7 into main Nov 21, 2026
58 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8599-20261121T0113Z branch November 21, 2026 01:41
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