Skip to content

modulex-plugin-archive: sovereign conversation & document archive with full-text search #28

Description

@hartsock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginNew plugin / step-type family

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions