Continuous validation for coding agents

Keep coding. Squeal speaks when tests change.

Push transitions. Pull state. — That's what tests said.

Squeal runs the smallest useful set of checks behind every edit, tracks exact workspace revisions, and injects only actionable state transitions into your agent's next tool boundary. When nothing changed, Squeal stays quiet.

harness hook · delivered on next tool call
agent editedsrc/auth/session.ts· Squeal ran 4 affected test files in background (680 ms)
SQUEAL · 1 check changed at revision 184
Revision 184 (changed src/auth/session.ts): the 4 test files your edits affect have all run.

FAIL  test/auth/login.test.ts > session > rejects expired token
      PASS -> FAIL, seen by Squeal's run at revision 184
      expected 401, received 500
      at src/auth/session.ts:42:7
      its imports include files changed here since this session started: src/auth/session.ts

Full output: squeal why 'test/auth/login.test.ts > session > rejects expired token'

Delivered automatically at the agent's next tool boundary. With interrupt.onRegression on, a subsequent file edit is denied once so the regression does not compound.

Core principle

Silence is a feature.

Passing tests are not news. Neither is a failure that is still failing the same way. Squeal emits only transitions that change what the agent should do next — and tells you honestly if validation ever falls behind.

PASS → FAILNotify

Immediate regression signal

Surfaces the first error line, source location, and changed imports at the agent's next safe boundary. Can deny one further edit via policy so errors don't compound.

FAIL → PASSNotify

Automatic loop closure

Confirms the fix landed without the agent polling or manually re-running the test command after every edit.

UnchangedQuiet

Zero context spam

PASS → PASS and unchanged FAIL → FAIL runs stay silent. Related failures from a broken import batch into a single concise update.

Running lateSay so once

Readable silence

Quiet means nothing changed and Squeal is keeping up. If results fall behind, Squeal says so once — and announces once when caught up.

Built for real repositories

An ambient test sensor, not a new test framework.

Existing runners stay the source of truth. Squeal adds the orchestration, provenance, content-keyed caching, and harness integration layer around them.

Harnesses

Model- and harness-independent

Native plugins for Claude Code, Codex, Pi, OpenCode, and Antigravity — built around a small protocol of push events, pull status, and explicit checkpoints.

Runners & tiers

Vitest, node:test, and pytest

Runs fast affected tests first, defers slow suites to a dedicated slow tier or check groups at pause, Stop, commit, or manual moments.

Multi-worktree

Content-keyed shared store

Each worktree gets its own daemon while sharing results keyed by exact file inputs and runtime reads — reusing byte-identical passes across parallel agents.

CI integration

Inherit results from CI

Record Vitest and node:test results in GitHub Actions with hearsay-tools/squeal/ci@v0 and publish them to refs/squeal so developers skip tests CI already proved.

Code quality gate

Complexity & CRAP in CI

squeal code --base checks cyclomatic complexity and V8 coverage CRAP scores on every changed JS/TS function — including child processes — with clear exit codes.

Scale out

Remote execution & pools

Offload background, edit, or slow lanes over SSH, Agent37, Proxmox VE, or ordered multi-host pools while verifying file and environment provenance.

Why change the loop

Stop trading speed against confidence.

Without Squeal

  • Synchronous waits: run tests after every edit and lose half the session blocking on test runners.
  • Late surprises: skip tests until the end and discover edit #2 broke everything edit #10 built on.
  • False confidence: stale logs and unexecuted suites masquerade as "all tests pass."
  • Duplicate runs: parallel worktrees and fresh checkouts re-run tests CI already proved on identical bytes.

With Squeal

  • Ambient validation: affected tests run behind your edits while the agent keeps moving.
  • Actionable interrupts: regressions surface within a turn or two with exact failure lines and changed imports.
  • Honest provenance: every result is tied to a revision and distinguishes current, pending, stale, and unknown.
  • Policy-governed done: check groups, slow-tier holds, and squeal status --wait verify completion honestly.

Install once per machine

Requires Node 22.19+ and any supported coding harness on your PATH. Then run squeal setup in each repository.

curl -fsSL https://github.com/hearsay-tools/squeal/releases/latest/download/install.sh | sh
Native harness plugins:Claude CodeCodexPiOpenCodeAntigravity