Commit Graph

7530 Commits

Author SHA1 Message Date
gsxdsm
b872b37d72 FN-6117: expose task attachments in workflow step prompts
Make workflow-driven task execution keep attachment context available across step prompts and retries.

- add attachment guidance to full step prompts so agents can read project-root task attachments from worktrees
- include attachment availability in reduced retry prompts after context-limit failures
- cover attachment preservation through workflow runtime execution and step prompt generation with engine tests

Files changed:
 .../src/__tests__/step-session-executor.test.ts    | 272 +++++++++++++++++++++
 .../src/__tests__/workflow-task-runtime.test.ts    |  94 ++++++-
 packages/engine/src/step-session-executor.ts       |  13 +-
 3 files changed, 376 insertions(+), 3 deletions(-)

Fusion-Task-Id: FN-6117

Fusion-Task-Lineage: 520eb1bc-e276-449a-acfe-ccbabefe69e3
2026-06-09 13:31:30 -07:00
gsxdsm
5c7b3a0e5e FN-6116: clear terminal event buffers after subscriber delivery
Prevent stale terminal connection metadata from replaying after it has already been delivered.

- only retain scrollback and connected payloads when no listeners are registered yet
- clear buffered terminal events after live subscribers receive them
- add regression coverage for scrollback and connected replay behavior

Files changed:
 .../app/hooks/__tests__/useTerminal.test.ts        | 50 ++++++++++++++++++++++
 packages/dashboard/app/hooks/useTerminal.ts        | 23 ++++++----
 2 files changed, 65 insertions(+), 8 deletions(-)

Fusion-Task-Id: FN-6116

Fusion-Task-Lineage: 5876fe24-2e90-4ef1-9e8b-5abce40555b4
2026-06-09 12:57:21 -07:00
gsxdsm
17312c9fae FN-6118: make workflow lane headers tappable
Replace the empty lane toggle button with an accessible tappable header for workflow rows on mobile.

- make the full workflow lane header act as the collapse toggle
- add keyboard support plus hover and focus-visible states for the header control
- update Lane tests to cover header click, keyboard toggles, and removal of the empty icon button

Files changed:
 packages/dashboard/app/components/Lane.css         | 11 +++++++
 packages/dashboard/app/components/Lane.tsx         | 30 +++++++++++--------
 packages/dashboard/app/components/__tests__/Lane.test.tsx | 35 +++++++++++++++++++---
 3 files changed, 60 insertions(+), 16 deletions(-)

Fusion-Task-Id: FN-6118

Fusion-Task-Lineage: 0cc1b632-1e59-4d1d-b274-f1da53a503f4
2026-06-09 12:51:20 -07:00
gsxdsm
34d889f046 FN-6115: remove workflow lane chevron icon
Remove the workflow lane chevron while preserving collapse behavior.

- remove the chevron icon import and button contents from the workflow lane toggle
- keep the existing lane toggle button and accessible label behavior intact
- add a regression test that asserts the lane toggle renders without an svg icon

Files changed:
 packages/dashboard/app/components/Lane.tsx                | 5 +----
 packages/dashboard/app/components/__tests__/Lane.test.tsx | 7 +++++--
 2 files changed, 6 insertions(+), 6 deletions(-)

Fusion-Task-Id: FN-6115

Fusion-Task-Lineage: ce865f17-1e29-4345-b0cd-d5038ca56333
2026-06-09 12:51:20 -07:00
gsxdsm
320b153c45 FN-6113: fail fast on terminal provider errors
Fail fast on non-retryable provider failures in the in-review stall recovery flow.

- classify failed-task provider errors as non-retryable, retryable, or unknown in core stall detection
- surface terminal provider errors with dedicated dashboard copy and exported stall signal metadata
- pause in-review tasks immediately on non-retryable provider failures and record a dedicated run-audit mutation
- add regression coverage for provider error classification, self-healing disposition, and dashboard badge behavior

Files changed:
 .../core/src/__tests__/in-review-stall.test.ts     |  70 ++++++++++
 packages/core/src/in-review-stall.ts               |  53 ++++++-
 packages/core/src/index.ts                         |   4 +-
 .../app/utils/__tests__/inReviewStallCopy.test.ts  |   5 +-
 packages/dashboard/app/utils/inReviewStallCopy.ts  |   8 ++
 .../in-review-stall-deadlock-disposition.test.ts   | 153 +++++++++++++++++++++
 packages/engine/src/run-audit.ts                   |   1 +
 packages/engine/src/self-healing.ts                |  30 +++-
 8 files changed, 320 insertions(+), 4 deletions(-)

Fusion-Task-Id: FN-6113

Fusion-Task-Lineage: 5e89adb4-6b59-4deb-8811-5c75d6fa19cc
2026-06-09 12:51:20 -07:00
gsxdsm
6a77217f94 FN-6112: fix reliability view flex sizing
Ensure the reliability view fills its flex container across loading, populated, and error states.

