NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
sqlite_core_tool_grant_store.h
1#pragma once
2
3#include <neograph/program/core_tool_grant_store.h>
4
5#include <memory>
6#include <string>
7
8namespace neograph::program {
9
11class NEOGRAPH_PROGRAM_API SQLiteProgramCoreToolGrantStore final
13public:
14 explicit SQLiteProgramCoreToolGrantStore(std::string database_path);
16
19
20 ProgramCoreToolGrantAdmission admit_sync(
21 const ProgramCoreToolGrantRecord& record) override;
22 std::optional<ProgramCoreToolGrantRecord> load_sync(
23 const ProgramCoreToolGrantContext& context) const override;
24 bool revoke_sync(const ProgramCoreToolGrantContext& context) override;
25
26private:
27 struct Impl;
28 std::unique_ptr<Impl> impl_;
29};
30
31} // namespace neograph::program
SQLite-backed, owner-scoped, immutable Core Tool grant records.
Base of a ProgramCoreToolGrantStore whose backend is synchronous.
Immutable Program identity presented to a host before one Core operation.
Host-admitted identity, not an executable capability or a Program proposal.