Skip to content

📖 Technical documentation overhaul #235

Closed

Description

@hurttlocker

Problem

The code is at v0.9.0. The docs are at v0.3.5.

The deep dive document (docs/CORTEX_DEEP_DIVE.md) still says the latest stable release is v0.3.5. The architecture doc (docs/ARCHITECTURE.md) doesn't mention the llm/, connect/, or graph/ packages. The directory structure diagram is wrong. The stats are stale. The roadmap section describes features that shipped months ago as "future."

A v1.0 release with v0.3.5 docs is not a v1.0 release.

Documents To Update

1. Deep Dive Rewrite (docs/CORTEX_DEEP_DIVE.md)

This is the flagship technical document. Complete rewrite to reflect:

  • v0.9.0 as current release (not v0.3.5)
  • 61K+ lines, 796 tests, 15 packages (not 43K/743/13)
  • Full feature inventory: connectors, graph, LLM augmentation, MCP
  • Current architecture diagram
  • Production stats from real deployment (3 machines, 4.8K total facts)
  • Honest "what works, what's beta" assessment

2. Architecture Doc (docs/ARCHITECTURE.md)

Update directory structure to include:

  • internal/llm/ — LLM provider abstraction
  • internal/connect/ — Connector providers (8 providers)
  • internal/graph/ — Knowledge graph + clustering
  • internal/ann/ — HNSW approximate nearest neighbor
  • internal/mcp/ — MCP server (19 tools, 4 resources)
  • Update the pipeline diagram: Import → Extract → Enrich → Classify → Store → Search
  • Document the LLM integration points

3. Getting Started Guide (NEW — docs/getting-started.md)

Zero to searching in 5 minutes:

  1. Install (one command)
  2. Import your notes (cortex import ~/notes --recursive --extract)
  3. Search (cortex search "what did I decide about...")
  4. Connect to your agent (claude mcp add cortex -- cortex mcp)
  5. Optional: connect sources (cortex connect add github ...)

Keep it short. One page. No theory. Just do-this-get-that.

4. Connector Setup Guide (docs/connectors.md)

Already exists but needs:

5. Migration Guide (docs/migration.md)

  • Upgrading from any version to v1.0
  • When to reimport vs. when to just upgrade the binary
  • Data format changes between versions
  • Recommended: clean reimport with v1.0 for best fact quality

6. Archive Stale Docs

Move to docs/archive/:

  • docs/retrieval-tuning-phase*.md (6 files) — historical, replaced by benchmark suite
  • docs/sprint-*.md — historical sprint notes
  • docs/reprocess-*.md — one-time run results
  • docs/reason-quality-*.md — historical benchmark results

Acceptance Criteria

  • Deep dive fully rewritten for v0.9.0+ state
  • Architecture doc reflects current package structure
  • Getting started guide: tested by someone who's never used Cortex
  • Connector docs updated with real-world notes
  • Migration guide covers v0.1.x → v1.0 path
  • Stale docs archived (not deleted — history matters)
  • No document references a version older than v0.5.0 without context

Activity

  1. added
    documentation
    v1.0
    dx
    on Feb 25, 2026
  2. hurttlocker commented on Feb 26, 2026

    @hurttlocker
    OwnerAuthor

    Documentation overhaul complete (commit fe12c05).

    What shipped:

    Rewritten

    • CORTEX_DEEP_DIVE.md — Full rewrite from v0.3.5 → v0.9.0. Real deployment stats (3 machines), complete feature inventory (LLM augmentation, 8 connectors, graph explorer, 17-tool MCP server, multi-agent), honest assessment of what works vs what's beta.
    • ARCHITECTURE.md — All 12 internal packages documented with line counts. Updated pipeline: Import → Extract → Enrich → Classify → Store → Search. Data flow diagrams for import, search, and connector paths.
    • connectors.md — Added Discord, Telegram, Notion provider docs (was 5, now all 8). Added auto-scheduling section.

    New

    • getting-started.md — Zero to searching in 5 minutes. Install → import → search → connect to agent. Optional sections for graph, multi-agent, LLM enrichment.
    • migration.md — Version-specific upgrade notes from v0.1.x through v0.9.0+. Clean reimport guidance. Backup/restore procedures.

    Housekeeping

    • Archived 12 stale docs to docs/archive/ (retrieval-tuning phases, sprint notes, reprocess results, reason-quality evals)
    • Updated README.md: fixed test count (270→1,081), connector count (5→8), MCP tool count (19→17), added new docs to documentation table

    Acceptance criteria:

    • Deep dive fully rewritten for v0.9.0+ state
    • Architecture doc reflects current package structure
    • Getting started guide: clean 5-minute path
    • Connector docs updated with all 8 providers
    • Migration guide covers v0.1.x → v1.0 path
    • Stale docs archived (not deleted)
    • No document references a version older than v0.5.0 without context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationdxv1.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions