031-conversation-and-archive-imports

Bringing a history in: chat exports, note vaults, and read-later archives

Lifecycle approvedImplementation pendingVerification unknownQualification unknown

A memory system is worth little on day one and a great deal once it knows what you already said. This spec brings a user's existing history in: chat exports from the major assistants, a note vault on disk, a read-later archive, and mail, each as an adapter over the framework. A conversation is stored as one memory per message, linked by a shared conversation id and a turn number in provenance, so each turn keeps its own author and trust class and can be redacted or forgotten alone. The interesting work is not fetching, it is extracting from those turns the memories worth keeping, and doing it without sending the archive anywhere.

Read the full pinned specification ↗

Relationships

Claimed units

  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/sources/mod.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/sources/chat_export.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/sources/vault.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/sources/readlater.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/sources/mail.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/src/upload.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/tests/sources.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/aicortex-ingest/testdata/exports/"
    }
  • extends
    {
      "nature": "additive",
      "spec": "030-source-adapter-framework",
      "unit": {
        "kind": "file",
        "path": "crates/aicortex-ingest/src/registry.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "011-memory-model",
      "unit": {
        "kind": "file",
        "path": "crates/aicortex-types/src/provenance.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "012-store-schema-and-repositories",
      "unit": {
        "kind": "file",
        "path": "crates/aicortex-store/src/migrations.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "012-store-schema-and-repositories",
      "unit": {
        "kind": "file",
        "path": "crates/aicortex-store/src/provenance_repo.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "020-http-api-and-scopes",
      "unit": {
        "kind": "file",
        "path": "crates/aicortex-api/src/router.rs"
      }
    }

Source headings

  1. 031: Imports
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. Conversations as messages (amended 2026-10-30, D-2)
  6. 4. Functional requirements
  7. 5. Acceptance criteria
  8. 6. Out of scope
  9. 7. Resolved decisions
  10. Verification

Frozen anchors

No frozen anchors declared.