Expand description
Audit view — subagent activity inspector for the TUI.
Renders recent entries from the global AuditLog,
filtered by default to subagent-relevant categories (Swarm,
ToolExecution, Cognition). Lets the operator see what the
sub-agents just did without leaving the TUI — which tool was
called, by which persona, against which session, with what
outcome.
State is refreshed from the async audit log on each TUI tick via
refresh_audit_snapshot. Rendering itself is synchronous and
reads from the cached AuditViewState::entries snapshot.
Structs§
- Audit
View State - State for the audit view: the cached entries plus UI cursor.
Enums§
- Audit
Filter - Which slice of the audit log the view is currently showing.
Functions§
- refresh_
audit_ snapshot - Pull fresh entries from the global audit log into
state. - render_
audit_ view - Render the audit view: list on the left, detail on the right.