Cockpit
Cockpit is the portfolio operating view in web/cockpit.html.
It is designed for leads who need to scan active projects, delivery risk, promise load, and recent effort.
What It Shows
- Project portfolio status.
- Promises and open delivery obligations.
- Toggl hour telemetry where available:
hours_loggedhours_30dhours_synced_at
- Signals that can later feed scope and outcome-pricing workflows.
Data Source
Cockpit reads /api/spine, which returns a shaped payload from Supabase when configured. In demo mode, it can fall back to bundled JSON.
Scoping
Admin/lead users can view the full book and may use the "Viewing as" selector for oversight. Non-leads are scoped to their own project memberships.
Operator Notes
If Cockpit does not show hours:
- Confirm migration
0007_toggl_hours.sqlis applied. - Confirm
toggl-synchas run with{ "hours": true }. - Confirm projects were matched by
projects.toggl_project_id, job code, or normalized name.