NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
replacement.h File Reference

Exact durable handoff receipts for Program generation replacement. More...

#include <neograph/api.h>
#include <neograph/program/result.h>
#include <asio/awaitable.hpp>
#include <cstdint>
#include <memory>
#include <string>
#include <string_view>
Include dependency graph for replacement.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  neograph::program::ExactProgramHandoff
 An exact durable handoff reference together with its deeply owned value. More...
 
struct  neograph::program::ExactProgramHandoffReference
 Exact completed JavaScript checkpoint coordinate selected by the host. More...
 
class  neograph::program::ProgramHandoff
 Move-only host lease holding a source generator at an exact durable checkpoint. More...
 
class  neograph::program::ProgramReplacementReceipt
 Immutable evidence of one host-admitted same-lineage generation transition. More...
 

Functions

NEOGRAPH_PROGRAM_API bool neograph::program::is_valid_program_replacement_transition (const ProgramRunGeneration &predecessor, const ProgramRunLineage &previous_lineage, const ProgramRunRecord &source, const ProgramJavaScriptCommandJournalEntry &checkpoint, const ProgramRunGeneration &successor, const ProgramRunLineage &next_lineage, const ProgramRunRecord &target) noexcept
 Shared fail-closed validator used by every atomic transition backend.
 
NEOGRAPH_PROGRAM_API RunBudget neograph::program::program_replacement_remaining_budget (const ProgramRunRecord &source, const ProgramRunLineage &source_lineage, std::int64_t transition_time_ms) noexcept
 Charges elapsed wall time before a successor receives the lineage remainder.
 

Detailed Description

Exact durable handoff receipts for Program generation replacement.

Definition in file replacement.h.