Devices and shared trust memory
Use this guide to pair a machine to Guard Cloud, check that it is reporting, and limit or remove the connection. Local Guard works without any of this. Pairing adds sync, history, and a shared view of your machines.
What pairing gives youDirect link to What pairing gives you
A paired machine syncs redacted receipts and remembered decisions to your workspace. The Fleet page in the dashboard then shows which machines reported, which AI tools on each machine are protected, and which Guard version each one runs. Pairing does not move enforcement off the machine. Guard on each machine still decides locally, and a machine that is offline, unpaired, or over a plan limit keeps protecting. See Local-first vs Cloud.
Pairing also does not let Cloud run commands on the machine. That is a separate opt-in described under Cloud commands and review.
Pair a machineDirect link to Pair a machine
hol-guard connect
hol-guard connect status
hol-guard connect opens a browser sign-in with OAuth, pairs this machine to your workspace, and sends the first sync. hol-guard connect status prints the pairing state and the next step if something is wrong.
For SSH sessions, containers, CI, and other hosts without a browser, use the device code flow:
hol-guard connect --headless
Guard prints a code and an approval address. Open the address on any device where you are signed in and approve it. Add --open-browser to open the approval page for you, and --wait-timeout-seconds to change how long Guard waits for approval (default 180).
For CI or hosted automation, --ci-safe requests restricted scopes. It requires --headless, --workspace, and an explicit --label that names the runtime:
hol-guard connect --headless --ci-safe --workspace "$PWD" --label build-runner-1
To pair a hosted OpenClaw or Hermes runtime with a Guard Cloud pairing code:
hol-guard remote-pair --runtime openclaw --pair-code PAIR_CODE --verify
hol-guard remote-pair status
--runtime accepts openclaw or hermes. --verify runs the first sync after pairing, and --no-root refuses to run as root or under sudo so everything installs in user paths.
hol-guard login is an older alias that redirects to the same sign-in.
Check and repair a pairingDirect link to Check and repair a pairing
| Command | Use it when |
|---|---|
hol-guard connect status | You want to know whether this machine is paired, how far pairing got, and which command recovers it |
hol-guard connect repair | Status reports that local authorization is incomplete or damaged. Guard repairs local sign-in storage, clears a revoked sign-in, and tells you to run hol-guard connect |
hol-guard connect re-pair | You want to start over. It prints the status and tells you to run hol-guard connect for a new browser sign-in |
hol-guard connect sources | You use more than one named connection profile and want to list them |
hol-guard sync | You want to push a sync now instead of waiting |
hol-guard sync --deep | You also want to refresh the installed-item inventory during that sync |
hol-guard cloud status | You want the last sync time, the last report Guard sent, and what Cloud shows for this machine |
Every command accepts --json. Commands that talk to one connection profile accept --source NAME, which defaults to default. This lets one machine keep separate pairings for separate environments.
If hol-guard connect status reports quarantined review events, Guard is holding them because it cannot safely bind them to the current source and workspace. After you check the destination, release them with the exact values the status output prints:
hol-guard connect reassign-quarantined --confirm-source SOURCE --confirm-workspace WORKSPACE_ID
Both flags are required. Guard exits with status 2 if either is missing.
What a paired machine reportsDirect link to What a paired machine reports
A paired machine sends a small posture summary on each sync:
| Section | Contents |
|---|---|
| Client | Guard version, release channel, runtime, and auto-update status |
| Machine | OS name, OS version, CPU architecture, and a keyed hash of the host name |
| AI tools | One row per supported tool: version when known, setup status, protection state, hook coverage, artifact count, and last activity |
| Inventory | Installed skills, plugins, MCP servers, and hooks, sent in full, as changes since the last report, or as a digest only |
| Policy | Applied bundle version, status, and apply time |
Guard does not send file contents, prompts, command lines, environment values, user names, or raw paths. Config locations are sent as keyed hashes.
Each tool gets one protection state in Fleet:
| State | Meaning |
|---|---|
| Protected | Guard is set up for the tool and active |
| Broken | Guard is set up, but its hooks or config do not work |
| Needs setup | The tool is installed and Guard is not set up for it |
| Paused | Protection for the tool is turned off in Guard |
| Stale | Guard is set up, but Guard saw no activity for more than 7 days |
| Not detected | The tool is not installed on this machine |
A request carries at most 250 inventory items and 65,536 bytes. A larger inventory streams across several syncs.
Fleet names each machine with its label. Until you set one, Guard sends the host name without its domain. Set a clearer name with:
hol-guard device label set "Ada MacBook Pro"
hol-guard device show
hol-guard device rotate issues a new local installation ID.
Limit reportingDirect link to Limit reporting
hol-guard settings set fleet-posture off
hol-guard settings set fleet-posture on
With off, Guard still reports its version, each tool's protection state, and the policy status, because Fleet needs those to show whether a machine is protected. It drops the OS version, the blind-spot detail, and every inventory row, sending only an inventory digest. Turn the setting back on to resume full reporting.
Installs managed by an organization cannot opt out. On those machines the command exits with status 2 and explains why, and hol-guard cloud status shows the install as managed.
To see exactly what was sent and what Cloud shows, run hol-guard cloud status. Add --offline to skip the Cloud lookup. hol-guard inventory --json --sync prints the local inventory and queues a full inventory for the next sync.
Disconnect a machineDirect link to Disconnect a machine
hol-guard disconnect
hol-guard disconnect --revoke-cloud-grant
hol-guard disconnect clears the Cloud sign-in stored on this machine. Guard keeps protecting locally. Add --revoke-cloud-grant to also revoke this machine's and runtime's grant in Guard Cloud, which is the right choice before you retire or hand off a machine. If the grant had already expired, Guard clears the local sign-in and reports that the grant was already inactive.
In the dashboard, Remove machine on a Fleet machine drops it from Fleet and from your totals. It does not uninstall Guard from the machine. Run hol-guard disconnect on the machine as well.
Cloud commands and reviewDirect link to Cloud commands and review
Two separate local opt-ins let Guard Cloud act on a paired machine. Both are off until you turn them on, and neither changes local enforcement.
Cloud commands. A signed, time-limited capability bound to this machine and workspace and to an exact list of operations:
hol-guard commands status
hol-guard commands enable --operations read-only
hol-guard commands revoke --confirm revoke
--operations takes read-only or exact operation names, and --expires-in-days sets the lifetime from 1 to 365 days (default 30). Jobs that change state, such as policy sync or approval resolution, stay paused until you approve each one locally with hol-guard commands approve JOB_ID --confirm JOB_ID. Revoking takes effect at once and does not stop sync.
Cloud Review. Lets authorized reviewers in your workspace approve or keep blocked one exact request that is already paused on this machine. It cannot create reusable policy or override an immutable block:
hol-guard cloud-review status
hol-guard cloud-review enable --expires-in-days 30
hol-guard cloud-review disable --confirm disable
hol-guard connect --enable-cloud-review grants it during pairing. The consent lifetime is 1 to 365 days (default 30).
Healthy stateDirect link to Healthy state
A healthy Fleet view shows:
- The machines you expect, each with a recent last report.
- Each tool you meant to protect in the Protected state.
- Guard versions you can account for, with no machine on an old version by accident.
- The applied policy version you published.
Check a machine when a tool shows Broken or Needs setup, when the last report is old, or when a new machine never appears. On the machine, run hol-guard connect status first, then hol-guard connect repair if it reports incomplete authorization. If the machine is paired but not syncing and your plan has a device limit, see Billing, credits, and plans.