Rightshold™ Sign up
Open betalive and open to everyoneEvidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI evidence

Our AI agent approved a refund that a policy should have blocked, and the customer's lawyer is asking which rules were in force at that moment and who approved them. Our logs show the action but not the rule set. How can we prove which rules the agent was following, and what does the new IETF rule provenance draft say to record?

Last updated

TL;DR: An action log shows what an AI agent did. After an incident, the harder question is whether it was allowed to, and that needs facts fixed at the moment of the decision: which rules were in force, who wrote and approved them, what the check returned, and whether a person stepped in. An experimental IETF Internet-Draft posted on October 11, 2026, Rule Provenance for Autonomous AI Agent Audit Records, proposes a way to record exactly that on top of the Agent Audit Trail log format. Every rule change becomes a new numbered version with who set it, who approved it, when it takes effect and a SHA-256 hash, and a recorder has to receipt it before any decision can rely on it. A version whose effective time is earlier than the moment the recorder took it in is marked void, so a rule can't be backdated after an incident. Before a consequential action, the evaluator signs a decision record that binds the exact request to a hash of every rule version in force (the policy snapshot), and approvals and overrides go in separate later records. Records of consequential actions must reach a recorder outside the operator's control, and that recorder must publish its log head to an external log within 24 hours. The draft is frank about the limits: a verified session still doesn't prove the agent obeyed every rule, it can't catch an action or rule that was never recorded, and an evaluator the operator runs gives the operator's own account. It is an individual draft with no known implementations, not an IETF standard.

What should I check, step by step?

1. Give every rule a stable ID and a version number, and never edit a version in place. A change, including switching a rule off, is a new version that names the version it replaces.

  1. For each version, record who set it and when, who approved it and when, the rule language, its scope (which agents, action types and tools) and the time it takes effect. Hash those fields so the version can't be quietly rewritten later.
  2. Send each version to a recorder you don't run before it takes effect. The draft suggests setting the effective time at least the receipt deadline after sending (60 seconds unless the session sets another value), so the version arrives first.
  3. Before any action that can move money, commit you to an obligation, change data outside the agent's own workspace or contact someone outside your organization, write a signed decision record with the exact request, a hash of every rule in force for that agent, the result and the governing rule.
  4. Write approval requests, answers and overrides as separate later records that repeat the original request and result, so the first evaluation is never rewritten. An override needs a named principal, a time and a reason.
  5. Let a permitted decision be used once, before its expiry time, and only while the agent's rule set is unchanged. Mark it used in durable storage before the action starts, and derive the downstream idempotency key from it where the system accepts one.
  6. Keep the rule history and decision records for at least a year (the draft asks for at least 365 days for sessions with consequential actions), and have the recorder publish its log head to an external transparency log.
  7. When you show the records to someone, say what they can't prove: an action or rule that was never recorded is invisible, and an evaluation run on your own systems is still your own account.

What does the IETF rule provenance draft add to an AI agent audit log?

The draft starts from the Agent Audit Trail format, which gives agents a tamper-evident log. In that format a decision record can name the policy it relied on, an action can be marked denied, and a human override can be noted. What it doesn't record, the draft says, is the rules themselves: nothing says when a policy was written or by whom, so a rule added after an incident looks the same as one that was there all along, and nothing records the full set of rules in force, so an operator can show a reviewer the rules that suit it and leave out the one that applied. The base format also can't tell "no rule applied" apart from "the rules could not be checked".

How does the rule provenance draft stop an AI agent rule from being backdated after an incident?

A rule record carries a rule ID that stays the same across versions, a version number that starts at 1 and goes up by exactly one each time, the rule language, the rule body (or a reference to it with a hash of the content), an effect of allow, deny, limit, require_approval or retired, a scope naming the agents, action types and optionally tools it covers, and the time it takes effect. It also names who set the version and when, who approved it and when, and which version it supersedes. The rule hash is the SHA-256 of the canonical JSON of the fields that identify the version and decide what it means, so a verifier that computes a different value reports a mismatch.

What does a rule provenance decision record show before an AI agent acts?

For an agent at a given time, the policy snapshot is a sorted JSON list of the rule ID, version and hash of every version active for that agent, and its hash goes into every decision record. Anyone holding the rule records can recompute the snapshot for the same agent and time. A mismatch means the evaluator used rules the recorder was never given or left out rules the recorder holds. A match shows the evaluator used the same rules the recorder holds, but on its own it can't show the operator handed over every rule it has.

Who should hold AI agent rule records, and what can a verifier conclude from them?

Records of consequential actions must go to at least one independent recorder. For the records in question, that means none of the operator, vendor, integrator or model provider has control (10 percent or more beneficial ownership, or the right to direct it) of the recorder; nobody with administrative or key access to the recorder works for or has such access at those parties; its keys, storage and hosting aren't controlled by them; its fees don't depend on what the records show; and no more than half its revenue in the previous 12 months came from those parties. A recorder component inside the operator's own systems doesn't qualify. The recorder publishes a signed independence statement, and a verifier reports independence as "asserted" unless an audit report for the period is available.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Before the new version of our support agent's refund-limit rule takes effect, record a receipt for it: rule ID and version, the version it replaces, effect, scope, effective time, who set and approved it by role, and the SHA-256 of the full rule record, with no customer data.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "agent.rule_version_recorded",
    "outcome": "success",
    "occurred_at": "2026-11-21T16:50:00Z",
    "client_event_id": "support-agent:rule:refund-limit:v4",
    "summary": "rule refund-limit v4 supersedes v3; effect limit (refunds up to 100 USD); scope agent support-agent, action type tool_call, tool payments.refund; effective_from 2026-11-21T17:00:00Z; set by role support operations lead, approved by role finance controller; full rule record and rule_hash kept in our policy log",
    "action_sha256": "<sha256 of the canonical JSON of the full rule record>"
  }
}

Rightshold isn't affiliated with the IETF or the draft's author, and its ledger isn't an implementation of this profile or of the Agent Audit Trail format. Details are from draft-piehl-agent-rule-provenance-00 (October 11, 2026) and the IETF datatracker pages for it and for draft-sharif-agent-audit-trail, read November 21, 2026. Internet-Drafts are works in progress that can change or lapse at any time; this one is an individual submission, not an IETF standard or working-group document. Not legal or compliance advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'