Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
ent_delegation_result_t Struct Reference

Result of a finalized delegation, delivered to the consumer. More...

#include <entropic/entropic.h>

Public Attributes

const char * delegation_id
 Short id (matches request)
 
const char * target_tier
 Tier that executed.
 
int success
 1 if child reached COMPLETE, 0 otherwise
 
const char * summary
 Final summary text from the child.
 
const char * patch
 Unified diff (may be empty string)
 
size_t patch_len
 Byte length of patch (excluding NUL)
 
const char *const * files_touched
 NULL-terminated array of relpaths.
 
size_t files_touched_len
 Count (excluding the NULL terminator)
 

Detailed Description

Result of a finalized delegation, delivered to the consumer.

Passed to ent_delegation_complete_cb. The engine NEVER applies the patch — that is the consumer's responsibility (typically through entropic.helpers.apply_patch on the Python side, or git apply in the consumer's own logic, with the user's explicit consent).

All pointers are owned by the engine and valid only for the callback's duration. The patch buffer is a unified diff produced by git diff --no-index --binary and is suitable for git apply in any tree. files_touched is a NULL-terminated array of relative paths.

Version
2.1.5

Definition at line 907 of file entropic.h.

Member Data Documentation

◆ delegation_id

const char* ent_delegation_result_t::delegation_id

Short id (matches request)

Definition at line 908 of file entropic.h.

◆ files_touched

const char* const* ent_delegation_result_t::files_touched

NULL-terminated array of relpaths.

Definition at line 914 of file entropic.h.

◆ files_touched_len

size_t ent_delegation_result_t::files_touched_len

Count (excluding the NULL terminator)

Definition at line 915 of file entropic.h.

◆ patch

const char* ent_delegation_result_t::patch

Unified diff (may be empty string)

Definition at line 912 of file entropic.h.

◆ patch_len

size_t ent_delegation_result_t::patch_len

Byte length of patch (excluding NUL)

Definition at line 913 of file entropic.h.

◆ success

int ent_delegation_result_t::success

1 if child reached COMPLETE, 0 otherwise

Definition at line 910 of file entropic.h.

◆ summary

const char* ent_delegation_result_t::summary

Final summary text from the child.

Definition at line 911 of file entropic.h.

◆ target_tier

const char* ent_delegation_result_t::target_tier

Tier that executed.

Definition at line 909 of file entropic.h.


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