Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
audit_logger.h File Reference

JSONL audit logger for MCP tool calls. More...

#include <entropic/storage/audit_entry.h>
#include <entropic/types/config.h>
#include <entropic/types/hooks.h>
#include <atomic>
#include <cstddef>
#include <filesystem>
#include <fstream>
#include <mutex>
#include <string>
Include dependency graph for audit_logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  entropic::AuditLogger
 JSONL audit logger for MCP tool calls. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

JSONL audit logger for MCP tool calls.

Writes one JSON line per tool call to audit.jsonl in the session directory. Append-only operation with thread-safe writes.

Integrates with the hook system (v1.9.1) via POST_TOOL_CALL. The AuditLogger is a passive observer: it does not modify or cancel tool calls.

Version
1.9.5

Definition in file audit_logger.h.