gsxdsm
73fe461db5
fix: demote routine engine log noise to debug
...
Keep the default TUI for lifecycle transitions (Starting/Specifying/Worktree created/merge/move). Demote expected skips, schedule-trigger echoes, session setup bookkeeping, warm worktree reuse, and fn_run_verification command-fail detail. Pin via severity manifest and contract tests.
2026-08-02 23:18:07 -07:00
gsxdsm
b2373431e4
FN-8752: move escalation model to project selector
...
Centralize executor escalation model selection with the project-scoped provider-aware model control.
- Move escalation provider and model fields from Scheduling to Project Models
- Persist and clear escalation model pairs atomically through the shared selector
- Update search metadata, localization, documentation, and mobile coverage
Files changed:
docs/settings-reference.md | 6 +-
.../__tests__/SettingsModal.mobileClose.test.tsx | 29 +++++++
.../__tests__/SettingsModal.models-auth.test.tsx | 94 ++++++++++++++++++++++
.../search/__tests__/settings-search-index.test.ts | 17 ++++
.../app/components/settings/section-keys.ts | 4 +-
.../sections/ProjectModelsSection.search.ts | 10 +++
.../settings/sections/ProjectModelsSection.tsx | 39 +++++++++
.../settings/sections/SchedulingSection.search.ts | 18 -----
.../settings/sections/SchedulingSection.tsx | 2 -
.../settings-default-descriptions.test.tsx | 4 +-
packages/dashboard/src/shared/settings-sections.ts | 9 +++
packages/i18n/locales/en/app.json | 4 +
packages/i18n/src/resources.d.ts | 4 +
13 files changed, 213 insertions(+), 27 deletions(-)
Fusion-Task-Id: FN-8752
Fusion-Task-Lineage: f0f430d7-7976-4b65-89c5-8eab3487d26a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-02 23:12:56 -07:00
gsxdsm
fb0863f660
FN-8753: enable installed voice input in project settings
...
Make Voice Input available only after its local model and runtime are ready.
- Bundle the optional sherpa runtime with the published CLI.
- Gate the project setting on model installation and stable runtime status codes.
- Add localized recovery guidance, documentation, and coverage.
Files changed:
.changeset/fn-8753-voice-input-enable.md | 7 ++++
docs/dashboard-guide.md | 2 +-
docs/settings-reference.md | 8 +++--
packages/cli/package.json | 3 ++
packages/cli/src/__tests__/package-config.test.ts | 16 +++++++++
.../settings/__tests__/VoiceInputSection.test.tsx | 36 ++++++++++++++++----
.../settings/sections/VoiceInputSection.tsx | 30 ++++++++++++-----
packages/dashboard/package.json | 2 +-
.../routes/__tests__/register-voice-routes.test.ts | 39 ++++++++++++++++++++++
.../dashboard/src/stt/__tests__/voice-stt.test.ts | 27 ++++++++++++---
packages/dashboard/src/stt/parakeet-service.ts | 26 ++++++++++-----
packages/i18n/locales/en/app.json | 6 ++++
pnpm-lock.yaml | 6 +++-
13 files changed, 175 insertions(+), 33 deletions(-)
Fusion-Task-Id: FN-8753
Fusion-Task-Lineage: db92b148-37f0-45d2-b616-ed2e3f2d54f6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-02 23:09:48 -07:00
gsxdsm
19e9f5bc88
chore(release): require interactive confirm; drop authorized/--yes skips
...
Remove the typed authorization phrase and the --yes/-y auto-confirm path so
every real release must confirm y/N in an interactive terminal. Reject --yes
with a clear error so old muscle memory cannot skip the proceed prompt.
2026-08-02 19:58:37 -07:00
gsxdsm
da17a57bde
FN-8731: refresh task definition prompts during planning
...
Keep the visible task definition current while planning and Plan Review can revise it.
- Refresh Definition prompts when the visible tab opens and poll during active planning lifecycles.
- Preserve inline edit drafts while applying authoritative prompt updates.
- Add lifecycle and hidden-host coverage, documentation, and a patch changeset.
Files changed:
.changeset/fn-8731-definition-prompt-refresh.md | 7 ++
docs/dashboard-guide.md | 1 +
.../dashboard/app/components/TaskDetailModal.tsx | 106 ++++++++++++++++++---
.../TaskDetailModal.definition-actions.test.tsx | 91 +++++++++++++++++-
.../TaskDetailModal.popup-hidden-gating.test.tsx | 25 ++++-
5 files changed, 215 insertions(+), 15 deletions(-)
Fusion-Task-Id: FN-8731
Fusion-Task-Lineage: b5536ad7-cbe1-42ee-a6df-6e997eeeda05
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-02 19:39:57 -07:00
gsxdsm
5931e10345
FN-8730: add Midnight dashboard theme
...
Add a persisted Midnight palette with consistent first-paint behavior across dashboard surfaces.
- Register Midnight in shared theme metadata and web/Electron startup validators
- Define light and dark Midnight tokens plus selector swatches
- Cover selection and bootstrap validation, and document the new preset
Files changed:
.changeset/fn-8730-midnight-theme.md | 7 ++
docs/dashboard-guide.md | 5 +-
docs/settings-reference.md | 2 +-
packages/core/src/types/execution-and-ui.ts | 5 ++
.../dashboard/app/__tests__/midnight-theme.test.ts | 94 ++++++++++++++++++++++
.../dashboard/app/components/ThemeSelector.css | 14 ++++
.../components/__tests__/ThemeDropdown.test.tsx | 54 ++++++++++++-
packages/dashboard/app/components/themeOptions.ts | 1 +
packages/dashboard/app/index.html | 3 +-
packages/dashboard/app/public/theme-data.css | 86 +++++++++++++++++++-
packages/desktop/src/renderer/index.html | 2 +
11 files changed, 267 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-8730
Fusion-Task-Lineage: 8e2d81bc-37f1-4381-8985-01e83cad06bd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-02 19:23:28 -07:00
gsxdsm
0e69ed9a5b
fix: stop stale-active-branch rescue spam for done squash leftovers ( #3311 )
...
## Summary
- Local `fusion/*` branches for **done** tasks kept unique tip SHAs
after squash/AI merge, so self-healing logged
`stale-active-branch-rescue-needed` on every maintenance sweep without
ever deleting them.
- **Completion fan-out** now force-deletes the task branch even when
unique commits remain (squash-safe).
- **`reclaim-stale-active-branches`** force-deletes complete-lane
leftovers (`reason=complete-column-unique-commits-force`) and no longer
emits rescue-needed for those lanes; non-complete columns still warn and
preserve unmerged work. Archived lanes still skip reclaim entirely.
Also cleaned up 116 leftover local fusion branches on this machine
(done/orphan only; 9 active kept).
## Test plan
- [x] `pnpm --filter @fusion/engine exec vitest run
src/__tests__/self-healing-completion-fanout.test.ts
src/__tests__/self-healing.test.ts -t "SelfHealingManager
reclaimStaleActiveBranches|self-healing completion
fan-out|force-deletes"`
- [ ] After merge/restart engine: confirm logs no longer spam
rescue-needed for done tasks
- [ ] Confirm active todo/in-progress fusion branches still get
rescue-needed when unique and no worktree
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved cleanup of stale task branches after completion, including
branches with unique commits remaining after squash or AI-assisted
merges.
* Completed tasks now reliably remove residual branches and worktree
metadata.
* Non-completed tasks continue to preserve recoverable branches and
display rescue warnings.
* Added clearer recovery logging and audit records for forced branch
cleanup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-02 19:05:59 -07:00
gsxdsm
6cc687d3a3
FN-8728: retry incomplete planner runs before review
...
Retry planner attempts until a clean, changed artifact is ready for Plan Review.
- Track each planning attempt's prompt baseline and fallback provenance.
- Require a runtime-owned fallback-dispatch boundary before review handoff.
- Back off and surface actionable errors for empty, unchanged, or fallback-engaged attempts.
Files changed:
.changeset/fn-8728-planner-retry-before-review.md | 7 +
docs/architecture.md | 2 +-
packages/engine/src/__tests__/triage.test.ts | 492 ++++++++++++++++++++++
packages/engine/src/agent-runtime.ts | 8 +
packages/engine/src/agent-session-helpers.ts | 3 +
packages/engine/src/pi.ts | 14 +-
packages/engine/src/runtime-resolution.ts | 14 +-
packages/engine/src/triage.ts | 135 +++++-
8 files changed, 656 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-8728
Fusion-Task-Lineage: e7581d29-5bd6-43dc-aa0b-6594b9dd9c0d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-02 18:26:18 -07:00
gsxdsm
4fb873f465
FN-8722: fix GitHub Import sheet spacing
...
Fix standalone GitHub Import content alignment on mobile and short sheet viewports.
- Remove the standalone resize-handle gutter when the FloatingWindow sheet contract applies.
- Add fixture and browser-smoke coverage for standalone, embedded, and detail import layouts.
- Document the shared short-height sheet geometry behavior and add a patch changeset.
Files changed:
.changeset/fn-8722-github-import-mobile-spacing.md | 7 ++
docs/dashboard-guide.md | 3 +-
.../__tests__/browser-layout-smoke-fixture.test.ts | 17 +++++
.../dashboard/app/components/FloatingWindow.css | 12 ++++
.../__tests__/GitHubImportModal.test.tsx | 18 +++++
.../dashboard/scripts/browser-layout-smoke.mjs | 78 ++++++++++++++++++++++
6 files changed, 134 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-8722
Fusion-Task-Lineage: cc812078-b0b5-4223-9435-ed77d80f2b47
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 20:04:41 -07:00
gsxdsm
6d176a9372
FN-8721: reconcile census, delegation routing, and archive repair
...
Align lifecycle census coverage while routing delegated work to workflow-ready lanes and safely repairing archived tasks.
- Route delegated tasks through the selected workflow's hold or entry column.
- Scope soft-deleted archive repairs by project and protect them with compare-and-set updates.
- Refresh lifecycle-column census detection, baseline, documentation, and coverage.
Files changed:
docs/testing.md | 21 +++---
.../u15-engine-dashboard-consumers.test.ts | 31 ++++++++-
.../core/src/task-store/archive-lifecycle-2.ts | 5 ++
.../core/src/task-store/async-archive-lineage.ts | 5 ++
packages/core/src/task-store/async-persistence.ts | 11 ++++
packages/core/src/task-store/async-self-healing.ts | 76 +++++++++++++++-------
.../src/__tests__/agent-tools-delegation.test.ts | 43 +++++++++++-
.../__tests__/lifecycle-column-census-ast.test.ts | 20 ++++++
.../src/__tests__/lifecycle-column-census.test.ts | 29 ++++++---
packages/engine/src/agent-tools.ts | 29 +++++++--
scripts/lib/lifecycle-column-census-ast.mjs | 21 +++++-
scripts/lib/lifecycle-column-census-baseline.json | 17 ++---
scripts/lifecycle-column-census.mjs | 3 +-
13 files changed, 245 insertions(+), 66 deletions(-)
Fusion-Task-Id: FN-8721
Fusion-Task-Lineage: ff78481f-5ecb-4d9b-b21a-a095682372ed
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 16:57:49 -07:00
gsxdsm
54c2c1e666
FN-8719: fix stale milestone validation badges
...
Keep persisted milestone validation rollups and dashboard badges synchronized after assertion changes.
- Reconcile assertion mutations and validation rollups atomically within each project.
- Prevent stale rollup and telemetry responses from overwriting newer milestone state.
- Cover repaired and removed failure states with PostgreSQL and dashboard tests.
Files changed:
.changeset/fn-8719-milestone-validation-rollup.md | 7 +
docs/missions.md | 4 +
.../__tests__/postgres/mission-store.pg.test.ts | 61 +++++++
packages/core/src/async-mission-store.ts | 142 ++++++++++------
.../dashboard/app/components/MissionManager.tsx | 108 ++++++++----
.../MissionManager.validation-rollup.test.tsx | 181 +++++++++++++++++++++
6 files changed, 416 insertions(+), 87 deletions(-)
Fusion-Task-Id: FN-8719
Fusion-Task-Lineage: c505211c-935a-4ad3-b35d-81c486e56121
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 14:38:45 -07:00
gsxdsm
3b633512d8
FN-8707: recover noisy mission validator JSON
...
Recover bounded, valid mission validator payloads amid ordinary response formatting noise.
- Extract bounded, string-aware fenced and balanced JSON candidates and prefer the final valid payload.
- Conservatively repair trailing commas and missing closing delimiters while retaining fail-closed assertion validation.
- Cover recovery and irreparable-response behavior, document the safety bounds, and add a patch changeset.
Files changed:
.../fn-8707-mission-validator-json-recovery.md | 7 +
docs/missions.md | 2 +
.../src/__tests__/mission-execution-loop.test.ts | 74 ++++++++-
packages/engine/src/mission-execution-loop.ts | 183 +++++++++++++++------
4 files changed, 204 insertions(+), 62 deletions(-)
Fusion-Task-Id: FN-8707
Fusion-Task-Lineage: 0eb5e5c0-a520-4485-9f54-0376a47a5b5e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 13:37:23 -07:00
gsxdsm
bf173dad7c
FN-8696: keep reverted tasks out of Done
...
Keep reverted tasks out of completed views and give every task-detail host a revision recovery path.
- Exclude reverted tasks from complete columns and group them in dedicated recovery lists.
- Provide Delete and Revise actions in cards, lists, docks, modals, and popped-out details.
- Add localized copy, documentation, regression coverage, and a patch changeset.
Files changed:
.changeset/fn-8696-reverted-task-resolution.md | 7 ++++
docs/dashboard-guide.md | 4 ++
packages/dashboard/app/App.tsx | 2 +
packages/dashboard/app/components/AppModals.tsx | 2 +
packages/dashboard/app/components/Board.tsx | 42 +++++++++++++++++++-
packages/dashboard/app/components/DockTaskList.tsx | 21 +++++++++-
packages/dashboard/app/components/ListView.tsx | 18 +++++++++
packages/dashboard/app/components/TaskCard.css | 4 ++
packages/dashboard/app/components/TaskCard.tsx | 9 +++++
.../dashboard/app/components/TaskDetailModal.tsx | 18 ++++++++-
.../app/components/__tests__/Board.test.tsx | 46 ++++++++++++++++++++++
.../app/components/__tests__/DockTaskList.test.tsx | 29 +++++++++++++-
.../app/components/dashboard/MainContent.tsx | 4 ++
.../app/components/overflowViewRegistry.tsx | 3 ++
.../app/components/useRightDockController.tsx | 9 +++++
.../app/utils/__tests__/taskRevert.test.ts | 16 +++++++-
packages/dashboard/app/utils/taskRevert.ts | 18 +++++++++
packages/i18n/locales/en/app.json | 3 ++
18 files changed, 249 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-8696
Fusion-Task-Lineage: 7c9550fb-ef8e-4422-8ec1-0de1665413a3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 13:30:18 -07:00
gsxdsm
529ab26ba4
FN-8695: fix dashboard assertion CRUD validation
...
Restore dashboard assertion status edits and deletes for store-generated IDs.
- Validate assertion route IDs against the MissionStore-generated format while preserving legacy IDs.
- Dispatch assertion deletes through the shared confirmation handler and surface request failures.
- Cover current ID CRUD routes and desktop/mobile deletion behavior.
Files changed:
.changeset/fn-8695-assertion-id-validation.md | 7 ++
docs/missions.md | 2 +-
.../dashboard/app/components/MissionManager.tsx | 51 ++++++++---
.../MissionManager.delete-confirm.test.tsx | 99 ++++++++++++++++++++
.../mission-assertion-id-validation.test.ts | 100 +++++++++++++++++++++
packages/dashboard/src/mission-routes.ts | 8 +-
6 files changed, 249 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-8695
Fusion-Task-Lineage: b7e2d70f-d3c7-4fdd-92f6-989cf414570b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 13:10:26 -07:00
gsxdsm
1e67e87321
FN-8702: fix Git Manager phone sheet spacing
...
Make Git Manager use the standalone phone layout only below the 768px boundary.
- Remove the hidden resize-handle gutter from Git Manager phone sheets
- Preserve embedded, tablet, and desktop Git Manager geometry
- Add responsive layout smoke fixtures and regression coverage
- Document the phone-sheet behavior and add a patch changeset
Files changed:
.changeset/fn-8702-git-manager-mobile-spacing.md | 7 +
docs/dashboard-guide.md | 5 +-
.../__tests__/browser-layout-smoke-fixture.test.ts | 23 ++++
.../dashboard/app/components/FloatingWindow.css | 12 ++
packages/dashboard/app/components/ScriptsModal.css | 10 +-
.../components/__tests__/GitManagerModal.test.tsx | 31 +++--
packages/dashboard/scripts/browser-layout-smoke.mjs| 143 +++++++++++++++++++++
7 files changed, 211 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-8702
Fusion-Task-Lineage: 52473a8a-d3a7-48d2-b768-fc2f6fcd18b9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 13:03:34 -07:00
gsxdsm
39368f4bb8
FN-8694: add content-addressed validation memoization
...
Memoizes mission validation inputs and bounds repeat failures.
- Persist validator input fingerprints and atomically admit validation runs.
- Reuse unchanged static passes while enforcing per-fingerprint failure budgets.
- Add migration coverage, execution-loop tests, and operator documentation.
Files changed:
.changeset/fn-8694-validation-memoization.md | 7 +
docs/missions.md | 6 +
docs/storage.md | 6 +
.../__tests__/postgres/mission-store.pg.test.ts | 40 +++-
packages/core/src/async-mission-store-queries.ts | 24 ++-
packages/core/src/async-mission-store.ts | 65 +++++-
packages/core/src/mission-store.ts | 10 +-
packages/core/src/mission-types.ts | 19 ++
.../0042_fn_8694_validator_input_fingerprint.sql | 9 +
packages/core/src/postgres/schema-applier.ts | 13 +-
packages/core/src/postgres/schema/project.ts | 5 +
.../src/__tests__/mission-execution-loop.test.ts | 72 ++++++-
packages/engine/src/mission-execution-loop.ts | 217 +++++++++++++++++----
13 files changed, 443 insertions(+), 50 deletions(-)
Fusion-Task-Id: FN-8694
Fusion-Task-Lineage: 92a790d5-f2fc-4e71-b9ee-8334ff38b20d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 12:40:24 -07:00
gsxdsm
7dc6c4b4ec
FN-8711: preserve credential instances in settings actions
...
Preserve selected credential-instance identity across dashboard authentication actions.
- Route named-account OAuth and API-key actions with their instance IDs.
- Retain sibling credential accounts during targeted OAuth polling.
- Document the default-versus-named credential contract and extend desktop/mobile coverage.
Files changed:
...n-8711-settings-credential-instance-contract.md | 7 ++
docs/settings-reference.md | 2 +-
.../app/__tests__/settings-moved-keys.test.ts | 2 +
.../dashboard/app/components/SettingsModal.tsx | 49 +++++++++++---
.../__tests__/SettingsModal.models-auth.test.tsx | 78 ++++++++++++++++++++++
.../components/__tests__/settings-mobile.test.tsx | 14 ++--
.../settings/sections/AuthenticationSection.tsx | 15 +++--
.../settings-default-descriptions.test.tsx | 19 ++++++
8 files changed, 165 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-8711
Fusion-Task-Lineage: f43eaa27-4d36-4a3d-acf3-caba54e31857
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 12:33:35 -07:00
gsxdsm
0512334e86
FN-8714: fix quality runner CLI argument passthrough
...
Allow dashboard aggregate quality commands through the pnpm script boundary.
- Normalize pnpm’s leading argument separator before validating runner options
- Add end-to-end aggregate and fail-fast quality-runner coverage with a deterministic fixture
- Document aggregate quality-runner invocation and failure reporting
Files changed:
docs/testing.md | 15 ++++
packages/dashboard/scripts/__tests__/quality-runner-fixture.mjs | 18 +++++
packages/dashboard/scripts/__tests__/run-quality-tests.test.ts | 88 ++++++++++++++++++++++
packages/dashboard/scripts/run-quality-tests.mjs | 23 ++++--
4 files changed, 139 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-8714
Fusion-Task-Lineage: 48dbd434-a9e6-4283-8658-cbaa254a7dc7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 12:13:52 -07:00
gsxdsm
60706ed5e4
fix: demote high-frequency TUI log lines to debug
...
Session setup, track bookkeeping, intentional skill exclusions, token-cache
metrics, zero-count recovery summaries, and expected-missing PROMPT seed reads
were flooding the default log pane. Gate them behind FUSION_DEBUG so only
state transitions and operator-actionable warnings remain visible.
2026-08-01 11:48:56 -07:00
gsxdsm
01d65805c3
FN-8693: refresh reused worktree bases before execution
...
Refresh reused execution worktrees against the current integration baseline.
- Rebase or reset clean reused worktrees before coding sessions while preserving task commits.
- Persist and audit refreshed base SHAs, and block unsafe refresh states before execution.
- Cover executor, graph, and heartbeat refresh paths with regression tests.
Files changed:
.changeset/fn-8693-stale-worktree-base.md | 7 +
docs/architecture.md | 1 +
.../src/__tests__/agent-heartbeat-worktree.test.ts | 28 ++++
.../__tests__/ce-workflow-step-executor.test.ts | 44 ++++++
.../src/__tests__/worktree-base-refresh.test.ts | 90 ++++++++++++
packages/engine/src/agent-heartbeat.ts | 35 ++++-
packages/engine/src/executor.ts | 67 ++++++++-
packages/engine/src/merger.ts | 5 +
packages/engine/src/run-audit.ts | 11 ++
packages/engine/src/workflow-graph-executor.ts | 32 ++++-
packages/engine/src/worktree-acquisition.ts | 28 +++-
packages/engine/src/worktree-base-refresh.ts | 158 +++++++++++++++++++++
12 files changed, 498 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-8693
Fusion-Task-Lineage: e39a441f-39b5-4723-b503-753e921018f3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 10:03:28 -07:00
gsxdsm
b8bde05ca6
FN-8703: render project overview before health telemetry
...
Render registered project cards immediately while optional health telemetry hydrates in the background.
- Publish completed health batches progressively and prevent stale responses from overwriting current state.
- Keep project controls usable while health metrics load and indicate per-card pending telemetry.
- Add coverage and operator documentation for progressive overview hydration.
Files changed:
.changeset/fn-8703-project-overview-load.md | 7 ++
docs/dashboard-guide.md | 3 +-
packages/dashboard/app/components/ProjectCard.tsx | 12 ++-
.../dashboard/app/components/ProjectOverview.tsx | 15 +--
.../components/__tests__/ProjectOverview.test.tsx | 101 ++++++++++++++++++++
.../app/hooks/__tests__/useProjectHealth.test.ts | 98 ++++++++++++++++++++
packages/dashboard/app/hooks/useProjectHealth.ts | 102 ++++++++++-----------
7 files changed, 277 insertions(+), 61 deletions(-)
Fusion-Task-Id: FN-8703
Fusion-Task-Lineage: eb816c9d-c808-4d52-a3f0-28bb9de5f149
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 09:53:36 -07:00
gsxdsm
b8f7f9e75c
FN-8701: standardize tool-call detail displays
...
Standardize expandable tool-call payloads across dashboard chat and log surfaces.
- Add a shared formatter and detail renderer that preserves complete browser-available arguments and results.
- Use compact previews with wrapped, scrollable expanded payloads in chat, activity, and agent logs.
- Cover formatting and rendering behavior with dashboard tests and document the display contract.
Files changed:
.changeset/fn-8701-tool-call-display.md | 7 ++
docs/dashboard-guide.md | 4 +-
.../dashboard/app/components/AgentLogViewer.tsx | 12 +++-
packages/dashboard/app/components/ChatView.css | 37 ++---------
.../app/components/StandardChatSurface.tsx | 56 +++++++---------
packages/dashboard/app/components/TaskChatTab.css | 17 -----
packages/dashboard/app/components/TaskChatTab.tsx | 31 +++++----
.../dashboard/app/components/ToolCallDetails.css | 52 +++++++++++++++
.../dashboard/app/components/ToolCallDetails.tsx | 77 ++++++++++++++++++++++
.../__tests__/AgentLogViewer.rendering.test.tsx | 8 +++
.../components/__tests__/ChatView.core.test.tsx | 24 +++++++
.../app/components/__tests__/TaskChatTab.test.tsx | 33 +++++++---
.../__tests__/TaskPlannerChatTab.test.tsx | 19 ++++++
13 files changed, 275 insertions(+), 102 deletions(-)
Fusion-Task-Id: FN-8701
Fusion-Task-Lineage: 86513f9a-31d4-45fb-97fe-1f0c73d0e5b3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 09:32:37 -07:00
gsxdsm
e8ca86d5ee
FN-8705: prioritize review and execution slot admission
...
Prioritize lifecycle-critical work whenever project capacity becomes available.
- Rank admission candidates as review/merge, execution, then planning.
- Coordinate scheduler handoffs with project and host capacity reservations.
- Cover lane priority and document the updated operator behavior.
Files changed: .changeset/fn-8705-slot-priority.md | 7 ++
docs/architecture.md | 2 +-
docs/dashboard-guide.md | 2 +-
packages/engine/src/__tests__/concurrency.test.ts | 95 +++++++++++-----------
.../engine/src/__tests__/project-engine.test.ts | 4 +-
.../starved-refinement-x-triage-poll.test.ts | 11 ++-
.../__tests__/triage-refinement-routing.test.ts | 16 ++--
.../workflow-continuation-capacity.test.ts | 3 +-
packages/engine/src/concurrency.ts | 37 +++++++--
packages/engine/src/project-engine.ts | 10 ++-
packages/engine/src/runtimes/in-process-runtime.ts | 3 +-
packages/engine/src/scheduler.ts | 40 ++++-----
packages/engine/src/triage.ts | 7 +-
13 files changed, 133 insertions(+), 104 deletions(-)
Fusion-Task-Id: FN-8705
Fusion-Task-Lineage: ef66360b-e504-4e3f-b25e-b032a719d8c0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 09:24:18 -07:00
gsxdsm
1aa1516023
FN-8692: harden mission validator assertion matching
...
Make validator assertion identity handling explicit and fail closed for ambiguous legacy responses.
- Include authoritative assertion IDs in validator prompts
- Recover only unique exact-count legacy results positionally
- Reject duplicate unknown and empty assertion IDs with regression coverage
- Document the assertion identity contract and add a patch changeset
Files changed:
.changeset/fn-8692-validator-assertion-ids.md | 7 +
docs/missions.md | 2 +-
.../src/__tests__/mission-execution-loop.test.ts | 142 ++++++++++++++++++++-
packages/engine/src/mission-execution-loop.ts | 70 ++++++++--
4 files changed, 204 insertions(+), 17 deletions(-)
Fusion-Task-Id: FN-8692
Fusion-Task-Lineage: 973c65e9-962f-472b-8d42-aef1de830d70
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 09:18:49 -07:00
gsxdsm
ac8ce148d5
FN-8691: suppress repeated task wedge notifications
...
Prevent resolved-and-rewedged tasks from flooding operator notification channels.
- Persist per-reason notification timestamps with a six-hour cooldown.
- Apply cooldown claims consistently in durable storage and in-memory fallback paths.
- Cover reason transitions, legacy state, invalid timestamps, and cooldown expiry.
Files changed:
.changeset/fn-8691-wedge-notification-cooldown.md | 7 ++
docs/architecture.md | 4 +-
.../postgres/store-wedge-resolution.pg.test.ts | 67 +++++++++++-
packages/core/src/index.ts | 1 +
packages/core/src/store.ts | 21 +++-
packages/core/src/task-store/task-mutation-ops.ts | 6 ++
packages/core/src/types.ts | 2 +
packages/core/src/types/task-core.ts | 15 +++
.../__tests__/task-wedge-notification.test.ts | 117 ++++++++++++++++++++-
.../src/notification/notification-service.ts | 30 +++++-
10 files changed, 261 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-8691
Fusion-Task-Lineage: b7460508-f9b0-488b-828c-a51e9477304d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 08:58:49 -07:00
gsxdsm
79d2a73a10
FN-8690: document Grok CLI provenance blocker
...
Document the unavailable Grok CLI source provenance and preserve the existing usage gate.
- Record provenance investigation results and the BLOCKED-NO-SOURCE hand-off
- Validate FN-8690 evidence sections and canonical verdicts
- Explain why the API-supplied percentage gate remains unchanged
Files changed:
docs/solutions/integration-issues/grok-cli-usage-data-source.md | 64 ++++++++++++++++++++++
packages/dashboard/src/__tests__/grok-usage-finding-doc.test.ts | 21 +++++++
packages/dashboard/src/usage.ts | 3 +
3 files changed, 88 insertions(+)
Fusion-Task-Id: FN-8690
Fusion-Task-Lineage: 4521063d-2a9a-4710-9609-35b7582a2f2d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 08:52:08 -07:00
gsxdsm
04c2bb4707
FN-8654: rotate credential instances after provider limits
...
Retry provider-limit failures with eligible credential instances before falling back to existing pauses and backoff.
- Add a runtime-shared credential rotator with cooldown, exhaustion, and audit handling.
- Wire credential rotation into executor and heartbeat retry lanes while preserving user pause controls.
- Document the behavior and cover rotation, recovery, and retry paths.
Files changed:
.changeset/fn-8654-credential-instance-rotation.md | 7 +
AGENTS.md | 1 +
docs/architecture.md | 2 +-
docs/settings-reference.md | 4 +
.../__tests__/credential-instance-rotation.test.ts | 88 +++++++++++
.../__tests__/credential-rotation-lanes.test.ts | 20 +++
.../__tests__/credential-rotation-recovery.test.ts | 19 +++
.../__tests__/credential-rotation-wiring.test.ts | 15 ++
.../__tests__/rate-limit-retry-rotation.test.ts | 50 ++++++
.../src/__tests__/usage-limit-detector.test.ts | 14 ++
packages/engine/src/agent-heartbeat.ts | 102 +++++++++++-
.../engine/src/credential-instance-rotation.ts | 175 +++++++++++++++++++++
packages/engine/src/executor.ts | 141 +++++++++++++++--
packages/engine/src/index.ts | 7 +
packages/engine/src/project-engine.ts | 5 +
packages/engine/src/rate-limit-retry.ts | 32 +++-
packages/engine/src/runtimes/in-process-runtime.ts | 29 +++-
packages/engine/src/usage-limit-detector.ts | 18 ++-
18 files changed, 699 insertions(+), 30 deletions(-)
Fusion-Task-Id: FN-8654
Fusion-Task-Lineage: 44d63441-270c-4949-8c34-47ec4c9992e4
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 08:20:29 -07:00
gsxdsm
006cc40454
FN-8685: add durable cross-process task deletion consumers
...
Deliver durable, replay-safe cross-process task deletion observation.
- Add PostgreSQL lifecycle consumer cursors, leases, acknowledgements, retention, and recovery.
- Start named consumers in dashboard, serve, and engine runtime paths.
- Preserve delete integration metadata while suppressing replayed GitHub and GitLab side effects.
- Cover outbox identity, observed delivery, fencing, and reconciliation behavior.
Files changed:
...fn-8685-cross-process-task-deleted-observers.md | 7 +
.../fn-8685-task-deleted-outbox-consumers.md | 7 +
docs/architecture.md | 8 +-
...tgres-cross-process-task-deleted-observation.md | 8 +-
docs/storage.md | 10 +-
packages/cli/src/commands/dashboard.ts | 9 +-
packages/cli/src/commands/serve.ts | 9 +-
packages/cli/src/project-context.ts | 9 +-
.../task-deleted-outbox-consumer.pg.test.ts | 157 ++++++++
...-deleted-observed-dispatch-side-effects.test.ts | 36 ++
.../task-lifecycle-consumer-identity.test.ts | 22 ++
packages/core/src/index.ts | 11 +
.../0041_fn_8685_task_lifecycle_consumers.sql | 88 +++++
packages/core/src/postgres/schema-applier.ts | 16 +-
packages/core/src/postgres/schema/project.ts | 45 +++
packages/core/src/postgres/startup-factory.ts | 4 +
packages/core/src/store.ts | 54 ++-
.../__tests__/lifecycle-outbox-writer.test.ts | 4 +-
.../core/src/task-store/archive-lifecycle-2.ts | 1 +
packages/core/src/task-store/lifecycle-ops.ts | 13 +-
packages/core/src/task-store/lifecycle-outbox.ts | 2 +
packages/core/src/task-store/project-store-ops.ts | 4 +-
.../src/task-store/task-deleted-outbox-consumer.ts | 333 +++++++++++++++++
.../task-store/task-lifecycle-consumer-identity.ts | 32 ++
.../task-store/task-lifecycle-consumer-registry.ts | 396 +++++++++++++++++++++
.../task-store/task-lifecycle-event-retention.ts | 104 ++++++
packages/core/src/task-store/task-mutation-ops.ts | 1 +
packages/dashboard/src/github-tracking-state.ts | 12 +-
packages/dashboard/src/gitlab-delete-close.ts | 3 +
packages/dashboard/src/gitlab-split-close.ts | 7 +-
packages/dashboard/src/project-store-resolver.ts | 9 +-
packages/engine/src/project-manager.ts | 4 +-
packages/engine/src/project-runtime.ts | 2 +-
packages/engine/src/runtimes/in-process-runtime.ts | 17 +-
packages/engine/src/self-healing.ts | 27 ++
35 files changed, 1439 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-8685
Fusion-Task-Lineage: 63eca9ac-d2af-44b0-ba79-388a950148d3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 06:09:04 -07:00
gsxdsm
4b306f10bd
FN-8689: document Grok CLI source provenance gap
...
Record the unrecoverable Grok CLI provenance chain and preserve the unmeterable usage state.
- Document installed asset identity, attempted provenance retrievals, and the static-blocked verdict.
- Clarify that the legacy billing request is not verified CLI /usage behavior.
- Add a regression test for the provenance finding and credential-safe documentation.
Files changed:
docs/solutions/integration-issues/grok-cli-usage-data-source.md | 172 +++++++++++----------
packages/dashboard/src/__tests__/grok-usage-finding-doc.test.ts | 45 ++++++
packages/dashboard/src/usage.ts | 8 +-
3 files changed, 143 insertions(+), 82 deletions(-)
Fusion-Task-Id: FN-8689
Fusion-Task-Lineage: 473fc008-2e08-47f6-8f53-152da5b2c31a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 04:41:50 -07:00
gsxdsm
8c9346ee94
FN-8684: persist task deletion events transactionally
...
Persist task-deletion lifecycle events through a transactional PostgreSQL outbox.
- Add the task lifecycle outbox schema, migration, and atomic writer.
- Route deletion notice persistence through the transaction and preserve non-blocking cleanup.
- Cover outbox behavior, schema installation, and caller attribution with tests.
Files changed:
.changeset/fn-8684-task-deleted-outbox-writer.md | 7 +
docs/architecture.md | 6 +
docs/storage.md | 6 +
.../src/__tests__/postgres/schema-applier.test.ts | 82 ++++++++-
.../task-delete-caller-attribution.test.ts | 12 +-
.../task-delete-nonblocking-cleanup.test.ts | 13 +-
.../core/src/__tests__/task-delete-notice.test.ts | 7 +-
.../0040_fn_8684_task_lifecycle_outbox.sql | 44 +++++
packages/core/src/postgres/schema-applier.ts | 15 +-
packages/core/src/postgres/schema/project.ts | 27 +++
.../__tests__/lifecycle-outbox-writer.test.ts | 201 +++++++++++++++++++++
.../core/src/task-store/archive-lifecycle-2.ts | 93 ++++++++--
packages/core/src/task-store/async-persistence.ts | 26 ++-
packages/core/src/task-store/lifecycle-outbox.ts | 46 +++++
14 files changed, 557 insertions(+), 28 deletions(-)
Fusion-Task-Id: FN-8684
Fusion-Task-Lineage: 1869d221-2d8a-48fb-b245-9cd1af56bda0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 04:24:05 -07:00
gsxdsm
a7591853eb
FN-8688: document unverified Grok CLI usage source
...
Document the provenance gap that prevents deriving Grok CLI usage data safely.
- Record version-skewed source and sanitized billing-replay evidence
- Keep absent Grok usage fields authenticated but unmeterable pending source-backed confirmation
- Link the usage-provider rationale to the investigation record
Files changed:
.../grok-cli-usage-data-source.md | 93 ++++++++++++++++++++++
packages/dashboard/src/usage.ts | 4 +-
2 files changed, 95 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-8688
Fusion-Task-Lineage: 5aafa505-968f-4f63-83db-35e623f84052
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 04:19:46 -07:00
gsxdsm
c978cdbacf
FN-8687: close imported GitLab issues on task deletion
...
Add GitLab close-on-delete behavior for imported source issues.
- Close linked GitLab issues by default while honoring leave and delete action semantics.
- Preserve split-close ownership, skip merge requests, and limit malformed tracking fallback to deletion.
- Document the lifecycle contract and add dashboard coverage.
Files changed:
.changeset/fn-8687-gitlab-close-on-delete.md | 7 ++
docs/gitlab-parity-inventory.md | 20 +++-
docs/settings-reference.md | 1 +
docs/task-management.md | 5 +-
.../src/__tests__/gitlab-delete-close.test.ts | 101 +++++++++++++++++++++
.../src/__tests__/gitlab-lifecycle.test.ts | 35 +++++++
.../gitlab-parity-inventory-documentation.test.ts | 7 +-
.../__tests__/gitlab-source-issue-close.test.ts | 8 ++
.../src/__tests__/gitlab-split-close.test.ts | 12 +++
packages/dashboard/src/gitlab-delete-close.ts | 90 ++++++++++++++++++
packages/dashboard/src/gitlab-lifecycle.ts | 33 +++++--
packages/dashboard/src/gitlab-split-close.ts | 2 +-
packages/dashboard/src/index.ts | 1 +
.../dashboard/src/routes/register-git-github.ts | 7 ++
14 files changed, 313 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-8687
Fusion-Task-Lineage: 48bc9159-fc35-43cb-b72e-1b6260d9e3cb
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 04:08:57 -07:00
gsxdsm
0e8f6769ba
FN-8666: add credential instance pickers
...
Add credential-instance selection across dashboard model configuration surfaces.
- Expose provider credential instances in custom model dropdowns and task, workflow, and settings forms.
- Persist per-role credential-instance overrides through dashboard APIs and effective model resolution.
- Document credential-instance precedence and cover dropdown/settings behavior, including task state synchronization.
Files changed:
.changeset/fn-8666-credential-instance-picker.md | 7 ++
docs/settings-reference.md | 2 +
docs/workflow-steps.md | 2 +-
packages/dashboard/app/api.ts | 1 +
packages/dashboard/app/api/models-usage.ts | 27 ++++-
packages/dashboard/app/api/tasks.ts | 8 ++
.../app/components/CustomModelDropdown.css | 12 ++-
.../app/components/CustomModelDropdown.tsx | 71 ++++++++++++-
.../dashboard/app/components/InlineCreateCard.tsx | 23 +++-
packages/dashboard/app/components/ListView.tsx | 29 +++++-
.../app/components/ModelSelectionModal.tsx | 25 ++++-
.../dashboard/app/components/ModelSelectorTab.tsx | 29 +++++-
packages/dashboard/app/components/NewTaskModal.tsx | 23 +++-
.../dashboard/app/components/QuickEntryBox.tsx | 28 +++++
.../dashboard/app/components/SettingsModal.tsx | 2 +
.../dashboard/app/components/TaskDetailModal.tsx | 32 +++++-
packages/dashboard/app/components/TaskForm.tsx | 18 ++++
.../app/components/WorkflowNodeEditor.tsx | 13 ++-
.../app/components/WorkflowSettingsPanel.tsx | 38 ++++++-
...ustomModelDropdown.credential-instance.test.tsx | 111 ++++++++++++++++++++
.../__tests__/WorkflowSettingsPanel.test.tsx | 9 +-
.../app/components/effective-model-resolution.ts | 8 +-
.../settings/sections/GlobalModelsSection.tsx | 31 +++++-
.../settings/sections/ProjectModelsSection.tsx | 116 ++++++++++++++++-----
.../ProjectModelsSection.chatDefault.test.tsx | 33 +++++-
packages/dashboard/app/hooks/useFavorites.ts | 6 +-
packages/dashboard/app/hooks/useModelsCache.ts | 5 +-
.../src/routes/register-task-workflow-routes.ts | 17 ++-
28 files changed, 655 insertions(+), 71 deletions(-)
Fusion-Task-Id: FN-8666
Fusion-Task-Lineage: 6c3711b3-68b8-47a0-ac36-4b64846adf39
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 04:03:26 -07:00
gsxdsm
4f09758dc8
FN-8681: retarget executor step credential instances
...
Enable executor step sessions to use selected and rotated credential instances.
- Pass task-selected credential instances into step-session execution.
- Re-resolve live credential targets after usage-limit retries using the effective agent runtime configuration.
- Retarget future sessions safely and cover retry behavior.
- Document the runtime behavior and add a patch changeset.
Files changed:
.changeset/fn-8681-credential-instance-retarget.md | 7 +
docs/settings-reference.md | 7 +-
.../src/__tests__/step-session-executor.test.ts | 211 +++++++++++++++++++++
packages/engine/src/executor.ts | 21 ++
packages/engine/src/step-session-executor.ts | 94 ++++++++-
5 files changed, 332 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-8681
Fusion-Task-Lineage: 99724283-6f5d-4890-b7f8-65af1d88b12c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 03:45:59 -07:00
gsxdsm
4009eb34cb
FN-8683: remove unreachable SQLite task polling replica
...
Document PostgreSQL task-deletion observation and remove the obsolete SQLite polling path.
- Remove polling state, replica emissions, and activity-log suppression from TaskStore.
- Retain backend-aware cache warming while documenting the transactional-outbox follow-up.
- Add tombstone and soft-delete abort coverage across core and engine lanes.
Files changed:
docs/architecture.md | 3 +-
...tgres-cross-process-task-deleted-observation.md | 128 ++++++++++++++++
docs/storage.md | 3 +-
.../task-delete-nonblocking-cleanup.test.ts | 54 +++++++
.../task-deleted-polling-replica-tombstone.test.ts | 57 +++++++
.../task-updated-lanes-emit-surfaces.test.ts | 26 ----
packages/core/src/store.ts | 13 +-
packages/core/src/task-store/lifecycle-ops.ts | 168 ++-------------------
packages/core/src/task-store/task-artifacts-ops.ts | 4 -
.../__tests__/executor-soft-delete-abort.test.ts | 15 ++
.../src/__tests__/triage-soft-delete-abort.test.ts | 14 ++
11 files changed, 284 insertions(+), 201 deletions(-)
Fusion-Task-Id: FN-8683
Fusion-Task-Lineage: a052db0c-b6fc-4b05-b6b2-f8217b56ded0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 03:24:36 -07:00
gsxdsm
23c9992e7b
FN-8682: add GitLab split-close issue comments
...
GitLab source issues now receive an explanatory split handoff before closure.
- Add a GitLab split-close service that posts normalized child-task notes before closing source issues.
- Wire split-close handling across project stores while preserving merge-request and failure safeguards.
- Document GitLab lifecycle parity and cover split-close behavior with tests.
Files changed:
.changeset/fn-8682-gitlab-split-close-comment.md | 7 ++
docs/gitlab-parity-inventory.md | 2 +-
docs/task-management.md | 1 +
.../gitlab-parity-inventory-documentation.test.ts | 2 +
.../src/__tests__/gitlab-split-close.test.ts | 113 +++++++++++++++++++++
packages/dashboard/src/gitlab-lifecycle.ts | 6 +-
packages/dashboard/src/gitlab-split-close.ts | 98 ++++++++++++++++++
packages/dashboard/src/gitlab-tracking-state.ts | 6 +-
packages/dashboard/src/index.ts | 1 +
.../dashboard/src/routes/register-git-github.ts | 6 ++
10 files changed, 237 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-8682
Fusion-Task-Lineage: 8eca9888-b10a-4ea9-b9d3-fc09a39022ab
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 03:19:00 -07:00
gsxdsm
3793b576d8
FN-8673: comment on split source issue closures
...
Explain GitHub source-issue closures when imported work is split into subtasks.
- carry split closure context through task deletion and triage
- post one explanatory comment before closing source and tracking GitHub issues
- preserve exactly-one-comment behavior when close retries after transient failures
- document split closure behavior and cover source/tracking scenarios
Files changed:
.changeset/fn-8673-split-close-issue-comment.md | 7 ++
docs/settings-reference.md | 2 +-
docs/task-management.md | 1 +
.../task-delete-caller-attribution.test.ts | 32 +++++++
packages/core/src/index.ts | 2 +-
packages/core/src/store.ts | 10 +--
packages/core/src/task-delete-attribution.ts | 16 ++++
.../core/src/task-store/archive-lifecycle-2.ts | 14 ++--
packages/core/src/task-store/archive-lifecycle.ts | 6 +-
packages/core/src/types.ts | 13 +++
.../src/__tests__/github-tracking-state.test.ts | 98 +++++++++++++++++++++-
packages/dashboard/src/github-tracking-state.ts | 82 +++++++++++++++---
packages/engine/src/__tests__/triage.test.ts | 4 +
packages/engine/src/triage.ts | 10 +++
14 files changed, 268 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-8673
Fusion-Task-Lineage: 904c2445-64d9-47b9-b706-f64b23c4e3a6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 02:47:25 -07:00
gsxdsm
8a6949dd24
FN-8661: resolve selected credential instances for sessions
...
Resolve requested provider credential instances before creating agent sessions.
- Thread lane credential instance selections through planning, validation, execution, review, and merge sessions.
- Resolve selected instances into runtime credential stores while retaining provider-default fallback behavior.
- Preserve selected credentials for mission validation, executor retries, and spawned child agents.
Files changed:
.../fn-8661-credential-instance-resolution.md | 7 ++
AGENTS.md | 1 +
docs/architecture.md | 2 +-
docs/secrets.md | 2 +
docs/settings-reference.md | 1 +
.../dashboard/src/__tests__/routes-auth.test.ts | 80 +++++++++++++++++++
.../dashboard/src/routes/register-model-routes.ts | 78 +++++++++++++++++++
.../src/__tests__/agent-session-helpers.test.ts | 16 ++++
.../credential-instance-resolution.test.ts | 49 ++++++++++++
packages/engine/src/agent-heartbeat.ts | 1 +
packages/engine/src/agent-runtime.ts | 9 ++-
packages/engine/src/agent-session-helpers.ts | 67 +++++++++++-----
packages/engine/src/auth-storage.ts | 90 ++++++++++++++++++----
packages/engine/src/executor.ts | 29 ++++++-
packages/engine/src/merger-ai.ts | 2 +
packages/engine/src/merger.ts | 5 ++
packages/engine/src/mission-execution-loop.ts | 4 +-
packages/engine/src/pi.ts | 7 +-
packages/engine/src/pr-response-run-ops.ts | 1 +
packages/engine/src/reviewer.ts | 7 ++
packages/engine/src/triage.ts | 2 +
21 files changed, 420 insertions(+), 40 deletions(-)
Fusion-Task-Id: FN-8661
Fusion-Task-Lineage: 1e34a3ce-0857-4619-9746-ce0dc12dc2ba
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 02:05:03 -07:00
gsxdsm
13f7266b67
FN-8670: reuse model runtime fixtures in engine tests
...
Share a warmed Pi model runtime across engine catalog tests.
- Add an isolated in-memory model registry fixture backed by a per-file shared runtime.
- Warm the runtime before catalog tests and verify custom-provider registry isolation.
- Document the required fixture pattern for real Pi SDK catalog tests.
Files changed:
docs/testing.md | 1 +
.../engine/src/__tests__/_model-runtime-fixture.ts | 40 ++++++++++++++++++++++
.../custom-providers-openai-completions.test.ts | 15 +++-----
.../custom-providers-openai-responses.test.ts | 15 +++-----
.../src/__tests__/provider-registration.test.ts | 33 ++++++++++++------
5 files changed, 73 insertions(+), 31 deletions(-)
Fusion-Task-Id: FN-8670
Fusion-Task-Lineage: 7410d114-1853-44cc-a09b-a997fbc7f119
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 01:34:43 -07:00
gsxdsm
ebe514c3e4
FN-8677: propagate task update lanes before conversion
...
Propagate cache-warmed workflow lanes through task updates so synchronous engine consumers support renamed boards.
- Add task lane cache and attach resolved lanes to task:updated metadata.
- Update scheduler, triage, and notification consumers to use carried lanes with bridge-safe fallbacks.
- Cover lane propagation and renamed-lane event behavior with core and engine tests.
Files changed:
.changeset/fn-8677-manual-merge-hold-lanes.md | 7 ++
.changeset/task-updated-carries-lanes.md | 7 ++
...orkflow-ir-readers-always-return-the-default.md | 22 +++++
.../sync-workflow-ir-second-blocker.test.ts | 43 +++-----
.../core/src/__tests__/task-lane-cache.test.ts | 30 ++++++
.../task-updated-lanes-emit-surfaces.test.ts | 92 ++++++++++++++++++
.../__tests__/task-updated-lanes-payload.test.ts | 42 ++++++++
packages/core/src/index.ts | 1 +
packages/core/src/store.ts | 36 ++++++-
packages/core/src/task-lane-cache.ts | 63 ++++++++++++
.../core/src/task-store/archive-lifecycle-2.ts | 3 +
packages/core/src/task-store/moves.ts | 1 +
packages/core/src/task-store/task-artifacts-ops.ts | 1 +
packages/core/src/task-store/task-update.ts | 1 +
packages/core/src/task-store/update-task-deps.ts | 4 +-
.../core/src/task-store/workflow-definitions.ts | 71 +++++---------
.../__tests__/scheduler-task-updated-lanes.test.ts | 108 +++++++++++++++++++++
.../task-updated-lanes-bridge-compat.test.ts | 94 ++++++++++++++++++
...task-updated-lanes-engine-emit-surfaces.test.ts | 101 +++++++++++++++++++
.../src/__tests__/triage-pause-abort.test.ts | 22 +++++
.../src/__tests__/triage-planning-wake.test.ts | 25 +++++
.../notification-renamed-lifecycle-columns.test.ts | 84 +++++++++++++++-
.../__tests__/task-wedge-notification.test.ts | 19 ++++
.../src/notification/notification-service.ts | 56 ++++-------
packages/engine/src/scheduler.ts | 62 +++---------
packages/engine/src/triage.ts | 105 ++++++--------------
scripts/lib/inert-sync-lane-baseline.json | 5 +-
27 files changed, 858 insertions(+), 247 deletions(-)
Fusion-Task-Id: FN-8677
Fusion-Task-Lineage: d8fef9db-0f88-4dfd-9813-be25e10e3588
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 01:15:10 -07:00
gsxdsm
5f12044168
FN-8652: add multiple provider credential instances
...
Enable operators to create, select, and remove named credentials for each supported provider.
- Add provider-auth instance discovery and credential mutation endpoints.
- Add dashboard authentication controls, status handling, and instance coverage.
- Document instance behavior and add a release changeset.
Files changed:
.changeset/fn-8652-provider-credential-instances.md | 7 +
docs/secrets.md | 2 +
docs/settings-reference.md | 4 +
packages/dashboard/app/api.ts | 1 +
packages/dashboard/app/api/provider-status.ts | 94 +++++-
.../dashboard/app/components/SettingsModal.tsx | 138 ++++-----
.../AuthenticationSection.instances.test.tsx | 75 +++++
.../settings/sections/AuthenticationSection.css | 13 +
.../settings/sections/AuthenticationSection.tsx | 199 +++++++-----
.../dashboard/src/__tests__/routes-auth.test.ts | 27 +-
packages/dashboard/src/routes.ts | 12 +-
.../dashboard/src/routes/register-auth-routes.ts | 334 ++++++++++++++++++---
.../src/__tests__/provider-auth-instances.test.ts | 65 ++++
packages/engine/src/provider-auth.ts | 89 ++++++
14 files changed, 845 insertions(+), 215 deletions(-)
Fusion-Task-Id: FN-8652
Fusion-Task-Lineage: 39568d58-7f57-4d17-97cb-1837323b3a94
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 01:07:59 -07:00
gsxdsm
cced31208e
FN-8672: document observed suite-only flakes
...
Record first-sighting evidence for three suite-only flakes while preserving their substantial test coverage.
- Define the narrow first-sighting observed-register exception and second-sighting quarantine escalation.
- Add reproduction data for the core and engine PostgreSQL-adjacent flakes.
- Validate register metadata, paths, hierarchy segments, and escalation guidance.
Files changed:
AGENTS.md | 4 ++
.../suite-only-flakes-observed-register.md | 74 ++++++++++++++++++++++
docs/testing.md | 4 ++
scripts/__tests__/observed-flake-register.test.mjs | 61 ++++++++++++++++++
4 files changed, 143 insertions(+)
Fusion-Task-Id: FN-8672
Fusion-Task-Lineage: b52c74fb-aa7b-49e3-9f1d-a2c8c577f9c7
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 00:21:14 -07:00
gsxdsm
dd569395e8
FN-8671: isolate triage admission state in tests
...
Prevent leaked singleton admission state from affecting later triage polling tests.
- Add test-only coordinator reset and inspection seams for all admission categories.
- Stop tracked triage processors before clearing shared reservation and pre-held-slot state.
- Cover teardown behavior and document singleton-state isolation guidance.
Files changed:
docs/testing.md | 6 ++
packages/engine/src/__tests__/concurrency.test.ts | 56 ++++++++++++++++
packages/engine/src/__tests__/triage.test.ts | 82 ++++++++++++++++++++---
packages/engine/src/concurrency.ts | 30 +++++++++
4 files changed, 166 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-8671
Fusion-Task-Lineage: 41217db4-1fd6-45d6-a846-c57fc3c7052e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-01 00:14:32 -07:00
gsxdsm
7334cffebd
FN-8660: add credential instance selection persistence
...
Persist optional credential-instance selections across model configuration without changing runtime credential behavior.
- Add credential instance IDs to global, project, task, preset, and workflow IR model lanes.
- Preserve selected instance IDs through model resolution and task persistence.
- Add PostgreSQL migration coverage, unit tests, documentation, and a minor changeset.
Files changed:
.../fn-8660-credential-instance-selection.md | 7 ++
docs/settings-reference.md | 17 +++++
.../core/src/__tests__/model-resolution.test.ts | 37 ++++++++++
.../credential-instance-selection.pg.test.ts | 81 +++++++++++++++++++++
.../postgres/settings-persistence.pg.test.ts | 83 ++++++++++++++++++++++
.../src/__tests__/workflow-ir-settings.test.ts | 66 +++++++++++++++++
packages/core/src/builtin-workflow-settings.ts | 41 +++++++++++
packages/core/src/model-resolution.ts | 57 ++++++++++++++-
.../0039_fn_8660_credential_instance_selection.sql | 9 +++
packages/core/src/postgres/schema-applier.ts | 14 +++-
packages/core/src/postgres/schema/project.ts | 4 ++
packages/core/src/settings-schema.ts | 25 +++++++
packages/core/src/store.ts | 2 +-
.../core/src/task-store/archive-lifecycle-2.ts | 8 +++
.../core/src/task-store/branch-and-pr-entities.ts | 2 +-
packages/core/src/task-store/persistence.ts | 8 +++
packages/core/src/task-store/serialization.ts | 6 ++
packages/core/src/task-store/settings-ops.ts | 30 ++++++++
packages/core/src/task-store/task-creation.ts | 18 ++++-
packages/core/src/task-store/task-mutation-ops.ts | 6 +-
packages/core/src/task-store/task-row-mappers.ts | 6 +-
packages/core/src/task-store/task-update.ts | 24 +++++++
packages/core/src/types/archive-planning.ts | 5 ++
packages/core/src/types/settings-scope.ts | 40 +++++++++++
packages/core/src/types/task-core.ts | 30 ++++++++
packages/core/src/types/workflow-steps.ts | 9 +++
packages/core/src/workflow-ir.ts | 18 +++++
packages/core/src/workflow-settings.ts | 10 +++
28 files changed, 650 insertions(+), 13 deletions(-)
Fusion-Task-Id: FN-8660
Fusion-Task-Lineage: a3f625eb-018c-4084-954e-488b1d37691e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-31 23:08:51 -07:00
gsxdsm
ee77a8d3fa
FN-8659: preserve custom task specification sections
...
Preserve custom planning sections while reinjecting the original task description.
- Align unmarked original-description bodies before selecting a terminator.
- Anchor inserted descriptions before custom H2 sections and retain safe fallback behavior.
- Add regression coverage, workflow documentation, and a patch changeset.
Files changed:
...fn-8659-original-description-custom-sections.md | 7 ++
docs/workflow-steps.md | 2 +
.../__tests__/original-description-policy.test.ts | 114 ++++++++++++++++-
packages/core/src/original-description-policy.ts | 135 ++++++++++++++++++---
4 files changed, 235 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-8659
Fusion-Task-Lineage: 7f047a31-3750-4545-b743-bfac9546c55b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-31 22:38:52 -07:00
gsxdsm
5596d915ab
FN-8647: quarantine flaky Kimi K3 catalog test
...
Quarantine the timing-sensitive Kimi K3 SDK catalog test without changing timeout budgets.
- Reuse the native model registry once per test file.
- Add the observed CI timeout to the dashboard quarantine ledger and config.
- Document validation and timeout-budget preservation requirements.
Files changed:
docs/testing.md | 8 ++++++++
...ister-model-routes-kimi-k3-supplemental.test.ts | 23 ++++++++++++++++++++--
packages/dashboard/vitest.config.ts | 8 ++++++++
scripts/lib/test-quarantine.json | 5 +++++
4 files changed, 42 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-8647
Fusion-Task-Lineage: 31e79677-d923-4003-a8e8-082159334e65
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-31 22:32:18 -07:00
gsxdsm
182e3fdbe8
FN-8651: add named provider credential instances
...
Add provider-instance identity and auth.json storage for multiple credentials per provider.
- Export provider-instance key parsing, validation, and reserved metadata helpers.
- Resolve, list, mutate, and select named credential instances atomically in auth storage.
- Preserve legacy bare-key hydration and document the auth.json instance contract.
- Cover provider instance parsing, storage behavior, and concurrent writes.
Files changed:
.changeset/fn-8651-provider-instances.md | 7 +
docs/secrets.md | 8 +
.../src/__tests__/oauth-credential-interop.test.ts | 16 ++
packages/core/src/index.ts | 16 ++
packages/core/src/oauth-credential-interop.ts | 15 +-
packages/core/src/provider-instance.test.ts | 24 +++
packages/core/src/provider-instance.ts | 65 +++++++
.../src/__tests__/auth-storage-concurrency.test.ts | 13 ++
.../src/__tests__/auth-storage-instances.test.ts | 75 ++++++++
packages/engine/src/auth-storage.ts | 214 +++++++++++++--------
10 files changed, 367 insertions(+), 86 deletions(-)
Fusion-Task-Id: FN-8651
Fusion-Task-Lineage: cfabe496-60f9-4166-a09f-87ea2028cfd9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-31 21:56:30 -07:00
gsxdsm
dfe050e8d4
FN-8640: add FNXC stamp anomaly advisory
...
Add a non-blocking census for implausible future-dated FNXC stamps.
- Classify tolerated future stamps by timezone plausibility and report notable anomalies.
- Add injectable gate seams and coverage for advisory, report, baseline, and discovery behavior.
- Document the advisory and preserve read-only check-mode baseline handling.
Files changed:
docs/testing.md | 4 +
scripts/__tests__/check-fnxc-future-dates.test.mjs | 185 ++++++++
scripts/check-fnxc-future-dates.mjs | 495 +++++++++++----------
3 files changed, 439 insertions(+), 245 deletions(-)
Fusion-Task-Id: FN-8640
Fusion-Task-Lineage: 7e57feb0-95e2-46b9-a1cf-9bd93c40d8e0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-07-31 19:03:08 -07:00
gsxdsm
26fdb67505
docs(solutions): the audit table had one axis — add the one that missed three defects ( #3293 )
...
## What
My blind-spot table in #3251 audited **one axis**. Adds the one that
missed three defects. Docs only.
That table records what each of the five lifecycle ratchets can and
cannot **see**. I probed that carefully — several spellings per tool —
and then wrote *"nothing found; sound"* for two of them.
Within a day, three of those same tools turned out to share a completely
different defect: **they wrote to the tree they were checking**,
auto-tightening their own baseline during a plain check run.
| gate | wrote during a check | fixed by |
|---|---|---|
| `check-fnxc-future-dates` | yes | #3287 |
| `lifecycle-column-census` | yes, under `--strict` | #3289 |
| `check-sql-column-literals` | yes | #3292 |
**No number of detection probes could have surfaced that.** The table
asserted one property carefully and said nothing about the other *while
reading as comprehensive* — which is precisely the failure it documents
in the tools it audits.
## The rule it adds
1. **What can it see?** — probe each spelling of the thing it claims to
catch.
2. **Can it fail at all?** — invoke it as `package.json` does; a
report-only run exits 0 forever (#3255 ).
3. **Does it write?** — `git status --porcelain` before and after, on a
clean tree.
With the trap on the third spelled out: these gates write only when a
tightening is **available**, so a clean tree after a run proves the
*trigger* is absent, not that the tool is read-only. Inflate a baseline
entry first, then run it. I hit exactly this while reviewing #3292 — ran
all three gates on main, saw a clean tree, and had to stop myself
concluding the SQL gate was fine.
## Why the pattern, not the people
Three tools converged on write-during-check independently. That argues
the design is **attractive**, not that three authors were careless: the
tightening is correct, the write saves a step, and the message even
tells you to commit it. It only becomes a defect at the moment a second
person runs the same gate — which is invisible from inside any one of
them.
What it cost, measured: #3283 and #3285 are the same `+0/-1`, five
minutes apart, by two authors, **neither of whom wrote that line**.
```
lint clean; fnxc-future-dates clean
```
2026-07-31 18:52:00 -07:00
gsxdsm
5efe97c0ae
docs(solutions): your environment is a variable in every measurement you report ( #3291 )
...
Extends the doc from #3255/#3273 with the failure that cost the most in
a single session: **one stale install produced five wrong reports on one
issue** (#3264 ).
## What happened
A `node_modules` that had drifted from the lockfile — `jsdom@29.0.1`
installed, `29.1.1` pinned — generated failures that existed on no CI
machine and no other checkout. They were not subtle: deterministic,
reproducible on demand, with plausible stack traces and real-looking
assertion diffs.
Each round of triage got **more precise about the wrong data**:
| round | claim | why it was wrong |
| --- | --- | --- |
| 1 | "4 deterministic failures" | measured in a 4-file batch, called it
isolation |
| 2 | "3 deterministic, 2 order-dependent" | isolated correctly, but a
race is not deterministic |
| 3 | "TaskCard is broken" | stale jsdom; the CSS assertion was correct
|
| 4 | "no contamination" | true of four app files; published unqualified
|
| 5 | "quarantine these two" | never read the failure text — both were
timeouts |
The through-line is not carelessness about the code. **The environment
was never treated as part of the claim**, so no amount of care about the
analysis could recover it.
## The checks, in the order they cost the most
```bash
pnpm install --frozen-lockfile # node_modules is not evidence until it matches the lockfile
<run the file ALONE, 3+ times> # isolation and repetition answer different questions
<read the failure TEXT> # a timeout and an assertion failure need opposite responses
uptime # a loaded box manufactures timeouts that mean nothing
```
## Why the load check earned its place
Two tests "failing" in a full-suite run were `Test timed out in 15000ms`
on a box at **load average 9.7 with 84 users**. Under AGENTS.md's
quarantine-on-sight rule that reads as a flake to quarantine — and the
ledger's **14-day deletion ratchet would have made the lost coverage
permanent**.
The rule presumes the failure is a property of the test, not of the
machine. A wall-clock budget crossed under local contention is evidence
about the hardware. I was one comment away from deleting healthy
coverage on that basis.
## The tell
A finding is environment-derived when it is **local, recent, and
unshared**: nobody else has reported it, CI is green, and it appeared
without a commit that could explain it. Any two of those should stop a
report before it is written. All three applied here, and the report went
out anyway — five times.
## Verification
Docs only; no code paths change. `fnxc-future-dates`,
`lifecycle-columns`, `quarantine-ledger` exit 0. No changeset — internal
docs are excluded.
Context: the one finding in #3264 that survived all five rounds is #3286
(merged), and it survived because it was verified by **reverting the
product change** rather than by trusting a red — 3/3/2 failures without
the fix, 27/27 across four runs with it.
2026-07-31 18:38:56 -07:00