Skip to content

Reports & Status JSON

Squeal messages are designed for both agents and humans to parse reliably without guessing.

SQUEAL · 1 check changed at revision 12
Revision 12 (changed src/auth.ts): 3 of the 5 test files your edits affect have not run.
FAIL tests/auth.test.ts > login > expired token
PASS -> FAIL, seen by Squeal's run at revision 12
expected 401, received 500
at src/auth.ts:42:7
its imports include files changed here since this session started: src/auth.ts
Full output: squeal why 'tests/auth.test.ts > login > expired token'
  • Revision N (changed ...): names files modified since your last report (including git-ignored <path> when a watched test reads an ignored file). These are edits made in the worktree since your last report — not necessarily the root cause of a failure.
  • Known failures: 0; 40 of 43 test files are current: appears on session registration and at Stop so you always know how much of the suite is verified at the current bytes.
  • Late / caught-up notices: if affected results take more than twice the usual wait, Squeal sends one SQUEAL · results for your edits are late at revision N notice, followed by one SQUEAL · caught up at revision M once everything completes with no new failure.
  • Many recoveries: up to five recovered checks are listed individually; above five, Squeal summarizes counts and shows the shorter of remaining failures or grouped recoveries. New failures are always listed in full.
  • Dependency install notices: Squeal notes when no dependencies are installed (No dependencies are installed in this worktree) beside failures, and notes when results immediately follow a lockfile install.

Both squeal status --json <path>... and squeal status --json --wait <ms> <path>... write a versioned JSON snapshot to stdout (human lines go to stderr).

Always gate automation on selection.code or selection.result — never on stderr text or on a file’s state alone (current means up-to-date, not passing).

selection.code selection.result Meaning
0 "pass" Every selected test file is current and passes, and no named path is unmatched or uncovered.
1 "fail" A selected test file (or global setup, or --check run) has a known failure at the current revision.
3 "none" No verdict yet; read selection.reason to see why.
2 (no JSON) Usage error.

selection.reason values (when result is "none")

Section titled “selection.reason values (when result is "none")”

Checked in priority order:

  1. no-daemon — no daemon validates this worktree (run squeal start).
  2. lapsed — daemon heartbeat lapsed or a daemon upgrade handoff is under way.
  3. on-hold — worktree validation is held via squeal hold.
  4. paused — only slow files were selected and they wait for a pause or squeal run --slow.
  5. focused — a --check subset passed, which is not a verdict for the whole test file.
  6. unmatched / not-run — no named path selects a Squeal-covered test file.
  7. unsynced — the daemon had not yet stored its pass over your latest edits before the deadline.
  8. unlisted — the runner has not yet listed test files for the current revision.
  9. pending — selected test files are still queued or running.
  10. not-current — a selected file is stale or unknown.
  11. not-run — one named path is a test file Squeal does not run (run it with the project’s own command).
  12. unmatched — one named path selected nothing while other paths passed.
{
"selection": {
"outcome": "settled",
"code": 0,
"result": "pass",
"complete": true,
"testFiles": [
{
"project": "",
"path": "test/auth/login.test.ts",
"state": "current",
"verdict": "pass"
}
],
"paths": [
{
"path": "test/auth/login.test.ts",
"kind": "test-file",
"selects": 1
}
],
"verdict": {
"revision": 187,
"testFiles": 1,
"unlisted": false
}
}
}