Expand description
Bounded agent graph snapshot + deterministic plan types for the planner protocol.
Shared between ArmaraOS and ainl-inference-server via path or published crate dependency.
Structs§
Enums§
- Graph
Write Error - OnError
Policy - Plan
Step Error - Typed tool-step failure for escalation without string parsing.
- Snapshot
Error
Constants§
- DEFAULT_
MAX_ REPLAN_ CALLS - Default max
LocalPatchreplans per plan execution. - DEFAULT_
MAX_ WALL_ MS - Default total plan wall-clock cap (ms).
- DEFAULT_
NON_ EPISODIC_ WINDOW_ SECS - Lookup window (seconds) for non-episodic snapshot types (semantic, procedural, persona).
30 days is the default; operators can override via
[runtime_limits] snapshot_non_episodic_window_secs. - SNAPSHOT_
SCHEMA_ VERSION - Schema version for
AgentSnapshot::snapshot_version; server rejects unknown versions. - STRUCTURED_
KIND_ DETERMINISTIC_ PLAN - JSON discriminator for structured planner output (
InferOutput.structured). - STRUCTURED_
KIND_ PLANNER_ INVALID_ PLAN - Structured response when server-side plan validation fails after repair attempt.
Functions§
- apply_
graph_ writes - Map planner graph writes to concrete memory nodes for
GraphMemory::write_node. - build_
snapshot - Build a bounded
AgentSnapshotusing typed recall queries (not full export). - deterministic_
plan_ from_ procedure - Project a portable procedure into the deterministic planner protocol.
- procedure_
execution_ plan_ from_ artifact