- add full-height styling for reliability loading and error states
- include reliability view in shared min-height reset for app content containers
- expand reliability view tests to assert width and height fill on desktop and mobile

Files changed:
 packages/dashboard/app/components/ReliabilityView.css      |  7 +++++++
 .../app/components/__tests__/ReliabilityView.test.tsx      | 14 ++++++++++----
 packages/dashboard/app/styles.css                          |  3 ++-
 3 files changed, 19 insertions(+), 5 deletions(-)

Fusion-Task-Id: FN-6112

Fusion-Task-Lineage: c5b2bd85-4024-4f88-b64d-dbc90b3cf2ed
2026-06-09 12:51:20 -07:00
gsxdsm
7cfc2168a2 FN-6111: alias bundled plugin views to source entries
Keep bundled plugin dashboard views loading from source so Compound Engineering no longer falls back to the unavailable placeholder.

- switch bundled dependency graph, roadmap, and compound engineering dashboard view loaders to static literal imports
- add vitest aliases for dependency graph and compound engineering dashboard view source entrypoints and cover the alias contract with regression tests
- document the missing-alias failure mode and the static-import requirement for bundled dashboard views

Files changed:
 .../bundled-plugin-vite-alias-missing.md            | 20 +++++++++++---------
 .../__tests__/registerBundledPluginViews.test.tsx   | 10 +++++++--
 .../app/plugins/registerBundledPluginViews.ts       | 19 +++++-------------
 .../runtime-plugin-alias-regression.test.ts         | 21 ++++++++++++++------
 packages/dashboard/vitest.config.ts                 |  8 ++++++++
 5 files changed, 49 insertions(+), 29 deletions(-)

Fusion-Task-Id: FN-6111

Fusion-Task-Lineage: a41b893c-4c14-4a2d-b0c9-47e1dbd0e1ef
2026-06-09 12:51:20 -07:00
gsxdsm
d1996a9899 FN-6110: fix Reliability view flex sizing on mobile
Keep the Reliability view filling its flex parent across mobile and desktop states.

- add flex growth and min-width safeguards to the Reliability view, loading, and error containers
- add desktop and mobile regression coverage for loading, populated, and error rendering states

Files changed:
 packages/dashboard/app/components/ReliabilityView.css  |  6 +++
 packages/dashboard/app/components/__tests__/ReliabilityView.test.tsx | 59 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

Fusion-Task-Id: FN-6110

Fusion-Task-Lineage: 5fe1e5a7-f13a-4316-8c4e-b5c85a51ce86
2026-06-09 12:51:20 -07:00
gsxdsm
934071cc3c FN-6107: always summarize untitled agent-created tasks
Ensure agent-created untitled tasks still request AI-generated titles even when project auto-summarization is disabled.

- force summarize=true for agent-created tasks that do not provide an explicit title
- add engine tests covering untitled, titled, and title-generation behavior with autoSummarizeTitles disabled
- document the agent-task summarization behavior in settings docs
- add a patch changeset for the published CLI package

Files changed:
 .changeset/agent-task-title-summaries.md          |  5 ++
 docs/settings-reference.md                        |  2 +-
 packages/engine/src/__tests__/agent-tools.test.ts | 63 +++++++++++++++++++++++
 packages/engine/src/agent-tools.ts                |  1 +
 4 files changed, 70 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6107

Fusion-Task-Lineage: d0c25981-a5cb-48ca-b835-9267817b4edd
2026-06-09 12:51:20 -07:00
gsxdsm
94b7cf01bd FN-6102: guard spawnSync lookup in pi extensions
Avoid crashing when partial child_process mocks omit spawnSync.

- lazily load spawnSync from node:child_process via createRequire
- return null from Git linked worktree detection when spawnSync is unavailable
- add a regression test covering partial child_process mocks that only stub execSync

Files changed:
 packages/core/src/__tests__/pi-extensions.test.ts | 22 +++++++++++++++++++++-
 packages/core/src/pi-extensions.ts                | 18 +++++++++++++++++-
 2 files changed, 38 insertions(+), 2 deletions(-)

Fusion-Task-Id: FN-6102

Fusion-Task-Lineage: 22f98a1c-d296-4aa4-ac3d-7beead127dac
2026-06-09 12:51:20 -07:00
gsxdsm
83e0603504 FN-6099: fix mobile workflow selector CSS contract
Update the WorkflowNodeEditor CSS contract test to match the standalone mobile panel override selector.

- narrow the mobile selector contract assertion to the select and manage controls
- stop expecting the collapsed button in the standalone override rule

Files changed:
 packages/dashboard/app/components/__tests__/WorkflowNodeEditor.css.test.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Fusion-Task-Id: FN-6099

Fusion-Task-Lineage: 0e698ef2-c532-4a7d-9450-17b04f93be37
2026-06-09 12:51:20 -07:00
gsxdsm
2e48e8627a FN-6098: add workspace file creation actions
Add workspace file and folder creation to the dashboard file browser.

