|
Entropic 2.3.8
Local-first agentic inference engine
|
A single audit log entry for one MCP tool call. More...
#include <entropic/storage/audit_entry.h>
Public Attributes | |
| std::string | caller_id |
| Identity/tier name (e.g., "eng", "qa", "lead") | |
| std::string | tool_name |
| Fully-qualified tool name (e.g., "filesystem.write_file") | |
| std::string | params_json |
| Tool parameters as JSON string (never truncated) | |
| std::string | result_status |
| "success", "error", or "timeout" | |
| std::string | result_content |
| Tool result text (full, never truncated) | |
| double | elapsed_ms = 0.0 |
| Tool execution duration in milliseconds. | |
| std::string | directives_json |
| Directives array as JSON string ("[]" if none) | |
| int | delegation_depth = 0 |
| Current delegation depth (0 = lead) | |
| int | iteration = 0 |
| Engine loop iteration number. | |
| std::string | parent_conversation_id |
| Parent conversation ID (empty for lead) | |
A single audit log entry for one MCP tool call.
Carries the per-call payload. The AuditLogger wraps this with session-level metadata (version, timestamp, session_id, sequence) when serializing to JSONL.
Definition at line 30 of file audit_entry.h.
| std::string entropic::AuditEntry::caller_id |
Identity/tier name (e.g., "eng", "qa", "lead")
Definition at line 31 of file audit_entry.h.
| int entropic::AuditEntry::delegation_depth = 0 |
Current delegation depth (0 = lead)
Definition at line 38 of file audit_entry.h.
| std::string entropic::AuditEntry::directives_json |
Directives array as JSON string ("[]" if none)
Definition at line 37 of file audit_entry.h.
| double entropic::AuditEntry::elapsed_ms = 0.0 |
Tool execution duration in milliseconds.
Definition at line 36 of file audit_entry.h.
| int entropic::AuditEntry::iteration = 0 |
Engine loop iteration number.
Definition at line 39 of file audit_entry.h.
| std::string entropic::AuditEntry::params_json |
Tool parameters as JSON string (never truncated)
Definition at line 33 of file audit_entry.h.
| std::string entropic::AuditEntry::parent_conversation_id |
Parent conversation ID (empty for lead)
Definition at line 40 of file audit_entry.h.
| std::string entropic::AuditEntry::result_content |
Tool result text (full, never truncated)
Definition at line 35 of file audit_entry.h.
| std::string entropic::AuditEntry::result_status |
"success", "error", or "timeout"
Definition at line 34 of file audit_entry.h.
| std::string entropic::AuditEntry::tool_name |
Fully-qualified tool name (e.g., "filesystem.write_file")
Definition at line 32 of file audit_entry.h.