reportportal-realtime-roadmap · v11099:cowork-fable2026-08-01served from databaseAll documents

Projects Portal — Real-Time Review & Roadmap (2026-08-01)

Projects Portal — Real-Time Review & Roadmap

Full document: PORTAL-REALTIME-REVIEW-2026-08-01.md at jbnx/jbnx.io repo root. This is the working summary.

Findings (verified 2026-08-01)

  1. portfolio.activity had ZERO writes since 07-28 — no producer. FIXED (Phase 0): triggers on claims/handovers/usage_events/deploy_checks/ceo_actions now emit activity; usage cost_usd auto-fills from model_prices; claims.project_id canonicalized (+163 backfilled).
  2. No push anywhere — realtime publication was empty; SPA polls at 60s. FIXED (Phase 1 DB): log_activity NOTIFYs portal_events. PENDING (PR): server GET /api/events (SSE) + SPA EventSource nudging refreshNow().
  3. Rewrite battles are a FILE problem: 333KB single index.html + hand-dropped public/framework/*.html snapshots. FIXED (Phase 3): portfolio.documents (append-only versioned) + POST /api/1099/document + /framework/<slug> served from DB with disk archive fallback. PENDING (same PR).

Remaining phases

Rules honored

Claims untouched. All work claim->boot->work->verify->usage+status->release. DB-first standing rule in boot facts (global + per-slug) since 2026-08-01.