Required updates for Watcher
Reading agent inventory now needs one
permission, agent-inventory:read, instead of organization-settings and
session permissions. Org-viewers can see agent inventory without being admins.
Until now, a tool call the Watcher client observed but
did not grade (while signed out, offline, after a hook failure, or while a
.watcher-ignore file covered the session)
left no trace on your deployment. A machine that missed calls looked the same as
a machine that made none. The client from this release reports each such Claude
Code and Codex call as a tool-call record.
The agent inventory page now opens on its machines, grouped by whether each one is checking in and whether Watcher is fully on for it (endpoint health). This works with agent inventory off too.
What's new?
- The admin and org-viewer roles gain
agent-inventory:read. It covers the Analyzer's agent inventory page and the/v1/agent-inventoryread endpoints, and grants no session content or organization settings. - Turning inventory on or off still needs
org:settings:write, and the Analyzer shows the switch only to roles that also haveorg:settings:read. Everyone who can see the page sees whether inventory is on, and whether your organization's settings pause grading on every machine. - Other people's email addresses still need
users:read:any, so org-viewers see names without email addresses. Reads that name people or machines are still recorded in the admin audit log on self-hosted deployments. - Each record holds the call's time, the tool's name, the agent's IDs for the
session and the call, and why the call was not graded. It says the call was
observed, not that it ran, and never holds the call's input or output, the
working directory, file paths, or the text of a
.watcher-ignorefile. - A call made while a
.watcher-ignorefile covered the session is reported with the reasonwatcher_ignore; its conversation and decisions stay on the machine. - A recorded call becomes an ordinary tool call in the Analyzer once the
deployment holds its conversation, keeping the reason it was not graded. For
a
.watcher-ignoresession, that is once the file is removed and the conversation uploads. - Records wait on the machine while it is signed out or offline, or while the server refuses them as invalid (as an older server would a newer client's record), for up to 30 days. They are discarded rather than sent under a different person's sign-in.
- Each request also names the client's installation, so the agent inventory page counts each machine's records from the last 7 days by reason. The client's endpoint health reports how many records are still waiting to be sent.
- The Watcher client's scheduled heartbeat runs
about every 15 minutes and carries a health report when available: the
enforcement mode, whether grading is snoozed and until
when, for each of Claude Code, Codex and GitHub Copilot CLI whether it is
turned on in Watcher, whether Watcher's hooks are installed and whether the
agent itself was found on the machine (with since when), the upload backlog,
and the result of each
watcher doctorsection the client can check in the background. - The heartbeat is sent with agent inventory off too. So even while inventory is off, the health report can tell your deployment, for Claude Code, Codex and GitHub Copilot CLI (the agents Watcher installs hooks into), whether each is installed, turned on in Watcher and has Watcher's hooks installed. It says nothing about other agents and carries no agent versions or paths.
- The report holds only states, times and counts. Of Watcher's settings it includes only the enforcement mode, which agents are turned on and whether that choice is locked; never file paths, folder or project names, snooze reasons, session IDs, other settings values or the self-check's messages.
- Machines are grouped as Needs attention, Healthy and Offline. A machine that
goes quiet generally stays Offline for 7 days; if the client reports an
explicit stop through
watcher autostart stopor a sign-out, the machine moves to Needs attention at once (see endpoint health for every condition). Each machine's page lists what needs action and the client commands to check or fix it, its coding agents with Watcher's own check, a count by reason of ungraded-call records the server received for that machine, for calls observed in the last 7 days, when there are any, the detailed health with the time each value was read, and its last 7 days. - A machine that has only ever sent its heartbeat (inventory off) is listed too, without a hostname; it shows the agents Watcher hooks, from its health.
- The report says whether an agent is off and whether your organization's settings lock that choice, not who turned it off or why. An agent your organization's settings lock off shows "Disabled by your organization" and is treated as a note.
- The page also lists every coding agent found, people with their machines, and recent changes such as an agent turned off or a snooze: for all machines, the last 24 hours plus earlier changes that still hold; for one machine, its last 7 days, check-ins stopping and resuming included.
Required upgrade steps
Agent inventory read permission
Self-hosted: review org-viewer assignments before upgrading, since
org-viewers will see every machine, its owner and the coding agents on it. A
custom role or API key that reads agent inventory with org:settings:read and
session permissions loses that access: add agent-inventory:read to it. An
entry under roles: replaces that role's whole grant list, so if your
server configuration overrides
admin or org-viewer, add agent-inventory:read to the override for that
role to keep seeing inventory. To keep inventory admin-only, override the
org-viewer role's grants without agent-inventory:read.
Make these configuration changes with the upgrade or after it, never before:
a server older than this release refuses to start when its configuration names
agent-inventory:read.
In WorkOS mode, add the agent-inventory:read permission to your WorkOS
environment before granting it to an API key. Users need nothing in WorkOS:
their roles' grants come from the server's configuration.
Watcher Cloud: review org-viewer assignments. Give any API key that reads
agent inventory the agent-inventory:read permission.
Self-hosted: follow Update Watcher.