Skip to content

Configuration

Squeal separates repository policy (committed in squeal.config.json) from machine settings (per user under ~/.config/squeal/). Every key in squeal.config.json is optional; run squeal init to scaffold all keys with defaults.

Key Default Meaning
interrupt.onRegression true Deny one subsequent file edit after a check that passed here regresses.
stop.blockOnKnownFailures false Keep the agent going once per Stop while known failures exist at the current revision.
stop.requireFullSuite false Keep the agent going once per Stop until a full-suite checkpoint completed at the current revision.
stop.waitMs 0 Wait up to this long at Stop for pending fast checks (capped at 1500 ms).
stop.requireSlowSuite false Wait at Stop for uncurrent slow-tier files when the session edited files.
stop.slowWaitMs 120000 Max wait at Stop for slow files and "stop" check groups (capped at 3540000 ms).
stop.maxHolds 1 Max times Stop may hold the agent in one turn for slow/stop groups.
Key Default Meaning
checks [] Named test and lint check groups with moments (edit, pause, stop, commit, manual).
vitest.exclude [] Worktree-relative globs of Vitest test files Squeal does not cover.
vitest.excludeProjects [] Vitest project names Squeal skips completely.
nodeTest [] node:test project entries (name, include, exclude, cwd, node, argv, env, slow, prepare).
pytest [] pytest project entries (name, include, exclude, cwd, python, args, env, slow, batchSize).
slow.include [] Test-file globs placed in the slow tier across all runners.
slow.trigger "continuous" "continuous" (after fast tests + quietMs) or "idle" (when agent pauses).
slow.quietMs 3000 Quiet window before slow tier starts under "continuous".
slow.maxWorkers 2 Worker count per slow run.
slow.maxParallel 4 Concurrent slow files when idle (also caps cross-worktree slow parallelism).
slow.maxLoadPerCpu 1.0 Defer slow runs when 1-minute load per CPU exceeds this value.
slow.maxDeferMs 600000 Maximum deferral time before running a slow file despite load.
Key Default Meaning
observe.runtimeInputs true Track files read/stated/listed/executed at run time by tests and child Node processes.
inputs [] Extra input globs (array for all tests, or { "<test-glob>": ["<input-glob>"] } map) for inputs Squeal cannot observe (shell children, native SQLite, globalSetup, gitignored files).
env.allowlist [] Environment variable names included in result keys.
baseline.onStart "lookup-only" Reuse stored results on start ("lookup-then-run-missing" also runs uncached files).
runner.tierSize 4 Test files per edit tier.
runner.backlogTierSize 200 Test files per backlog run (cancelled immediately by new edits).
runner.timeoutMs 600000 Per-run timeout (null for none).
runner.hostIdleMinutes auto (2–10) Idle minutes before closing warm runner processes (0 keeps them open).
delivery.uncoveredEdits true Note edited source files that no Squeal-covered test reads (once per file per session).
Key Default Meaning
gate.groups null Check groups in scope for squeal code --base (defaults to all non-manual test groups).
complexity.threshold 20 Cyclomatic complexity limit.
crap.threshold 30 CRAP score limit.
coverage.children false Include child Node process and Worker V8 coverage in squeal code --base.
coverage.exclude [] Globs skipped for CRAP (still checked for CC).
shared.ref unset Git ref namespace for CI-published results (e.g. "refs/squeal").
shared.lookAgain 30s / 600s Poll interval (everySeconds) and duration (forSeconds) for freshly pushed main CI results.
store.retentionDays 7 Days to keep results/logs for file contents no worktree holds anymore.
store.maxSizeMb null Optional store size cap in MB.
daemon.idleExitMinutes 60 Minutes with no registered session before a daemon exits.
remote.allowed true Set false to forbid remote test execution for this repository.
remote.setup null Repo-relative executable script preparing remote hosts before install.
remote.needsRepository [] Test globs requiring .git.
remote.alwaysLocal [] Test globs that must always run on the local host.
requires.commands [] Required PATH binaries (array or glob map, optionally with version check flag).

Host config (~/.config/squeal/config.json)

Section titled “Host config (~/.config/squeal/config.json)”

Per-user settings for your machine (under $XDG_CONFIG_HOME when set, never committed):

Key Default Meaning
capacity.groupSlotScope "repository" Scope for slow.maxParallel and check-group maxParallel: "repository" or "user" (across all repositories on the machine).
runner.hostIdleMinutes unset Machine-wide override for closing idle runner processes; takes precedence over squeal.config.json.

For remote execution config (~/.config/squeal/remote.json), see Remote Execution & Pools.