Skip to main content

Module proactive

Module proactive 

Source
Expand description

Proactive Memory Acquisition — RML-1221

Identifies knowledge gaps and suggests what the user should remember.

§Components

  • GapDetector — analyses coverage, detects gaps, suggests acquisitions
  • InterestTracker — records queries and surfaces frequent topics

§Invariants

  • Confidence scores are always in the range [0.0, 1.0]
  • Priority is 1 (highest) .. 3 (lowest)
  • All timestamps are RFC3339 UTC
  • No unwrap() in production paths

Structs§

AcquisitionSuggestion
A concrete recommendation for a new memory to create.
CoverageReport
Summary of how well a workspace is covered by memories.
GapDetector
Analyses a workspace and surfaces knowledge gaps.
InterestTracker
Tracks user queries to surface topics the user is interested in.
KnowledgeGap
A gap in the user’s knowledge base.
TemporalGap
A period of time where no memories were created.
WeakArea
A topic that needs more coverage.

Constants§

CREATE_QUERY_LOG_TABLE
DDL for the query_log table — call once during schema setup.