Expand description
Tool audit types: metadata recorded for every tool invocation.
These types are used by super::dispatch::ToolDispatch and
super::registry::ToolRegistry to record side-effect
classification, timing, and exit status for each tool call.
Structs§
- Audit
Meta - Per-call audit record returned by
super::registry::ToolRegistry::invoke_with_auditand stored incrate::session::TranscriptEntry::audit. - Touched
Files - Observer that records files touched by structured filesystem tools
during a single agent turn. Owned by
AgentRuntimeand reset at every turn boundary; passed byArc<Mutex<...>>to theToolRegistryso tool dispatch can recordpatharguments.
Enums§
- Exit
Status - Outcome of a single tool invocation, as recorded in
AuditMeta. - Tool
Side Effect - Classification of a tool’s observable side-effects on state outside the agent process. Used by orphan detection and safe-replay (g154) to decide how aggressively to retry or skip an unfinished tool call.
Constants§
- AUDIT_
ERR_ MAX_ BYTES - Maximum length of the persisted error message in
ExitStatus::Err. Anything longer is UTF-8 char-boundary clipped andtruncatedis set.