- add dashboard API helpers and backend route support for creating workspace directories and empty files
- add New File and New Folder header actions in FileBrowser with dialog handling and responsive header styling
- cover create flows with FileBrowser and route tests and document the new browser actions

Files changed:
 docs/dashboard-guide.md                            |  1 +
 packages/dashboard/app/api/legacy.ts               | 29 ++++++-
 packages/dashboard/app/components/FileBrowser.css  | 32 ++++++++
 packages/dashboard/app/components/FileBrowser.tsx  | 75 ++++++++++++++----
 packages/dashboard/app/components/__tests__/FileBrowser.test.tsx  | 92 ++++++++++++++++++++++
 packages/dashboard/src/__tests__/routes-git.test.ts     | 55 +++++++++++++
 packages/dashboard/src/file-service.ts             | 69 +++++++++++++++-
 packages/dashboard/src/routes/README.md            |  8 +-
 packages/dashboard/src/routes/register-file-workspace-routes.ts   | 34 +++++++-
 9 files changed, 372 insertions(+), 23 deletions(-)

Fusion-Task-Id: FN-6098
Fusion-Task-Lineage: 9a2a1ca1-8b5d-4e95-ba76-e7166621c898
2026-06-09 12:51:20 -07:00
gsxdsm
6271778dde FN-6091: add workflow_id support to task tools
Add workflow selection support across task creation, delegation, and updates.

- add workflow_id parameters and response text for engine and CLI task-creation/delegation tools
- allow fn_task_update to select or clear task workflows with reconciliation and validation
- cover workflow selection behavior with engine and extension tests and document the new tool parameters
- add a changeset for the published CLI package

Files changed:
 .changeset/fn-6091-workflow-id-agent-tools.md      |   5 +
 .../cli/skill/fusion/references/engine-tools.md    |   4 +-
 .../cli/skill/fusion/references/extension-tools.md |   9 +-
 .../skill/fusion/references/fusion-capabilities.md |   6 +-
 packages/cli/src/__tests__/extension.test.ts       | 189 +++++++++++++++++++++
 packages/cli/src/extension.ts                      |  71 +++++++-
 packages/engine/src/__tests__/agent-tools.test.ts  |  78 +++++++++
 packages/engine/src/agent-tools.ts                 |  32 +++-
 8 files changed, 374 insertions(+), 20 deletions(-)

Fusion-Task-Id: FN-6091

Fusion-Task-Lineage: 7ab2f36a-feeb-4888-9845-65294bacf1d0
2026-06-09 12:51:20 -07:00
gsxdsm
49bd88f4d0 FN-6104: preserve QuickEntryBox disclosure state after task creation
Keep QuickEntryBox expanded or collapsed after creating a task instead of forcing a reset.

- stop resetForm from collapsing the textarea and disclosure controls after successful task creation
- update QuickEntryBox tests to expect preserved visible controls after submit and preserved collapsed state when manually collapsed
- cover the submit flow where focus restoration keeps controls visible without changing user-selected disclosure state

Files changed:
 .../dashboard/app/components/QuickEntryBox.tsx     |  2 --
 .../components/__tests__/QuickEntryBox.test.tsx    | 38 +++++++++++++++++-----
 2 files changed, 29 insertions(+), 11 deletions(-)

Fusion-Task-Id: FN-6104

Fusion-Task-Lineage: fd77c491-cd37-4a57-8270-3eb5e7ba3c94
2026-06-09 12:51:20 -07:00
gsxdsm
d240fb8735 FN-6108: mock gh auth in github-tracking engine tests
Stabilize engine github-tracking tests by fully mocking gh auth-dependent modules.

- hoist github-tracking module paths and replace maybeCreateTrackingIssue with shared vi mocks
- mock @fusion/core gh availability/auth helpers so dashboard tracking hooks do not touch real gh-cli state
- switch per-test cleanup from restoreAllMocks to clearAllMocks and import mocked hook helpers directly

Files changed:
 ...gent-task-creation-github-tracking-flag.test.ts | 44 ++++++++++++++--------
 .../agent-tools-github-tracking-end-to-end.test.ts | 43 ++++++++++++++-------
 2 files changed, 58 insertions(+), 29 deletions(-)

Fusion-Task-Id: FN-6108

Fusion-Task-Lineage: c7e9aac2-9687-45d5-9b96-233421aa19eb
2026-06-09 12:51:20 -07:00
gsxdsm
21f7a47c29 FN-6103: align chat stop button sizing with composer height
Align the regular chat stop button with the composer control sizing while quarantining an unrelated flaky room test.

- define a shared chat input control size variable and apply it to send/stop buttons for consistent width and minimum height
- update the chat input autosize CSS test to assert the shared control size contract and textarea minimum height
- quarantine the unrelated flaky ChatView rooms test in the dashboard Vitest config and quarantine ledger per policy

Files changed:
 packages/dashboard/app/components/ChatView.css       | 20 +++++++++++++-------
 .../__tests__/ChatView.chat-input-autosize.test.tsx  | 16 +++++++++++-----
 packages/dashboard/vitest.config.ts                  |  3 ++-
 scripts/lib/test-quarantine.json                     |  8 +++++++-
 4 files changed, 33 insertions(+), 14 deletions(-)

