Phil Larson
90756f92b0
fix(core): await secrets store close during TaskStore shutdown
2026-06-29 17:11:59 -07:00
gsxdsm
d7f26bb6cf
fix(FN-7219): stabilize compound engineering workflow
2026-06-29 16:42:11 -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
3886e585dd
fix(FN-7143): show compound workflow node progress
...
Record skill-backed workflow nodes into workflowStepResults and teach task progress surfaces to include those graph-node records without re-showing disabled optional workflow checks.
2026-06-29 14:59:16 -07:00
gsxdsm
41c0cf3603
fix(FN-7235): scope workflow remediation recovery
...
Keep merge finalization from stranding scoped workflow tasks on out-of-scope branch residue, move built-in optional gate remediation attempts into workflow config, and guard review remediation against out-of-scope fixes.
Also covers FN-7236 review-remediation scope drift.
2026-06-29 14:00:32 -07:00
gsxdsm
a84afc178f
fix(FN-7233): preserve workflow optional step phase
2026-06-29 12:47:21 -07:00
gsxdsm
50f8807037
fix(FN-7233): persist workflow transition notifications
...
Store workflow transition notification markers as durable task state so recovery alerts do not depend on human-readable log text.
2026-06-29 12:40:00 -07:00
gsxdsm
e09d45037f
fix(FN-7233): move workflow lifecycle policy into nodes
2026-06-29 12:23:20 -07:00
gsxdsm
24d78816a0
fix(FN-7233): route workflow reviews through remediation nodes
2026-06-29 11:24:41 -07:00
gsxdsm
b169072224
fix(FN-7233): enforce workflow summary and done guards
2026-06-29 11:07:11 -07:00
gsxdsm
6239b2acb3
fix(FN-7228): make built-in code review blocking
2026-06-29 10:16:17 -07:00
gsxdsm
8b20f3458e
fix(FN-7224): address workflow code review findings
...
Fusion-Task-Id: FN-7224
2026-06-29 08:36:07 -07:00
gsxdsm
64518280f7
fix(FN-7224): normalize built-in workflow review toggles
...
Expose Plan Review, Code Review, and Browser Verification optional groups across engineering built-ins, with Quick Fix defaulting all three off and Compound Engineering keeping CE code review inside the shared optional toggle.
Fusion-Task-Id: FN-7224
2026-06-29 08:28:29 -07:00
gsxdsm
f430f5db39
fix(FN-7228): respect workflow step dependencies
2026-06-29 03:23:01 -07:00
gsxdsm
50ccd79b9f
fix(FN-7226): land graph step-session commits
2026-06-29 03:15:30 -07:00
gsxdsm
399a4a2a5f
fix(FN-7226): use graph projection for step sessions
2026-06-29 03:09:43 -07:00
gsxdsm
36d090c326
fix(FN-7225): keep plan review in triage
2026-06-29 02:47:17 -07:00
gsxdsm
c93217dee0
fix(FN-7225): honor plan review approvals in workflows
...
Fusion-Task-Id: FN-7225
2026-06-29 02:08:08 -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
b86ddf4d10
fix(FN-7225): route failed plan review to triage
2026-06-29 00:48:49 -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
dafb0f7280
Test update
2026-06-28 19:58:30 -07:00
gsxdsm
3a83868543
FN-7212: apply reviewer model overrides
...
Route reviewer-family sessions through the shared validator model resolver so task overrides are honored consistently.
- Resolve reviewer, workflow review-step, and spec-review models from one effective settings snapshot.
- Forward task reviewer model overrides from triage into spec review calls.
- Preserve review text capture for session implementations without subscribe support.
- Add coverage for override precedence, test-mode forcing, and optional review lanes.
- Add a patch changeset for the published Fusion package.
Files changed:
.changeset/fn-7212-reviewer-model-overrides.md | 7 ++
.../core/src/__tests__/model-resolution.test.ts | 117 +++++++++++++++++++
.../src/__tests__/executor-review-verdicts.test.ts | 53 ++++++++-
packages/engine/src/__tests__/reviewer.test.ts | 130 +++++++++++++++++++--
packages/engine/src/__tests__/triage.test.ts | 14 ++-
packages/engine/src/reviewer.ts | 91 +++++++++------
packages/engine/src/triage.ts | 3 +
7 files changed, 369 insertions(+), 46 deletions(-)
Fusion-Task-Id: FN-7212
Fusion-Task-Lineage: 34820552-e99c-4da0-97ef-fb1812cb917e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 18:07:02 -07:00
gsxdsm
368f18cce6
FN-7213: restore fast-planning prompt safeguards
...
Restore fast-planning prompt guidance that prompt assertion tests depend on while keeping the spec path concise.
- Reintroduce required duplicate, surface-enumeration, symptom-verification, workflow-routing, task-artifact, and decision-only prompt instructions.
- Keep fast-mode planning guidance lean by replacing the verbose template with compact required sections and safety rules.
- Add a patch changeset describing the restored fast-planning prompt safety guidance.
Files changed:
.changeset/FN-7213-fast-planning-prompt-guidance.md | 7 ++
packages/core/src/agent-prompts.ts | 94 +++++++---------------
2 files changed, 36 insertions(+), 65 deletions(-)
Fusion-Task-Id: FN-7213
Fusion-Task-Lineage: 5b614864-1816-4b41-8933-65a601730aa7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 17:18:52 -07:00
gsxdsm
2051516f8b
FN-7205: prefer live concurrency counts
...
Prefer live runtime stores for concurrency counters so dashboard totals match active agent enforcement.
- Prefer engine-manager task stores before default fallback stores when sourcing live running-agent counts.
- Count running agents from slim task lists across active lifecycle states instead of trusting stale in-progress queries.
- Add regressions for count normalization, default-project store precedence, and scoped semaphore limit changes.
- Add a patch changeset for the published Fusion CLI package.
Files changed:
.changeset/fn-7205-concurrency-counter-enforcement.md | 7 ++++
packages/core/src/__tests__/live-agent-count.test.ts | 18 ++++++++-
packages/dashboard/src/__tests__/server.test.ts | 44 ++++++++++++++++++++--
packages/dashboard/src/server.ts | 8 ++--
packages/engine/src/__tests__/concurrency.test.ts | 38 +++++++++++++++++++
5 files changed, 106 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-7205
Fusion-Task-Lineage: 957d6b2a-b7c4-4fd1-b83b-62f5cd51ebda
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 17:14:00 -07:00
gsxdsm
8eed09c126
FN-7211: fix image attachment MIME sniffing
...
Correct image attachment media types from bytes before sending image blocks to models.
- Add core image MIME sniffing for PNG, JPEG, GIF, and WEBP signatures.
- Use detected image bytes in task triage and dashboard chat attachment image blocks while preserving stored attachment metadata.
- Cover mismatched and unknown image bytes with core, triage, and chat attachment tests.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-7211-webp-image-mime-sniff.md | 7 +++
packages/core/src/__tests__/image-mime.test.ts | 29 ++++++++++
packages/core/src/image-mime.ts | 50 +++++++++++++++++
packages/core/src/index.ts | 2 +
.../src/__tests__/chat-attachment-content.test.ts | 54 +++++++++++++++++--
packages/dashboard/src/chat-attachment-content.ts | 9 +++-
packages/engine/src/__tests__/triage.test.ts | 63 +++++++++++++++++-----
packages/engine/src/triage.ts | 8 ++-
8 files changed, 201 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-7211
Fusion-Task-Lineage: 22bfb812-15c4-4ff7-a281-87b25427561e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 16:51:49 -07:00
gsxdsm
b2e1c3efc2
FN-7201: refresh plugin dashboard-view metadata from manifests
...
Refresh plugin dashboard navigation metadata from the current on-disk manifest so rebuilt plugins do not serve stale view details.
- Resolve the authoritative manifest path from plugin entry directories and package roots.
- Re-read and validate dashboardViews metadata before returning dashboard navigation entries, falling back only when the manifest cannot be used.
- Await refreshed dashboard-view metadata in the dashboard route and cover rebuild/removal cases with tests.
- Add a patch changeset for the published CLI package.
Files changed:
.../FN-7201-plugin-dashboard-view-refresh.md | 7 ++
packages/core/src/__tests__/plugin-loader.test.ts | 114 ++++++++++++++++++++-
packages/core/src/plugin-loader.ts | 94 ++++++++++++++++-
.../dashboard/src/__tests__/plugin-routes.test.ts | 42 +++++++-
packages/dashboard/src/routes.ts | 2 +-
5 files changed, 244 insertions(+), 15 deletions(-)
Fusion-Task-Id: FN-7201
Fusion-Task-Lineage: dbdd5575-1999-4c9c-93a4-25eb8f213e07
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 13:23:00 -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
8facc20eee
chore(release): v0.51.0
...
Version bump via changesets.
2026-06-28 12:49:55 -07:00
gsxdsm
d9a518c0b0
FN-7200: shorten fast planning prompt
...
Shortens fast-mode planning while preserving workflow seam routing.
- Replace the verbose built-in fast triage prompt with a lean speed-first PROMPT.md template.
- Assert the fast prompt remains much shorter than standard planning while retaining required gates.
- Cover selected workflow planning-fast overrides and built-in fallback behavior.
- Add a minor changeset for the published CLI package.
Files changed:
.changeset/FN-7200-fast-planning-prompt.md | 7 +
packages/core/src/__tests__/agent-prompts.test.ts | 11 +-
packages/core/src/agent-prompts.ts | 227 +++++----------------
.../triage-fast-mode-workflow-variant.test.ts | 35 +++-
4 files changed, 98 insertions(+), 182 deletions(-)
Fusion-Task-Id: FN-7200
Fusion-Task-Lineage: cbfd7ed8-163d-4ae5-8c25-873a1b4ed669
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-28 12:24:38 -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
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
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
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
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
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
2448447de6
FN-7161: add worktree grouping board setting
...
Add an opt-in project setting that controls whether board WIP columns show worktree grouping.
- Add the `showWorktreeGrouping` project setting with default-off schema, settings form wiring, and app state propagation.
- Apply the setting to board, lane, and column rendering so WIP/processing columns group by worktree only when enabled.
- Cover default persistence, settings UI, and column grouping behavior with targeted tests and document the operator-facing setting.
Files changed:
.changeset/fn-7161-worktree-grouping-setting.md | 7 ++
docs/dashboard-guide.md | 2 +
docs/settings-reference.md | 1 +
.../core/src/__tests__/settings-defaults.test.ts | 12 +++
packages/core/src/__tests__/store-settings.test.ts | 8 ++
packages/core/src/settings-schema.ts | 1 +
packages/core/src/types.ts | 7 ++
packages/dashboard/app/App.tsx | 2 +
.../app/__tests__/settings-sections.test.tsx | 32 ++++++
packages/dashboard/app/components/Board.tsx | 6 +-
packages/dashboard/app/components/Column.tsx | 28 +++---
packages/dashboard/app/components/Lane.tsx | 2 +
.../dashboard/app/components/SettingsModal.tsx | 1 +
.../app/components/__tests__/Column.test.tsx | 112 ++++++++++++++++++++-
.../app/components/dashboard/MainContent.tsx | 3 +
.../dashboard/app/components/dashboard/types.ts | 1 +
.../settings/sections/WorktreesSection.tsx | 5 +
packages/dashboard/app/hooks/useAppSettings.ts | 4 +
18 files changed, 216 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-7161
Fusion-Task-Lineage: 4482522d-ea18-4b4f-b3fb-92af5ff5b9cd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 22:37:19 -07:00
gsxdsm
e5a0273282
FN-7166: Refresh artifact lists from registration events
...
Artifact list surfaces now refresh from authoritative registry and artifact-message signals.\n\n- Emit an artifact:registered TaskStore event after successful registry writes and forward it over dashboard SSE.\n- Subscribe useArtifacts to artifact/message SSE events, scope refreshes by project/task, debounce duplicate signals, and avoid loading flashes when project context is missing.\n- Document live artifact refresh behavior and add regression coverage for store events and hook refresh paths.\n\nFiles changed:\n .changeset/FN-7166-artifact-live-refresh.md | 7 +\n docs/dashboard-guide.md | 3 +-\n packages/core/src/__tests__/artifacts.test.ts | 20 +-\n packages/core/src/store.ts | 8 +-\n .../app/hooks/__tests__/useArtifacts.test.ts | 227 +++++++++++++++++++--\n packages/dashboard/app/hooks/useArtifacts.ts | 83 +++++++-\n packages/dashboard/src/sse.ts | 7 +\n 7 files changed, 335 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-7166
Fusion-Task-Lineage: f13e254d-d65c-423e-8d9c-94c31761eac2
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 22:15:53 -07:00
gsxdsm
34efa8b89a
FN-7165: title refinement tasks with source feedback
...
Refinement tasks now surface the source task ID and operator feedback in their generated titles.
- Build refinement titles from the source task ID plus normalized feedback instead of the source title or description fallback.
- Preserve the source-ID prefix while capping titles at MAX_TITLE_LENGTH and leaving refinement descriptions unchanged.
- Update refinement task and prompt-heading tests for titled, untitled, whitespace-heavy, and long-feedback cases.
- Add a changeset for the published CLI package.
Files changed:
.changeset/fn-7165-refinement-title.md | 7 +++
packages/core/src/__tests__/store-create.test.ts | 2 +-
packages/core/src/__tests__/store-ops.test.ts | 75 +++++++++++++++++-------
packages/core/src/store.ts | 28 ++++-----
4 files changed, 71 insertions(+), 41 deletions(-)
Fusion-Task-Id: FN-7165
Fusion-Task-Lineage: abb16dae-26d1-4600-bb19-e2634ab16795
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 22:07:07 -07:00
gsxdsm
a95cfa7f92
FN-7160: unify live agent counts and fix use markers
...
Unifies running-agent slot accounting across engine, CLI, and dashboard surfaces.
- Add shared core helpers for identifying and counting active top-level agent tasks, including in-review reviewer, merger, fix, and PR merge states.
- Reuse the shared count in engine semaphore repair, project health displays, and dashboard project-store routes.
- Correct Command Center utilization markers to use a zero-based active/cap ratio.
- Cover the shared predicate and affected CLI, dashboard, and engine behaviors with regression tests.
Files changed:
.changeset/fn-7160-running-agent-count.md | 7 ++++
docs/dashboard-guide.md | 2 +-
.../cli/src/commands/__tests__/project.test.ts | 40 ++++++++++++++----
packages/cli/src/commands/project.ts | 15 +++----
.../core/src/__tests__/live-agent-count.test.ts | 47 ++++++++++++++++++++++
packages/core/src/index.ts | 2 +
packages/core/src/live-agent-count.ts | 30 ++++++++++++++
packages/core/src/types.ts | 2 +-
.../command-center/CommandCenterControls.tsx | 14 ++++---
.../__tests__/CommandCenterControls.test.tsx | 22 +++++++++-
.../dashboard/src/__tests__/project-routes.test.ts | 31 +++++++++-----
.../src/__tests__/project-store-resolver.test.ts | 20 ++++++---
packages/dashboard/src/project-store-resolver.ts | 9 ++---
.../src/routes/register-project-routes.ts | 7 ++--
packages/engine/src/__tests__/concurrency.test.ts | 18 +++++++++
packages/engine/src/concurrency.ts | 12 +++---
16 files changed, 220 insertions(+), 58 deletions(-)
Fusion-Task-Id: FN-7160
Fusion-Task-Lineage: f48332f8-ac5d-46eb-b975-d2f6c880ddd5
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 21:39:40 -07:00
gsxdsm
8b124960b8
FN-7154: prevent duplicate automation schedule runs
...
Add an atomic schedule claim so concurrent automation pollers execute each due window only once.
- Add AutomationStore.claimDueSchedule to CAS-advance nextRunAt before execution.
- Gate CronRunner execution on the claim across project, global, and all-scope pollers.
- Cover single-store, shared SQLite, legacy command, step, and in-process intercept deduplication paths.
- Document the claim-then-run automation invariant.
Files changed:
docs/architecture.md | 1 +
.../core/src/__tests__/automation-store.test.ts | 77 +++++++++++++++
packages/core/src/automation-store.ts | 33 +++++++
packages/engine/src/__tests__/cron-runner.test.ts | 110 +++++++++++++++++++++
packages/engine/src/cron-runner.ts | 18 +++-
5 files changed, 237 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-7154
Fusion-Task-Lineage: 490ba154-9dd8-4e92-bacb-24b7184cb6f8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 20:09:52 -07:00
gsxdsm
100164dc50
FN-7150: show ephemeral agent token counts
...
Surface task-derived token usage for ephemeral agents in dashboard agent views.
- Attribute task token totals across assigned, source, and checkout agent links.
- Backfill zero-valued agent list token totals from linked task usage.
- Allow Agent Detail token usage windows for ephemeral/task-worker agents and cover the routes with tests.
- Document the dashboard behavior and add a patch changeset.
Files changed:
.changeset/fn-7150-ephemeral-agent-token-counts.md | 7 ++
docs/dashboard-guide.md | 1 +
.../core/src/__tests__/agent-token-usage.test.ts | 99 ++++++++++++++++++++--
packages/core/src/__tests__/team-analytics.test.ts | 48 +++++++++++
packages/core/src/agent-token-usage.ts | 83 +++++++++++++++++-
packages/core/src/index.ts | 4 +-
.../__tests__/AgentTokenStatsPanel.test.tsx | 21 +++++
.../src/__tests__/routes-agent-token-usage.test.ts | 20 ++++-
.../dashboard/src/__tests__/routes-agents.test.ts | 87 +++++++++++++++++++
.../src/routes/register-agent-core-routes.ts | 38 ++++++++-
.../src/routes/register-agent-runtime-routes.ts | 5 +-
11 files changed, 395 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-7150
Fusion-Task-Lineage: ce2661ce-5ba5-43b0-aa5c-7fddee90a915
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 19:37:39 -07:00
gsxdsm
729bd5e5f9
chore(release): v0.50.0
...
Version bump via changesets.
2026-06-27 18:10:19 -07:00
gsxdsm
e8163ab81b
FN-7146: add workflow analytics to Command Center
...
Adds a read-only per-workflow analytics surface for Command Center operators.
- Add a core workflow analytics aggregator with token, cost, task status, and files-changed rollups.
- Expose workflow analytics through JSON and CSV Command Center routes using the scoped store default workflow.
- Add the Workflows Command Center tab, localized copy, docs, tests, and a release changeset.
Files changed:
.changeset/fn-7146-workflow-analytics.md | 7 +
docs/dashboard-guide.md | 7 +-
.../core/src/__tests__/workflow-analytics.test.ts | 306 +++++++++++++++++++
packages/core/src/index.ts | 7 +
packages/core/src/workflow-analytics.ts | 339 +++++++++++++++++++++
.../components/command-center/CommandCenter.tsx | 8 +
.../__tests__/CommandCenter.test.tsx | 51 +++-
.../command-center/areas/WorkflowArea.tsx | 170 +++++++++++
.../areas/__tests__/WorkflowArea.test.tsx | 136 +++++++++
.../register-command-center-routes.auth.test.ts | 5 +
.../register-command-center-routes.test.ts | 109 +++++++
packages/dashboard/src/command-center-csv.ts | 57 ++++
.../src/routes/register-command-center-routes.ts | 30 ++
packages/i18n/locales/en/app.json | 21 ++
packages/i18n/locales/es/app.json | 21 ++
packages/i18n/locales/fr/app.json | 21 ++
packages/i18n/locales/ko/app.json | 21 ++
packages/i18n/locales/zh-CN/app.json | 21 ++
packages/i18n/locales/zh-TW/app.json | 21 ++
19 files changed, 1354 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-7146
Fusion-Task-Lineage: f75e40a5-9010-45d5-a729-132e547887d7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 17:46:17 -07:00
gsxdsm
d4137f1abc
FN-7144: complete compound engineering workflow audit
...
Adds the missing CE document-review stage and tightens workflow docs, compilation, and tests.
- Add optional advisory ce-doc-review support to the compound engineering built-in workflow.
- Register and document the compound-engineering ce-doc-review skill for markdown CE plan review.
- Preserve optional-group workflow semantics when compiling legacy steps and cover the CE workflow seams with tests.
- Update operator docs and add a published package changeset.
Files changed:
.changeset/fn-7144-compound-engineering-audit.md | 7 +++
docs/workflow-editor.md | 2 +-
docs/workflow-steps.md | 4 +-
.../core/src/__tests__/builtin-workflows.test.ts | 29 +++++++++-
packages/core/src/builtin-workflows.ts | 62 ++++++++++++++++++++--
packages/core/src/workflow-compiler.ts | 3 +-
.../__tests__/ce-workflow-step-conventions.test.ts | 8 +++
.../src/__tests__/interpreter-merge-seam.test.ts | 3 +-
.../src/__tests__/manifest.test.ts | 1 +
.../src/skills.ts | 13 +++++
.../src/skills/ce-doc-review/SKILL.md | 54 +++++++++++++++++++
11 files changed, 175 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-7144
Fusion-Task-Lineage: bedbfad4-d6e8-489e-a555-803991a1ad54
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 17:40:42 -07:00
gsxdsm
9e7c57da08
FN-7139: show task columns on agent badges
...
Enrich dashboard agent task indicators with linked task column context.
- Add API-side transient taskColumn enrichment for active agent task links, including an unresolved sentinel for missing tasks.
- Render shared agent task badges across agent panels, detail views, lists, and mobile surfaces.
- Extend dashboard/API coverage and document the task-column badge behavior with a published changeset.
Files changed:
.changeset/fn-7139-agent-task-column-context.md | 7 ++
docs/dashboard-guide.md | 2 +
packages/core/src/types.ts | 5 ++
.../dashboard/app/components/ActiveAgentsPanel.tsx | 3 +-
.../dashboard/app/components/AgentDetailView.tsx | 5 +-
.../dashboard/app/components/AgentListModal.tsx | 3 +-
.../dashboard/app/components/AgentTaskBadge.tsx | 28 +++++++
packages/dashboard/app/components/AgentsView.tsx | 3 +-
.../__tests__/ActiveAgentsPanel.test.tsx | 55 ++++++++++---
.../__tests__/AgentDetailView.core.test.tsx | 65 +++++++++++++++
.../AgentDetailView.mobile-scroll.test.tsx | 16 +++-
.../components/__tests__/AgentListModal.test.tsx | 16 +++-
.../app/components/__tests__/AgentsView.test.tsx | 23 +++++-
.../dashboard/src/__tests__/routes-agents.test.ts | 92 +++++++++++++++++++++-
packages/dashboard/src/routes.ts | 13 ++-
15 files changed, 306 insertions(+), 30 deletions(-)
Fusion-Task-Id: FN-7139
Fusion-Task-Lineage: 3f6d9470-b98f-4bd3-a91e-7e69ab624d48
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 17:11:13 -07:00
gsxdsm
6f46fa17dd
FN-7138: show task column context in agent assignments
...
Agent Current Task output now includes linked task column context to distinguish active execution from parked or stale links.
- Add shared Current Task formatting for active, terminal, and unresolved task links.
- Show linked task columns in engine and CLI agent list/show surfaces.
- Cover parked, active, terminal, and missing task-link display cases with tests.
- Document the durable agent task-link invariant and release the CLI fix.
Files changed:
.changeset/fn-7138-agent-current-task-context.md | 7 ++++
docs/agents.md | 1 +
docs/architecture.md | 2 +-
packages/cli/src/__tests__/extension.test.ts | 44 ++++++++++++++++++++++
packages/cli/src/extension.ts | 35 +++++++++++++++--
packages/core/src/agent-store.ts | 30 +++++++++++++++
packages/core/src/index.ts | 2 +-
.../src/__tests__/agent-tools-delegation.test.ts | 44 +++++++++++++++++++++-
packages/engine/src/agent-tools.ts | 15 ++++++--
9 files changed, 169 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-7138
Fusion-Task-Lineage: 0ea97b4c-d4f8-4289-a5b6-e5c51b47b768
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 16:16:25 -07:00