Skip to content

v0.54.0

Choose a tag to compare

@apollo-watcher-release apollo-watcher-release released this 24 Nov 16:20
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.

Watcher 0.54.0 switches Deep Review's default model to GPT-6.1 Terra, gives Watcher's hooks names in Codex, and makes the Watcher client recover by itself from a corrupt local database and from failed background tasks.

Breaking changes

  • Changed: Deep Review: Deep Review now grades with openai/gpt-6.1-terra by default instead of anthropic/claude-sonnet-5, and retries a content-filter refusal once on anthropic/claude-sonnet-5. On a self-hosted deployment with the default configuration, Deep Review requests, which include session content, now go to OpenAI instead of Anthropic. Before upgrading, confirm your OpenAI key can call gpt-6.1-terra, or keep Deep Review on Sonnet 5 by setting its model in server-config.yaml; see the upgrade guide for this release. Watcher Cloud needs no action.
  • Changed: Self-host deployment: a model_pricing entry in server-config.yaml under another name that sets pricing_pattern: gpt-6.1-terra now stops the API from starting, because the built-in model claims that pattern. Change the pattern before upgrading.
  • Changed: Live (Codex): Watcher's Codex hooks now have descriptive names, so Codex treats them as changed hooks. Restart Codex interactively and accept the changed Watcher hooks before your next unattended run: until then Codex skips them (codex exec skips them without asking), so its sessions are not recorded. The permission-request hook is unchanged and keeps gating. If watcher agents list shows Codex as needs setup, run watcher hooks install first.
  • Changed: API and Python SDK: a session's external_ids is now null (None in the SDK) when no source identifiers are stored, including in session detail, instead of an empty object. Integrations that expect {} must handle null.

Live

  • Added: The Watcher client now repairs a corrupt local database (watcher.db) in place, rebuilding it from the rows SQLite can still read, about a minute after the Watcher app starts and every 15 minutes while the database stays broken. It keeps a copy of the damaged file in ~/.apollo_monitor/db-repairs/, watcher doctor shows the last repair, and watcher doctor database --fix runs a repair on demand. Rows on damaged pages are lost. While a repair holds the database, hooks wait about 20 seconds before getting the grading-failure decision. Sessions whose upload-exclusion records were lost in the damage are kept out of background uploads, and a session whose start-folder or parent-session record was lost is never uploaded or graded in the cloud, nor is any session it starts. Clients older than 0.54.0 don't honor that last restriction, so a client downgraded after a repair could upload such a session.
  • Changed: When a database repair runs out of time, the client now waits an hour before trying again, instead of locking the database again at every 15-minute check.
  • Changed: For Claude Code sessions that ended without keeping a transcript (for example claude -p --no-session-persistence), the client stops retrying their tool-call decisions every few minutes. It looks again after an hour, then once a day, and watcher doctor decisions reports those decisions as kept on this machine rather than waiting. They no longer count toward the agent inventory's "Uploads backing up" flag.
  • Fixed: The client's background tasks (organization settings pull, credential refresh, decision delivery, inventory and heartbeat) are now logged and restarted if they stop unexpectedly. The settings pull no longer stops for good when its status file cannot be written, and a decision_sync.drain_interval_seconds value written as a string or decimal no longer stops decision delivery.
  • Fixed: A named pipe left where one of Watcher's state files or a session transcript belongs no longer stalls the client's background tasks; Watcher treats it as an unreadable file.

Analyzer

  • Changed: Tool calls that triage allowed without needing the gateway now show as Low at most in the tool-call list, and the severity filters and sort use the same value. Calls with a gateway score, triage escalations and denials, and calls a person answered keep their score.

API

  • Fixed: The Swagger UI and the OpenAPI document are now served under the API prefix (/api/docs and /api/openapi.json), so they are reachable through the self-host nginx proxy and on Watcher Cloud. On a deployment with an API prefix, the unprefixed /docs and /openapi.json paths no longer answer.

Self-host deployment

  • Changed: The upgrade runs two new database migrations that copy each session's source identifiers into a new table, in resumable batches of 1,000 sessions. Run the 0.54.0 bootstrap as usual before starting the upgraded services. Existing installations must install 0.54.0 or a later release that still carries both storages before upgrading to the future release that removes the old storage; fresh installations can apply the whole migration chain at once.

Watcher documentation.