wave 1 (platform stream): background-observability accuracy + owner-driven follow-ups

- observability: liveness-gated stale-job recovery, extraction run registry on globalThis with
  explicit 'embedding' phase, /api/jobs force-dynamic, client refresh nudges at every seam
- headless: providerSafePng canonicalizer (multi-IDAT Chrome PNGs → single-IDAT) fixing qwen 400s
- composer: Enter routes through pure enterAction — accepts a pending plan verdict (owner decision)
- markdown chrome: session-scoped mermaid overlay + md-blocks component set + pan-zoom math,
  corner-copy (clipboard grant in electron main), math/table/code block fixes, heading weight 900

543/543 tests; typecheck/lint/build clean
This commit is contained in:
amosblomqvist
2026-09-19 13:16:34 +03:00
parent cbecb8df03
commit 487f5d4cea
27 changed files with 1754 additions and 111 deletions
+6 -3
View File
@@ -106,9 +106,12 @@ presents the plan → **accept** → **teach (teacher)**
Accept plan / red Decline) while the verdict pends; accept sends a user
message carrying a `data-plan-accepted` data part — THE plan→teach seam
(`phaseAt3` reads it; `convertToModelMessages` drops data parts, so the
teacher sees only the text). Decline asks for a revision; side questions
stay possible (Enter sends a plain message, phase unmoved). Mid-lesson
rewrites need no fresh verdict: acceptance happens once.
teacher sees only the text). Decline asks for a revision. While the
verdict pends, Enter ACCEPTS the plan — typed text rides the acceptance
as its note, an empty box accepts too (user-decided 2026-09-19; formerly
Enter sent a plain message, which left the verdict still pending on the
next message — a side question now rides the acceptance note instead).
Mid-lesson rewrites need no fresh verdict: acceptance happens once.
- The session picker phase derives from transcript markers the same way.
## 5. No global-graph context in sessions (for now)