Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
delegation.cpp File Reference

DelegationManager implementation. More...

#include <entropic/core/delegation.h>
#include <entropic/core/engine_types.h>
#include <entropic/types/logging.h>
#include <nlohmann/json.hpp>
#include <algorithm>
Include dependency graph for delegation.cpp:

Go to the source code of this file.

Namespaces

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

Functions

static ent_delegation_result_t entropic::build_delegation_result_struct (const SandboxInfo &sb_info, const SandboxResult &sandbox_result, const DelegationResult &result, const std::vector< const char * > &files_c, size_t files_len)
 Deliver a finalized patch to consumer or pending/.
 
static std::string entropic::pipeline_context (size_t stage_idx, size_t total, const std::vector< std::string > &stages, const std::string &prior_output)
 Build pipeline context prefix for a stage.
 

Variables

static auto logger = entropic::log::get("core.delegation")
 

Detailed Description

DelegationManager implementation.

Ports Python's DelegationManager. Child loop creation, sandbox lifecycle, pipeline execution, todo list save/restore.

v2.1.5 (gh#29): sandbox replaces worktree. The engine no longer touches the user's git repo. Delegation output flows back via a unified-diff patch produced by SandboxManager::finalize_sandbox().

Version
2.1.5

Definition in file delegation.cpp.

Variable Documentation

◆ logger

auto logger = entropic::log::get("core.delegation")
static

Definition at line 24 of file delegation.cpp.