Principle:A5c ai Babysitter Command Authorization Minting
| Knowledge Sources | |
|---|---|
| Domains | Cryptography, Policy_Enforcement, Authorization |
| Last Updated | 2026-10-23 00:00 GMT |
Overview
A method for minting short-lived, evidence-bound command authorizations that authorize a single tool execution with cryptographic proof.
Description
Command Authorization Minting is the principle of producing a CommandAuthorizationPayload that binds:
- Policy identity: The policy document and its version (configEpoch)
- Tool context: The exact tool name, call ID, command hash, and args hash
- Evidence chain: The fingerprints and hashes of all verified evidence (model decisions, human approvals, delegations)
- Temporal bounds: A short-lived validity window (issuedAt to expiresAt)
- Credential scope: The allowed scope of credentials
The payload is signed with signPayload and verified at the execution gate with verifyCommandAuthorization. The authorization is single-use: it authorizes exactly one tool call with one specific command and one specific set of arguments.
Usage
Use this principle when building policy enforcement systems where tool execution requires cryptographic proof of an evidence chain, with temporal bounds and command binding.
Theoretical Basis
The minting is a payload construction + signing:
payload = {
payloadType: 'command-authorization',
policyId, policyDocHash, configEpoch,
matchedChainId,
toolName, toolCallId,
commandHash, argsHash, // bound to specific command and args
credentialScope,
evidenceFingerprints, evidenceEnvelopeHashes, evidenceStepBindings,
issuedAt, expiresAt // short-lived
}
envelope = signPayload(privateKey, fingerprint, payload)
Key property: The authorization is evidence-bound — it carries the fingerprints and hashes of all evidence that was verified to produce it. The gate re-checks that every required step has a bound evidence envelope, preventing authorization without proof.
TOCTOU prevention: The gate recomputes commandHash and argsHash from the actual runtime arguments and compares to the authorization. Any mismatch (command substitution, argument injection) causes denial.