Proof of Agency
What the machine was allowed to do. And what would have stopped it.
In one paragraph
Proof of agency holds three artifacts for every autonomous action: the envelope that permitted it before it ran, the chained record of what it did, and the counterfactual showing what would have blocked it had it been one notch different. The envelope's limits are product-set, and each record carries the digest of the envelope in force.
A machine acted in a regulated environment. On what authority?
When an autonomous system acts in a regulated environment, a reviewer asks three questions answered by three distinct artifacts:
- What was the machine permitted to do?
- What did it actually do?
- What would have stopped it?
The autonomy envelope: a machine-enforced object that existed before the action, stating which action types were allowed, how many resources could be touched, at what cost, in which environments, inside which change windows.
The evidence record: what the agent actually did, written to the SHA3-256 hash-chained stream of every exported package, carrying the before state hash, the hashed delta, and the rollback id where one was armed.
The gate evidence: what would have blocked this exact action had it been one notch different, produced by the same gates that screened it live.
The counterfactual: what would have stopped it
For any action the system took, PolicyCortex can show what would have blocked it had it been one notch different. The gates are declarative and versioned, so the evaluation that screened the live action can be recomputed with exactly one parameter moved. Below is the shape: one executed action, then the same action pushed one notch past each constraint.
AUTONOMY ENVELOPEThe envelope: what the machine was allowed to do
The envelope is not a policy document and not a configuration convention. It is an object the execution layer reads before every autonomous action, and the action either fits inside it or does not run unattended. The limits below are product-set; the operator sets autonomy on or off, the mode, the severities in scope, excluded resource types and the emergency stop. Each evaluation is recorded with the digest of the envelope it was checked against.
# product-set limits, machine enforced; records carry this envelope's digest envelope digest sha3:6e1f0c82a9d4 trust_mode AUTONOMOUS allowed_action_types modify create configure scale restart failover update blocked_action_types destroy delete drop purge wipe exec shell max_affected_resources 5 # blast radius, hard ceiling min_confidence 0.9 # published by the reasoning layer cost_ceiling $100 # per action, estimated before execute excluded_environments production-critical restricted-gov change_windows Mon to Fri, 00:00-24:00Z dry_run_first true emergency_stop andon cord: any operator, halts every envelope
Watch only. The reasoning layer proposes and publishes confidence; zero actions are executed. Every deployment starts here. Read-only onboarding uses this mode after access is reviewed and the deployment scope is agreed.
The default. A human approves each action: per action, per control class, per resource type, or per environment. The approving identity becomes part of the act's record.
Narrow, well-tested action classes only. All three policy gates must pass, 3/3, and published confidence must clear the envelope floor of 0.9.
SIX-GATE EXECUTIONThe act: what it actually did
Every remediation PolicyCortex executes directly, in every trust mode, runs inside the same wrapper. We call it the Safety Sandwich because the action is never the first thing that happens and never the last. The gate's verdict is stored on the execution record, so the act arrives with its context attached.
The condition is observed and recorded before anything is proposed. Detection sources are inventoried per scope, so an unobserved scope is a declared gap, not a silence.
A grammar validator rejects any proposal outside the permitted vocabulary, and a deterministic postcondition check runs on the planned change (six properties today: encryption at rest, public access, TLS version, ingress range, IAM wildcards, resource count); a rejection or a failed check stops it in every trust mode. An autonomous action must also stay inside the envelope's blast radius and pass its policy gates, 3/3, or it stops here, goes to a human, and the stop is recorded.
The reasoning layer proposes a captureState and restoreState pair and publishes its confidence. It cannot execute. In GATED mode, this is where the human signs.
The action runs, inside the envelope it passed at pre-check, within the change window, under the cost ceiling.
The state delta is hashed and compared to what was proposed. A mismatch triggers rollback where a restore exists and rollback is enabled for the action; otherwise the action goes to manual review. The mismatch is recorded either way.
Where a restore exists and rollback is enabled for the action, the record closes with an identifier that reverses this exact action.
AI ESTATE & RMFThe AI estate: every model and agent, not only ours
Agency proof is wider than our own remediation handlers. The same record inventories the models and agents acting in your tenant: which identities they hold, which channels and egress paths they use, which envelope binds them, and which techniques they are exposed to. When someone asks whether an AI system in your environment is in scope, the record answers from data, as of a date, not from a spreadsheet somebody maintains. The standing federal obligations this estate record answers are tabulated on the AI governance page.
The envelope is the governance object: set before use, machine enforced, with every evaluation recorded against its digest.
The estate inventory is the map: models, agents, identities, channels, exposure, as of a timestamp you choose.
Published confidence per proposal, gate results per action, hashed verify deltas per execution.
Trust modes, change windows, dry-run first, and the andon cord, with their use recorded as evidence rather than asserted in a narrative.
OFFLINE VERIFICATIONHow the record is verified
Agency records verify the same way state and change records do, because they live in the same chain. The digest of an action record commits to the policy decision that permitted it, the digest of the envelope it was evaluated against, the before and after state hashes, and the digest of the record before it.
$ python3 verify_ledger.py ledger.jsonl
recomputing sha3-256 over exported records
chain: INTACT
head: sha3:9b41c2e07d33
envelope_digests: one on every agency record
gaps_declared: 1 (2026-02-19T22:04Z to 2026-02-21T03:11Z)Demonstration only; no commands are executed.
FRAMEWORK MAPPINGWhere it maps
- NIST 800-53
- AC-6 least privilege enforced as an envelope rather than asserted in a narrative, CA-7 continuous monitoring, SI-4 system monitoring from the same chain.
- NIST AI RMF
- GOVERN, MAP, MEASURE, MANAGE evidenced from the envelope and estate records above, not from a questionnaire.
- MITRE ATLAS
- Estate inventory annotated against AML.T0048, T0051, T0023, T0024, T0017, and T0040, with unbounded techniques recorded as declared gaps.
- MITRE ATT&CK
- Acts and detections carry technique references, so an assessor can trace a 2 a.m. action to an adversary model without leaving the record.
- CMMC Level 2 / NIST 800-171
- Agent actions produce control evidence as a byproduct, inside the same base that covers the 110 requirements.
Prove the authority behind every machine action.