Fusion-Task-Id: FN-6103

Fusion-Task-Lineage: 3efc95ba-9369-4022-aa6e-f1981485caea
2026-06-09 12:51:20 -07:00
gsxdsm
7a2864f411 FN-6101: pass planning model overrides to quick task workflows
Ensure quick task model overrides flow through planning and submission.

- add planning model selection state to inline task creation and include it in submit payloads only when explicitly overridden
- extend the model selection modal with an optional planning-model picker that clears preset mode consistently with other manual overrides
- cover planning, combined overrides, and default omission behavior in inline create card and quick entry tests

Files changed:
 packages/dashboard/app/components/InlineCreateCard.tsx  | 26 ++++++++-
 packages/dashboard/app/components/ModelSelectionModal.tsx         | 45 +++++++++++++++
 packages/dashboard/app/components/__tests__/InlineCreateCard.test.tsx | 67 +++++++++++++++++++++-
 packages/dashboard/app/components/__tests__/QuickEntryBox.test.tsx    | 49 ++++++++++++----
 4 files changed, 172 insertions(+), 15 deletions(-)

Fusion-Task-Id: FN-6101

Fusion-Task-Lineage: 7c1553d2-3edb-4b23-ad36-77756bbfe1dc
2026-06-09 12:51:20 -07:00
gsxdsm
fc33a425fc FN-6088: open workflow editor on selected workflow
Open workflow-mode edits on the workflow the user already selected.

- pass the workflow editor's initial workflow id through AppModals
- preselect the matching workflow in WorkflowNodeEditor before defaulting to the first workflow
- skip the mobile workflow list stage when a valid initial workflow is already selected
- add dashboard tests for desktop selection, missing-id fallback, and mobile deep-link behavior
- add a patch changeset for @runfusion/fusion

Files changed:
 .../fn-6088-workflow-editor-selected-workflow.md   |  5 +++
 packages/dashboard/app/components/AppModals.tsx    |  1 +
 .../app/components/WorkflowNodeEditor.tsx          | 37 ++++++++++++++++++++--
 .../__tests__/WorkflowNodeEditor.test.tsx          | 34 ++++++++++++++++++++
 4 files changed, 74 insertions(+), 3 deletions(-)

Fusion-Task-Id: FN-6088

Fusion-Task-Lineage: 88a0cd03-2112-4706-b6b5-4cbebdcae234
2026-06-09 12:51:20 -07:00
gsxdsm
0b0186a22e fix(FN-6088): suppress queued merge stalled badges
Suppress legacy stalledReview hydration for tasks already owned by the merge queue and avoid repeated mergeable-review re-enqueue churn for queued tasks.

Fusion-Task-Id: FN-6088
2026-06-09 12:50:26 -07:00
gsxdsm
14bed7d897 FN-6097: fix reliability view loading and error rendering
Improve ReliabilityView so pending and failed fetches render explicit UI states.

- add dedicated loading and error states to ReliabilityView while preserving existing data during background refreshes
- style the new reliability loading and error containers in the dashboard view CSS
- extend ReliabilityView tests to cover loading, fetch failure, and refresh behavior alongside the existing layout assertion

Files changed:
 packages/dashboard/app/components/ReliabilityView.css  | 25 ++++++++++
 packages/dashboard/app/components/ReliabilityView.tsx  | 41 ++++++++++++++---
 packages/dashboard/app/components/__tests__/ReliabilityView.test.tsx | 53 ++++++++++++++++++++--
 3 files changed, 109 insertions(+), 10 deletions(-)

Fusion-Task-Id: FN-6097

Fusion-Task-Lineage: c6949cc6-4383-4e53-8467-5656a101199e
2026-06-09 12:50:26 -07:00
gsxdsm
55ba994ae9 FN-6096: run worktree init command in post-merge worktrees
Run the configured worktree init command before post-merge workflow steps use their temporary worktree.

- execute the configured worktreeInitCommand inside isolated post-merge worktrees before workflow steps run
- log successful and failed post-merge init outcomes while keeping workflow-step execution non-fatal on init failure
- add merger tests covering configured init execution, missing init configuration, and init-command failure handling

Files changed:
 packages/engine/src/__tests__/merger-post-merge.test.ts | 156 +++++++++++++++++++++
 packages/engine/src/merger.ts                      |  71 +++++++++-
 2 files changed, 226 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6096

Fusion-Task-Lineage: 32ba5e62-cffd-4d94-bd23-a7ce2df3cbf9
2026-06-09 12:50:26 -07:00
gsxdsm
be7645f86b FN-6092: align task card promote button right
Right-align the task card promote action within its action row.

- add auto margin to the promote action so it anchors to the row's right edge
- cover the promote action alignment with a TaskCard CSS regression test
- add a patch changeset for the published CLI package

