diff --git a/docs/plan.md b/docs/plan.md index 47f4ac0..9d856a7 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -43,6 +43,8 @@ Execution plan for `docs/vision.md`. Section references (§) point into that doc **Gate 3 (me, browser):** tree panel behaviors; new session on a previously-touched topic visibly personalizes probing (inspect the injected context); full regression sweep; final gates. +**GATE 3 RESULTS (2026-08-22, PASSED):** tree panel renders 4 nodes in topo order with "3/4" progress + current-node summary; collapse-to-rail persists via localStorage across reload and re-expands. Personalization verified live: a fresh "teach me the product rule" session opened with "Welcome back! I see we've done the chain rule together — composition as function machines, rates multiplying through gears, and the formula" — the teacher reading the injected graph — then probed at the foundation. Home graph + regression sweep clean. Follow-up observed: GLM teacher occasionally emits a quiz whose correctAnswer matches no option value (question-core logs + degrades gracefully) — schema/prompt hardening candidate. + ## Deferred (recorded, not in this plan) Dictation (§2), not-a-chat presentation overhaul + structural-identity items (§2, LOW PRIORITY), DB migration (JSON stores suffice now), retroactive bootstrap of the ~15 vault POC sessions (awaits the full extraction/consolidation pipeline), spaced repetition, practice exercises, Electron, Pyodide. diff --git a/docs/vision.md b/docs/vision.md index dc2e3cb..0a93ae1 100644 --- a/docs/vision.md +++ b/docs/vision.md @@ -172,8 +172,8 @@ The teacher's context window and attention are precious — it has the lesson to 1. **Plan-tree tools + session state** — structured tools, tree persisted in the chat store, `set_current` tracking. (Everything else depends on this.) **✅ Wave 1 (W1): 8 DAG-validated tools, prompt fragment, live-verified (plan_init + set_current in a real session).** 2. **Bare-bones global graph + home view** — live emission from tree tools into a graph store, naive-union merge, home page renders it with the chosen lightweight renderer. *This is the "see something appear even from a partial session" milestone.* **✅ Wave 2 (W4): JSONL ledgers, idempotent emission, sigma.js + forceAtlas2 home view, foldStaleChats catch-up. Live-verified.** 3. **Phase separation** — probe/teach marker, transcript divider, collapsed teach-phase checks. **✅ Wave 2 (W5): phaseAt from first plan_init, "Teaching · N nodes" divider, invitation bar + reveal. Live-verified.** -4. **Right-panel tree view** — persistent, current-position highlight. -5. **Background consolidation** — merge adjudication, calibration, prose-only edges. +4. **Right-panel tree view** — persistent, current-position highlight. **✅ Wave 3 (W7): topo order, done/current/next/upcoming, progress header, collapse-to-rail persisted. Live-verified.** +5. **Background consolidation** — merge adjudication, calibration, prose-only edges. **◐ Wave 3 (W8, lite): exact/alias-match merge + graph-as-context injection (whole graph while small, 150-node cap with hotspot+1-hop truncation). Live-verified personalization. Full embed+adjudication merge and calibration rubric remain deferred.** 6. **Demo capability** — the `demo` artifact contract (sandboxed iframe, error-fix loop) + the **demo-builder sub-agent** that tests code before delivery (§2.5). High value; slots in any time after step 1. **✅ Wave 2 (W6): demo + visual tools, verifying builders (headless Chrome), sandboxed demo card, SVG card. Live-verified (visual needs a vision-capable LH_VISUAL_MODEL).** 6b. **Researcher tool** — fact verification for the teacher (§2.5); cheap port of proven pi pieces. **✅ Wave 1 (W2): async job protocol, live activity card, sourced brief, teacher continuation. Live-verified.** 7. **Presentation fixes** — LaTeX delimiters, line breaks, mermaid integration. **✅ Wave 1 (W3): \(…\)/\[…\] contract ($ literal forever), remark-breaks, dark mermaid + styled streamdown chrome. Live-verified.**