Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/oracles/skills/oracles-design/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,16 @@ refusal: do what its `fix:` line says. Exit 3 is a CLI bug: report it with
`<out>/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 <dir>` (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 <id,id>` (from the `<id>` in a `gap`
line or the report's `rerun: --only <id>`): 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
Expand Down
11 changes: 11 additions & 0 deletions packages/oracles/skills/oracles-setup/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dir>` (it also exits after 30 idle
minutes).
- Pass `--only <id,id>` (using the `<id>` from a `gap` line or the report's
`rerun: --only <id>`) 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: <cause>` and one `fix: <directive>`.
Do what the `fix:` line says, then run again. **3:** an internal error, "a
Expand Down
Loading