You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guardrail receipts: record other guardrails' allow and deny decisions in the trail #294
Guardrails decide. Agentmetry records. Teams increasingly run an inline guardrail (an authorization layer, a DLP proxy, an approval gate) next to their coding agents. Each keeps its own log, if any, in its own format. Agentmetry already has a tamper-evident, SIEM-forwarded trail at the tool boundary, so it can be the neutral record those decisions land in.
Proposal
Accept a guardrail decision event through the existing ingest API: which tool, allow, deny or ask, why, and which guardrail decided. Chain it into the trail next to the tool call it governed.
A small, documented payload, mapped to the canonical schema like hook_remediation (recorded as its own action type, never as a tool call, so tool-sequence rules don't count it).
Correlation: link a decision to the matching recorded call by session and input hash where possible.
Disagreement is a signal. A call the guardrail denied but which still ran, or an allow with no matching call, is worth surfacing.
Constraints
No vendor SDKs in core: a documented payload any guardrail can post.
The usual ingest authentication.
No change to the frozen detection files.
Open question for users
Which guardrail or gateway do you run next to your agents, and does it keep a record you could hand an auditor?
Activity