gsxdsm
cb57093d03
refactor: domain folder layout (types, API, core, engine) ( #2398 )
...
## Summary
Wave 17 organizes Fusion into **domain folders** (stacks on #2397 ).
### Layout
- **core/types/** — board, task, agents, settings, merge, workflow,
mesh, …
- **core/src/** — agents, ai, async-stores, workflows, tasks, config,
db, …
- **dashboard/app/api/** — client, tasks, agents, git, missions,
planning, …
- **engine/src/** — agents, auth, execution, merge, missions, overseer,
worktree, …
Root keepers retained for large entrypoints (`store.ts`, `executor.ts`,
`merger.ts`, …).
Public barrels (`@fusion/core`, `@fusion/engine`, `app/api.ts` → legacy)
stay stable.
## Test plan
- [x] `@fusion/core` typecheck
- [x] `@fusion/engine` typecheck (pre-existing playwright-core noise
only)
- [ ] CI merge gate
**Stack:** #2394 → #2397 → **this PR**
2026-08-03 00:20:53 -07:00
gsxdsm
b3b01bc25d
FN-7357: add all workflows to top-level selectors
...
Extend the dashboard aggregate workflow view across top-level workflow selectors without leaking its sentinel into task creation.
- Add All workflows as an aggregate option for List, Header, Planning/Missions, and Graph selectors.\n- Preserve real workflow handoffs for quick create, planning, missions, and workflow editor entry points.\n- Include aggregate workflow counts and cross-surface regression coverage, plus docs and a changeset.\n\nFiles changed:\n .changeset/fn-7357-all-workflows-selectors.md | 7 +++\n docs/dashboard-guide.md | 9 ++--\n .../workflow-selection-cross-surface.test.tsx | 20 ++++---\n .../app/components/GraphWorkflowSwitcherSlot.tsx | 12 +++--\n .../app/components/HeaderWorkflowSwitcherSlot.tsx | 10 ++--\n packages/dashboard/app/components/ListView.tsx | 63 +++++++++++++++++-----\n .../components/PlanningWorkflowSwitcherSlot.tsx | 5 +-\n .../__tests__/GraphWorkflowSwitcherSlot.test.tsx | 34 ++++++++++++\n .../__tests__/HeaderWorkflowSwitcherSlot.test.tsx | 27 ++++++++++\n .../app/components/__tests__/ListView.test.tsx | 41 +++++++++++++-\n .../app/components/dashboard/MainContent.tsx | 17 ++++--\n .../app/components/workflowStatusCounts.ts | 5 ++\n packages/dashboard/app/hooks/useBoardWorkflows.ts | 20 +++++--\n .../dashboard/app/utils/boardWorkflowSelection.ts | 5 +-\n 14 files changed, 233 insertions(+), 42 deletions(-)
Fusion-Task-Id: FN-7357
Fusion-Task-Lineage: b8658cad-7b12-4a06-b627-e2bde7de6951
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-01 07:33:56 -07:00
gsxdsm
797b30ce5d
FN-7242: add all-workflows board view and workflow badges
...
Adds an aggregate workflow board mode with workflow-name context on mixed-workflow task surfaces.
- Add a dashboard-only All workflows switcher option that unions visible workflow columns without persisting the sentinel as a real workflow selection.
- Thread workflow metadata into board cards, worktree groups, and task detail headers so mixed workflow views show the task workflow name.
- Update workflow status counts, quick-create targeting, docs, changesets, and regression coverage for aggregate board and badge behavior.
Files changed:
.changeset/fn-7242-all-workflows-board.md | 7 +
.changeset/fn-7242-task-detail-workflow-badge.md | 7 +
.changeset/fn-7242-workflow-badges.md | 7 +
docs/dashboard-guide.md | 8 +-
.../workflow-selection-cross-surface.test.tsx | 6 +-
packages/dashboard/app/components/Board.tsx | 295 +++++++++++++++++++--
packages/dashboard/app/components/Column.tsx | 6 +-
packages/dashboard/app/components/TaskCard.css | 16 +-
packages/dashboard/app/components/TaskCard.tsx | 23 +-
.../dashboard/app/components/TaskDetailModal.css | 14 +-
.../dashboard/app/components/TaskDetailModal.tsx | 43 ++-
.../dashboard/app/components/WorkflowSwitcher.tsx | 38 ++-
.../dashboard/app/components/WorktreeGroup.tsx | 5 +
.../app/components/__tests__/Board.test.tsx | 192 +++++++++++++-
.../__tests__/TaskCard.badge-wrap.test.tsx | 2 +
.../app/components/__tests__/TaskCard.test.tsx | 38 +++
.../__tests__/TaskDetailModal.rendering.test.tsx | 161 ++++++++++-
.../components/__tests__/WorkflowSwitcher.test.tsx | 50 ++++
.../__tests__/workflowStatusCounts.test.ts | 26 +-
.../app/components/workflowStatusCounts.ts | 16 +-
20 files changed, 887 insertions(+), 73 deletions(-)
Fusion-Task-Id: FN-7242
Fusion-Task-Lineage: 7ff9d35a-83ef-406c-88f4-a8846edad381
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 18:54:28 -07:00
gsxdsm
465b7b6263
FN-6842: fix trait-less workflow status counts
...
Restore workflow switcher counts for built-in linear workflows with empty column traits.
- Add canonical lifecycle id fallback after flag-based status classification.
- Cover trait-less built-in workflows and flag-authority edge cases in status-count tests.
- Document the built-in fallback behavior for Board and List workflow switchers.
Files changed:
docs/dashboard-guide.md | 2 +-
.../__tests__/workflowStatusCounts.test.ts | 207 +++++++++++++++++++--
.../app/components/workflowStatusCounts.ts | 64 +++++--
3 files changed, 246 insertions(+), 27 deletions(-)
Fusion-Task-Id: FN-6842
Fusion-Task-Lineage: f51eb675-74e7-440f-970f-3eb29de0b3ea
2026-06-21 13:25:40 -07:00
gsxdsm
7eceec00cc
FN-6763: add themed workflow status switcher
...
Add a reusable dashboard workflow picker that shows inline task status counts across board and list views.
- Replace native workflow selects with a themed accessible dropdown component.
- Share workflow status count calculation between board and list views.
- Add styling, i18n labels, tests, and dashboard docs for the switcher behavior.
Files changed:
docs/dashboard-guide.md | 3 +-
packages/dashboard/app/components/Board.tsx | 28 +--
packages/dashboard/app/components/Lane.css | 2 +
.../dashboard/app/components/LeftSidebarNav.tsx | 2 +-
packages/dashboard/app/components/ListView.css | 17 --
packages/dashboard/app/components/ListView.tsx | 31 ++-
.../dashboard/app/components/WorkflowSwitcher.css | 186 ++++++++++++++
.../dashboard/app/components/WorkflowSwitcher.tsx | 270 +++++++++++++++++++++
.../app/components/__tests__/Board.test.tsx | 60 +++--
.../app/components/__tests__/ListView.test.tsx | 79 +++++-
.../components/__tests__/WorkflowSwitcher.test.tsx | 92 +++++++
.../__tests__/workflowStatusCounts.test.ts | 122 ++++++++++
.../app/components/workflowStatusCounts.ts | 54 +++++
packages/i18n/locales/en/app.json | 9 +
packages/i18n/locales/es/app.json | 9 +
packages/i18n/locales/fr/app.json | 9 +
packages/i18n/locales/ko/app.json | 9 +
packages/i18n/locales/zh-CN/app.json | 9 +
packages/i18n/locales/zh-TW/app.json | 9 +
19 files changed, 930 insertions(+), 70 deletions(-)
Fusion-Task-Id: FN-6763
Fusion-Task-Lineage: 3503ea85-841a-4cd3-9960-1b22ef2cd4ea
2026-06-20 02:08:36 -07:00