Skip to main content

Receipts, changes, and history

Guard writes a receipt each time it evaluates an artifact or command. Receipts, drift checks, and lifecycle events are all stored locally, so you can answer "what happened", "what changed", and "has this happened before" without Guard Cloud.

ReceiptsDirect link to Receipts​

A receipt is the record of one evaluation. It includes the harness, the artifact and its hash, the policy decision, a summary of capabilities and provenance, any changed capabilities, and how the decision was approved (approval source and request ID, when there was one). Scanner evidence for the artifact is attached when it exists.

hol-guard receipts
hol-guard receipts --json

receipts prints the local receipts. Receipts are local data and can include more detail than command activity rows do. Treat exports of them as sensitive. For the privacy limits that apply to command activity, see Command activity tracking.

Explain one decisionDirect link to Explain one decision​

hol-guard history explain <receipt-id>
hol-guard history explain <receipt-id> --script
hol-guard policy explain <receipt-id>

history explain shows the receipt, the rule that matched it, and the evidence items linked to it, each with category, severity, and summary. When the command included an inline script such as a heredoc, --script prints only those script bodies, reconstructed from the retained command text. It exits with status 1 when the receipt ID is not found. policy explain <decision-id> reports which policy rule decided a recorded decision. Without an ID it explains the active local policy.

To see why a specific artifact or path is treated as it is, use hol-guard explain <path-or-artifact>. It shows the latest evidence Guard has for it, including offline Cisco MCP evidence when that is available.

Changes since approvalDirect link to Changes since approval​

Each time Guard evaluates an app's artifacts (skills, MCP servers, plugins, hooks, and configs), it saves a snapshot and a hash for each one. When an artifact no longer matches its previous snapshot, Guard records a diff with the changed fields and the old and new hash, and treats the artifact as changed. What happens next depends on the action for that artifact's risk class. With require-reapproval, the changed artifact is held for a fresh decision, and the pending request in the Inbox lists the changed fields.

To check for drift without approving or recording anything, compare an app's current artifacts with the stored snapshots:

hol-guard diff codex
hol-guard diff claude-code --json

diff prints only the artifacts that changed and sets a top-level changed flag in JSON. It does not persist anything. Use hol-guard inventory to see every artifact Guard tracks. See Inventory, ABOM, and artifact detail.

History and lifecycle eventsDirect link to History and lifecycle events​

For a longer timeline, use the Evidence area of the local dashboard. Its tabs are:

TabShows
All actionsEvery receipt, with filters for time period, decision, app, category, and scope, plus search.
CommandsCommand activity. See Command activity tracking.
InsightsTrends and an activity heatmap. With Guard Cloud connected, it can also publish a redacted stats card with a public link.
AppsEvidence grouped by app.
CategoriesEvidence grouped by risk category.
ExportDownload the filtered records.

From the terminal, hol-guard events lists local Guard lifecycle events, and --name <event-name> filters by event name.

ExportDirect link to Export​

The Export tab downloads CSV or JSON for the records that match your current filters, and a separate diagnostics file. The CSV has one row per receipt with timestamp, harness, artifact ID and name, decision, artifact hash, capability and provenance summaries, and source scope. The JSON export holds the full receipt objects and a summary of the filters used. For an inventory or bill of materials, use hol-guard abom and hol-guard aibom export.

The Evidence screen can also delete evidence records from the device. The dialog says the deletion is permanent. Clearing command activity separately goes through the approval gate when it is on.

In Guard CloudDirect link to In Guard Cloud​

When a device is connected, its receipts sync to Guard Cloud. Cloud shows them under Evidence, in Decisions, History, Artifacts, and Exports. The local record stays the source of truth for what this machine decided. See Local-first vs cloud for what syncs.

  1. Check Evidence, All actions, for the latest decisions.
  2. Run hol-guard diff <app> when something behaves differently after an update.
  3. Use history explain on a receipt you do not understand.
  4. Open Insights or Categories when you want a pattern, and tune a preset once it is clear.

Next guidesDirect link to Next guides​