This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Epiphany/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 3f7d58d191 Harness: repair every sidecar in the repo, and never overwrite silently
Soul's extra attacks on the mutation harness found the crash repair too
narrow and too eager. A sidecar left beside a file outside this run's
targets was ignored (XA), so a dead run's mutant survived in the tree; a
hand edit made after a crash was overwritten by the sidecar without a
word (XB); a locked target threw a bare IOException with no path (XC);
and a sidecar equal to its file was reported as a repair (XD).

At startup the harness now walks the repo root (`target/`,
`node_modules/` and `.git/` pruned) for every `*.eureka-mutation-original`
and repairs each. A file equal to its sidecar is left alone and the run
says "sidecar matched; nothing to restore". A file that differs has its
current bytes written to `<file>.eureka-mutation-overwritten` first, with
the path and SHA-256 printed. A write that fails prints the path and
"could not repair, sidecar kept" before rethrowing.

`-Repo` names the root the entries, targets and commands are relative to,
defaulting to this script's parent, so a suite in another repo runs
through this one harness.

Reproduced against a scratch copy with a fake runner: XA repairs b.rs
and removes its sidecar; XB keeps the hand-edited bytes in the
overwritten copy (same hash) and restores the original; XC stops with
the path and the sidecar kept; XD removes the sidecar and restores
nothing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 16:16:11 +02:00
..
eureka-cut5-mutations.psd1 One mutation harness for every Eureka cut 2026-09-16 14:19:38 +02:00
eureka-cut6-mutations.psd1 Cut 6b: pin dotted roots, the reader's root kinds, and name the bound 2026-09-16 14:59:27 +02:00
eureka-cut6b-mutations.psd1 Pin the reader against a trimmed trailing dot on the root and the local 2026-09-16 15:28:23 +02:00
eureka-cut6c-mutations.psd1 Pin the three Cut 6c rules Soul's mutations survived 2026-09-16 16:14:41 +02:00
eureka-mutations.ps1 Harness: repair every sidecar in the repo, and never overwrite silently 2026-09-16 16:16:11 +02:00