Repository navigation
v0.1.10
·
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-runto validate a draft without writing to SQLite. - Added
mnemon import --no-difffor trusted imports where every draft item should be inserted as new memory.
Versioned draft schema
- Added the
schema_version: "1"memory draft schema underinternal/importdraft. - Draft files support top-level
source, aninsightsarray, and optional explicitedges. - Insight fields include
content,category,importance,tags,entities, per-insightsource, and RFC 3339created_atfor preserving historical timestamps. - Explicit edges use
source_index,target_index,edge_type,weight, and optionalreason, allowing LLM-generated imports to preserve strong relationships that heuristics may not infer.
Import documentation and LLM prompt
- Added
docs/IMPORT.mdwith 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.mdwith the new import command examples.
Correctness fixes in the import path
- Historical imports no longer corrupt temporal ordering when importing older
created_atmemories 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_importancebefore pruning. Import finalization inserts explicit edges, repairs temporal edges, refreshes touched insight scores, and only then runsAutoPrune.
Internal changes
- Added internal
graph.EngineOptionsandTemporalModeso import can skip real-time temporal edge generation without changingmnemon rememberbehavior. - 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 buildandmake test; local release prep also passedgo test ./...,go build -o mnemon ., andgit diff --check.
Also included since v0.1.9
- Fixed Claude setup to use a valid memory subagent type (#40).
Links
- Import PR: #41
- Related issue: #32
- Full changelog: v0.1.9...v0.1.10