This documentation set is now code-first and aligned to the current implementation.
If you are writing or reviewing methodology sections, start here:
socket-hub: Socket.IO ingress, room auth, realtime fanoutcontrol-plane-api: token-scoped room/action authorizationdispatcher: worker orchestration and delivery fallback logicworker: hybrid corrective RAG verification pipelinefrontend: realtime stage/result consumer
Primary storage and retrieval systems:
- Pinecone (vector retrieval)
- Neo4j (graph retrieval)
- SQLite FTS5 (lexical BM25 side-channel)
- Redis (room queue and credentials)
- Kafka (optional async transport)
The full implementation-level methodology is split for research-grade readability:
- 01-system-architecture.md
- 02-pipeline-stage-decomposition.md
- 03-retrieval-and-ingestion.md
- 04-ranking-trust-and-corrective-loop.md
- 05-verdict-synthesis.md
- 06-failure-modes-and-tradeoffs.md
- 07-system-dataflow-and-innovations.md
- Existing docs are treated as implementation references only when validated against source code.
- No runtime contracts are changed by this docs refresh.
Last verified against code: March 2, 2026