Feature
A local, sovereign archive of AI-conversation exports and documents: import once, search forever — the user's interaction history as queryable plain data, never locked in a vendor.
Proposed shape
- Import tools (
archive_import {path}): accept export bundles (zip of JSON conversations, markdown folders); source-format detection; conversations normalized to markdown + YAML frontmatter on disk (the files are the record); dedup by conversation id.
- SQLite FTS5 index in the agent store: full-text search over titles/bodies with date and source filters; the index is derived and rebuildable (
archive_reindex) — files remain canonical.
- MCP tools:
archive_search {query, since, source}, archive_show {id}, archive_stats.
archive-activity step: imports/additions since the last run (generation-windowed) in the report.
- Sovereignty rule: plain-text files canonical, index disposable, full export trivial.
Development discipline
Rust-first, jujutsu-style (no panics in lib code, RFC-1574 doc comments, lower-level tests over e2e). Follow Foundation contributor rules + the rust-tdd skill: TDD, regression tests, 80% coverage floor, README per crate, exec/net leashed, generation counters not wall-clock, credentials as references only. Plugin model per #10.
Feature
A local, sovereign archive of AI-conversation exports and documents: import once, search forever — the user's interaction history as queryable plain data, never locked in a vendor.
Proposed shape
archive_import {path}): accept export bundles (zip of JSON conversations, markdown folders); source-format detection; conversations normalized to markdown + YAML frontmatter on disk (the files are the record); dedup by conversation id.archive_reindex) — files remain canonical.archive_search {query, since, source},archive_show {id},archive_stats.archive-activitystep: imports/additions since the last run (generation-windowed) in the report.Development discipline
Rust-first, jujutsu-style (no panics in lib code, RFC-1574 doc comments, lower-level tests over e2e). Follow Foundation contributor rules + the rust-tdd skill: TDD, regression tests, 80% coverage floor, README per crate, exec/net leashed, generation counters not wall-clock, credentials as references only. Plugin model per #10.