NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::mcp::HarnessBoundedProgramStore Class Referencefinal

One-artifact ProgramStore view over HarnessRecordStore. More...

#include <harness_program_store.h>

Inheritance diagram for neograph::mcp::HarnessBoundedProgramStore:
[legend]
Collaboration diagram for neograph::mcp::HarnessBoundedProgramStore:
[legend]

Public Member Functions

std::optional< HarnessProgramArtifactRecord > load_artifact () const
 Owner-scoped strict load.
 
- Public Member Functions inherited from neograph::program::SyncProgramStore
bool completes_at_once () const noexcept
 True when every awaitable operation completes at once on the calling thread, not on a pool thread.
 
asio::awaitable< std::optional< ProgramActivation > > get_activation (std::string_view owner_scope) const final
 Owner-scoped activation lifecycle.
 
asio::awaitable< std::optional< ProgramActivationBinding > > get_active_binding (std::string_view owner_scope) const final
 Return one coherent activation/version tuple.
 
asio::awaitable< std::optional< ProgramBundle > > get_bundle (std::string_view owner_scope, std::string_view id) const final
 Owner-qualified lookups.
 
asio::awaitable< void > publish_admitted (const ProgramBundle &bundle, const ProgramVersion &version) final
 Atomically publish one admitted bundle/version tuple.
 

Additional Inherited Members

- Protected Member Functions inherited from neograph::program::SyncProgramStore
virtual bool offloads () const noexcept
 True for a backend that blocks for long: each operation then runs on a pool thread.
 

Detailed Description

One-artifact ProgramStore view over HarnessRecordStore.

The adapter exposes only the exact bundle/version tuple stored under artifact_id. It cannot enumerate, activate, garbage-collect, or act as the PR12 generic SQLite ProgramStore.

Definition at line 131 of file harness_program_store.h.

Member Function Documentation

◆ load_artifact()

std::optional< HarnessProgramArtifactRecord > neograph::mcp::HarnessBoundedProgramStore::load_artifact ( ) const

Owner-scoped strict load.

Wrong owners are indistinguishable from absent IDs.


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