Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::AuditHookContext Struct Reference

Context passed to AuditLogger hook via user_data pointer. More...

#include <entropic/storage/audit_hook_context.h>

Collaboration diagram for entropic::AuditHookContext:

Public Attributes

AuditLoggerlogger = nullptr
 Logger instance.
 
std::string session_id
 Current session UUID.
 
const std::string * caller_id = nullptr
 Pointer to current identity name.
 
const int * delegation_depth = nullptr
 Pointer to current depth.
 
const int * iteration = nullptr
 Pointer to current iteration.
 
const std::string * parent_conversation_id = nullptr
 Pointer to parent conv ID.
 

Detailed Description

Context passed to AuditLogger hook via user_data pointer.

The engine updates these fields before firing POST_TOOL_CALL. The AuditLogger reads them in hook_callback(). This avoids passing engine internals through the hook JSON.

Version
1.9.5

Definition at line 31 of file audit_hook_context.h.

Member Data Documentation

◆ caller_id

const std::string* entropic::AuditHookContext::caller_id = nullptr

Pointer to current identity name.

Definition at line 34 of file audit_hook_context.h.

◆ delegation_depth

const int* entropic::AuditHookContext::delegation_depth = nullptr

Pointer to current depth.

Definition at line 35 of file audit_hook_context.h.

◆ iteration

const int* entropic::AuditHookContext::iteration = nullptr

Pointer to current iteration.

Definition at line 36 of file audit_hook_context.h.

◆ logger

AuditLogger* entropic::AuditHookContext::logger = nullptr

Logger instance.

Definition at line 32 of file audit_hook_context.h.

◆ parent_conversation_id

const std::string* entropic::AuditHookContext::parent_conversation_id = nullptr

Pointer to parent conv ID.

Definition at line 37 of file audit_hook_context.h.

◆ session_id

std::string entropic::AuditHookContext::session_id

Current session UUID.

Definition at line 33 of file audit_hook_context.h.


The documentation for this struct was generated from the following file: