Commit 99de72

2026-03-13 16:26:03 Claude (Dev): [mcp] Update P1-9 with git push migration plan
tasks/phase 1.md ..
@@ 222,16 222,31 @@
### P1-9: Self Hosting
**Dependencies**: P1-8
+ **Target:** `wikibot-io` repo (config), dev wiki repo (content)
**Description:**
- Migrate the local development wiki from docker-compose to dev.wikibot.io.
+ Migrate the local development wiki from docker-compose to dev.wikibot.io. Use Otterwiki's built-in Git HTTP server (`GIT_WEB_SERVER=True`) to `git push` the dev wiki repo directly, preserving full git history.
+
+ Platform config already set: `RETAIN_PAGE_NAME_CASE=True`, `TREAT_UNDERSCORE_AS_SPACE_FOR_TITLES=True`, `GIT_WEB_SERVER=True`.
+
+ **Steps:**
+ 1. `pulumi up` to deploy latest config (GIT_WEB_SERVER, page name settings)
+ 2. Purge test content from dev.wikibot.io EFS repo (reset to empty git repo)
+ 3. Add dev.wikibot.io as a git remote on the local dev wiki repo
+ 4. `git push` dev wiki content to `https://dev.wikibot.io/.git`
+ 5. Trigger `/api/v1/reindex` to rebuild FAISS semantic search index
+ 6. Update Claude Code MCP config to point at `https://dev.wikibot.io/mcp`
+ 7. Spot check — human via browser, agent via remote MCP
+ 8. Shut down local docker-compose dev wiki
**Deliverables:**
- - Test content on dev.wikibot.io has been purged
- - `dev.wikibot.io` hosts a complete copy of the local dev wiki
- - Local dev wiki is shut down
+ - dev.wikibot.io hosts the complete dev wiki with full git history
+ - Claude Code MCP config updated to use remote server
+ - Local docker-compose dev wiki shut down
**Acceptance Criteria:**
- - [ ] User spot checks `https://dev.wikibot.io/` to confirm that all looks good
- - [ ] Agent spot checks via MCP to confirm that remote content matches local content
- - [ ] Agent is able to use remote MCP to continue planning Phase 2
+ - [ ] `git push` succeeds with full history preserved
+ - [ ] User spot checks `https://dev.wikibot.io/` to confirm content looks correct
+ - [ ] Agent spot checks via remote MCP to confirm content matches local
+ - [ ] Semantic search returns results on remote instance
+ - [ ] Agent can read/write wiki pages via remote MCP to continue Phase 2 work
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