gsxdsm
ea0707c573
FN-7264: add opt-in absolute file-browser paths
...
Add an opt-in project setting that lets the workspace file browser use slash-prefixed absolute paths while preserving existing confined defaults.
- Add the allowAbsoluteFileBrowserPaths project setting, docs, and changeset release note.
- Thread absolute-path validation through workspace file-browser listing, editing, file operations, and downloads without widening other path APIs.
- Add Settings UI controls and keep settings-specific file pickers project-relative.
- Cover absolute-path browsing, percent-literal paths, root navigation, and settings picker behavior with tests.
Files changed:
.changeset/fn-7264-absolute-file-browser-paths.md | 7 +
docs/settings-reference.md | 3 +
.../core/src/__tests__/settings-parity.test.ts | 8 +
packages/core/src/settings-schema.ts | 5 +
packages/core/src/types.ts | 5 +
.../app/__tests__/settings-sections.test.tsx | 41 +++++
packages/dashboard/app/components/FileBrowser.tsx | 26 ++-
.../dashboard/app/components/FileBrowserModal.tsx | 7 +
.../dashboard/app/components/SettingsModal.tsx | 34 +++-
.../components/__tests__/FileBrowserModal.test.tsx | 18 ++
.../__tests__/SettingsModal.general.test.tsx | 17 ++
.../settings/sections/GeneralSection.tsx | 9 +
.../__tests__/useWorkspaceFileBrowser.test.ts | 18 ++
.../dashboard/app/hooks/useWorkspaceFileBrowser.ts | 20 ++-
.../dashboard/src/__tests__/file-service.test.ts | 199 ++++++++++++++++++++-
packages/dashboard/src/file-service.ts | 129 ++++++++-----
16 files changed, 489 insertions(+), 57 deletions(-)
Fusion-Task-Id: FN-7264
Fusion-Task-Lineage: ec71facd-0345-4490-a3df-244b98e24c2d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 23:17:49 -07:00
gsxdsm
17fce43205
FN-7259: add mobile task popup setting
...
Add an opt-in mobile board-card route that opens task details in the existing popup.
- Add the openMobileTasksInPopup project setting, defaults, types, docs, and changeset.
- Expose the Appearance setting and include it in dashboard settings persistence.
- Route mobile board-card clicks without deep tabs into the task FloatingWindow while preserving dock and main-panel behavior.
- Add coverage for settings defaults, Appearance controls, mobile routing, and task popup sizing.
Files changed:
.changeset/fn-7259-mobile-task-popups.md | 7 ++++
docs/dashboard-guide.md | 5 ++-
docs/settings-reference.md | 1 +
.../core/src/__tests__/settings-defaults.test.ts | 13 ++++++
packages/core/src/settings-schema.ts | 5 +++
packages/core/src/types.ts | 7 ++++
packages/dashboard/app/App.tsx | 45 ++++++++++++++++++--
.../__tests__/App.openTasksInRightSidebar.test.ts | 48 +++++++++++++++++++++-
.../dashboard/app/components/FloatingWindow.css | 28 +++++++++++++
.../dashboard/app/components/SettingsModal.tsx | 1 +
.../components/__tests__/FloatingWindow.test.tsx | 22 ++++++++++
.../settings/sections/AppearanceSection.tsx | 7 ++++
.../sections/__tests__/AppearanceSection.test.tsx | 19 +++++++++
packages/dashboard/app/hooks/useAppSettings.ts | 5 +++
14 files changed, 206 insertions(+), 7 deletions(-)
Fusion-Task-Id: FN-7259
Fusion-Task-Lineage: 05f22978-ede7-4d13-940c-5108390959f7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 23:12:56 -07:00
gsxdsm
2a5a108123
FN-7265: preserve workflow on refinements
...
Preserve workflow context when creating refinement tasks from completed or reviewed work.
- Inherit explicit source workflow selections when creating refinement tasks and seed the new card into the workflow entry column.
- Write task rows and workflow-selection rows atomically so refinements cannot be stranded outside their intended board.
- Clear successful done-task chat refinement composer bubbles and document the dashboard behavior.
- Add core and dashboard regression coverage for refinement workflow preservation.
Files changed:
.changeset/fuzzy-refinements-dance.md | 7 +
.changeset/preserve-refinement-workflow.md | 7 +
docs/dashboard-guide.md | 3 +-
.../src/__tests__/workflow-selection-store.test.ts | 159 +++++++++++++++++++--
packages/core/src/store.ts | 55 ++++++-
.../workflow-selection-cross-surface.test.tsx | 41 +++++-
packages/dashboard/app/components/TaskChatTab.tsx | 5 +
.../app/components/__tests__/TaskChatTab.test.tsx | 27 +++-
.../TaskDetailModal.definition-actions.test.tsx | 52 +++++++
9 files changed, 335 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-7265
Fusion-Task-Lineage: 48700e3e-9f3a-474e-806c-47db0b75fca1
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 22:54:50 -07:00
gsxdsm
d05ca2154f
FN-7258: restore mobile board scroll on return
...
Preserve the board lane position when mobile users return from full-panel task detail.
- Capture and restore board, column, project-content, and document scroll offsets for board detail navigation.
- Retry board scroll restoration across bounded animation frames after remount and hydration.
- Cover mobile and desktop Back to board behavior with focused tests and document the mobile scroll contract.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-7258-mobile-board-scroll.md | 7 ++
docs/dashboard-guide.md | 2 +
.../__tests__/navigation-history.test.tsx | 111 ++++++++++++++++++---
.../hooks/__tests__/useBoardScrollRestore.test.ts | 43 +++++++-
.../dashboard/app/hooks/useBoardScrollRestore.ts | 45 ++++++---
.../utils/__tests__/boardScrollSnapshot.test.ts | 91 +++++++++++++++--
.../dashboard/app/utils/boardScrollSnapshot.ts | 41 +++++++-
7 files changed, 305 insertions(+), 35 deletions(-)
Fusion-Task-Id: FN-7258
Fusion-Task-Lineage: 97faf031-4244-4117-9948-45491c364134
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 21:02:34 -07:00
gsxdsm
480d4d03fd
FN-7254: add worktree commit history targets
...
Allow Git Manager users to inspect commits and diffs from registered worktrees without changing mutation targets.
- Add read-only worktreePath targeting to Git commit list and commit diff APIs with registered-worktree validation.
- Add a Commits history target selector and Worktrees "View commits" shortcuts that clear stale diff state when targets change.
- Document the read-only scope and cover API, UI, responsive layout, and mutation-target invariants with tests.
Files changed:
.changeset/fn-7254-git-manager-worktree-commits.md | 7 +
.changeset/fn-7254-worktree-commit-target-ui.md | 7 +
.changeset/fn-7254-worktree-commits.md | 7 +
docs/dashboard-guide.md | 6 +-
packages/dashboard/app/api/legacy.ts | 15 +-
.../dashboard/app/components/GitManagerModal.tsx | 133 ++++++++++++++--
packages/dashboard/app/components/ScriptsModal.css | 113 ++++++++++++++
.../components/__tests__/GitManagerModal.test.tsx | 167 +++++++++++++++++++++
.../dashboard/src/__tests__/routes-git.test.ts | 34 +++++
.../dashboard/src/routes/register-git-github.ts | 31 +++-
10 files changed, 497 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-7254
Fusion-Task-Lineage: 37314175-fef4-4f8d-8268-cf27fee09857
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 20:24:24 -07:00
gsxdsm
45dd8082b3
FN-7256: reuse fresh task snapshots on board return
...
Reuse fresh task data when users return to Board or List views.
- Track the confirmed task snapshot context and freshness window before deciding whether task-view re-entry needs a catch-up fetch.
- Preserve SSE reconnect, stale snapshot, query, archive, project-change, missing-data, and error recovery fetch paths.
- Cover fresh, stale, empty, failed, no-snapshot, project-scoped, and reconnect return behavior in useTasks tests.
- Document the Board/List return cache behavior and add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-7256-board-return-cache.md | 7 +
docs/dashboard-guide.md | 2 +
.../dashboard/app/hooks/__tests__/useTasks.test.ts | 221 ++++++++++++++++++++-
packages/dashboard/app/hooks/useTasks.ts | 34 +++-
4 files changed, 258 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-7256
Fusion-Task-Lineage: 14dd91c4-bf06-4dcf-8324-2572828fd2ee
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 20:16:41 -07:00
gsxdsm
f01e5c9651
FN-7247: document current workflow behavior
...
Refresh workflow documentation to match the latest runtime, dashboard, and agent tool behavior.
- Add a current workflow behavior inventory covering built-ins, fail-closed runtime semantics, optional gates, settings, tools, routing, and create forwarding.
- Clarify dashboard All workflows aggregation, workflow badges, and workflow-aware task creation behavior.
- Expand editor, agent, CLI, and settings docs for governed workflow authoring, values, trait inspection, and selection boundaries.
- Add docs drift tests requiring workflow docs index coverage and current behavior markers.
Files changed:
docs/agents.md | 5 +-
docs/cli-reference.md | 11 ++-
docs/dashboard-guide.md | 10 ++-
docs/settings-reference.md | 5 ++
docs/workflow-editor.md | 15 +++-
docs/workflow-steps.md | 48 ++++++++---
.../cli/src/__tests__/docs-readme-index.test.ts | 4 +
.../src/__tests__/workflow-docs-current.test.ts | 95 ++++++++++++++++++++++
8 files changed, 172 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-7247
Fusion-Task-Lineage: 72bf0c89-80a3-440c-b6aa-1aea315279f5
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 19:46:23 -07:00
gsxdsm
ffe2092109
FN-7248: require confirmation for footer concurrency edits
...
Footer concurrency controls now require explicit confirmation before persisting scheduler-capacity changes.
- Add local pending state for global and project footer concurrency slider edits so dismissals revert instead of saving.
- Reuse Command Center confirmation copy for single and grouped concurrency changes.
- Cover confirm, cancel, close, Escape, outside-click, loading, and error behaviors in EngineControlMenu tests.
- Document the footer confirmation and dismissal semantics and add a patch changeset.
Files changed:
.../fn-7248-footer-concurrency-confirmation.md | 7 +
docs/dashboard-guide.md | 3 +-
.../dashboard/app/components/EngineControlMenu.tsx | 235 ++++++++++++++---
.../__tests__/EngineControlMenu.test.tsx | 287 +++++++++++++++++++--
4 files changed, 478 insertions(+), 54 deletions(-)
Fusion-Task-Id: FN-7248
Fusion-Task-Lineage: cbcd21fa-62c3-4c05-ac3d-67a641cf47c8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 19:29:36 -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
03d4f95e8a
FN-7224: separate Anthropic subscription and API-key auth
...
Separate Claude subscription OAuth from raw Anthropic API-key authentication surfaces.
- Add synthetic Anthropic Subscription and Anthropic API Key provider IDs while preserving upstream credential storage compatibility.\n- Map dashboard auth routes, CLI auth storage, Settings, and onboarding flows so OAuth login/logout and API-key save/clear no longer share one user-facing card.\n- Extend auth tests, docs, icons, and the release changeset for the split Anthropic authentication behavior.\n\nFiles changed:\n .changeset/fn-7224-separate-anthropic-api-key.md | 7 +\n docs/dashboard-guide.md | 2 +-\n docs/settings-reference.md | 2 +-\n .../src/commands/__tests__/provider-auth.test.ts | 233 +++++++++++++++++++--\n packages/cli/src/commands/provider-auth.ts | 202 +++++++++++++++---\n packages/dashboard/app/api/legacy.ts | 2 -\n .../app/components/ModelOnboardingModal.tsx | 146 ++++---------\n packages/dashboard/app/components/ProviderIcon.tsx | 7 +\n .../__tests__/AuthenticationSection.test.tsx | 89 ++++----\n .../__tests__/SettingsModal.models-auth.test.tsx | 77 ++++---\n .../components/__tests__/onboarding-flow.test.tsx | 29 ++-\n .../components/__tests__/settings-mobile.test.tsx | 17 +-\n .../settings/sections/AuthenticationSection.tsx | 20 +-\n .../dashboard/src/__tests__/routes-auth.test.ts | 111 ++++++----\n .../dashboard/src/routes/register-auth-routes.ts | 93 +++++---\n 15 files changed, 713 insertions(+), 324 deletions(-)
Fusion-Task-Id: FN-7224
Fusion-Task-Lineage: a2db2cf6-3452-4516-81e5-41dcdf47e1d2
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 18:32:36 -07:00
gsxdsm
90b62b7884
FN-7246: preserve explicit empty step dependencies
...
Preserve authored empty workflow step dependencies so parallel roots remain independent.
- Keep parser and TaskStep projections from dropping explicit empty dependsOn arrays.
- Treat missing dependsOn as the legacy previous-step fallback while allowing [] to mean no dependencies.
- Cover heading and JSON parsers plus parallel foreach scheduling with regression tests and docs.
Files changed:
.changeset/fn-7246-workflow-depends-on-empty.md | 7 +++++++
docs/workflow-steps.md | 4 ++--
packages/core/src/__tests__/step-parsers.test.ts | 8 ++++----
packages/core/src/step-parsers.ts | 30 +++++++++++++++++++++---------
packages/core/src/types.ts | 13 +++++++++----
packages/engine/src/__tests__/workflow-parse-steps.test.ts | 12 ++++++++++++
packages/engine/src/__tests__/workflow-step-parallel.test.ts | 30 +++++++++++++++++++++++++++++-
packages/engine/src/workflow-graph-foreach.ts | 9 +++++++--
packages/engine/src/workflow-node-handlers.ts | 6 +++++-
9 files changed, 96 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-7246
Fusion-Task-Lineage: a75687fa-5711-4509-b60f-43669323a6c0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 18:05:44 -07:00
gsxdsm
6f2b8ab6e5
FN-7244: retry unavailable Plan Review without replanning
...
Preserve existing task specs when Plan Review retries after reviewer outages.
- Route plan-review-unavailable triage tasks through the Plan Review/finalization path instead of the planner.
- Validate existing PROMPT.md content and fail clearly when it is missing, empty, or invalid.
- Preserve retry status across interrupted triage work and cover retry behavior with engine tests.
- Document the retry lifecycle and add a patch changeset.
Files changed:
.../fn-7244-plan-review-unavailable-retry.md | 7 +
docs/architecture.md | 2 +
docs/workflow-steps.md | 2 +
.../triage-plan-review-unavailable-retry.test.ts | 251 +++++++++
packages/engine/src/__tests__/triage.test.ts | 604 +++++++++++++++++++++
packages/engine/src/triage.ts | 108 +++-
6 files changed, 945 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-7244
Fusion-Task-Lineage: 80e790e3-d2b9-4309-beec-3dbf6a03db39
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 17:40:00 -07:00
gsxdsm
42226edde1
FN-7245: expose workflow authoring tools to agents
...
Expose workflow authoring and selection tools through agent-visible extension surfaces.
- Register workflow list/get/create/update/delete/settings/select and trait-list tools in the published pi extension.
- Export shared workflow tool schemas/factories and include workflow settings in centralized authoring tool sets.
- Update action-gate classifications, permission examples, docs, tests, and the changeset for the new agent workflow surface.
Files changed:
.changeset/FN-7245-workflow-tools.md | 7 +
docs/agents.md | 4 +-
docs/cli-reference.md | 17 ++
docs/workflow-steps.md | 9 +-
.../src/__tests__/extension-workflow-tools.test.ts | 244 +++++++++++++++++++++
packages/cli/src/__tests__/extension.test.ts | 8 +
packages/cli/src/extension.ts | 142 ++++++++++++
packages/core/src/types.ts | 6 +-
.../dashboard/src/__tests__/chat-manager.test.ts | 9 +-
.../planning-document-tools-exposure.test.ts | 19 +-
.../engine/src/__tests__/agent-action-gate.test.ts | 8 +
.../agent-workflow-tools-exposure.test.ts | 30 ++-
.../src/__tests__/gating-classifications.test.ts | 13 +-
.../src/__tests__/permanent-agent-gating.test.ts | 4 +-
packages/engine/src/agent-tools.ts | 13 +-
packages/engine/src/gating-classifications.ts | 6 +-
packages/engine/src/index.ts | 7 +
17 files changed, 506 insertions(+), 40 deletions(-)
Fusion-Task-Id: FN-7245
Fusion-Task-Lineage: 82501602-7177-4ee8-a67b-32de35aa73de
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 16:35:51 -07:00
gsxdsm
5b668d297f
FN-7238: add Done column sort modes
...
Add Done-column controls for choosing descending completion-date or task-ID order.
- Add a Done-only sort selector shared by legacy and workflow complete columns.
- Extend task display sorting with completion-date and task-ID descending modes.
- Cover board, column, and sorting behavior with regression tests and docs.
- Add a minor changeset for the published CLI package.
Files changed:
.changeset/fn-7238-done-column-sort.md | 7 +
docs/dashboard-guide.md | 5 +-
packages/dashboard/app/components/Board.tsx | 28 +++-
packages/dashboard/app/components/Column.tsx | 33 ++++-
.../app/components/__tests__/Board.test.tsx | 133 ++++++++++++++++-
.../app/components/__tests__/Column.test.tsx | 158 +++++++++++++++++++++
.../app/components/__tests__/taskSorting.test.ts | 114 +++++++++++++++
packages/dashboard/app/components/taskSorting.ts | 39 ++++-
packages/dashboard/app/styles.css | 35 +++++
9 files changed, 538 insertions(+), 14 deletions(-)
Fusion-Task-Id: FN-7238
Fusion-Task-Lineage: 143722e9-0b59-41e5-954d-810263f18ba9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 15:46:35 -07:00
gsxdsm
b36327059a
FN-7234: preserve board workflow selections
...
Persist workflow choices across dashboard board surfaces so operators return to their selected lane reliably.
- Add project-scoped durable storage helpers for board workflow selection with stale-id validation and cleanup.
- Share the workflow selection hook across Board, List, Header, and Graph surfaces while preserving cached payloads on transient refresh failures.
- Update List quick-create/planning handoffs, cross-surface tests, and dashboard documentation for durable workflow selection behavior.
- Add patch changesets for the published Fusion package.
Files changed:
.changeset/fn-7234-durable-board-workflow-selection.md | 7 ++
.changeset/workflow-selection-board-list.md | 7 ++
docs/dashboard-guide.md | 5 +-
.../workflow-selection-cross-surface.test.tsx | 66 ++++++++--
packages/dashboard/app/components/ListView.tsx | 111 ++++-------------
.../app/components/__tests__/Board.test.tsx | 45 +++++++
.../__tests__/GraphWorkflowSwitcherSlot.test.tsx | 57 +++++++++
.../__tests__/HeaderWorkflowSwitcherSlot.test.tsx | 42 ++++++-
.../app/components/__tests__/ListView.test.tsx | 122 +++++++++++++++++++
.../app/hooks/__tests__/useBoardWorkflows.test.ts | 29 +++++
packages/dashboard/app/hooks/useBoardWorkflows.ts | 64 ++++++++-
.../utils/__tests__/boardWorkflowSelection.test.ts | 135 +++++++++++++++++++++
.../app/utils/__tests__/projectStorage.test.ts | 3 +-
.../dashboard/app/utils/boardWorkflowSelection.ts | 49 ++++++++
packages/dashboard/app/utils/projectStorage.ts | 1 +
15 files changed, 633 insertions(+), 110 deletions(-)
Fusion-Task-Id: FN-7234
Fusion-Task-Lineage: 6ebc000c-19c3-4a8e-9303-4e18a59902ed
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 14:41:52 -07:00
gsxdsm
7b43f73327
FN-7235: align footer concurrency use markers
...
Align footer concurrency indicators with absolute running-agent utilization.
- Change footer use-marker ratio math to use current running count over configured cap.
- Cover zero, one-active, mid-track, over-cap, loading, and error marker states in EngineControlMenu tests.
- Document the footer marker behavior and add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-7235-footer-concurrency-marker.md | 7 +++
docs/dashboard-guide.md | 3 +-
.../dashboard/app/components/EngineControlMenu.tsx | 14 +++--
.../__tests__/EngineControlMenu.test.tsx | 70 +++++++++++++++++++---
4 files changed, 79 insertions(+), 15 deletions(-)
Fusion-Task-Id: FN-7235
Fusion-Task-Lineage: 0dda1277-2d89-4195-882c-6488dfc67288
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 13:44:09 -07:00
gsxdsm
b169072224
fix(FN-7233): enforce workflow summary and done guards
2026-06-29 11:07:11 -07:00
gsxdsm
998a7f2745
fix(FN-7226): make plan review the single pre-execution gate
...
Fusion-Task-Id: FN-7226
2026-06-29 01:48:27 -07:00
gsxdsm
138d6447fb
fix(workflows): address review feedback on recovery and docs
2026-06-29 00:10:27 -07:00
gsxdsm
d1caa3bdbf
test(workflows): cover coding optional gates
2026-06-28 23:45:32 -07:00
gsxdsm
d4b8032f28
feat(workflows): add optional plan review gate
2026-06-28 23:38:33 -07:00
gsxdsm
6ce0b44058
feat(workflows): make coding stepwise with final review
2026-06-28 23:24:29 -07:00
gsxdsm
e963be4088
FN-7220: harden workflow recovery lineage checks
...
Harden workflow recovery so pause/resume parks and already-merged detection preserve task ownership lineage.
- Reject already-merged recovery candidates with foreign task or lineage trailers before accepting patch-id, tree, or branch-tip matches.
- Recover benign pause/resume abort parks back to todo when the task has no live executor/session state.
- Add real-git and executor regression coverage plus architecture docs and a changeset for recovery behavior.
Files changed:
.changeset/fn-7220-workflow-recovery-lineage.md | 7 +
docs/architecture.md | 8 +-
.../already-merged-detector.real-git.test.ts | 69 ++++++++
.../executor-paused-abort-todo-benign.test.ts | 194 ++++++++++++++++++---
.../self-healing-already-merged.real-git.test.ts | 64 ++++++-
packages/engine/src/already-merged-detector.ts | 113 +++++++++---
packages/engine/src/executor.ts | 84 +++++++++
packages/engine/src/self-healing.ts | 134 ++++++++++++--
8 files changed, 609 insertions(+), 64 deletions(-)
Fusion-Task-Id: FN-7220
Fusion-Task-Lineage: 186c65bc-fe1a-457a-b90a-abbd73044252
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 22:43:02 -07:00
gsxdsm
d0a369e34d
FN-7218: default the task sidebar to active work
...
Default the right-dock task sidebar to active work and make task-detail navigation reversible.
- Filter the dock Tasks list to hide done tasks by default while keeping archived tasks out of the compact sidebar.
- Add a Show Done toggle, updated empty states, and styling for the compact controls.
- Convert the task-detail header arrow into an accessible back button that uses the existing close-detail path.
- Document the sidebar behavior, add a patch changeset, and cover the active/default/back-button flows in tests.
Files changed:
.changeset/fn-7218-task-sidebar-active-list.md | 7 ++
docs/dashboard-guide.md | 5 +-
packages/dashboard/app/components/DockTaskList.css | 37 +++++++++
packages/dashboard/app/components/DockTaskList.tsx | 53 ++++++++++---
packages/dashboard/app/components/RightDock.tsx | 17 ++++-
.../app/components/__tests__/DockTaskList.test.tsx | 89 ++++++++++++++++++++--
.../app/components/__tests__/RightDock.test.tsx | 69 ++++++++++++-----
7 files changed, 239 insertions(+), 38 deletions(-)
Fusion-Task-Id: FN-7218
Fusion-Task-Lineage: ce8fe55e-a89e-4ca6-940e-2ca06c3c26df
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 21:10:28 -07:00
gsxdsm
f3d9bfb27b
FN-7210: add right-dock Tasks tab
...
Add a first-class Tasks panel to the right dock while preserving Files as the default dock view.
- Register a Tasks overflow view with a compact dock task list and empty state.
- Anchor in-dock task detail to the Tasks tab so tab switches preserve the last-viewed task snapshot.
- Update right-dock controller wiring, tests, docs, and changesets for the new dock task surface.
Files changed:
...210-recover-completed-incomplete-steps-guard.md | 2 +-
.changeset/fn-7210-right-dock-tasks-tab.md | 7 ++
docs/dashboard-guide.md | 7 +-
packages/dashboard/app/components/DockTaskList.css | 36 +++++++
packages/dashboard/app/components/DockTaskList.tsx | 58 +++++++++++
packages/dashboard/app/components/RightDock.tsx | 26 ++++-
.../app/components/__tests__/DockTaskList.test.tsx | 48 ++++++++++
.../app/components/__tests__/RightDock.test.tsx | 106 +++++++++++++++++----
.../__tests__/overflowViewRegistry.test.tsx | 5 +-
.../app/components/overflowViewRegistry.tsx | 26 ++++-
.../app/components/useRightDockController.tsx | 7 +-
11 files changed, 298 insertions(+), 30 deletions(-)
Fusion-Task-Id: FN-7210
Fusion-Task-Lineage: 27468cc2-6ce9-46cc-a27e-cf5f49e93c40
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 20:11:43 -07:00
gsxdsm
d87db1490e
FN-7215: compact task chat tool summaries
...
Compact task-detail chat tool-call history so collapsed summaries stay scannable.
- Tighten collapsed tool-call summary styling to one-line, ellipsis-friendly rows on desktop and mobile.
- Preserve count, deduped tool names, overflow, and error indicators while keeping expanded details dense.
- Document the compact task chat behavior and add regression coverage against regular Chat styling.
Files changed:
.changeset/fn-7215-compact-task-chat-tools.md | 7 +++
docs/dashboard-guide.md | 2 +-
packages/dashboard/app/components/TaskChatTab.css | 63 +++++++++++++++-------
packages/dashboard/app/components/TaskChatTab.tsx | 4 ++
.../app/components/__tests__/TaskChatTab.test.tsx | 50 ++++++++++++++++-
5 files changed, 105 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-7215
Fusion-Task-Lineage: 0cec8c11-1539-4c11-96d9-ec5a7936862b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 20:02:14 -07:00
gsxdsm
58a0c1f1d6
FN-7214: make workflow node pause resume re-entrant
...
Workflow graph pause aborts now re-enter interrupted nodes instead of failing the task.
- Track and abort active workflow graph runners during hard cancel and global pause flows.
- Stamp interrupted workflow nodes with typed engine-pause abort context and surface it through graph run results.
- Re-enter safe todo, in-progress, and auto-mergeable in-review graph nodes with retry bounds and run-audit evidence.
- Add regression coverage and architecture notes for paused node re-entry behavior.
Files changed:
.changeset/fn-7214-workflow-graph-node-pause-resume.md | 7 +
docs/architecture.md | 4 +-
packages/engine/src/__tests__/executor-paused-abort-todo-benign.test.ts | 231 ++++++++++++++++++++-
packages/engine/src/__tests__/workflow-graph-paused-node-resume.test.ts | 148 +++++++++++++
packages/engine/src/executor.ts | 158 +++++++++++++-
packages/engine/src/workflow-graph-executor.ts | 50 ++++-
packages/engine/src/workflow-graph-task-runner.ts | 26 ++-
7 files changed, 614 insertions(+), 10 deletions(-)
Fusion-Task-Id: FN-7214
Fusion-Task-Lineage: 1689e3fd-e35f-4e83-8049-aabbab49cecd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 19:42:45 -07:00
gsxdsm
013d50fe8b
FN-7206: add Anthropic API-key authentication
...
Add Anthropic API-key authentication alongside the existing OAuth flow.
- Expose Anthropic as a built-in API-key provider without hiding its OAuth controls.
- Render dual-auth Anthropic cards in Settings and model onboarding with key hints, save, and clear actions.
- Cover API status, CLI provider classification, desktop/mobile settings, and onboarding flows with tests and docs.
Files changed:
.changeset/fn-7206-anthropic-api-key.md | 7 +
docs/dashboard-guide.md | 2 +
docs/settings-reference.md | 4 +
.../src/commands/__tests__/provider-auth.test.ts | 51 ++++---
packages/cli/src/commands/provider-auth.ts | 10 +-
packages/dashboard/app/api/legacy.ts | 2 +
.../app/components/ModelOnboardingModal.tsx | 121 +++++++++++++++-
.../__tests__/AuthenticationSection.test.tsx | 141 +++++++++++++++++++
.../__tests__/SettingsModal.models-auth.test.tsx | 51 +++++++
.../__tests__/SettingsModal.test-harness.tsx | 2 +
.../components/__tests__/onboarding-flow.test.tsx | 28 ++++
.../components/__tests__/settings-mobile.test.tsx | 16 ++-
.../settings/sections/AuthenticationSection.tsx | 153 ++++++++++-----------
.../dashboard/src/__tests__/routes-auth.test.ts | 70 ++++++++++
.../dashboard/src/routes/register-auth-routes.ts | 17 ++-
15 files changed, 569 insertions(+), 106 deletions(-)
Fusion-Task-Id: FN-7206
Fusion-Task-Lineage: 3559b7ea-47c6-4f8c-9aa1-5318f47ce07e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 17:03:11 -07:00
gsxdsm
befb49b1e6
FN-7204: make narrow chat messages full width
...
Narrow chat surfaces now let messages span their constrained container width.
- Add a ChatView container query that makes all message variants full-width in narrow hosts such as Quick Chat popups and the right dock.
- Update the mobile bubble cap to full width while preserving tablet assistant widening and desktop caps.
- Cover the responsive CSS contracts in dashboard tests and document the behavior with a patch changeset.
Files changed:
.changeset/fn-7204-full-width-chat-messages.md | 7 +++++++
docs/dashboard-guide.md | 6 +++---
packages/dashboard/app/components/ChatView.css | 12 +++++++++++-
.../__tests__/ChatView.core-contracts.test.tsx | 20 +++++++++++++++++---
.../components/__tests__/ChatView.mobile.test.tsx | 4 ++--
5 files changed, 40 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-7204
Fusion-Task-Lineage: 19da0d46-f0bf-46e7-9f87-900c5184f378
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 14:56:52 -07:00
gsxdsm
6cf6ad3bd2
FN-7202: add Quick Chat outside-click dismissal setting
...
Add a project setting that lets operators keep Quick Chat open until explicitly closed.
- Add quickChatCloseOnOutsideClick to project settings defaults, schema, types, and app settings hook.
- Wire the Quick Chat floating window to honor the setting while preserving default outside-click dismissal.
- Add a Settings > General toggle, documentation, release changeset, and coverage for defaults, settings loading, modal form, and floating-window behavior.
Files changed:
.../fn-7202-quick-chat-outside-click-setting.md | 7 +++
docs/dashboard-guide.md | 2 +-
docs/settings-reference.md | 1 +
.../core/src/__tests__/settings-defaults.test.ts | 13 +++++
packages/core/src/settings-schema.ts | 5 ++
packages/core/src/types.ts | 6 +++
packages/dashboard/app/App.tsx | 6 ++-
.../components/__tests__/FloatingWindow.test.tsx | 13 +++++
.../__tests__/SettingsModal.general.test.tsx | 8 +++
.../settings/sections/GeneralSection.tsx | 9 ++++
.../app/hooks/__tests__/useAppSettings.test.ts | 62 ++++++++++++++++++++++
packages/dashboard/app/hooks/useAppSettings.ts | 5 ++
12 files changed, 135 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-7202
Fusion-Task-Lineage: 4d52ea30-6475-404e-b1b9-28e8e581005c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 13:17:33 -07:00
gsxdsm
ac4c3b7a01
FN-7192: Document custom workflow capacity dispatch
...
Clarify the custom workflow migration boundary and lock dispatch behavior with tests.
- Document that pure-v1 custom workflows keep trait-less default columns for rollback compatibility.
- Show the v2 hold(capacity) and wip traits required for custom workflow capacity dispatch.
- Add core and engine regression coverage for pure-v1 stranding and authored-v2 release behavior.
Files changed:
docs/workflow-editor.md | 34 +++++
docs/workflow-steps.md | 40 ++++++
.../__tests__/custom-v1-workflow-dispatch.test.ts | 154 +++++++++++++++++++++
packages/engine/src/__tests__/hold-release.test.ts | 81 ++++++++++-
4 files changed, 306 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-7192
Fusion-Task-Lineage: ff7af258-c0cb-4b81-8919-9e076c3ac1df
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 09:59:57 -07:00
gsxdsm
631e8fc675
FN-7159: add canonical CE HTML checklist repair
...
Enable CE HTML document review to safely canonicalize malformed checklists.
- Add a DOM-safe checklist-repair operation that rewrites provable markdown-marker and checkbox list shapes into canonical CE checklist HTML.
- Refuse ambiguous, nested, state-bearing, or protected checklist-like markup while preserving report-only fallback semantics.
- Expand HTML mutation and CE doc-review tests plus operator docs and rendering guidance for the canonical checklist contract.
Files changed:
.changeset/fn-7159-canonical-html-checklist.md | 7 +
docs/workflow-editor.md | 2 +-
docs/workflow-steps.md | 5 +-
.../src/__tests__/ce-doc-review-html-mode.test.ts | 6 +-
.../src/artifacts/__tests__/html-mutation.test.ts | 135 ++++++++++++++-
.../src/artifacts/html-mutation.ts | 186 ++++++++++++++++++++-
.../ce-brainstorm/references/html-rendering.md | 31 ++++
.../src/skills/ce-doc-review/SKILL.md | 13 +-
.../skills/ce-ideate/references/html-rendering.md | 31 ++++
.../skills/ce-plan/references/html-rendering.md | 31 ++++
10 files changed, 436 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-7159
Fusion-Task-Lineage: bbde7003-2942-4363-98d5-53bc3a5976b8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 09:20:17 -07:00
gsxdsm
fb509b1ed3
FN-7190: fix linear built-in workflow dispatch
...
Ensure selectable linear built-in workflows carry the default queue traits needed for Todo release.
- Convert linear built-in workflow IR to v2 with cloned canonical coding workflow columns.
- Guard synthesized linear built-ins so todo retains hold-capacity dispatch traits.
- Cover quick-fix, review-heavy, design, and compound-engineering Todo release behavior with regression tests.
- Document that selectable built-ins dispatch through capacity-released queue columns.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-7190-linear-builtin-todo-hold.md | 7 ++
docs/workflow-editor.md | 2 +-
docs/workflow-steps.md | 5 +
.../core/src/__tests__/builtin-workflows.test.ts | 110 +++++++++++++++++++++
packages/core/src/builtin-workflows.ts | 46 ++++++---
packages/engine/src/__tests__/hold-release.test.ts | 28 ++++++
6 files changed, 181 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-7190
Fusion-Task-Lineage: a0a40365-4bd5-49a8-8ae4-5e313cf1d4e0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 08:19:01 -07:00
gsxdsm
fecb27e768
FN-7149: add DOM-safe CE HTML mutation
...
Add a parse5-backed mutation path for CE HTML artifacts with docs and validation coverage.
- Add safe CE HTML mutation helpers for open-question append, heading repair, whitespace normalization, visible-text replacement, atomic writes, and rollback on validation failure.
- Cover DOM mutation behavior and ce-doc-review HTML-mode expectations with focused tests.
- Update CE skill/reference guidance and workflow docs to require DOM-safe artifact edits with report-only fallback.
- Add parse5 to the compound engineering plugin and record the published CLI changeset.
Files changed:
.changeset/fn-7149-dom-safe-html-mutation.md | 7 +
docs/workflow-editor.md | 2 +-
docs/workflow-steps.md | 10 +-
.../package.json | 1 +
.../src/__tests__/ce-doc-review-html-mode.test.ts | 38 +-
.../src/artifacts/__tests__/html-mutation.test.ts | 228 +++++++++
.../src/artifacts/html-mutation.ts | 519 +++++++++++++++++++++
.../src/skills/ce-brainstorm/references/handoff.md | 12 +-
.../ce-brainstorm/references/html-rendering.md | 12 +-
.../src/skills/ce-doc-review/SKILL.md | 20 +-
.../skills/ce-ideate/references/html-rendering.md | 12 +-
.../src/skills/ce-plan/SKILL.md | 18 +-
.../skills/ce-plan/references/html-rendering.md | 16 +-
.../src/skills/ce-plan/references/plan-handoff.md | 24 +-
pnpm-lock.yaml | 3 +
15 files changed, 853 insertions(+), 69 deletions(-)
Fusion-Task-Id: FN-7149
Fusion-Task-Lineage: eaf84a8b-a52b-487d-9517-22e4499e8af7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 08:03:32 -07:00
gsxdsm
7a2137c250
FN-7191: allow direct agent questions
...
Permanent agents can ask structured user questions without approval gating.
- Classify fn_ask_question as a read-only coordination tool for permanent-agent decisions.
- Exempt fn_ask_question from the action gate under locked-down policies.
- Document the user-question exemption and add release notes plus gate coverage.
Files changed:
.changeset/FN-7191-ask-question-no-gate.md | 7 +++
docs/agents.md | 2 +-
.../engine/src/__tests__/agent-action-gate.test.ts | 14 ++++++
.../src/__tests__/gating-classifications.test.ts | 6 +++
.../src/__tests__/permanent-agent-gating.test.ts | 50 ++++++++++++++++++++++
packages/engine/src/gating-classifications.ts | 10 +++++
6 files changed, 88 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-7191
Fusion-Task-Lineage: 349084a8-9098-49f7-ab82-c5a775c0a24c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 07:53:44 -07:00
gsxdsm
4405dec310
FN-7187: re-engage executors from in-review chat
...
Route user comments on in-review tasks through the executor re-engagement path.
- Reuse review-address re-engagement for Chat steering and Comments-tab user comments.
- Suppress re-engagement for open PR blockers, live sessions, and non-user task comments.
- Cover the in-review comment wake behavior with dashboard route tests and operator docs.
Files changed:
.changeset/fn-7187-in-review-chat-reengage.md | 7 +
docs/dashboard-guide.md | 2 +-
.../src/__tests__/routes-tasks-ops.test.ts | 236 +++++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 138 +++++++++---
4 files changed, 351 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-7187
Fusion-Task-Lineage: f0984ede-4038-439a-a8b4-5d6ed6756c40
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 02:47:38 -07:00
gsxdsm
a0602d0d26
FN-7169: Open board tasks in the right sidebar
...
Add a default-off project setting that routes board task-card opens into the right dock when available.
- Add the openTasksInRightSidebar project setting, defaults, docs, and release changeset.
- Wire Appearance settings to save the toggle and refresh embedded settings closes.
- Render board-opened task detail inside the right dock with mobile/dock-inactive fallback to the full panel.
- Cover the setting defaults, board routing, right-dock task surface, and Appearance toggle with tests.
Files changed:
.changeset/fn-7169-open-tasks-in-right-sidebar.md | 7 ++
docs/dashboard-guide.md | 2 +
docs/settings-reference.md | 1 +
.../core/src/__tests__/settings-defaults.test.ts | 13 +++
packages/core/src/settings-schema.ts | 1 +
packages/core/src/types.ts | 7 ++
packages/dashboard/app/App.tsx | 29 +++++-
.../__tests__/App.openTasksInRightSidebar.test.ts | 16 +++
packages/dashboard/app/components/RightDock.tsx | 41 ++++++--
.../dashboard/app/components/SettingsModal.tsx | 1 +
.../app/components/__tests__/RightDock.test.tsx | 109 +++++++++++++++++++++
.../app/components/dashboard/MainContent.tsx | 13 ++-
.../__tests__/MainContent.graph-popout.test.tsx | 29 ++++++
.../dashboard/app/components/dashboard/types.ts | 2 +
.../settings/sections/AppearanceSection.tsx | 9 +-
.../sections/__tests__/AppearanceSection.test.tsx | 63 ++++++++++++
.../app/components/useRightDockController.tsx | 64 +++++++++++-
packages/dashboard/app/hooks/useAppSettings.ts | 5 +
packages/dashboard/vitest.config.ts | 1 +
19 files changed, 397 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-7169
Fusion-Task-Lineage: b135a1ac-b661-4774-9a04-91aaf5184394
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 02:17:25 -07:00
gsxdsm
9050ee1a42
FN-7185: add PR feedback addressing action
...
Add a dashboard action that starts an AI pass for actionable pull-request review feedback.
- Add a lifecycle route that validates linked PR tasks, seeds a ce-resolve-pr-feedback steering prompt, returns in-review tasks to active work, and wakes assigned agents when needed.
- Add shared PR feedback gating plus task-card and Review tab buttons with loading states, toasts, styling, docs, and translations.
- Cover the route, API client, task card, and Review tab behavior with regression tests.
Files changed:
.changeset/fn-7185-address-pr-feedback.md | 7 +
docs/dashboard-guide.md | 1 +
packages/dashboard/app/__tests__/api-tasks.test.ts | 12 ++
packages/dashboard/app/api/legacy.ts | 11 ++
packages/dashboard/app/components/TaskCard.css | 7 +-
packages/dashboard/app/components/TaskCard.tsx | 44 +++++-
.../dashboard/app/components/TaskReviewTab.tsx | 41 ++++-
.../app/components/__tests__/TaskCard.test.tsx | 164 +++++++++++++++++++-
.../components/__tests__/TaskReviewTab.test.tsx | 127 ++++++++++++++++
packages/dashboard/app/utils/prFeedback.ts | 22 +++
.../dashboard/src/__tests__/routes-tasks.test.ts | 165 +++++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 67 +++++++++
packages/i18n/locales/en/app.json | 10 ++
packages/i18n/locales/es/app.json | 22 ++-
packages/i18n/locales/fr/app.json | 22 ++-
packages/i18n/locales/ko/app.json | 22 ++-
packages/i18n/locales/zh-CN/app.json | 22 ++-
packages/i18n/locales/zh-TW/app.json | 22 ++-
18 files changed, 764 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-7185
Fusion-Task-Lineage: b2e98163-4fc6-45c9-8ace-a14eeb096e10
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 02:04:31 -07:00
gsxdsm
dc54b615d4
FN-7182: pause auto-merge for manual pull requests
...
Manual pull requests now pause automatic merge processing until human action closes or merges the PR.
- Mark dashboard-created or linked pull requests with manual provenance and preserve it across PR refreshes and merges.
- Exclude tasks with manual open or draft PRs from automatic merge processing while preserving pipeline PR automation.
- Add regression coverage and document the manual PR handoff behavior.
Files changed:
.changeset/FN-7182-no-auto-merge-with-manual-pr.md | 7 ++
docs/architecture.md | 2 +-
docs/dashboard-guide.md | 1 +
packages/core/src/__tests__/task-helpers.test.ts | 49 ++++++++++++-
packages/core/src/__tests__/task-merge.test.ts | 60 +++++++++++++++-
packages/core/src/index.ts | 2 +-
packages/core/src/task-helpers.ts | 13 ++++
packages/core/src/task-merge.ts | 10 ++-
packages/core/src/types.ts | 6 ++
.../dashboard/src/__tests__/routes-auth.test.ts | 80 ++++++++++++++++++++++
.../dashboard/src/__tests__/routes-github.test.ts | 45 +++++++++++-
.../dashboard/src/routes/register-git-github.ts | 20 +++++-
12 files changed, 285 insertions(+), 10 deletions(-)
Fusion-Task-Id: FN-7182
Fusion-Task-Lineage: c415a9dc-43c1-4609-a032-367991e949a1
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 01:43:08 -07:00
gsxdsm
65abae26c6
FN-7181: improve PR metadata generation feedback
...
Ground PR metadata generation in repository evidence and make Create PR loading states explicit.
- Upgrade the PR metadata system/context prompt while preserving configurable title and description guidance.\n- Show disabled title/body skeleton states while AI metadata generates and block submission until content resolves.\n- Extend dashboard tests, docs, and changeset coverage for the improved PR prompt and loading behavior.\n\nFiles changed:\n .../fn-7181-pr-generation-prompt-and-loading.md | 7 +++\n docs/dashboard-guide.md | 2 +-\n .../dashboard/app/components/PrCreateModal.css | 62 ++++++++++++++++++++++\n .../dashboard/app/components/PrCreateModal.tsx | 47 +++++++++++++---\n .../components/__tests__/PrCreateModal.test.tsx | 60 ++++++++++++++++-----\n .../src/__tests__/pr-metadata-generator.test.ts | 44 ++++++++++++---\n packages/dashboard/src/pr-metadata-generator.ts | 33 +++++++++---\n 7 files changed, 221 insertions(+), 34 deletions(-)
Fusion-Task-Id: FN-7181
Fusion-Task-Lineage: 6565ddce-c205-4050-a37f-ffbb2f2d46d4
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 01:17:22 -07:00
gsxdsm
3a52c7a7cd
FN-7176: add PR body markdown preview toggle
...
Add a markdown preview mode to the Create PR body editor while preserving raw submission text.
- Add a persisted Preview/Edit toggle for the Create PR body field.
- Render body markdown through the shared sanitized markdown pipeline in preview mode.
- Style the preview region and document the modal behavior.
- Cover edit, preview, regenerate, revert, empty/fallback, and submit payload flows.
Files changed:
docs/dashboard-guide.md | 1 +
.../dashboard/app/components/PrCreateModal.css | 24 ++++-
.../dashboard/app/components/PrCreateModal.tsx | 51 +++++++++-
.../components/__tests__/PrCreateModal.test.tsx | 107 +++++++++++++++++++++
4 files changed, 181 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-7176
Fusion-Task-Lineage: 82275fb1-f89a-4fa2-9c47-7a7e7982c6cd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 01:11:03 -07:00
gsxdsm
b60a743377
FN-7186: fix reviewer-agent revision requests
...
Route review revision requests through canonical review data so reviewer-agent feedback can be selected reliably.
- Rebuild /review/address validation from PR review details or direct reviewer-agent logs before matching selected items.
- Preserve addressing state while accepting log-derived reviewer-agent item ids and rejecting mismatched sources.
- Cover reviewer-agent, fallback-log, PR, and invalid-selection paths in dashboard route tests.
- Document that Review revision feedback may come from PR data or reviewer-agent logs.
- Add a patch changeset for the published Fusion package.
Files changed:
.changeset/fn-7186-review-revision-fix.md | 7 ++
docs/dashboard-guide.md | 4 +-
.../dashboard/src/__tests__/routes-tasks.test.ts | 126 +++++++++++++++++----
.../src/routes/register-task-workflow-routes.ts | 76 +++++++++----
4 files changed, 170 insertions(+), 43 deletions(-)
Fusion-Task-Id: FN-7186
Fusion-Task-Lineage: 8b0f6e4c-93b1-489c-ab96-5a2541b7c18a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 00:33:26 -07:00
gsxdsm
9c207fd286
FN-7180: add configurable PR metadata prompts
...
Add project-scoped guidance fields for AI-generated Create PR metadata.
- Store PR title and description prompt guidance as project settings only.
- Surface editable guidance textareas in Project Models settings.
- Append trimmed guidance to the PR metadata system prompt without changing defaults for blank values.
- Document the settings and add release notes/tests for persistence, UI, and prompt generation.
Files changed:
.changeset/fn-7180-pr-prompt-settings.md | 7 ++
docs/dashboard-guide.md | 1 +
docs/settings-reference.md | 2 +
.../core/src/__tests__/settings-defaults.test.ts | 11 ++-
packages/core/src/__tests__/store-settings.test.ts | 19 +++++
packages/core/src/settings-schema.ts | 2 +
packages/core/src/types.ts | 12 ++++
.../app/__tests__/settings-sections.test.tsx | 54 ++++++++++++++
.../dashboard/app/components/SettingsModal.tsx | 4 ++
.../settings/sections/ProjectModelsSection.tsx | 12 ++++
.../src/__tests__/pr-metadata-generator.test.ts | 84 ++++++++++++++++++++++
packages/dashboard/src/pr-metadata-generator.ts | 23 ++++--
12 files changed, 225 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-7180
Fusion-Task-Lineage: 9bdc42d5-ffd3-4208-b64a-96d142cc1dc8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 00:28:13 -07:00
gsxdsm
01fe47d50f
FN-7175: fix Create PR dialog recovery and dismissal
...
Stabilize the Create PR dialog so metadata hangs and stray clicks no longer block manual PR creation.
- Bound AI metadata generation in the dialog to a 15 second timeout that falls back to manual title/body recovery.
- Keep the floating Create PR shell dismissible only via explicit close actions and default the diff preview collapsed.
- Expand modal tests and dashboard docs for timeout recovery, collapsed preview, and dismissal behavior.
- Add a patch changeset for the published Fusion package.
Files changed:
.changeset/fn-7175-create-pr-dialog-fixes.md | 7 +++
docs/dashboard-guide.md | 6 +-
.../dashboard/app/components/PrCreateModal.tsx | 34 ++++++++++-
.../components/__tests__/PrCreateModal.test.tsx | 65 ++++++++++++++++++++--
4 files changed, 101 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-7175
Fusion-Task-Lineage: 675d2212-54a1-465f-a9bf-6af4ba33674a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 00:15:21 -07:00
gsxdsm
9f45f108e5
FN-7174: reset lost steps before stuck requeue cleanup
...
Preserve durable stuck-requeue progress while preventing retries from skipping deleted uncommitted work.
- Reconcile completed and in-progress steps before stuck cleanup removes executor worktrees.
- Reset step progress when a branch has no unique commits or git proof fails before checkout deletion.
- Cover normal, loop-timeout, and force stuck-requeue paths with regression tests and documentation.
Files changed:
.changeset/fn-7174-stuck-requeue-progress.md | 7 +
docs/architecture.md | 2 +-
packages/core/src/types.ts | 9 +-
...xecutor-stuck-requeue-preserve-progress.test.ts | 282 +++++++++++++++++++++
packages/engine/src/executor.ts | 99 ++++----
5 files changed, 349 insertions(+), 50 deletions(-)
Fusion-Task-Id: FN-7174
Fusion-Task-Lineage: 3b8b09e7-fceb-4b3d-af80-993a8842a51a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 00:08:53 -07:00
gsxdsm
fc958bc54b
FN-7178: improve review comment rendering
...
Render task Review tab comments with cleaner content, author context, and filter controls.
- Reuse the sanitized mailbox markdown renderer and strip GitHub HTML comments in plain-text mode.
- Add human/bot author derivation, avatars, badges, and All/Human/Bot filtering for review items.
- Cover rendering, filtering, selection pruning, and author classification with dashboard tests.
- Document the Review tab behavior and add the release changeset.
Files changed:
.../fn-7178-task-review-comment-rendering.md | 7 +
docs/dashboard-guide.md | 1 +
.../dashboard/app/components/TaskReviewTab.css | 117 ++++++++++++++++
.../dashboard/app/components/TaskReviewTab.tsx | 144 ++++++++++++-------
.../components/__tests__/TaskReviewTab.test.tsx | 153 +++++++++++++++++++++
.../utils/__tests__/githubCommentAuthor.test.ts | 46 +++++++
.../dashboard/app/utils/githubCommentAuthor.ts | 33 +++++
packages/dashboard/vitest.config.ts | 1 +
8 files changed, 455 insertions(+), 47 deletions(-)
Fusion-Task-Id: FN-7178
Fusion-Task-Lineage: 98269a09-3c57-492d-b433-d6ccb81d5b17
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 23:53:51 -07:00
gsxdsm
411806163f
FN-7170: make Create PR dialog draggable and resizable
...
Move the Create PR dialog onto the shared floating window shell.
- Render PrCreateModal in FloatingWindow with persisted desktop geometry and embedded-header dragging.
- Add CSS that lets the modal fill its floating panel while preserving a full-screen mobile layout.
- Update docs, release notes, and modal tests for floating behavior, resize handles, and non-overlay dismissal.
Files changed:
.changeset/fn-7170-pr-create-modal-floating.md | 7 ++
docs/dashboard-guide.md | 1 +
.../dashboard/app/components/PrCreateModal.css | 63 +++++++++++----
.../dashboard/app/components/PrCreateModal.tsx | 28 ++++---
.../__tests__/PrCreateModal.layout.test.tsx | 6 +-
.../components/__tests__/PrCreateModal.test.tsx | 94 +++++++++++++++++++---
.../app/components/__tests__/TaskCard.test.tsx | 8 +-
7 files changed, 168 insertions(+), 39 deletions(-)
Fusion-Task-Id: FN-7170
Fusion-Task-Lineage: 03452d6a-0da7-4891-a58e-6d93a93383f7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 23:42:11 -07:00
gsxdsm
27b0cbb05a
FN-7183: link PR numbers to GitHub
...
Make task-detail PR numbers open their GitHub pull request when a URL is present.
- Render the PR number as a secure external link when prInfo.url is available.
- Keep the existing plain text PR number fallback when no URL is present.
- Add focus/hover styling, dashboard documentation, regression tests, and a patch changeset.
Files changed:
.changeset/fn-7183-pr-number-link.md | 7 +++++++
docs/dashboard-guide.md | 1 +
packages/dashboard/app/components/PrPanel.css | 13 ++++++++++++
packages/dashboard/app/components/PrPanel.tsx | 12 ++++++++++-
.../app/components/__tests__/PrPanel.test.tsx | 24 ++++++++++++++++++++++
5 files changed, 56 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-7183
Fusion-Task-Lineage: 0a349723-9dda-4784-b747-b140b85a3013
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 23:37:24 -07:00
gsxdsm
f7e20abe9f
FN-7168: add Chat to the right dock
...
Adds Chat as an inline right-dock tool with compact dock rendering and pop-out support.
- Register Chat as a built-in right-dock overflow view with its toolbar icon and lazy-loaded view.
- Add a compact ChatView layout prop so narrow dock hosts use the mobile-style list/detail flow.
- Cover Chat dock visibility, storage fallback, lazy-load docs, and compact layout behavior with tests.
- Document the updated right-dock tool roster and add a minor changeset.
Files changed:
.changeset/FN-7168-right-dock-chat.md | 7 ++
docs/dashboard-guide.md | 7 +-
.../app/__tests__/lazy-loaded-views-docs.test.ts | 6 +-
packages/dashboard/app/components/ChatView.tsx | 9 ++-
packages/dashboard/app/components/RightDock.tsx | 2 +-
.../__tests__/ChatView.sessions-rooms.test.tsx | 9 +++
.../app/components/__tests__/RightDock.test.tsx | 9 ++-
.../__tests__/overflowViewRegistry.chat.test.tsx | 90 ++++++++++++++++++++++
.../__tests__/overflowViewRegistry.test.tsx | 5 +-
.../app/components/overflowViewRegistry.tsx | 25 ++++++
10 files changed, 158 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-7168
Fusion-Task-Lineage: 194c66f6-bdd9-438e-b648-2a79629534a6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 23:25:19 -07:00
gsxdsm
e42679daff
FN-7173: preserve stuck triage drafts on requeue
...
Stuck triage retries now continue from saved planning drafts instead of restarting.
- Detect non-empty PROMPT.md drafts or saved plan task documents after stuck-detector aborts.
- Requeue draft-backed stuck triage runs as replans with explicit resume feedback and bounded retry escalation.
- Cover prompt-vs-plan recovery, cold retries, approval recovery, and exhaustion behavior in engine tests.
- Document the stuck-triage preservation invariant and add a patch changeset.
Files changed:
...-7173-preserve-triage-draft-on-stuck-requeue.md | 7 +
docs/architecture.md | 6 +-
.../triage-stuck-requeue-preserve-draft.test.ts | 348 +++++++++++++++++++++
packages/engine/src/__tests__/triage.test.ts | 2 +-
packages/engine/src/triage.ts | 153 ++++++++-
5 files changed, 499 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-7173
Fusion-Task-Lineage: 8e59b025-92cc-4902-bf88-b203b65c2c7d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 23:18:28 -07:00