Add Conductor — single-page index of every Claude Code session
Lives at /conductor on the existing dashboard. One row per session: project, status, goal (first user prompt verbatim, with on-demand Haiku 4.5 summarize), file/commit/push counts, resolved PR URLs (via gh CLI), and a click-through
Lives at /conductor on the existing dashboard. One row per session: project, status, goal (first user prompt verbatim, with on-demand Haiku 4.5 summarize), file/commit/push counts, resolved PR URLs (via gh CLI), and a click-through detail drawer with full event timeline + token usage.
- Hook captures first user prompt opportunistically into session_goals
(idempotent INSERT OR IGNORE) and runs gh pr list --head <branch> after each git push to populate session_prs.
- New Supabase tables migration in migrations/2026-04-27-conductor-tables.sql
(apply manually). API routes degrade gracefully if tables are missing.
- /conductor route + /api/conductor/* gated by existing claudeops-auth cookie
via proxy.ts matcher.
- Summarize endpoint uses raw fetch() against /v1/messages with cache_control
on the system prompt; reads from session_goals + recent event types.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>