Files changed:
 .changeset/fn-6092-promote-button.md                |  5 +++++
 packages/dashboard/app/components/TaskCard.css      |  1 +
 .../app/components/__tests__/TaskCard.test.tsx      | 21 +++++++++++++++++++++
 3 files changed, 27 insertions(+)

Fusion-Task-Id: FN-6092

Fusion-Task-Lineage: eacd596e-c810-44fd-b8ec-05c76988649f
2026-06-09 12:50:26 -07:00
gsxdsm
07a5365115 FN-6093: fix ntfy workflow notification delivery
Ensure workflow and merge-triggered ntfy notifications fire reliably.

- preserve merge-backed task metadata before moving tasks to done so merged notifications retain context
- treat an empty ntfy event allowlist as the documented default event set
- allow failed or no-provider notification attempts to clear dedupe state and retry after settings refresh
- add regression coverage for workflow notify dispatch, stale-settings refresh, and merged-task ntfy delivery

Files changed:
 .changeset/fn-6093-notification-workflow-fix.md    |   5 +
 packages/engine/src/__tests__/merger-ai.test.ts    |   9 +-
 packages/engine/src/__tests__/notification-service.test.ts     | 165 +++++++++++++++++++++
 packages/engine/src/merger-ai.ts                   |  18 ++-
 packages/engine/src/notification/notification-service.ts       |  14 +-
 packages/engine/src/notifier.ts                    |   2 +-
 6 files changed, 208 insertions(+), 5 deletions(-)

Fusion-Task-Id: FN-6093

Fusion-Task-Lineage: fc42cb94-f542-4a34-a325-ffb55dea02f4
2026-06-09 12:50:26 -07:00
gsxdsm
313751962b FN-6086: fix promote action spacing on task cards
Align the promote action chip with the task card's other pill-style controls.

- add shared gap and padding to the promote action chip styling
- match send-back promote styling to the updated chip spacing contract
- load app CSS in the task card test and assert the promote action keeps the expected chip class and spacing

Files changed:
 packages/dashboard/app/components/TaskCard.css     |  4 +++
 .../app/components/__tests__/TaskCard.test.tsx     | 34 +++++++++++++++-------
 2 files changed, 27 insertions(+), 11 deletions(-)

Fusion-Task-Id: FN-6086

Fusion-Task-Lineage: 8e8f07d2-8bf2-46d3-b488-766694495ec4
2026-06-09 12:50:26 -07:00
gsxdsm
8d7fc1a6c5 Merge pull request #1562 from Runfusion/feature/mobile-workflow
feat: redesign mobile workflow editor
2026-06-09 10:32:08 -07:00
gsxdsm
7a9d2b0f30 fix(FN-6086): preserve merge-queued review tasks
Treat persisted merge queue ownership as an active merge-lane owner when hydrating in-review stall state and when self-healing scans for ghost, stalled, or completion-handoff-limbo tasks.

Also clear false completion-handoff exhaustion for tasks that are still owned by the merge queue so previously poisoned review tasks can continue merging.

Fusion-Task-Id: FN-6086
2026-06-09 09:41:28 -07:00
gsxdsm
8d24fa9b72 fix: address mobile workflow PR feedback 2026-06-09 09:16:59 -07:00
gsxdsm
a937bc6ab0 FN-6090: fix dashboard backfill test contracts
Align dashboard behavior and test expectations for the backfill-2 suite.

- restore the mobile agent delete action for idle, paused, and error states
- update the settings routing test to match the current Scheduling & Capacity button label
- make the EventSource mock behave like a constructed instance in the agents mobile tests
- expect the board mobile render flow to register the pageshow listener

Files changed:
 packages/dashboard/app/components/AgentsView.tsx              | 11 +++++++++++
 .../components/__tests__/SettingsModalNodeRouting.test.tsx    |  2 +-
 .../app/components/__tests__/agents-view-mobile.test.tsx      | 11 +++++++----
 .../components/__tests__/board-mobile-initial-render.test.tsx |  2 +-
 4 files changed, 20 insertions(+), 6 deletions(-)

Fusion-Task-Id: FN-6090

Fusion-Task-Lineage: 19e880fe-dea7-4d51-b8e0-97fa184bb5ed
2026-06-09 09:10:57 -07:00
gsxdsm
38d7f1c436 FN-6087: skip completed foreach steps on resume
Prevent shared-isolation foreach resumes from re-running terminal task steps.

- skip foreach step instances whose persisted status is already done or skipped before launching step-execute
- log resume skips so restart behavior is auditable during shared-isolation foreach runs
- add regression coverage for all-done resumes, mixed done/skipped resumes, and in-progress step replays

Files changed:
 .../src/__tests__/workflow-graph-foreach.test.ts   | 85 ++++++++++++++++++++++
 packages/engine/src/workflow-graph-foreach.ts      | 13 ++++
 2 files changed, 98 insertions(+)

Fusion-Task-Id: FN-6087

