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

Result returned from a child delegation loop. More...

#include <entropic/core/delegation.h>

Public Attributes

std::string summary
 Final summary from child.
 
bool success = false
 Whether child reached COMPLETE via real entropic.complete.
 
std::string target_tier
 Tier that executed.
 
std::string task
 Original task text.
 
int turns_used = 0
 Iterations consumed.
 
std::vector< Messagechild_messages
 Full child message history.
 
std::string terminal_reason
 Non-empty when the child terminated synthetically rather than via a real entropic.complete.
 
bool coverage_gap = false
 Issue #10 (v2.1.4): coverage_gap signal from the child's entropic.complete call.
 
std::string gap_description
 Issue #10 (v2.1.4): concrete description of what the child's answer DOES NOT cover.
 
std::vector< std::string > suggested_files
 Issue #10 (v2.1.4): file paths the lead should inspect to fill the coverage gap.
 

Detailed Description

Result returned from a child delegation loop.

Version
1.8.6

Definition at line 33 of file delegation.h.

Member Data Documentation

◆ child_messages

std::vector<Message> entropic::DelegationResult::child_messages

Full child message history.

Definition at line 39 of file delegation.h.

◆ coverage_gap

bool entropic::DelegationResult::coverage_gap = false

Issue #10 (v2.1.4): coverage_gap signal from the child's entropic.complete call.

When true, the parent engine SUPPRESSES auto-relay and instead injects a [COVERAGE GAP] user message into the lead context so lead can chain to a follow-up specialist.

Definition at line 50 of file delegation.h.

◆ gap_description

std::string entropic::DelegationResult::gap_description

Issue #10 (v2.1.4): concrete description of what the child's answer DOES NOT cover.

Required when coverage_gap=true (validated at the tool boundary in CompleteTool::execute).

Definition at line 54 of file delegation.h.

◆ success

bool entropic::DelegationResult::success = false

Whether child reached COMPLETE via real entropic.complete.

Definition at line 35 of file delegation.h.

◆ suggested_files

std::vector<std::string> entropic::DelegationResult::suggested_files

Issue #10 (v2.1.4): file paths the lead should inspect to fill the coverage gap.

Only populated when coverage_gap=true.

Definition at line 57 of file delegation.h.

◆ summary

std::string entropic::DelegationResult::summary

Final summary from child.

Definition at line 34 of file delegation.h.

◆ target_tier

std::string entropic::DelegationResult::target_tier

Tier that executed.

Definition at line 36 of file delegation.h.

◆ task

std::string entropic::DelegationResult::task

Original task text.

Definition at line 37 of file delegation.h.

◆ terminal_reason

std::string entropic::DelegationResult::terminal_reason

Non-empty when the child terminated synthetically rather than via a real entropic.complete.

Current value: "budget_exhausted" — set by AgentEngine::loop when max_iterations is hit and a forced synthetic complete is injected. Empty string = natural completion. (E7, 2.0.6-rc18)

Definition at line 45 of file delegation.h.

◆ turns_used

int entropic::DelegationResult::turns_used = 0

Iterations consumed.

Definition at line 38 of file delegation.h.


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