Commit 645c1c

2026-03-13 18:36:36 Claude (MCP): [mcp] P1-8: clarify that cross-cutting criteria were validated manually during gate, not by automated test
Tasks/Phase_1.md ..
@@ 212,21 212,23 @@
**Parallel group:** Phase 1 (final — all other P1 tasks must complete)
**Dependencies:** P1-4, P1-5, P1-6, P1-7
**Target:** `wikibot-io` repo, `feat/P1-8-e2e`
- **Status: COMPLETE**
+ **Status: COMPLETE** (automated smoke test + manual gate validation)
**Description:**
End-to-end test covering the full single-user workflow: browser creates a page, API reads it, MCP reads it, semantic search finds it.
**Deliverables:**
- - `tests/e2e/test_phase1.py` — end-to-end test script
- - Results written to [[Dev/Phase_1_Gate_Results]]
+ - `tests/test_e2e.py` — automated smoke test (API CRUD, search, semantic search endpoint checks, MCP initialize)
+ - Manual gate validation documented in [[Dev/Phase_1_Gate_Results]]
+
+ **Note on test coverage:** The automated test (`tests/test_e2e.py`) is a per-subsystem smoke test, not a cross-cutting E2E. The cross-write-path criteria below were validated manually during the Phase 1 gate by human + agent testing, not by the automated test. MCP tests are `xfail` (bearer token not configured in test environment).
**Acceptance criteria:**
- - [x] Create page via Otterwiki web UI → readable via API and MCP
- - [x] Create page via API → visible in web UI and searchable
- - [x] Write via MCP → visible in web UI and API
- - [x] Semantic search finds pages by meaning, not just keywords
- - [x] Git history shows correct authorship for all write paths
+ - [x] Create page via Otterwiki web UI → readable via API and MCP — *validated manually during gate*
+ - [x] Create page via API → visible in web UI and searchable — *automated: API CRUD; manual: web UI visibility*
+ - [x] Write via MCP → visible in web UI and API — *validated manually during gate*
+ - [x] Semantic search finds pages by meaning, not just keywords — *automated: endpoint smoke; manual: relevance verified (distances 0.46–0.79)*
+ - [x] Git history shows correct authorship for all write paths — *validated by gate agent: "Claude (MCP)" confirmed*
### P1-9: Self Hosting
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