INDEX: fix Soul findings on the Self-seat section (absolute diff path, wait-on wording, line range, disk)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Eureka 2026-11-11 07:47:07 +00:00
commit 05bf8a36f6

View file

@ -24,11 +24,11 @@ A Mind's Self run reads these scripts from a read-only, `noexec` tmpfs mount of
the skill, and holds no Docker socket and no `ygg` ssh alias. So:
- `tools/<script>.sh` as a command fails `Permission denied` whatever its git
mode; `noexec` ignores the exec bit. Run a script as `bash tools/<script>.sh`.
(`wait-on.sh` is the only one a Self can use this way.)
mode; `noexec` ignores the exec bit. Run a script as `bash tools/<script>.sh`;
of the shared scripts, `wait-on.sh` is the one that is useful this way.
- `tools/stopgap/ygg-verify.sh`, `tools/cargo-mutants.sh` and
`tools/mutation-table.sh` drive a remote `sudo docker` over `ssh ygg`
(`ygg-verify.sh:280-322`). Through `bash` they still stop at `Could not resolve
(`ygg-verify.sh` from line 280: the `ssh` calls, `sudo docker` at 321 and 410). Through `bash` they still stop at `Could not resolve
hostname ygg`. They are for the operator's workstation, or a seat that holds
Docker. Do not widen a seat to make them run.
- `cargo-mutants` need not be on PATH for those scripts: the `rust` image
@ -38,13 +38,14 @@ the skill, and holds no Docker socket and no `ygg` ssh alias. So:
```
cargo install --locked cargo-mutants --root "$PWD/tools-bin" # 27.1.0 built clean
PATH="$PWD/tools-bin/bin:$PATH"
git -C <repo> diff <base> <rev> > range.diff
cd <repo>/<workspace-dir> && cargo mutants --in-diff range.diff --list # the mutants
cargo mutants --in-diff range.diff -j1 -- <test filter> # run them
git -C <repo> diff <base> <rev> > "$PWD/range.diff" # absolute: the next line changes directory
cd <repo>/<workspace-dir> && cargo mutants --in-diff "$OLDPWD/range.diff" --list # the mutants
cargo mutants --in-diff "$OLDPWD/range.diff" -j1 -- <test filter> # run them
```
The diff is taken at the workspace root and `--in-diff` paths match relative to
it (see `tools/cargo-mutants.sh` header). A native run is a plain `cargo
mutants`: no per-file filter stage, no confirm stage, no slots, no CPU or memory
cap (set `CARGO_BUILD_JOBS`, and `-j1`), and its survivors are not confirmed on
cap (set `CARGO_BUILD_JOBS`, and `-j1`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with
room, since cargo-mutants copies the tree to `TMPDIR` and a small run took 2.3 GB), and its survivors are not confirmed on
the full suite. Run survivors again unfiltered before reporting them MISSED.