Skip to main content

Module record

Module record 

Source
Expand description

The audit record types. These are field carriers: emit.rs is the only module that turns them into tracing events.

Modules§

attr
Frozen attribute names. Every emitted field uses one of these constants.

Structs§

CapDecisionRecord
One capability decision, emitted as an event inside the tool-call span.
CeilingClassRecord
One capability class as resolved at instantiation.
CredentialIssueRecord
One credential handed over to a component.
ToolCallStart
The fields known when a tool call begins. Outcome and duration are recorded onto the span when it finishes.

Enums§

Actor
Who decided.
Decision4
The resolved verdict. Widens act_policy::Decision: the classifier is three-valued, but Ask settles into an allow or a deny once the operator (or the degrade-to-deny rule) answers.
Outcome
How the tool call ended.
Transport
Which transport dispatched the call.

Functions§

duration_ms
Milliseconds, saturating — used for the act.duration_ms field.
sha256_hex
Lowercase hex SHA-256, no sha256: prefix.