beadboard/src/components
zenchantlive 93b3c33976 feat(core): add SmartDag and supporting infrastructure for assign mode
## Context
This commit adds the supporting infrastructure that makes the assign
feature work end-to-end.

## Components Added/Modified

### SmartDag
- Main view component for graph-based task management
- Integrates TaskCardGrid and WorkflowGraph
- Has 'Assign' mode toggle button
- Passes archetypes and assignMode to WorkflowGraph
- Manages filter state (hideClosed, sortReadyFirst, etc.)

### useGraphAnalysis Hook
- Extracted graph analysis logic for reuse
- Returns: actionableNodeIds, cycleNodeIdSet, blockerTooltipMap, etc.
- Used by both SmartDag and AssignmentPanel
- Ensures consistent 'actionable' definition across components

### UnifiedShell
- Added assignMode state
- Added selectedAssignIssue state
- Renders AssignmentPanel when in graph view + assign mode
- Wires up onAssignModeChange and onSelectedIssueChange callbacks

## Design Philosophy
- Shared hook means single source of truth for 'actionable'
- Clean separation between view (SmartDag) and sidebar (AssignmentPanel)
- URL state preserved for navigation

## Test Coverage
- SmartDag tests: 12 tests covering buttons, callbacks, imports
- useGraphAnalysis tests: 6 tests covering cycle detection, blockers
- UnifiedShell tests: 9 tests covering state and rendering
2026-02-24 16:16:10 -08:00
..
activity chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
graph feat(core): add SmartDag and supporting infrastructure for assign mode 2026-02-24 16:16:10 -08:00
kanban docs(beads): etch project history into memory bank and finalize skill-bb 2026-02-14 00:21:25 -08:00
mission chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
sessions chore: add utility scripts and additional test coverage 2026-02-15 21:19:31 -08:00
shared feat(core): add SmartDag and supporting infrastructure for assign mode 2026-02-24 16:16:10 -08:00
social feat(swarm): implement Swarm View remake with Operations, Archetypes, and Templates 2026-02-20 22:19:38 -08:00
swarm chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
timeline feat(observability): chronological timeline and agent productivity APIs 2026-02-14 00:21:02 -08:00