Skip to main content

Crate tsift_memory

Crate tsift_memory 

Source

Structs§

BudgetedMemoryEvent
ClaudeMemImportPlan
ClaudeMemImportReconciliation
ClaudeMemImportReport
ClaudeMemReadReport
ClaudeMemTablePlan
ClaudeMemTableReconciliation
DeferredMemoryEvent
MemoryBudget
MemoryBudgetGuardInput
MemoryBudgetGuardReport
MemoryBudgetReplacement
MemoryDecayConfig
Decay-weighted memory retrieval configuration (#memgraphrag1).
MemoryEvent
MemoryHandoffPlan
MemoryHookSpec
MemoryInsertResult
MemoryQueryPlan
MemoryRetryChunk
MemoryStore
ScoredMemoryEvent
A memory event scored by rank_memory_events, with its component scores exposed for explainability.

Enums§

AuthoredNodeKind
Authored finding-graph node kinds (#trt1): human/agent-authored knowledge anchored to code, distinct from passively-captured MemoryEvents.
MemoryEventKind

Constants§

DEFAULT_MAX_EVENT_TOKENS
DEFAULT_MAX_PROMPT_TOKENS
DEFAULT_RESERVE_TOKENS
MEMORY_BUDGET_GUARD_CONTRACT_VERSION
MEMORY_CONTRACT_VERSION
MEMORY_SCHEMA_VERSION

Functions§

agent_doc_closeout_events
agent_doc_hook_contract
authored_node_projection
Build a GraphProjection for an authored finding/decision/note node (#trt1), anchored to a stable symbol handle (graph node id / tagpath — NOT a line number) via an annotates edge. confidence is clamped to 0..=1; observed_at_unix is the freshness stamp. The node id is content-stable, so re-authoring the same text on the same anchor dedupes instead of duplicating.
default_claude_mem_db_path
default_memory_db_path
estimate_tokens
guard_memory_handoff
import_claude_mem
inspect_claude_mem
memory_graph_node_kinds
memory_schema_sql
plan_capture_handoff
plan_memory_query
project_memory_events
rank_memory_events
Rank memory events for a query, blending lexical relevance with exponential recency decay (#memgraphrag1). Returns at most limit events, highest score first; ties break toward the more recent event.
read_claude_mem_events
read_memory_events