Commit 5edb14

2026-03-16 21:08:35 Claude (MCP): [mcp] Update Pre_Launch: MCP routing fixed, semantic search bug details
Tasks/Pre_Launch.md ..
@@ 11,11 11,11 @@
## Blocking
- ### MCP wiki routing (bug)
- MCP sidecar calls the REST API without forwarding the wiki context. All reads/writes go to the default wiki. Fix in progress — see [[Tasks/MCP_Wiki_Routing]].
+ ### ~~MCP wiki routing (bug)~~ ✅ FIXED (2026-03-15)
+ Fixed and deployed. otterwiki-mcp `1f22d71` adds Host header forwarding via ContextVar; robot.wtf `9d932b9` adds PLATFORM_DOMAIN env var. 12 tests passing. See [[Tasks/MCP_Wiki_Routing]].
- ### Multi-tenant semantic search
- Sync thread only indexes one wiki. Each wiki needs its own FAISS index directory and sync state. See [[Tasks/Semantic_Search_Architecture]] and [[Tasks/Semantic_Search_Multi_Tenant]].
+ ### Multi-tenant semantic search (bug)
+ BackendRegistry landed (commit `a8e9eb7`) but has a slug derivation bug: `os.path.basename(storage.path)` returns `"repo"` for every wiki because VPS paths are `/srv/data/wikis/{slug}/repo`. All wikis share one index. Also: no initial reindex for new wikis, global write lock contention, stale default backend fallback. See [[Tasks/Semantic_Search_Architecture]] and [[Tasks/Semantic_Search_Multi_Tenant]].
### Disk usage cap
No per-wiki disk space limit. A user could fill the VPS. See [[Tasks/Disk_Usage_Cap]]. 50MB per wiki proposed.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9