feat: Phase 0 workspace, spikes, and golden harness

Stand up the monorepo skeleton and land the first Phase 0 artifacts:
pairing threat model, plugin catalog, builder detect, 20-prompt golden
harness, and synthetic 2GB mirror timing.
This commit is contained in:
SinachPat
2026-08-15 09:44:43 +01:00
parent 0dae13cfd3
commit 6e59a8a36b
59 changed files with 3440 additions and 109 deletions
+20
View File
@@ -0,0 +1,20 @@
# Golden-task harness
Phase 0. Two canned sites, 20 prompts, builder detect, subset + media proxy.
```
e2e/golden/
prompts.json
sites/gutenberg-business/site.json
sites/elementor-restaurant/site.json
src/ # detect, apply, score, subset, proxy, runners
__tests__/
runs/latest.json
runs/mirror-timing.json
```
```bash
pnpm test:e2e
pnpm --filter @wursor/e2e golden # 20/20 fixture traces; live Grok if XAI_API_KEY
pnpm --filter @wursor/e2e mirror:time # ≥2GB synthetic + p50/p95
```