|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
Durable contract for owner-isolated runtime history and context artifacts. More...
#include <context_store.h>
Public Member Functions | |
| virtual std::optional< RuntimeHistoryRecord > | history_record_by_message_id (const ContextStoreFeed &feed, std::string_view message_id) const |
| Exact host message identity lookup; default is a bounded reverse scan. | |
| virtual std::vector< RuntimeHistoryRecord > | hydrate_records (const ContextHistoryRange &range) const |
| Hydrate full typed records; native seals require trusted storage custody. | |
Durable contract for owner-isolated runtime history and context artifacts.
Implementations must make append_history atomic. A retry of the exact record at its already committed sequence returns AlreadyPresent even after the feed head has moved. Range snapshots are compact references; hydrate_history materializes their exact canonical JSONL only when a caller asks for it. Hydration must reject a range whose first predecessor does not match the preceding persisted record when the range begins after sequence one.
Definition at line 58 of file context_store.h.