Why Spotter
Coding agents rarely fail in one obvious step. A weak assumption can shape the next search, edit,
and test; repeated local decisions then turn a recoverable mistake into wasted time, tokens, and
repository churn.
🔭 Trajectory-aware
Observe decisions, evidence, edits, and validation—not only the final diff.
|
⚡ Bounded safety
Keep deterministic checks local and fast before risky tool use.
|
🩺 Visible degradation
Make unavailable observation or control diagnosable without blocking Codex.
|
Spotter maintains an independent view of the running trajectory and helps answer:
- Is the agent repeating failures or equivalent actions without learning anything new?
- Is the change growing beyond the requested scope?
- Did meaningful edits happen without relevant validation?
- Is the agent still acting on a hypothesis that newer evidence has weakened?
- Is a deterministic safety rule about to be violated?
The goal is not more alerts. It is less wasted work after the first meaningful deviation.
What Spotter does today
The current runtime can:
- collect Codex Hook and configured App Server events into durable trajectory journals;
- maintain daemon-owned live state for threads, turns, evidence, progress, and detected signals;
- enforce bounded deterministic gates before risky tool use;
- detect candidate loops, stalled exploration, scope growth, missing validation, and stale
hypotheses;
- run optional semantic reviews in shadow mode, with a separate live-advisory opt-in;
- expose health and integration diagnostics through
spotter status and spotter doctor;
- preserve Git-backed snapshots and replay material for recovery and analysis.
[!IMPORTANT]
Spotter is under active development. Deterministic gates are active; semantic VERIFY and
NUDGE decisions remain shadow-only by default and can steer only with explicit active-mode
configuration. Live advisory benefit and task-ownership safety are not yet established. Check
Status for the exact current boundary.
Codex is the primary standalone integration.
How it works
Codex
├─ Hooks ────────────────► bounded deterministic gates
└─ App Server events ────► observation and control when configured
│
▼
spotterd
│
journal · live state · signals · review · opt-in advisory
Deterministic gates stay bounded, while slower semantic review remains off synchronous
tool-execution paths. If observation or control degrades, diagnostics remain explicit and
generated Hooks fail open rather than blocking normal Codex use.
Install
The supported packaged installation uses the official Homebrew tap:
brew install spotter-agent/spotter/spotter
Verify both installed entry points:
spotter --version
spotterd --version
Package installation only installs the CLI, daemon, and Hook bridge. It does not edit Codex
configuration or register an integration.
For a source/development checkout, follow CONTRIBUTING.md.
Connect Spotter to Codex
Install Codex CLI (stable 0.147.0 or newer) and make it available on PATH, then run:
spotter setup codex --local --dry-run
spotter setup codex --local
spotter doctor
spotter codex