Fusion-Task-Lineage: 56805a5c-a1ea-41bc-a758-1afed83c6bb7
2026-06-09 09:00:46 -07:00
gsxdsm
ccd44b77fe fix(FN-6085): canonicalize merge worktree boundaries 2026-06-09 08:51:48 -07:00
gsxdsm
2a2b7d0b61 FN-6081: expand quick task entry by default
Make quick task entry open with its controls visible by default.

- default the quick entry textarea and disclosure controls to the expanded state
- update quick entry component tests to assert the new default-expanded behavior and collapse toggle flow
- tighten App settings-button selection to avoid collisions with quick-entry control labels

Files changed:
 .../__tests__/quick-entry-expanded-height.test.tsx |  24 +--
 .../dashboard/app/components/QuickEntryBox.tsx     |   6 +-
 .../app/components/__tests__/App.test.tsx          |   8 +-
 .../components/__tests__/QuickEntryBox.test.tsx    | 174 ++++++++++-----------
 4 files changed, 103 insertions(+), 109 deletions(-)

Fusion-Task-Id: FN-6081

Fusion-Task-Lineage: 37cce52f-170c-4f2a-b340-33bbe225f610
2026-06-09 08:46:25 -07:00
gsxdsm
5f5852db8f fix(FN-6085): accept canonical merge worktree paths 2026-06-09 08:43:20 -07:00
gsxdsm
c1a723134e feat: redesign mobile workflow editor 2026-06-09 08:30:35 -07:00
gsxdsm
85c3420f93 fix(FN-6079): resolve task tools from merge worktrees 2026-06-09 08:19:41 -07:00
gsxdsm
a2f4bb14c0 FN-6080: remove workflow selector collapse controls
Always render the workflow selector expanded across the dashboard.

- remove collapsible workflow selector props, state, icons, and toggle styles
- stop InlineCreateCard from passing collapse persistence options
- delete project storage support and tests for collapsed workflow selector state
- add a patch changeset for the published CLI package

Files changed:
 .changeset/fn-6080-removal.md                      |  5 ++
 .../dashboard/app/components/InlineCreateCard.tsx  |  3 -
 .../dashboard/app/components/WorkflowSelector.css  | 14 +----
 .../dashboard/app/components/WorkflowSelector.tsx  | 65 +--------------------
 .../components/__tests__/InlineCreateCard.test.tsx | 50 ----------------
 .../components/__tests__/WorkflowSelector.test.tsx | 68 ----------------------
 .../app/utils/__tests__/projectStorage.test.ts     |  3 +-
 packages/dashboard/app/utils/projectStorage.ts     |  1 -
 8 files changed, 8 insertions(+), 201 deletions(-)

Fusion-Task-Id: FN-6080

Fusion-Task-Lineage: cca26111-9e20-47d0-8473-d18a3b488ae1
2026-06-09 08:14:16 -07:00
gsxdsm
d2b98f14b2 FN-6079: fix mobile workflow editor edge rendering
Ensure the mobile workflow editor keeps the React Flow surface tall enough for edges to render correctly.

- add a full-height mobile rule for the workflow editor React Flow surface
- extend the mobile CSS contract test to assert the height requirement
- broaden the selector width test to cover the collapsed workflow selector button

Files changed:
 packages/dashboard/app/components/WorkflowNodeEditor.css            | 1 +
 .../app/components/__tests__/WorkflowNodeEditor.css.test.ts         | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6079

Fusion-Task-Lineage: a6f1de35-ce99-4673-bfaf-183124969a7c
2026-06-09 08:11:23 -07:00
gsxdsm
a53330786e fix(FN-6082): restore workflow overlap blocking
Workflow-column hold releases now participate in active file-scope leases before moving tasks into in-progress, preserving overlapBlockedBy card badges and scheduler blocking.

Fusion-Task-Id: FN-6082
2026-06-09 08:02:56 -07:00
gsxdsm
cd8126d6a4 fix(FN-6084): honor worktree limit for hold releases
Workflow-column hold releases now reserve against the active worktree count before moving tasks into in-progress, preventing restart bursts from exceeding maxWorktrees.

Fusion-Task-Id: FN-6084
2026-06-09 07:55:45 -07:00
gsxdsm
c285c30c19 FN-6076: align dashboard tests with updated labels and mocks
Update dashboard tests to match current project copy and test doubles.

- rename project selector expectations from 'Select Project'/'View All Projects' to 'Projects'/'Manage Projects'
- update mailbox split-handle CSS assertion for the new color-mix background
- simplify SessionTerminal xterm addon mocks and type the mocked AbortController signal in useDocuments tests

Files changed:
 .../app/components/__tests__/Header.test.tsx        |  8 ++++----
 .../app/components/__tests__/MailboxView.test.tsx   |  2 +-
 .../components/__tests__/MultiProjectFlow.test.tsx  |  2 +-
 .../__tests__/SessionTerminal.mobile.test.tsx       | 21 ++++-----------------
 .../app/hooks/__tests__/useDocuments.test.ts        |  4 ++--
 5 files changed, 12 insertions(+), 25 deletions(-)

