Skip to main content

Module attr

Module attr 

Source
Expand description

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

These are a public contract — the OTLP exporter maps them straight onto span/event attributes, so renaming one invalidates existing dashboards. OpenTelemetry semantic conventions are used where one exists; everything else lives under the act.* namespace.

Constants§

AGENT_ID
CAPABILITY_DECLARED
Whether the component declared this capability class in act.toml.
CAPABILITY_ID
COMPONENT_DIGEST
COMPONENT_REF
CONSENT_PROMPT_CHANNEL
Whether this run has any channel that can answer an interactive ask prompt at all (a real TTY, or an MCP client offering elicitation) — as opposed to headless / ACT-HTTP, where every ask decision degrades to deny before a human is ever involved. A per-run fact, repeated on every act.ceiling_class event so the layer never has to infer it from anything but typed fields.
CREDENTIAL_KIND
The kind string of a credential that was handed to a component — std:fields for everything this host writes, since a credential is a set of named fields and nothing else (design §3.2). Recorded because it is a required member of the published WIT secret record and a store may hold one written elsewhere. Non-secret by construction: it names a shape, never a value.
DECISION
DURATION_MS
NEVER_ROLLUP
Whether this decision must never fold into the per-call rollup, even when it resolves to Allow. Set for act:consent decisions — see CapDecisionRecord::never_rollup.
OUTCOME
POLICY_ACTOR
POLICY_MODE
POLICY_REASON
POLICY_RULE
REQUEST_ID
RESOURCE_ACTION
RESOURCE_KEY
SESSION_ID
TOOL_ARGS
Full tool-argument values, only present when --audit-args is set. TOOL_ARGS_SHA256 above is still emitted alongside it — this field widens the envelope, it never replaces the digest. Session args are never carried by either field: ToolCallStart has no such member.
TOOL_ARGS_SHA256
TOOL_NAME
TRACE_PARENT
TRACE_STATE
TRANSPORT