Documentation

Architecture Spec

Implementation split across specialized branches, plus the locked Knowledge Grid principles: OKF as contract, GraphRAG retrieval, fail-closed governance, and MCP exposure.

v2.0GraphRAGGovernance

As built (2026-11-20)

  • Solo: Python 3.12 CLI/MCP, Next.js setup dashboard, .lore/ Markdown OKF, optional Graphify map
  • Enterprise: Django 4.2 + Next.js 16, Qdrant hybrid RRF, bounded GraphRAG, Celery/Redis, MinIO, 9-layer engine, dual-stream OCR
  • Team: deferred slice — showcased on Congress Event Day

Locked principles

  • OKF is the curated source-of-truth contract — portable, not the only store
  • GraphRAG path: keyword + vector seeds → graph expand → temporal/authority filter
  • Deterministic stages handle dates, scopes, allow/deny, duplicates, and token budgets
  • Governance never writes prose; unresolved ties escalate to humans

Full spec: docs/LORE_ARCHITECTURE.md