Why the wiki is a view, not a product
tl;dr — The wiki isn’t a separate product. It’s a view of the Context engine — one of several ways to see what Maina knows about your codebase.
The confusion
Section titled “The confusion”Early messaging positioned the wiki as a standalone feature: “codebase knowledge compiler.” Users thought Maina was two things — a verification tool AND a wiki tool. That’s wrong.
One engine, many views
Section titled “One engine, many views”The Context engine is the core. It has 4 layers:
- Working — current branch, staged files, recent changes
- Episodic — PR summaries with Ebbinghaus decay
- Semantic — tree-sitter AST, PageRank-scored dependency graph
- Retrieval — ripgrep code search with auto-generated queries
The wiki takes the knowledge graph built from these layers and renders it as persistent, human-readable markdown articles. It’s not a separate system — it’s a view.
Other views (coming)
Section titled “Other views (coming)”- Blast radius — “if this symbol changes, what else is affected?”
- Symbol graph — per-symbol documentation with callers/callees
Same engine. Same data. Different rendering.
Why this matters
Section titled “Why this matters”When you run maina wiki query "how does auth work?", you’re not querying a separate database. You’re asking the Context engine to synthesize an answer from the same knowledge graph that powers maina verify, maina review, and every AI call.
Decision record: ADR 0022 — Wiki is a view