Skip to content

MotifAI v7.2.0 — Evidence-Ranked Engram Planner

Latest

Choose a tag to compare

@ShamelesAbyss ShamelesAbyss released this 25 Oct 11:10
· 3 commits to main since this release

Highlights

Evidence-ranked Engram Planner

  • Adds src/engram_planner.rs as a pure request-time planner, keeping durable experiments and feedback in SonicIntelligence and leaving the memory JSON schema unchanged.
  • Applies an evidence gate: preference notes need provenance, non-heuristic findings, and at least two decisive explicit user signals; technical notes need repeated non-heuristic AST diagnostic failures. Heuristics, descriptive counts, weak or mixed evidence, and unsupported provenance stay out of prompts.
  • Ranks eligible notes by task relevance, confidence, epistemic status, evidence strength and consistency, and recency with a 180-day half-life. Retrieval searches the user's vision and style without indexing the full existing score.
  • Caps memory at eight notes, four per category, 240 characters per note, and a context-aware 192–512 token budget.
  • Keeps Ollama compatibility across model families by using MotifAI's shared character-based estimate instead of applying a DeepSeek tokenizer to unrelated models. Logs Ollama's actual-to-estimated prompt-token ratio when usage is reported.
  • Frames retrieved notes as untrusted evidence. Planner diagnostics include IDs, counts, relevance hits, and scores without writing memory statements to logs. The existing Ctrl+A toggle still controls injection.

Version and documentation

  • Bumps Cargo.toml, Cargo.lock, and APP_VERSION to 7.2.0.
  • Updates the README with the Engram Planner architecture, evidence policy, ranking, budgeting, telemetry, and limitations.

Verification

  • cargo test: 123 passed.
  • cargo check --locked: passed.
  • rustfmt --check src/engram_planner.rs: passed.