From 9744a953c6f6df3e62683348d8d1707f9c08ca35 Mon Sep 17 00:00:00 2001 From: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com> Date: Mon, 23 Nov 2026 11:37:38 +0100 Subject: [PATCH] docs(skills): document --daemon, --stop-daemon, and --only in gap-check guidance Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- packages/oracles/skills/oracles-design/SKILL.md | 10 ++++++++++ packages/oracles/skills/oracles-setup/SKILL.md | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/packages/oracles/skills/oracles-design/SKILL.md b/packages/oracles/skills/oracles-design/SKILL.md index 63708fd1..b7f25a89 100644 --- a/packages/oracles/skills/oracles-design/SKILL.md +++ b/packages/oracles/skills/oracles-design/SKILL.md @@ -526,6 +526,16 @@ refusal: do what its `fix:` line says. Exit 3 is a CLI bug: report it with `/error.log`, and do not change the oracle. Every gap comes with one instruction. Do what it says, within the rules below. +For repeated gap-closing iterations on the same package, add `--daemon` so +`oracle-gaps` keeps Vitest workers warm and reuses unchanged unit evidence +across runs; stop it when done with +`oracle-gaps --stop-daemon --package ` (it also exits after 30 idle +minutes). To verify a fix for one or a few specific mutants quickly before +running the full check, pass `--only ` (from the `` in a `gap` +line or the report's `rerun: --only `): it runs only those mutants and +their owners' baseline, and marks the run as partial, so finish with a full +check without `--only`. + - **There are no equivalent mutants.** A surviving mutant shows a missing history, observation, or law, or it shows dead code. - **An `extra-work` gap is a fast path.** The change gives the same results diff --git a/packages/oracles/skills/oracles-setup/SKILL.md b/packages/oracles/skills/oracles-setup/SKILL.md index 233c0f16..c707f9fd 100644 --- a/packages/oracles/skills/oracles-setup/SKILL.md +++ b/packages/oracles/skills/oracles-setup/SKILL.md @@ -500,6 +500,17 @@ is not Vite's default name. The baseline prints which config it used. - Pass `--seed`, so the baseline and every mutant run the same histories. The report goes to a directory in the OS temp directory, and its path is printed at the end. Nothing is written into the repository. +- Pass `--daemon` when iterating on gaps in the same package: it keeps a + per-package daemon running with warm Vitest workers and a disk evidence + store, so repeated checks reuse unchanged unit evidence and produce the + same report as a cold run. Stop it when done with + `oracle-gaps --stop-daemon --package ` (it also exits after 30 idle + minutes). +- Pass `--only ` (using the `` from a `gap` line or the report's + `rerun: --only `) to verify a targeted mutant fix quickly: it runs + only those mutants and runs the baseline only for their owning oracle + files. A `--only` run is partial, so run the full check without `--only` + before calling gaps closed. - Read the exit code. **0:** the run completed; work from its report. **2:** refused. It prints `refused: ` and one `fix: `. Do what the `fix:` line says, then run again. **3:** an internal error, "a