Skip to content

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 27 May 15:05
· 1308 commits to master since this release

v0.1.10 adds the first supported workflow for importing historical chat exports into Mnemon memory, plus a small Claude setup fix included since v0.1.9.

Note: harness modules, harness documentation, and harness evaluation assets in this repository remain experimental and are not part of this release's public stability guarantee.

Highlights

Historical memory import

  • Added mnemon import <file> for bulk-importing memory draft JSON files into the active or selected store.
  • Imported insights go through Mnemon's normal write behavior: duplicate/conflict detection, embedding generation when Ollama is available, entity/causal/semantic graph construction, lifecycle scoring, and automatic capacity pruning.
  • Added mnemon import --dry-run to validate a draft without writing to SQLite.
  • Added mnemon import --no-diff for trusted imports where every draft item should be inserted as new memory.

Versioned draft schema

  • Added the schema_version: "1" memory draft schema under internal/importdraft.
  • Draft files support top-level source, an insights array, and optional explicit edges.
  • Insight fields include content, category, importance, tags, entities, per-insight source, and RFC 3339 created_at for preserving historical timestamps.
  • Explicit edges use source_index, target_index, edge_type, weight, and optional reason, allowing LLM-generated imports to preserve strong relationships that heuristics may not infer.

Import documentation and LLM prompt

  • Added docs/IMPORT.md with the full draft schema reference, field constraints, category guidance, importance guidance, edge-type guidance, examples, and operational notes.
  • Included a copy-paste LLM extraction prompt for converting chat exports or notes into memory_draft.json.
  • Updated docs/USAGE.md with the new import command examples.

Correctness fixes in the import path

  • Historical imports no longer corrupt temporal ordering when importing older created_at memories into a store that already contains newer memories.
  • The import path disables real-time temporal edge generation during writes, then repairs affected source timelines after all backdated insights are inserted so the imported memories are placed into the global chronological chain.
  • Explicit draft edges now affect effective_importance before pruning. Import finalization inserts explicit edges, repairs temporal edges, refreshes touched insight scores, and only then runs AutoPrune.

Internal changes

  • Added internal graph.EngineOptions and TemporalMode so import can skip real-time temporal edge generation without changing mnemon remember behavior.
  • Added store helpers for source-ordered active insight scans and typed single-edge deletion, used by temporal repair.

Validation

  • Added unit tests for draft validation, including required content, category and importance constraints, RFC 3339 timestamps, edge index bounds, and source fallback behavior.
  • Added command integration tests for backdated temporal repair and effective-importance refresh after explicit draft edges.
  • Release workflow passed make build and make test; local release prep also passed go test ./..., go build -o mnemon ., and git diff --check.

Also included since v0.1.9

  • Fixed Claude setup to use a valid memory subagent type (#40).

Links