Skip to main content

Module models

Module models 

Source
Expand description

Serde-derived types for AAE protocol schemas.

Structs§

AuditEvent
A single hash-chained audit log record.
CapabilityScope
Capability token scope.
CapabilityToken
Capability token claims (signed externally as JWT/PASETO/biscuit).
Confidence
v0.7: the standard ext.confidence shape on policy decisions.
Context
Context fields on a proposal. Open shape; rationale is required.
CostEstimate
v0.3: the standard ext.cost_estimate shape in step previews.
Effect
A predicted effect of executing a step.
EventSignature
Optional digital signature on an audit event.
PolicyDecision
Output of policy engine evaluation.
Preview
Predicted effects of executing a proposal.
Proposal
A typed plan submitted by an agent.
Step
A single tool invocation within a proposal.
StepPreview
Preview output for a single step.
ToolRegistration
Tool registration declaring the tool’s plan/preview contract.

Enums§

BlastRadius
Blast radius classification for proposed effects.
Decision
Policy engine decision values.
Reversibility
v0.3: whether a tool’s effects can be undone.

Constants§

EVENT_TYPE_ARTIFACT_ATTESTED
Event type binding an out-of-chain artifact to a chain event by content hash (v0.8). Required payload fields: artifact_hash (algorithm-prefixed canonical hash), bound_event_id, artifact_kind (free-form string, e.g. legible_record, session_recording). Artifacts are advisory; the chain event is authoritative.
STRICTNESS_STRICT_LITERAL
Core strictness mode: gateway executes exactly the approved steps in order; deviation aborts. This is the REQUIRED default (SPEC §5.3).
STRICTNESS_STRICT_TEMPLATE
Core strictness mode: gateway executes steps matching templates with parameter substitution (SPEC §5.3, OPTIONAL).