Skip to main content

Module persistence

Module persistence 

Source

Modules§

a2ui_actions
Immutable host admission receipts. A missing execution is uncertain, never permission to execute the same logical interaction again.
accounting
Host-owned durable call settlement and aggregate budget contracts. Legacy append-only rows are history, never inferred opening balances.
agent_instances
Durable logical-agent state. Root runs and live actors are separate objects.
agent_threads
Shared validation for the three host-owned agent-thread stores. Storage revisions cover every status write; history revisions do not.
agui_runs
AG-UI wire-run correlation. Host runs and approval records remain authoritative.
approval_decisions
Owner-scoped approval history. Records describe decisions, never grant execution.
capabilities
Durable capability names and the typed refusal for a missing capability.
channel_observers
Separate channel-source profile. C07 logical-instance observers are unchanged.
checkpoint_resume
Protected checkpoint metadata and single-use continuation ownership. Persisted identity is evidence, never a credential or executable capability.
client_tools
Restart-durable caller-tool handoffs. Stored results confer no execution authority.
ingestion_records
Durable upload admission and fenced publication contracts owned by the host.
knowledge_namespace
Disjoint storage for verified principals and legacy anonymous knowledge.
mcp_elicitations
Durable MCP interaction history. These records confer no tool authority.
observers
Durable, metadata-only observers of committed logical-agent transitions.
presentations
Shared trusted-host validation for Presentation persistence implementations.
providers
run_history
Restart-durable public run history: run metadata plus the events already published to the bounded in-process history. The adopted restart-durability contract covers acknowledged pre-termination events, so every published event is written through, not only a terminal snapshot.
scoped
Lifecycle admission around a domain persistence capability.
tool_admission

Structs§

AttachmentMeta
Metadata for a file uploaded during a chat session. The actual bytes live on disk at file_path; served via GET /api/attachments/{id}.
CostEntry
One durable cost-budget spend event (CH-07). Mirrors cost_budget::BudgetScope/record()’s in-memory accounting, but as a persisted, append-only history entry rather than an aggregate.
PostgresProvider

Enums§

DurableStoreEligibility
Store eligibility captured by the trusted host when it constructs a provider.

Traits§

PersistenceLayer