Fusion-Task-Id: FN-6076

Fusion-Task-Lineage: 9bd7bd36-75c0-4d88-93b4-53bfb75283fa
2026-06-09 07:24:39 -07:00
gsxdsm
9417c81498 FN-6078: fix dashboard tests to use constructable mocks
Update dashboard tests to mirror constructor-based browser APIs and xterm addons.

- rewrite SessionTerminal mobile test doubles as constructable function mocks so xterm and addon instances initialize like real classes
- replace the useDocuments AbortController stub with a class-based mock to preserve constructor semantics during fetch cancellation tests

Files changed:
 .../__tests__/SessionTerminal.mobile.test.tsx       | 21 +++++++++++++++++----
 .../app/hooks/__tests__/useDocuments.test.ts        |  8 ++++----
 2 files changed, 21 insertions(+), 8 deletions(-)

Fusion-Task-Id: FN-6078

Fusion-Task-Lineage: d8e0a9aa-6c7c-44c1-b9d4-5196924531c1
2026-06-09 07:09:17 -07:00
gsxdsm
b846027cb9 FN-6077: add plugin registry category filter
Add category filtering controls to registry browsing.

- add a registry category select and thread its value through registry loading, retry, install refresh, and live updates
- style the registry controls for desktop and stacked mobile layouts alongside the existing search input
- add registry browse tests covering category filtering, query combinations, debounce timing, and control rendering

Files changed:
 packages/dashboard/app/components/PluginManager.css          |  23 +++++
 packages/dashboard/app/components/PluginManager.tsx          |  58 +++++++-----
 packages/dashboard/app/components/__tests__/PluginManager.registry.test.tsx | 103 ++++++++++++++++++++-
 3 files changed, 161 insertions(+), 23 deletions(-)

Fusion-Task-Id: FN-6077

Fusion-Task-Lineage: a57da263-550e-4607-a9a8-13123ef10867
2026-06-09 07:00:05 -07:00
gsxdsm
4f8bb31774 FN-6074: add plugin registry QA coverage
Expand post-merge QA coverage for plugin registry browsing and install flows.

- add PluginManager registry UI tests for metadata, action states, install failures, loading/error states, search debounce, and responsive rendering
- add API route tests for invalid manifest payloads, sanitized query/category handling, and project-scoped store failure paths
- include the new registry-focused UI and API suites in the dashboard quality vitest config

Files changed:
 .../components/__tests__/PluginManager.registry.test.tsx | 64 ++++++++++++++++++++
 .../src/__tests__/routes-plugin-registry.test.ts        | 68 ++++++++++++++++++++++
 packages/dashboard/vitest.config.ts                     |  3 +-
 3 files changed, 134 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6074

Fusion-Task-Lineage: 5cc00fb9-2ef4-4097-af7f-d8f49c536774
2026-06-09 06:43:13 -07:00
gsxdsm
b1c4f7a4d3 FN-6075: stabilize board workflow toolbar tests
Keep board workflow tests aligned with the collapsible toolbar UI.\n\n- exclude the workflow collapse toggle from toolbar action aria-label assertions in Board tests\n- extend task detail modal lucide-react mocks with the Bell icon used by the updated UI\n\nFiles changed:\n packages/dashboard/app/components/__tests__/Board.test.tsx            | 4 +++-\n .../app/components/__tests__/TaskDetailModal.test-helpers.ts          | 1 +\n 2 files changed, 4 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6075

Fusion-Task-Lineage: 65d7317b-2623-409f-af71-a4512b7919e1
2026-06-09 06:38:24 -07:00
gsxdsm
d66630a43f FN-6073: preserve pending workflow value edits during save
Preserve unsaved workflow value edits made while a save request is in flight.

- track the keys included in the current save request before sending it
- clear only the saved keys after a successful save so newer edits remain pending
- add regression coverage for mid-flight edits that trigger a follow-up save

Files changed:
 packages/dashboard/app/components/WorkflowSettingsPanel.tsx            |  7 +++-
 packages/dashboard/app/components/__tests__/WorkflowSettingsPanel.test.tsx | 41 +++++++++++++++++++++-
 2 files changed, 46 insertions(+), 2 deletions(-)

Fusion-Task-Id: FN-6073

Fusion-Task-Lineage: 31e05269-d51d-40c0-9691-87e61d464992
2026-06-09 06:25:16 -07:00
gsxdsm
f8200adb71 FN-6071: add plugin registry browsing and install actions
Add a curated plugin registry surface to the dashboard plugin manager.

- expose GET /api/plugins/registry with search, category filtering, and installed-state annotations from the dashboard registry manifest
- add registry fetch/install support to the dashboard plugin manager UI, including search, install/manage actions, and related tests
- document plugin registry entries and registry installability in plugin authoring docs and shared concepts

