You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dashboard: remove the removed product's state model #26
The dashboard still carries the state model of the email/LangGraph runtime that was cut from this project. It is dead weight, and it makes the "Agentmetry-only scope" claim untrue for anyone who reads the code.
Evidence
apps/dashboard/lib/graph-utils.ts has 9 references to workflow node labels from the removed product:
apps/dashboard/lib/store.ts has 17 references to graphNodes, approvalDraft, approvalConfidence, memoryHeatmap, and a Skill type. None of it belongs to a flight recorder.
Task
Delete the dead state and its types. Work outward from lib/store.ts and lib/graph-utils.ts, removing anything no component reads.
Take it in small steps and let the compiler lead: npx tsc --noEmit will name every consumer. Some of it is still referenced by process-tree.tsx, which is used, so read before deleting rather than removing by name.
Acceptance criteria
No references to inbox_fetch, escalate_draft, load_client_sop, replan_fetch as workflow node labels
Skill, approvalDraft, approvalConfidence, memoryHeatmap gone from the store if nothing reads them
npx tsc --noEmit clean
npm run lint and npm run build clean
npm run test green (93 tests)
Why this is a good first issue
It is mechanical, the compiler tells you when you are wrong, and the test suite catches anything you break. It is also a genuinely useful way to learn the dashboard before touching something that matters.
Activity
refactor(dashboard): remove the removed email runtime's state model (#26