Quick Start
Once Squeal is installed on your machine, enabling it in a repository takes under a minute.
-
Set up the repository
From the root of your repository, run:
Terminal window squeal setupThis creates and checks
squeal.config.json(which you commit to the repository so every developer and agent shares the same validation policy). Runsqueal setup --checkat any time to verify runner detection and exclusions. -
Inspect what Squeal covers
Terminal window squeal checkssqueal checksprints every check group Squeal runs in this repository, which test files each selects, when it runs (after each edit, on pause, at Stop, at commit, or manual), and — on the final line — what Squeal does not run (such as typecheck, build, or excluded suites). -
Start a coding-agent session and keep coding
Start Claude Code, Codex, Pi, OpenCode, or Antigravity in the repository. On
SessionStart, Squeal registers the session, starts a per-worktree daemon if one is not already running, and reports any existing known failures once.As the agent edits code:
- Affected tests run automatically in the background.
- Passing runs stay silent.
- Any
PASS -> FAILorFAIL -> PASSarrives automatically with the agent’s next tool call.
-
Pull honest state before finishing
When you or your agent need a verified verdict before finishing a change, wait on the files you changed:
Terminal window squeal status --wait 60000 src/auth/session.tsOr wait for all test files affected by the session’s edits:
Terminal window squeal status --wait 60000
Reading your first status snapshot
Section titled “Reading your first status snapshot”Revision: 187Known failures: 0; not current: 27 of 290 test files (3 running, 24 unknown), 3 tests (3 running)Affected checks: 47 passed (40 tests, 7 test files loaded), 3 running (3 tests), 0 queuedFull-suite checkpoint: none completed since revision 170 (the counts are for revision 187; `squeal run --all` requests one)Inspecting a failure in full
Section titled “Inspecting a failure in full”SQUEAL push messages carry only the first error line, source location, and changed imports so they do not flood agent context. To see the full error history and log path for a failing check:
squeal why 'test/auth/login.test.ts > session > rejects expired token' --include-logsProving a test catches a bug (red/green)
Section titled “Proving a test catches a bug (red/green)”Instead of running tests manually to prove a new test fails without the fix:
- Uncommitted fix: revert the fix, run
squeal status --wait 60000(confirm the test appears underKnown failures), restore the fix, and runsqueal status --wait 60000(confirmFAIL -> PASS). - Committed fix: run
squeal proof <test-file> --base <commit>. Squeal tests both sides in temporary checkouts without touching your working tree.