Skip to content

refactor(dashboard): remove the removed email runtime's state model - #477

Merged
blitzcrieg1 merged 1 commit into
blitzcrieg1:masterfrom
surendraSinghKamboj:fix/dashboard-remove-dead-state
Nov 25, 2026
Merged

blitzcrieg1 merged 1 commit into
blitzcrieg1:masterfrom
surendraSinghKamboj:fix/dashboard-remove-dead-state

Conversation

@surendraSinghKamboj

Copy link
Copy Markdown
Contributor

Closes #26.

What changed

  • lib/store.ts: removed Skill, skills, activeSkill, approvalDraft, approvalConfidence, memoryHeatmap and their setters. setApproval now takes only the approval kind and pending tool.
  • lib/graph-utils.ts: removed the inbox_fetch, load_client_sop, escalate_draft and replan_fetch labels and icons, the scan special case in resolveNodeUpdates, and the unused defaultInputForSkill and VISUAL_PIPELINES.
  • lib/use-websocket.ts: dropped the calls to the removed setters.
  • CHANGELOG entry under Unreleased.

I grepped every consumer before deleting. use-websocket.ts was the only writer and no component read any of these fields, including process-tree.tsx. The generic node machinery (graphNodes, updateNode, buildGraphNodes) is left alone because the websocket path still feeds it.

Checks

  • npx tsc --noEmit clean
  • npm run lint: 0 errors (the 17 existing warnings are unchanged)
  • npm run test: 225 passed
  • npm run build clean
  • no remaining references to inbox_fetch, escalate_draft, load_client_sop, replan_fetch, approvalDraft, approvalConfidence, memoryHeatmap

…litzcrieg1#26)

The store still held skills, activeSkill, approvalDraft, approvalConfidence
and memoryHeatmap, and graph-utils still labelled inbox_fetch, load_client_sop,
escalate_draft and replan_fetch. No component read any of it; use-websocket
was the only writer. setApproval now takes only the approval kind and pending
tool, which are what the tool gate uses.
@blitzcrieg1
blitzcrieg1 merged commit 7034d49 into blitzcrieg1:master Nov 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard: remove the removed product's state model

2 participants