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

AuditHookContext — bridges engine state to audit hook callback. More...

#include <string>
Include dependency graph for audit_hook_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  entropic::AuditHookContext
 Context passed to AuditLogger hook via user_data pointer. More...
 

Namespaces

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

Functions

void entropic::populate_from_hook_context (AuditEntry &entry, const AuditHookContext &ctx)
 Populate AuditEntry fields from AuditHookContext state.
 

Detailed Description

AuditHookContext — bridges engine state to audit hook callback.

Owned by the engine, passed as user_data to the POST_TOOL_CALL hook. Contains pointers to live engine state so the audit callback can read caller_id, delegation_depth, etc. without coupling to engine internals.

Version
1.9.5

Definition in file audit_hook_context.h.