Files changed:
 CONCEPTS.md                                        |   6 +
 docs/PLUGIN_AUTHORING.md                           |  23 ++
 packages/dashboard/app/api/legacy.ts               |  36 +++
 .../dashboard/app/components/PluginManager.css     | 185 ++++++++++++++-
 .../dashboard/app/components/PluginManager.tsx     | 162 ++++++++++++-
 .../PluginManager.install-browse.test.tsx          |   5 +-
 .../__tests__/PluginManager.registry.test.tsx      | 260 +++++++++++++++++++++
 .../components/__tests__/PluginManager.test.tsx    |   3 +-
 .../__tests__/PluginManager.toggle.test.tsx        |   5 +-
 .../src/__tests__/routes-plugin-registry.test.ts   | 156 +++++++++++++
 packages/dashboard/src/plugin-routes.ts            | 115 +++++++++
 packages/dashboard/src/registry-manifest.json      | 143 ++++++++++++
 12 files changed, 1091 insertions(+), 8 deletions(-)

Fusion-Task-Id: FN-6071

Fusion-Task-Lineage: 72c7bdfd-5832-4323-b675-63d0680167d8
2026-06-09 04:27:53 -07:00
gsxdsm
f51e29bb29 FN-6067: reset SettingsModal test mocks before each run
Ensure the SettingsModal quality-settings tests start from a fully reset mock state.

- replace `vi.clearAllMocks()` with `vi.resetAllMocks()` in the SettingsModal test `beforeEach`
- preserve existing timer, storage, and plugin UI cache cleanup around each test

Files changed:
 packages/dashboard/app/components/__tests__/SettingsModal.test.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Fusion-Task-Id: FN-6067

Fusion-Task-Lineage: 90250b2f-2572-4cfe-92e2-e9827a2a605c
2026-06-09 04:05:11 -07:00
gsxdsm
acd9c669fa FN-6060: add archive column to workflow mode board
Show archived workflow cards in a dedicated board column.

- render the selected workflow's archived column instead of filtering archived tasks out of workflow mode
- keep the workflow archived column collapsible and preserve archive-all behavior on the done column
- extend Board workflow tests to cover archived-column rendering, collapse behavior, and workflows without an archived column

Files changed:
 packages/dashboard/app/components/Board.tsx        | 52 +++++++++++++++++++++-
 .../app/components/__tests__/Board.test.tsx        | 48 +++++++++++++++++---
 2 files changed, 92 insertions(+), 8 deletions(-)

Fusion-Task-Id: FN-6060

Fusion-Task-Lineage: 9788bac5-9ccc-427c-a0dd-3cc7f818487a
2026-06-09 04:02:27 -07:00
gsxdsm
ece4a37745 FN-6059: add task title summarization action
Add an inline task-detail action to summarize descriptions into titles.

- add a read-mode "Summarize as title" control in Task Detail for editable tasks with descriptions
- call the title summarizer, persist the generated title, and show loading/success/error feedback
- cover button visibility, pending, success, error, and mobile behavior in Task Detail tests
- document the new Task Detail modal action in the dashboard guide

Files changed:
 docs/dashboard-guide.md                            |   1 +
 .../dashboard/app/components/TaskDetailModal.css   |  47 +++++++
 .../dashboard/app/components/TaskDetailModal.tsx   |  56 +++++++-
 .../__tests__/TaskDetailModal.test-helpers.ts      |   5 +-
 .../components/__tests__/TaskDetailModal.test.tsx  | 145 +++++++++++++++++++++
 5 files changed, 247 insertions(+), 7 deletions(-)

Fusion-Task-Id: FN-6059

Fusion-Task-Lineage: ed5a2f1b-a490-45f7-a747-d28c345f143b
2026-06-09 03:57:40 -07:00
gsxdsm
df74a6b752 FN-6050: stop re-emitting existing mission advisories
Treat previously recorded unlinked-mission advisories as authoritative across insight states.

- remove the generated-only insight filter when checking for an existing unlinked mission advisory
- suppress duplicate advisories even when the existing insight is dismissed, archived, or confirmed
- expand reporter coverage to assert the broader duplicate-detection behavior and insight query shape

Files changed:
 .../unlinked-missions-advisory-reporter.test.ts    | 49 +++++++++++++---------
 .../src/unlinked-missions-advisory-reporter.ts     |  1 -
 2 files changed, 29 insertions(+), 21 deletions(-)

Fusion-Task-Id: FN-6050

Fusion-Task-Lineage: 5b9274f7-baf6-40c1-8a88-2fcc86c7ef14
2026-06-09 03:53:34 -07:00
gsxdsm
7c2d3f5f7a FN-6036: restore SettingsModal workflow-lane test cleanup
Restore the SettingsModal project models workflow-lane test setup so runs start from a clean browser state.

- import and call testing-library cleanup after each test
- reset timers, plugin UI slot cache, and browser storage in test hooks
- unstub globals during teardown to prevent cross-test leakage

Files changed:
 .../dashboard/app/components/__tests__/SettingsModal.test.tsx | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Fusion-Task-Id: FN-6036

Fusion-Task-Lineage: 69976a8b-272f-43a4-b61e-538993f930c8
2026-06-09 03:46:44 -07:00