gsxdsm
fc4beefe5e
docs: index agent-activity-contract.md in README
...
Add missing index entry for docs/agent-activity-contract.md in the
Architecture & Development section. The doc was a genuine orphan —
a canonical wire/cursor/retention contract for GET /api/agent-activity
referenced in AGENTS.md but not discoverable from the docs index.
2026-08-09 17:50:58 -07:00
gsxdsm
234430a978
FN-8865: show live agent activity in org charts
...
Expose live per-agent activity throughout the dashboard org chart and active-agent cards.
- Add an activity store with polling, visibility refresh, and reduced-motion support.
- Render activity labels and active indicators in org-chart nodes and agent panels.
- Cover activity normalization, polling behavior, and dashboard presentation with tests.
Files changed:
.changeset/fn-8865-live-agent-activity.md | 7 +
docs/dashboard-guide.md | 1 +
packages/dashboard/app/api.ts | 11 +-
.../dashboard/app/components/ActiveAgentsPanel.css | 20 ++
.../dashboard/app/components/ActiveAgentsPanel.tsx | 28 ++-
packages/dashboard/app/components/AgentsView.css | 39 ++++
packages/dashboard/app/components/AgentsView.tsx | 62 +++++-
.../__tests__/ActiveAgentsPanel.test.tsx | 122 ++++++++++-
.../AgentsView.orgchart.activity.test.tsx | 235 +++++++++++++++++++++
.../__tests__/AgentsView.orgchart.test.tsx | 7 +
.../__tests__/agentsOrgChartActivity.test.ts | 137 ++++++++++++
.../app/components/agentsOrgChartActivity.ts | 156 ++++++++++++++
.../app/hooks/__tests__/agentActivityStore.test.ts | 179 ++++++++++++++++
.../app/hooks/__tests__/useAgentActivity.test.tsx | 60 ++++++
packages/dashboard/app/hooks/agentActivityStore.ts | 221 +++++++++++++++++++
packages/dashboard/app/hooks/useAgentActivity.ts | 18 ++
packages/dashboard/app/hooks/useReducedMotion.ts | 23 ++
17 files changed, 1307 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-8865
Fusion-Task-Lineage: 04413da2-4114-4a19-9b6b-152f12c95ac6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 17:10:49 -07:00
Victor Canô
a09e0cb87f
feat(i18n): add Português (Brasil) (pt-BR) locale ( #3347 )
...
## Summary
Adds **Português (Brasil)** (`pt-BR`) as a supported locale:
- Selectable as **Translation target language** (project settings) and
as the dashboard / terminal UI language.
- Full machine-drafted catalogs (`app`, `cli`, `common`), disclosed in
`packages/i18n/locales/TRANSLATION_STATUS.md` following the pattern
#1352 established — reviewed for glossary/register consistency (0.18%
untranslated, matching only keys that are empty in `en`), but
native-speaker corrections are welcome.
- Brazilian Portuguese content-language detection (accent-stripped
stopword list — the scorer strips diacritics before matching, so
accented entries never match; `com`/`mais` deliberately omitted to avoid
bare-domain `.com` and French collisions, with regression tests for both
directions).
- `pt`/`pt-PT` browser and environment locales resolve to `pt-BR` on all
three detection paths (`FALLBACK_LNG` routing plus a `pt` branch in
`normalizeToSupportedLocale`, mirroring the existing `zh` handling).
- `README.pt-BR.md` + switcher links in all READMEs, docs updates
(`settings-reference`, `cli-reference`, `i18n-contributing`, `--lang`
help text), changeset (`minor`).
Drive-by fixes bundled: `TRANSLATION_STATUS.md` was missing the `ko`
row; the LanguageSelector endonym test was missing `한국어`;
`docs/i18n-contributing.md` now names the two compile-enforced display
maps (`LOCALE_LABELS`, `localeDisplayName`) a new locale must update;
the `--lang` CLI help text no longer drifts from its validator.
## Test plan
- `pnpm i18n:status` (key parity gate) green; catalogs are
`i18n:sync`-idempotent.
- Updated/extended suites: core `locale-settings`, i18n
`config`/`parity`/`db-banner-catalog`/`i18n-gate-coverage`, dashboard
`useLanguage`/`LanguageSelector`/`GeneralSection.importTranslate`/`detectContentLanguage`
(incl. new pt-BR detection + bare-domain regression tests), CLI
`settings`.
- `pnpm verify:fast` (typecheck, build, boot smoke), `pnpm lint`, `pnpm
check:changesets`, and the bounded `pnpm test` lane all green locally
(the three `test:pg-gate` files fail locally only for lack of a Postgres
instance; they fail identically on clean `main`).
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added Brazilian Portuguese (Português (Brasil)) across the dashboard,
terminal interface, settings, and translation tools.
* Added Portuguese translations for common interface and CLI content.
* Added automatic Portuguese language detection, locale normalization,
and fallback support.
* Added a Portuguese (Brazil) README with product, setup, and usage
documentation.
* **Documentation**
* Updated language selectors, CLI references, settings documentation,
and translation guidance.
* Added Portuguese README links to translated documentation.
* Added French to the documented dashboard language options.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: gsxdsm <gsxdsm@users.noreply.github.com >
2026-08-09 13:33:16 -10:00
gsxdsm
6bd8004ba1
FN-8915: document agent activity API contract
...
Publish an inspectable contract for durable agent-activity history and pagination.
- Define the route wire shape, cursor semantics, retention, and SSE recovery behavior.
- Add PostgreSQL and dashboard coverage for documented pagination and truncation guarantees.
- Link architecture and diagnostics guidance to the canonical contract and validate its prerequisite lineage.
Files changed:
.changeset/fn-8864-agent-activity-events.md | 2 +-
AGENTS.md | 1 +
docs/agent-activity-contract.md | 94 ++++++++++++++++++++++
docs/architecture.md | 2 +-
docs/diagnostics.md | 2 +-
.../agent-activity-cursor-contract.pg.test.ts | 90 +++++++++++++++++++++
.../src/__tests__/agent-activity-route.test.ts | 10 +++
.../src/__tests__/sse-agent-activity.test.ts | 12 ++-
scripts/check-fn-8864-ancestry.sh | 35 ++++++++
9 files changed, 244 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-8915
Fusion-Task-Lineage: da3f8c96-3b58-4e6d-a413-c51bdd643f26
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 15:58:54 -07:00
gsxdsm
8a7ab1dedc
FN-8911: allow direct database URLs for planning locks
...
Allow planning lifecycle locks to use non-pooled runtime PostgreSQL connections without a duplicate migration URL.
- Select runtime-direct endpoints for direct DATABASE_URL connections and retain migration overrides for pooled endpoints.
- Preserve lifecycle transport failures across triage retries and expose lock helpers through the core barrel.
- Document the connection behavior and add resolver, advisory-lock, and triage regression coverage.
Files changed:
.../fn-8911-direct-database-url-planning-lock.md | 7 +
docs/architecture.md | 2 +-
docs/multi-project.md | 4 +-
.../__tests__/postgres/backend-resolver.test.ts | 43 +++++-
.../planning-lifecycle-advisory-lock.pg.test.ts | 28 +++-
packages/core/src/index.ts | 2 +
packages/core/src/postgres/advisory-locks.ts | 6 +-
packages/core/src/postgres/backend-resolver.ts | 29 +++-
packages/core/src/postgres/index.ts | 5 +
...ge-planning-lifecycle-transport-failure.test.ts | 159 +++++++++++++++++++++
packages/engine/src/triage.ts | 100 +++++++++++--
11 files changed, 360 insertions(+), 25 deletions(-)
Fusion-Task-Id: FN-8911
Fusion-Task-Lineage: ac2ec0d6-f409-40ba-a678-6dd7da7006dd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 15:24:21 -07:00
gsxdsm
3aa32a846c
FN-8910: allow held tasks to remediate review findings
...
Allow pre-merge remediation to proceed under project-level merge holds while preserving task-level operator holds.
- Restrict remediation holds to operator-authored task-level auto-merge settings
- Record remediation and revision-budget refusals for parked review tasks
- Keep fire-and-forget remediation failures in their review lane
- Cover shared-branch recovery behavior and document the policy
Files changed:
.changeset/fn-8910-premerge-remediation-hold.md | 7 ++
docs/workflow-steps.md | 2 +
packages/core/src/__tests__/task-merge.test.ts | 44 ++++++-------
packages/core/src/merge/task-merge.ts | 20 +++---
.../__tests__/executor-graph-requeue-gate.test.ts | 60 ++++++++++++++++-
...cutor-live-branch-group-auto-merge-hold.test.ts | 63 ++++++++++++++++--
.../workflow-graph-optional-step-fix.test.ts | 24 +++++--
.../src/__tests__/workflow-task-runtime.test.ts | 10 ++-
packages/engine/src/executor.ts | 76 ++++++++++++++++++----
9 files changed, 244 insertions(+), 62 deletions(-)
Fusion-Task-Id: FN-8910
Fusion-Task-Lineage: b5e10f87-67cf-4acf-b125-91be5ade17a8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 15:16:12 -07:00
gsxdsm
6bd178bdcf
FN-8864: add durable agent activity stream
...
Add a persisted, project-scoped agent activity feed with query and live delivery surfaces.
- Store sequenced, attributed activity events with privacy-safe metadata and retention.
- Emit activity across agents, workflow execution, reviews, approvals, merges, and recovery.
- Provide paginated API history and resilient SSE tailing with coverage and documentation.
- Renumber the activity migration to 0049 after reconciling main’s 0048 GitHub check-state migration.
Files changed:
.changeset/fn-8864-agent-activity-events.md | 7 +
docs/architecture.md | 8 +
docs/diagnostics.md | 4 +
docs/storage.md | 1 +
.../__tests__/agent-activity-attribution.test.ts | 21 +
.../agent-activity-metadata-hygiene.test.ts | 60 +++
.../src/__tests__/agent-activity-writers.test.ts | 94 +++++
.../postgres/agent-activity-events.pg.test.ts | 57 +++
.../src/__tests__/postgres/schema-applier.test.ts | 34 +-
packages/core/src/agents/agent-store.ts | 24 ++
packages/core/src/agents/approval-request-store.ts | 15 +-
packages/core/src/index.ts | 4 +
.../0049_fn_8864_agent_activity_events.sql | 24 ++
packages/core/src/postgres/schema-applier.ts | 15 +-
packages/core/src/postgres/schema/project.ts | 19 +-
packages/core/src/store.ts | 17 +
.../core/src/task-store/agent-activity-outbox.ts | 75 ++++
.../src/task-store/async/async-agent-activity.ts | 71 ++++
packages/core/src/types.ts | 2 +
packages/core/src/types/agents/agents.ts | 79 ++++
packages/dashboard/app/api.ts | 54 +++
.../src/__tests__/agent-activity-route.test.ts | 68 ++++
.../src/__tests__/sse-agent-activity.test.ts | 315 +++++++++++++++
packages/dashboard/src/routes/README.md | 2 +-
.../src/routes/register-setup-activity-routes.ts | 19 +-
packages/dashboard/src/sse.ts | 139 ++++++-
.../src/__tests__/agent-activity-writers.test.ts | 442 +++++++++++++++++++++
packages/engine/src/executor.ts | 110 ++++-
packages/engine/src/merger.ts | 15 +-
packages/engine/src/self-healing.ts | 35 +-
30 files changed, 1809 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-8864
Fusion-Task-Lineage: 4938f35b-a0bc-4eb3-905c-178fed859cc6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 14:39:17 -07:00
gsxdsm
3ca5d4d643
FN-8913: prioritize older tasks in hold-release scheduling
...
Rank eligible hold-release candidates by priority, age, and task ID to prevent newer work from starving older peers.
- Reuse the core priority-age-ID comparator for hold-release evaluation.
- Add regression coverage for priority, age, dependency, and overlap scheduling behavior.
- Document the production hold-release fairness order and add a patch changeset.
Files changed:
.changeset/fn-8913-older-first-scheduling.md | 7 ++
docs/architecture.md | 4 +-
.../hold-release-priority-age-order.test.ts | 113 +++++++++++++++++++++
.../__tests__/scheduler-overlap-starvation.test.ts | 76 ++++++++++++++
packages/engine/src/execution/hold-release.ts | 17 +++-
5 files changed, 212 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-8913
Fusion-Task-Lineage: 89910df9-9d3a-404c-85fa-f0797e8fa001
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 14:23:24 -07:00
gsxdsm
ad91795dac
FN-8843: assign eligible executors to new tasks
...
Assign durable executor ownership during shared task intake.
- Resolve eligible executor owners for API, dashboard, and reserved-ID task creation.
- Preserve explicit assignments, reject invalid owners, and audit unresolved ownerless intake.
- Cover routing and PostgreSQL intake behavior with regression tests and document the contract.
Files changed:
.changeset/fn-8843-intake-agent-assignment.md | 7 +
docs/architecture.md | 6 +
docs/workflow-steps.md | 12 +-
.../postgres/create-task-reserved-id.pg.test.ts | 187 +++++++++++++++
.../__tests__/task-intake-owner-resolver.test.ts | 141 ++++++++++++
packages/core/src/store.ts | 29 ++-
packages/core/src/task-store/task-creation.ts | 251 +++++++++++++++++----
.../core/src/tasks/task-intake-owner-resolver.ts | 239 ++++++++++++++++++++
.../dashboard/src/__tests__/routes-tasks.test.ts | 47 ++++
.../__tests__/task-create-intake-owner.pg.test.ts | 195 ++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 12 +-
.../src/__tests__/workflow-agent-routing.test.ts | 19 +-
.../engine/src/agents/workflow-agent-router.ts | 37 ++-
13 files changed, 1120 insertions(+), 62 deletions(-)
Fusion-Task-Id: FN-8843
Fusion-Task-Lineage: b94728b4-d9e8-4a26-8fbc-7096eb797839
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 14:12:49 -07:00
gsxdsm
29bb6d0dc2
FN-8868: restore durable agent activity telemetry
...
Restore Activity telemetry for durable agent sessions.
- Emit session-start and usage events across durable agent lanes.
- Count durable agent sessions and user messages in Activity analytics.
- Cover lifecycle wiring and telemetry persistence with tests.
Files changed: .../fn-8868-durable-agent-activity-telemetry.md | 7 +
docs/dashboard-guide.md | 8 +-
.../message-store-user-message-telemetry.test.ts | 73 ++++++++++
...mmand-center-activity-durable-agents.pg.test.ts | 158 +++++++++++++++++++++
packages/core/src/board/activity-analytics.ts | 12 +-
packages/core/src/stores/message-store.ts | 16 +++
packages/core/src/task-store/async/async-events.ts | 11 ++
.../dashboard/src/__tests__/chat-manager.test.ts | 88 ++++++++++++
packages/dashboard/src/chat.ts | 17 +++
.../__tests__/agent-usage-telemetry-lanes.test.ts | 84 +++++++++++
.../__tests__/agent-usage-telemetry-wiring.test.ts | 119 ++++++++++++++++
.../src/__tests__/agent-usage-telemetry.test.ts | 33 +++++
.../engine/src/__tests__/executor-prompt.test.ts | 8 ++
packages/engine/src/__tests__/merger-ai.test.ts | 11 ++
.../src/__tests__/merger-merge-lifecycle.test.ts | 21 ++-
packages/engine/src/__tests__/reviewer.test.ts | 58 +++++++-
.../src/__tests__/step-session-executor.test.ts | 37 ++++-
packages/engine/src/__tests__/triage.test.ts | 31 ++++
packages/engine/src/agent-heartbeat.ts | 43 ++++++
packages/engine/src/agents/agent-logger.ts | 30 +++-
.../engine/src/agents/agent-usage-telemetry.ts | 30 ++++
packages/engine/src/execution/reviewer.ts | 41 +++++-
.../engine/src/execution/step-session-executor.ts | 12 ++
packages/engine/src/executor.ts | 27 +++-
packages/engine/src/merge/merger-ai.ts | 7 +
packages/engine/src/merger.ts | 120 +++++++++++++++-
packages/engine/src/triage.ts | 5 +
27 files changed, 1085 insertions(+), 22 deletions(-)
Fusion-Task-Id: FN-8868
Fusion-Task-Lineage: 0aa2ee4e-4d40-4adc-a510-bf8f4b1c0233
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 10:28:24 -07:00
gsxdsm
c7c879905b
FN-8903: add event-driven GitHub CI merge checks
...
Persist ingested GitHub CI signals and use them to assess merge readiness.
- Store project-scoped GitHub check states with retention maintenance.
- Resolve configured required checks from ingested signals during PR merge decisions.
- Add delivery, lifecycle, persistence, and retention coverage with operator documentation.
Files changed:
.changeset/fn-8903-event-driven-checks.md | 7 ++
docs/architecture.md | 1 +
docs/settings-reference.md | 2 +-
docs/signals-connectors.md | 2 +-
.../src/commands/__tests__/task-lifecycle.test.ts | 50 ++++++++-
packages/cli/src/commands/task-lifecycle.ts | 7 +-
.../core/src/__tests__/ingested-checks.test.ts | 66 +++++++++++
.../postgres/github-check-states.pg.test.ts | 71 ++++++++++++
packages/core/src/config/index.ts | 1 +
packages/core/src/config/ingested-checks.ts | 32 ++++++
packages/core/src/index.ts | 10 ++
.../0048_fn_8903_github_check_states.sql | 32 ++++++
packages/core/src/postgres/schema-applier.ts | 15 ++-
packages/core/src/postgres/schema/project.ts | 29 ++++-
.../core/src/task-store/async/async-ci-checks.ts | 104 ++++++++++++++++++
packages/core/src/task-store/async/index.ts | 1 +
packages/core/src/types.ts | 2 +
packages/dashboard/src/__tests__/github.test.ts | 121 ++++++++++++++++++++-
.../src/__tests__/register-signal-routes.test.ts | 81 +++++++++++++-
packages/dashboard/src/github.ts | 74 +++++++++----
.../dashboard/src/routes/register-git-github.ts | 29 +++--
.../dashboard/src/routes/register-signal-routes.ts | 10 +-
.../src/routes/register-task-workflow-routes.ts | 14 ++-
packages/dashboard/src/signal-source.ts | 23 ++++
packages/dashboard/src/signal-sources/github.ts | 2 +
.../self-healing-github-check-retention.test.ts | 121 +++++++++++++++++++++
packages/engine/src/self-healing.ts | 23 ++++
27 files changed, 878 insertions(+), 52 deletions(-)
Fusion-Task-Id: FN-8903
Fusion-Task-Lineage: b2643587-c568-4b6c-8b3a-d50a6165963d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 09:14:56 -07:00
gsxdsm
b6af36916e
FN-8877: import GitHub issue images into planning mode
...
Planning Mode now preserves eligible GitHub issue and comment images through task creation.
- Capture image-bearing issue and cached comment bodies when starting Planning Mode.
- Persist validated image URLs with planning provenance and attach them after task creation.
- Bound browser transport and server downloads while covering the import flow with regression tests.
Files changed:
.../fn-8877-planning-issue-image-attachments.md | 7 ++
docs/dashboard-guide.md | 4 +-
.../dashboard/app/components/GitHubImportModal.tsx | 43 +++++--
.../__tests__/GitHubImportModal.test.tsx | 111 ++++++++++++++++++
.../src/__tests__/issue-image-attachments.test.ts | 33 +++++-
.../planning-body-parser-integration.test.ts | 58 ++++++++++
.../__tests__/planning-e2e-plan-creation.test.ts | 34 ++++++
.../__tests__/routes-planning-issue-images.test.ts | 127 +++++++++++++++++++++
.../src/__tests__/routes-planning-tracking.test.ts | 3 +
packages/dashboard/src/issue-image-attachments.ts | 37 ++++--
packages/dashboard/src/issue-image-markup.ts | 6 +
packages/dashboard/src/planning.ts | 31 ++++-
.../src/routes/register-planning-subtask-routes.ts | 28 ++++-
packages/dashboard/src/server.ts | 33 ++++--
14 files changed, 518 insertions(+), 37 deletions(-)
Fusion-Task-Id: FN-8877
Fusion-Task-Lineage: 057a8a2b-1c0f-4502-9fb3-7ee136d39563
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 08:31:26 -07:00
gsxdsm
661b2cf7b3
FN-8899: document unified AI merge path
...
Clarify that approved work is merged exclusively through the clean-room AI merge workflow.
- Replace the legacy merger entry point with runAiMerge in the architecture overview.
- Mark aiMergeTask as retained, soft-deprecated, and inert.
Files changed:
docs/architecture.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Fusion-Task-Id: FN-8899
Fusion-Task-Lineage: 03436366-3f48-46c7-908e-ff97843b81d9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 07:22:31 -07:00
gsxdsm
d09e3e5554
FN-8861: preserve GitHub issue context in planning
...
Preserve imported GitHub issue provenance through Planning Mode and source tracking.
- Pass structured GitHub issue context from import through planning task creation.
- Append source-issue metadata to planned tasks and safely link each source issue once.
- Cover provenance persistence, duplicate suppression, and planning UI handoff.
Files changed:
.changeset/fn-8861-planning-source-issue.md | 7 ++
docs/dashboard-guide.md | 8 +-
docs/settings-reference.md | 2 +-
packages/dashboard/app/App.tsx | 4 +-
packages/dashboard/app/api/planning/planning.ts | 3 +-
packages/dashboard/app/components/AppModals.tsx | 2 +-
.../dashboard/app/components/GitHubImportModal.tsx | 13 +--
.../dashboard/app/components/PlanningModeModal.tsx | 5 +-
.../__tests__/GitHubImportModal.test.tsx | 34 ++++++
.../app/components/dashboard/PlanningKeepAlive.tsx | 1 +
.../dashboard/app/components/dashboard/types.ts | 2 +-
.../app/hooks/__tests__/useModalManager.test.ts | 26 ++++-
packages/dashboard/app/hooks/useModalManager.ts | 17 ++-
.../src/__tests__/github-tracking.test.ts | 125 ++++++++++++++++++++-
packages/dashboard/src/__tests__/github.test.ts | 78 ++++++++++++-
.../__tests__/planning-e2e-plan-creation.test.ts | 49 +++++++-
.../src/__tests__/planning-source-issue.test.ts | 61 ++++++++++
.../src/__tests__/routes-planning-tracking.test.ts | 118 ++++++++++++++++++-
packages/dashboard/src/github-tracking.ts | 112 ++++++++++++++++--
packages/dashboard/src/github.ts | 50 +++++++++
packages/dashboard/src/planning.ts | 48 +++++++-
.../dashboard/src/routes/register-git-github.ts | 31 +----
.../src/routes/register-planning-subtask-routes.ts | 69 +++++++++++-
23 files changed, 785 insertions(+), 80 deletions(-)
Fusion-Task-Id: FN-8861
Fusion-Task-Lineage: b2433f70-9c1b-47ef-bafa-0434861cd0a8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 07:06:06 -07:00
gsxdsm
569d2eee91
FN-8885: add GitHub CI signal ingestion
...
Ingest signed GitHub CI webhook outcomes into Command Center incidents.
- Support check_suite, workflow_run, and status events with HMAC verification.
- Resolve the latest matching open incident for successful recovery events without creating tasks.
- Document GitHub signal configuration and add connector, route, and monitor-store coverage.
Files changed:
.changeset/fn-8885-github-signals-connector.md | 7 ++
docs/dashboard-guide.md | 2 +-
docs/settings-reference.md | 1 +
docs/signals-connectors.md | 31 ++++-
.../core/src/task-store/async/async-monitor.ts | 30 ++---
packages/dashboard/README.md | 5 +-
.../src/__tests__/github-signal-source.test.ts | 49 ++++++++
.../src/__tests__/monitor-store.pg.test.ts | 35 ++++++
.../src/__tests__/register-signal-routes.test.ts | 132 +++++++++++++++++++-
packages/dashboard/src/monitor-store.ts | 28 ++---
.../dashboard/src/routes/register-signal-routes.ts | 25 ++++
packages/dashboard/src/signal-source.ts | 17 ++-
packages/dashboard/src/signal-sources/github.ts | 135 +++++++++++++++++++++
13 files changed, 461 insertions(+), 36 deletions(-)
Fusion-Task-Id: FN-8885
Fusion-Task-Lineage: d2e9f6ed-95fe-4387-81bd-2ee67b2e1283
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 06:51:22 -07:00
gsxdsm
98ad663011
FN-8872: add structural mail reports from chat
...
Add a report-oriented mail workflow that turns completed chat responses into structured, reviewable messages.
- Render structural report items with dedicated visual treatment and tests across mail surfaces.
- Add report-mode composer fields and route Send as report handoffs from completed chat responses.
- Document the mail/chat workflow and publish a Fusion changeset.
Files changed:
.changeset/fn-8872-structural-mail-ui.md | 7 +
docs/dashboard-guide.md | 3 +
packages/dashboard/app/App.tsx | 9 +
packages/dashboard/app/components/ChatView.tsx | 36 ++--
packages/dashboard/app/components/MailboxModal.tsx | 28 ++-
.../app/components/MailboxStructuralItem.css | 73 +++++++
.../app/components/MailboxStructuralItem.tsx | 100 ++++++++++
packages/dashboard/app/components/MailboxView.tsx | 50 ++++-
.../dashboard/app/components/MessageComposer.css | 18 ++
.../dashboard/app/components/MessageComposer.tsx | 57 +++++-
.../__tests__/ChatMailReportRouting.test.tsx | 144 ++++++++++++++
.../__tests__/ChatView.send-as-report.test.tsx | 96 +++++++++
.../__tests__/MailboxStructuralItem.test.tsx | 90 +++++++++
.../MailboxStructuralMail.surfaces.test.tsx | 217 +++++++++++++++++++++
.../app/components/__tests__/MailboxView.test.tsx | 28 +++
.../__tests__/MessageComposer.report-mode.test.tsx | 106 ++++++++++
.../components/__tests__/chatReportHandoff.test.ts | 26 +++
.../dashboard/app/components/chatReportHandoff.ts | 65 ++++++
.../app/components/dashboard/MainContent.tsx | 4 +
.../dashboard/app/components/dashboard/types.ts | 3 +
20 files changed, 1135 insertions(+), 25 deletions(-)
Fusion-Task-Id: FN-8872
Fusion-Task-Lineage: 55e4bf5e-e7f3-48a5-8084-4090ab24710a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 06:07:01 -07:00
gsxdsm
3d6a908b95
FN-8898: document inert prerebase settings
...
Clarify that legacy prerebase settings are inert on the production merge path.
- Mark retained prerebase configuration and audit events as legacy-only.
- Add a static validator and tests preventing new prerebase callers.
- Update merge architecture, testing, and settings documentation.
Files changed:
AGENTS.md | 2 +-
docs/architecture.md | 3 +-
docs/settings-reference.md | 6 +-
docs/testing.md | 2 +-
package.json | 6 +-
packages/core/src/types/settings/settings-scope.ts | 32 +++--
.../src/errors/transient-merge-error-classifier.ts | 12 +-
packages/engine/src/merge/merger-auto-prerebase.ts | 12 +-
packages/engine/src/util/run-audit.ts | 2 +
scripts/__tests__/check-prerebase-inert.test.mjs | 73 +++++++++++
scripts/__tests__/run-static-gate-checks.test.mjs | 1 +
scripts/__tests__/verify-fast.test.mjs | 1 +
scripts/check-prerebase-inert.mjs | 146 +++++++++++++++++++++
scripts/lib/source-projection.mjs | 87 ++++++++++++
14 files changed, 359 insertions(+), 26 deletions(-)
Fusion-Task-Id: FN-8898
Fusion-Task-Lineage: 9cfd836d-17c2-44a0-a076-56fef0917935
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 06:01:02 -07:00
gsxdsm
74b4de3d19
FN-8883: migrate executor tests to StepSessionExecutor seam
...
Route executor lifecycle tests through graph-owned StepSessionExecutor fixtures.
- Add reusable workflow routing, worktree refresh, and implementation-session test helpers
- Update executor prompt, step-session, pause, and completion assertions for graph-owned sessions
- Document the graph executor fixture seams for focused verification
Files changed:
docs/testing.md | 3 +
.../__tests__/ephemeral-task-create-gate.test.ts | 29 +-
.../engine/src/__tests__/executor-prompt.test.ts | 417 ++++++++++++---------
.../src/__tests__/executor-review-verdicts.test.ts | 2 +-
.../executor-step-numbering-zero-based.test.ts | 23 +-
.../src/__tests__/executor-step-session.test.ts | 152 ++++++--
.../executor-task-done-summary.test.ts | 14 +-
.../engine/src/__tests__/executor-test-helpers.ts | 65 +++-
8 files changed, 468 insertions(+), 237 deletions(-)
Fusion-Task-Id: FN-8883
Fusion-Task-Lineage: 7ebbee52-fe43-4e18-b0e9-2253911a0acb
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 04:59:15 -07:00
gsxdsm
2643f4e567
FN-8884: enable GitHub-native PR auto-merge
...
Enable opt-in GitHub-managed auto-merge for pull requests.
- Add a project setting and dashboard control for GitHub native auto-merge.
- Arm individual, group, dashboard, and workflow PRs with `gh pr merge --auto` or GraphQL, including while checks are pending.
- Preserve deferred PR reconciliation, unavailable-feature errors, project-scoped runtime configuration, tests, documentation, and a release changeset.
Files changed:
.changeset/fn-8884-github-native-auto-merge.md | 7 +
docs/settings-reference.md | 5 +
packages/cli/src/commands/__tests__/daemon.test.ts | 16 +++
packages/cli/src/commands/__tests__/serve.test.ts | 14 ++
.../src/commands/__tests__/task-lifecycle.test.ts | 158 +++++++++++++++++++++
packages/cli/src/commands/daemon.ts | 11 +-
packages/cli/src/commands/dashboard.ts | 11 +-
packages/cli/src/commands/serve.ts | 11 +-
packages/cli/src/commands/task-lifecycle.ts | 45 ++++--
.../core/src/__tests__/settings-defaults.test.ts | 4 +
packages/core/src/config/settings-schema.ts | 1 +
packages/core/src/types/settings/settings-scope.ts | 8 ++
.../settings/__tests__/section-keys.test.ts | 1 +
.../app/components/settings/section-keys.ts | 1 +
.../components/settings/sections/MergeSection.tsx | 14 +-
.../settings-default-descriptions.test.tsx | 1 +
.../src/__tests__/github-native-auto-merge.test.ts | 114 +++++++++++++++
.../src/__tests__/routes-pr-merge.test.ts | 84 +++++++++++
packages/dashboard/src/github.ts | 88 +++++++++++--
packages/dashboard/src/index.ts | 2 +-
.../dashboard/src/routes/register-git-github.ts | 33 +++--
.../project-engine-deferred-startup.test.ts | 21 +++
packages/engine/src/project-engine-manager.ts | 2 +
packages/engine/src/project-engine.ts | 6 +
packages/engine/src/project/project-runtime.ts | 6 +
packages/engine/src/runtimes/in-process-runtime.ts | 9 +-
packages/i18n/locales/en/app.json | 4 +-
27 files changed, 634 insertions(+), 43 deletions(-)
Fusion-Task-Id: FN-8884
Fusion-Task-Lineage: cf1b1ea4-7ef7-4050-bd87-25933456a5b6
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 04:50:30 -07:00
gsxdsm
c60a11607f
FN-8856: bound scheduler hold-release sweep work
...
Keep hold-release scheduling and dashboard health checks responsive under PostgreSQL load.
- Batch and cache workflow-selection reads for each hold-release pass.
- Bound sweep execution, prevent overlapping project passes, and expose sweep instrumentation.
- Time-bound PostgreSQL health probes and add regression coverage.
Files changed:
.changeset/fn-8856-hold-release-sweep-bounded.md | 7 +
docs/architecture.md | 6 +
docs/diagnostics.md | 4 +
.../__tests__/workflow-ir-selection-cache.test.ts | 77 ++++
packages/core/src/index.ts | 2 +
packages/core/src/store.ts | 6 +-
.../core/src/task-store/workflow-definitions.ts | 25 ++
.../core/src/workflows/workflow-ir-resolver.ts | 27 +-
.../__tests__/dashboard-postgres-health.test.ts | 76 ++++
.../dashboard/src/dashboard-postgres-health.ts | 34 +-
.../__tests__/hold-release-instrumentation.test.ts | 34 ++
.../hold-release-sweep-bounded-db-work.test.ts | 467 +++++++++++++++++++++
packages/engine/src/execution/hold-release.ts | 391 +++++++++--------
packages/engine/src/scheduler.ts | 56 ++-
14 files changed, 1021 insertions(+), 191 deletions(-)
Fusion-Task-Id: FN-8856
Fusion-Task-Lineage: 5fa55d95-0760-4c4d-8c6c-6e1805109b3c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 04:37:47 -07:00
gsxdsm
cf171bc4b2
FN-8900: rescue deterministic Kimi K3 catalog test
...
Rescue Kimi K3 route coverage with a deterministic bundled-catalog registry seam.
- Use pi-ai's real Kimi catalog without live registry refresh.
- Restore route merge and deduplication coverage and remove the paired quarantine records.
- Document the measured refresh stall and preserve the existing timeout budget.
Files changed:
docs/testing.md | 3 +-
packages/dashboard/package.json | 1 +
.../src/__tests__/_kimi-model-catalog-fixture.ts | 40 +++++++++
...ister-model-routes-kimi-k3-supplemental.test.ts | 75 ++++++-----------
packages/dashboard/vitest.config.ts | 19 ++---
pnpm-lock.yaml | 98 +++++++++++++++++-----
scripts/lib/test-quarantine.json | 5 --
7 files changed, 153 insertions(+), 88 deletions(-)
Fusion-Task-Id: FN-8900
Fusion-Task-Lineage: 6d4986ed-bc93-479f-85fb-510d17ced4b5
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 03:47:56 -07:00
gsxdsm
7745c59e63
FN-8880: align shared-member recovery consent tests
...
Align recovery expectations with the shared-member consent policy.
- Hold non-opted-in shared members when project auto-merge is off.
- Cover explicit per-task auto-merge opt-in during startup and self-healing recovery.
- Document the project-off consent rule for branch-group members.
Files changed:
AGENTS.md | 2 +-
docs/architecture.md | 4 +-
packages/engine/src/__tests__/project-engine.test.ts | 41 +++++++++++------
packages/engine/src/__tests__/self-healing.test.ts | 51 +++++++++++++++++++---
4 files changed, 75 insertions(+), 23 deletions(-)
Fusion-Task-Id: FN-8880
Fusion-Task-Lineage: 3118064d-59ca-4c2e-89a8-442ee8876cf8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 02:41:02 -07:00
gsxdsm
ef99dcd1b0
FN-8894: model advancing clocks in oversight tests
...
Ensure TaskDetailModal mutation fixtures mirror server update timestamps.
- Add an advancing-clock task fixture helper for mutation responses
- Update desktop and mobile oversight control mocks to use newer task snapshots
- Cover equal-clock merge behavior and document the fixture contract
Files changed:
docs/testing.md | 6 ++
.../TaskDetailModal.oversight-controls.test.tsx | 74 +++++++++++++++++++++-
.../TaskDetailModal.oversight-mobile.test.tsx | 3 +-
.../__tests__/TaskDetailModal.test-helpers.ts | 15 +++++
4 files changed, 94 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-8894
Fusion-Task-Lineage: 614eb85a-0fbf-4f44-a08d-347f2511499b
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 02:23:54 -07:00
gsxdsm
ccf2ffe93d
FN-8854: document rebase settings and configuration audits
...
Document the worktree rebase controls and configuration audit surfaces.
- Describe worktree rebase defaults, remote resolution, and legacy pipeline reachability
- Explain configuration revisions and Activity Log query contracts
- Add source-aligned documentation contract coverage
Files changed:
docs/diagnostics.md | 22 ++++-
docs/settings-reference.md | 15 ++++
.../configuration-audit-documentation.test.ts | 94 ++++++++++++++++++++++
3 files changed, 130 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-8854
Fusion-Task-Lineage: 5807280f-e1da-4847-8337-1c27c8ed695f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 02:06:44 -07:00
gsxdsm
d59c1b162f
FN-8855: enforce configured PR checks before merging
...
Add configurable Fusion-side PR check gating across merge surfaces.
- Add project required-check settings, validation, UI controls, CLI support, and operator documentation.
- Evaluate configured checks before dashboard and CLI PR merges, accepting successful, skipped, and neutral checks.
- Bind merges to the evaluated PR head SHA to prevent push-and-merge races.
- Cover required-check policy and head-SHA merge behavior with tests.
Files changed:
.changeset/fn-8855-required-checks.md | 7 +
docs/dashboard-guide.md | 5 +
docs/settings-reference.md | 1 +
.../src/commands/__tests__/task-lifecycle.test.ts | 30 ++++-
packages/cli/src/commands/task-lifecycle.ts | 17 ++-
.../core/src/__tests__/required-checks.test.ts | 16 +++
packages/core/src/config/index.ts | 1 +
packages/core/src/config/required-checks.ts | 16 +++
packages/core/src/config/settings-schema.ts | 1 +
packages/core/src/index.ts | 1 +
packages/core/src/types.ts | 6 +
packages/core/src/types/settings/settings-scope.ts | 6 +
packages/core/src/types/task/task-tracking.ts | 5 +
.../settings/__tests__/section-keys.test.ts | 1 +
.../app/components/settings/section-keys.ts | 1 +
.../settings/sections/MergeSection.search.ts | 3 +
.../components/settings/sections/MergeSection.tsx | 30 ++++-
.../__tests__/MergeSection.requiredChecks.test.tsx | 50 +++++++
.../settings-default-descriptions.test.tsx | 1 +
packages/dashboard/src/__tests__/github.test.ts | 123 +++++++++++++++++
packages/dashboard/src/github.ts | 149 +++++++++++++--------
.../dashboard/src/routes/register-git-github.ts | 38 ++++--
.../src/routes/register-task-workflow-routes.ts | 8 +-
packages/i18n/locales/en/app.json | 4 +-
24 files changed, 441 insertions(+), 79 deletions(-)
Fusion-Task-Id: FN-8855
Fusion-Task-Lineage: 708e9c27-72be-4925-bf09-5db421bcaa67
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 01:33:06 -07:00
gsxdsm
9c43736794
FN-8870: add structural approval and report mail
...
Add typed report and approval metadata to the mailbox contract.
- Define and validate structural mail kinds, report sections, and approval references.
- Let agents send validated reports while reserving approval mail for engine emission.
- Emit idempotent, fail-soft approval notifications and document the contract.
Files changed:
.changeset/fn-8870-structural-mail-contract.md | 7 ++
docs/agents.md | 2 +
docs/architecture.md | 4 +
.../message-metadata-structural-mail.test.ts | 25 ++++
packages/core/src/index.gate.ts | 2 +-
packages/core/src/index.ts | 2 +-
packages/core/src/types.ts | 30 +++++
packages/core/src/types/messaging/messages.ts | 21 ++++
...gent-tools-send-message-structural-mail.test.ts | 34 +++++
.../src/__tests__/approval-mail-emission.test.ts | 137 +++++++++++++++++++++
packages/engine/src/agent-heartbeat.ts | 3 +
packages/engine/src/agent-tools.ts | 28 ++++-
packages/engine/src/agents/approval-mail.ts | 40 ++++++
packages/engine/src/executor.ts | 3 +
14 files changed, 334 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-8870
Fusion-Task-Lineage: 7d30b2f9-c004-4975-86b1-9600e2c8d76f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 00:41:18 -07:00
gsxdsm
0e8d743064
FN-8867: prevent false task wedge notifications
...
Prevent stale terminal snapshots and pause markers from notifying for progressing tasks.
- Reclassify the live task immediately before claiming wedge episodes.
- Require actual pause state for pause-derived wedge reasons.
- Cover resumed-task races and stale pause markers with notification tests.
- Document the wedge notification behavior and add a patch changeset.
Files changed:
.changeset/fn-8867-wedge-false-terminal-alerts.md | 7 ++
docs/agents.md | 2 +-
docs/architecture.md | 2 +-
.../__tests__/notification-service.test.ts | 9 +-
.../__tests__/task-wedge-notification.test.ts | 102 +++++++++++++++++++--
.../src/notification/notification-service.ts | 22 +++--
.../src/notification/task-wedge-notification.ts | 22 ++++-
7 files changed, 137 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-8867
Fusion-Task-Lineage: c92c7735-e8b9-4979-8028-10a0555810f1
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-09 00:01:44 -07:00
gsxdsm
ec52a9131a
FN-8859: add native roadmap embeds to chat
...
Enable roadmap structures to open, preview, and embed directly from chat and dashboard views.
- Register roadmap views as native structures with chat-reference support.
- Add composer previews, in-place dashboard embedding, and drag-safe interactions.
- Document the native-structure plugin contract and add coverage across supported surfaces.
Files changed:
.changeset/fn-8859-roadmap-native-structure-embeds.md | 7 +
docs/PLUGIN_AUTHORING.md | 1 +
docs/dashboard-guide.md | 6 +-
packages/dashboard/app/components/MessageComposer.tsx | 16 +-
packages/dashboard/app/components/__tests__/MessageComposer.test.tsx | 102 ++++++++++-
packages/dashboard/app/components/__tests__/overflowViewRegistry.test.tsx | 68 +++++++-
packages/dashboard/app/components/dashboard/MainContent.tsx | 22 ++-
packages/dashboard/app/components/dashboard/__tests__/MainContent.native-structure-roadmap.test.tsx | 188 +++++++++++++++++++++
packages/dashboard/app/components/nativeStructureChatRef.ts | 4 +-
packages/dashboard/app/components/overflowViewRegistry.tsx | 34 ++--
packages/dashboard/app/plugins/types.ts | 10 +-
packages/dashboard/app/utils/__tests__/nativeStructureDrag.test.ts | 46 +++--
packages/dashboard/app/utils/nativeStructureDrag.ts | 18 +-
plugins/fusion-plugin-roadmap/src/dashboard-view.tsx | 7 +-
plugins/fusion-plugin-roadmap/src/dashboard/RoadmapsView.tsx | 22 ++-
plugins/fusion-plugin-roadmap/src/dashboard/__tests__/RoadmapsView.test.tsx | 51 ++++++
16 files changed, 560 insertions(+), 42 deletions(-)
Fusion-Task-Id: FN-8859
Fusion-Task-Lineage: 99a7292b-2a06-4325-8131-ca74431214e3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 23:54:40 -07:00
gsxdsm
0a2fe913c6
FN-8863: fix standalone pre-merge remediation holds
...
Allow standalone tasks to recover from failed pre-merge steps when project auto-merge is disabled.
- Add a remediation-specific auto-merge hold for shared members and explicit user holds.
- Restore Plan Review replans and Code Review fix handoffs for standalone tasks.
- Cover hold behavior and document the operator-consent policy.
Files changed:
.changeset/fn-8863-remediation-auto-merge-hold.md | 7 ++
docs/dashboard-guide.md | 2 +-
packages/core/src/__tests__/task-merge.test.ts | 38 ++++++++
packages/core/src/index.gate.ts | 1 +
packages/core/src/index.ts | 1 +
packages/core/src/merge/task-merge.ts | 18 ++++
...cutor-live-branch-group-auto-merge-hold.test.ts | 27 ++++++
.../workflow-graph-optional-step-fix.test.ts | 106 +++++++++++++++++++++
packages/engine/src/executor.ts | 16 +++-
9 files changed, 212 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-8863
Fusion-Task-Lineage: 930bf37a-3173-4a3b-84ca-575f7f5d94b9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 23:34:41 -07:00
gsxdsm
fb125b6f5e
FN-8852: exclude heartbeat writes from revision history
...
Prevent liveness bookkeeping from evicting real settings changes while making revision history pageable.
- Exclude engineLastActiveAt from project revision snapshots and preserve its live value during rollback.
- Add validated limit/offset paging with hasMore to configuration revision stores and the API.
- Cover heartbeat filtering, rollback compatibility, and paging contracts; document the behavior and add a patch changeset.
Files changed:
.changeset/fn-8852-config-revision-heartbeat.md | 7 +
docs/settings-reference.md | 4 +
docs/storage.md | 6 +
.../__tests__/configuration-revision-store.test.ts | 178 ++++++++++++++++++++-
.../configuration-revision-heartbeat.pg.test.ts | 118 ++++++++++++++
.../async-configuration-revision-store.ts | 46 ++++--
.../src/config/configuration-revision-store.ts | 9 +-
packages/core/src/config/global-settings.ts | 2 +-
packages/core/src/config/settings-schema.ts | 20 +++
packages/core/src/index.gate.ts | 2 +-
packages/core/src/index.ts | 2 +-
packages/core/src/task-store/task-mutation-ops.ts | 24 ++-
packages/core/src/types.ts | 6 +
packages/core/src/types/settings/settings-scope.ts | 3 +
.../register-org-portability-routes.test.ts | 19 ++-
.../src/routes/register-org-portability-routes.ts | 18 ++-
16 files changed, 437 insertions(+), 27 deletions(-)
Fusion-Task-Id: FN-8852
Fusion-Task-Lineage: 46d5ac9d-d2c0-4294-a5f7-d228fcb341c9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 23:16:01 -07:00
gsxdsm
65bf3097ff
FN-8857: invalidate stale task dispatch routes
...
Clear persisted effective routes whenever an eligible task node override changes.
- Add route invalidation logic that preserves checkout-bound and explicit replacement routes.
- Cover in-memory and PostgreSQL task-update scenarios, including partial snapshot replacements.
- Document the dispatch snapshot invalidation behavior and add a patch changeset.
Files changed:
.changeset/fn-8857-stale-effective-route.md | 7 +
docs/architecture.md | 6 +-
docs/task-management.md | 4 +-
.../__tests__/effective-route-invalidation.test.ts | 101 ++++++++++++++
.../postgres/task-node-override.pg.test.ts | 63 +++++++++
...ask-update-effective-route-invalidation.test.ts | 148 +++++++++++++++++++++
packages/core/src/index.ts | 5 +
.../core/src/mesh/effective-route-invalidation.ts | 58 ++++++++
packages/core/src/task-store/task-update.ts | 40 ++++++
9 files changed, 428 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-8857
Fusion-Task-Lineage: ab6c1a40-70b4-4501-ab34-771de288da10
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 23:05:29 -07:00
gsxdsm
75796ebe6f
FN-8850: capture task completion recommendations
...
Capture bounded, task-ready executor follow-ups at accepted completion.
- Guide executor prompts to submit recommendations or an explicit empty list at completion.
- Enforce default and disabled recommendation caps in completion handling.
- Document recommendation behavior and cover prompt and validation contracts.
Files changed:
.../fn-8850-populate-task-recommendations.md | 7 +++
docs/dashboard-guide.md | 2 +-
packages/core/src/agents/agent-prompts.ts | 16 ++++--
.../__tests__/ephemeral-task-create-gate.test.ts | 3 +-
.../engine/src/__tests__/executor-prompt.test.ts | 67 ++++++++++++++++++++++
.../executor-task-recommendations.test.ts | 39 ++++++++++++-
packages/engine/src/executor.ts | 44 ++++++++++++--
7 files changed, 162 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-8850
Fusion-Task-Lineage: 55a99d05-33fa-464c-869c-18a9cf7e495a
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 22:49:02 -07:00
gsxdsm
72623ec804
FN-8837: fix pull-request merge retry recovery
...
Make pull-request merge failures retry safely and report actionable terminal states.
- Persist exponential retry backoff and schedule durable retry wakeups.
- Classify policy, transient, and non-retryable GitHub merge failures correctly.
- Clear retry state on successful merges and cover notifications and recovery paths.
Files changed:
.changeset/fn-8837-pr-merge-retries.md | 7 +
docs/architecture.md | 1 +
.../task-update-awaiting-approval-reason.test.ts | 9 +
packages/core/src/store.ts | 2 +-
packages/core/src/task-store/task-update.ts | 6 +-
packages/core/src/types/task/task-core.ts | 7 +-
.../src/__tests__/merge-error-recovery.test.ts | 440 ++++++++++++++++++++-
.../engine/src/__tests__/ntfy-provider.test.ts | 14 +
.../engine/src/__tests__/webhook-provider.test.ts | 15 +
.../__tests__/notification-service.test.ts | 48 +++
.../src/notification/notification-service.ts | 15 +-
packages/engine/src/notification/ntfy-provider.ts | 15 +-
.../engine/src/notification/webhook-provider.ts | 9 +-
packages/engine/src/project-engine.ts | 240 +++++++++--
14 files changed, 781 insertions(+), 47 deletions(-)
Fusion-Task-Id: FN-8837
Fusion-Task-Lineage: a39b3491-d5cb-4509-b450-3e5671e0ba2d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 22:43:45 -07:00
gsxdsm
b3504f01a4
FN-8838: refresh automated PR heads before GitHub mutations
...
Refresh isolated automated PR heads against their target immediately before PR creation or merge.
- Rebase and lease-publish task and group heads at every automated GitHub boundary.
- Fail closed on concurrent head updates and reconcile retained refresh worktrees.
- Add lifecycle coverage and document the configurable integration remote.
Files changed:
.changeset/fn-8838-refresh-pr-heads.md | 7 +
docs/settings-reference.md | 6 +
.../task-lifecycle-refresh.integration.test.ts | 438 ++++++++++++++++
.../src/commands/__tests__/task-lifecycle.test.ts | 309 ++++++++++-
packages/cli/src/commands/daemon.ts | 4 +-
packages/cli/src/commands/dashboard.ts | 4 +-
packages/cli/src/commands/serve.ts | 4 +-
packages/cli/src/commands/task-lifecycle.ts | 581 +++++++++++++++++++--
.../src/__tests__/group-merge-coordinator.test.ts | 43 ++
.../engine/src/merge/group-merge-coordinator.ts | 34 +-
packages/engine/src/merge/pr-nodes.ts | 35 +-
packages/engine/src/project-engine.ts | 16 +-
12 files changed, 1425 insertions(+), 56 deletions(-)
Fusion-Task-Id: FN-8838
Fusion-Task-Lineage: a9b9e800-7d73-441f-bc1b-2488d244e0b1
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 22:35:59 -07:00
gsxdsm
1e5d80dd4d
FN-8853: record all settings changes in Activity Log
...
Record all meaningful settings changes in the Activity Log.
- Replace the four-key listener allowlist with safe generic setting diffs.
- Exclude engine churn, redact sensitive values, and cap displayed summaries.
- Add regression coverage, diagnostics guidance, and a patch changeset.
Files changed: .changeset/fn-8853-settings-activity-coverage.md | 7 ++
docs/diagnostics.md | 4 +
.../src/__tests__/settings-activity-log.test.ts | 138 +++++++++++++++++++++
packages/core/src/task-store/lifecycle-ops.ts | 40 +++---
packages/core/src/task-store/settings-activity.ts | 95 ++++++++++++++
5 files changed, 260 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-8853
Fusion-Task-Lineage: ea072564-0bf1-4a97-8dd8-cde5844b1055
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 21:10:13 -07:00
gsxdsm
7611ce7baa
FN-8841: route Plan Review no-op verdicts to terminal close
...
Allow validated duplicate and no-op Plan Review verdicts to complete work without implementation dispatch.
- Add terminal no-op routes to built-in coding workflows and validate reviewer evidence.
- Persist close verdicts, safely hold failed terminalizations, and guard pause races.
- Document the verdict contract and cover route, validation, and completion behavior.
- Add a patch changeset for the published Fusion package.
Files changed:
.changeset/fn-8841-plan-review-no-op.md | 7 +
docs/workflow-steps.md | 14 +
.../core/src/__tests__/builtin-workflows.test.ts | 24 ++
packages/core/src/types/task/task-review.ts | 7 +-
packages/core/src/types/workflow/workflow-steps.ts | 2 +-
.../src/workflows/builtin-coding-workflow-ir.ts | 3 +
.../src/workflows/builtin-plan-review-group.ts | 3 +-
.../builtin-stepwise-coding-workflow-ir.ts | 3 +
packages/core/src/workflows/builtin-workflows.ts | 5 +
.../engine/src/__tests__/plan-review-no-op.test.ts | 289 +++++++++++++++++++
.../workflow-step-verdict-parsing.test.ts | 18 ++
packages/engine/src/executor.ts | 318 +++++++++++++++++----
.../src/workflows/workflow-graph-executor.ts | 103 ++++++-
.../src/workflows/workflow-graph-task-runner.ts | 6 +
14 files changed, 741 insertions(+), 61 deletions(-)
Fusion-Task-Id: FN-8841
Fusion-Task-Lineage: bde2e001-9cd0-496e-8367-36540c9ac31d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 21:04:10 -07:00
gsxdsm
f36e23848f
FN-8840: recognize duplicate redirects in task titles
...
Recognize exact duplicate redirects in either task title or PROMPT.md while preserving conflicting decisions for operator resolution.
- Resolve duplicate markers consistently across intake, scheduling, execution, dashboard, and replication paths.
- Accept task-ID prefixes beyond FN- and expose duplicate-marker state to the UI.
- Fail closed during stale-decision recovery when prompt, title, or persisted canonical redirects disagree.
- Add regression coverage and operator documentation for title-based redirects.
Files changed:
.changeset/fn-8840-duplicate-title-redirect.md | 7 ++
docs/settings-reference.md | 2 +-
docs/task-management.md | 11 +-
.../__tests__/explicit-duplicate-marker.test.ts | 30 ++++-
.../src/__tests__/mesh-task-replication.test.ts | 6 +
.../src/duplicates/explicit-duplicate-marker.ts | 66 ++++++++---
packages/core/src/index.gate.ts | 3 +
packages/core/src/index.ts | 3 +
packages/core/src/mesh/mesh-task-replication.ts | 2 +-
...-task-workflow-routes.awaiting-planning.test.ts | 78 +++++++++++--
.../src/routes/register-task-workflow-routes.ts | 26 ++++-
.../executor-explicit-duplicate-recovery.test.ts | 75 ++++++++++++
.../__tests__/merged-intake-hold-column.test.ts | 19 +++
.../scheduler-explicit-duplicate-marker.test.ts | 130 +++++++++++++++++++++
.../self-healing-stale-duplicate-decision.test.ts | 67 +++++++++++
.../triage-explicit-duplicate-marker.test.ts | 51 ++++++++
packages/engine/src/execution/hold-release.ts | 10 +-
packages/engine/src/executor.ts | 11 +-
packages/engine/src/scheduler.ts | 15 ++-
packages/engine/src/self-healing.ts | 55 ++++++---
packages/engine/src/triage.ts | 98 +++++++++++++---
21 files changed, 687 insertions(+), 78 deletions(-)
Fusion-Task-Id: FN-8840
Fusion-Task-Lineage: d08a3e84-1851-4fba-bfa9-507116ad6219
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 19:58:43 -07:00
gsxdsm
fe9fe88841
FN-8847: remove retired ephemeral-agent setting
...
Remove the obsolete ephemeral-agent compatibility setting across configuration, persistence, UI, and localization.
- Remove the setting from schemas, scoped settings, persistence helpers, and General settings UI.
- Update translations, settings documentation, and parity coverage for the retired option.
- Adjust scheduler, executor, dashboard, and PostgreSQL tests for the unconditional behavior.
- Add a patch changeset for @runfusion/fusion.
Files changed:
.changeset/fn-8847-remove-ephemeral-setting.md | 7 +++
docs/settings-reference.md | 3 +-
.../postgres/settings-persistence.pg.test.ts | 14 ++++++
.../core/src/__tests__/settings-parity.test.ts | 20 ++++++--
packages/core/src/config/settings-schema.ts | 7 ---
packages/core/src/task-store/settings-helpers.ts | 14 ++++--
packages/core/src/task-store/settings-ops.ts | 11 +++--
packages/core/src/types/settings/settings-scope.ts | 6 ---
.../__tests__/SettingsModal.general.test.tsx | 41 ++++-------------
.../settings/sections/GeneralSection.tsx | 17 -------
.../settings-default-descriptions.test.tsx | 6 ---
.../src/__tests__/mission-start-routing.test.ts | 34 ++++++--------
...executor-ephemeral-disabled-dispatch-gate.test.ts | 53 ++++++++--------------
.../__tests__/scheduler-ephemeral-toggle.test.ts | 30 +++++-------
packages/i18n/locales/en/app.json | 2 -
packages/i18n/locales/es/app.json | 2 -
packages/i18n/locales/fr/app.json | 2 -
packages/i18n/locales/ko/app.json | 2 -
packages/i18n/locales/zh-CN/app.json | 2 -
packages/i18n/locales/zh-TW/app.json | 2 -
packages/i18n/src/resources.d.ts | 2 -
21 files changed, 105 insertions(+), 172 deletions(-)
Fusion-Task-Id: FN-8847
Fusion-Task-Lineage: 8a067ec6-0ec7-4aef-a48e-604f821f35d2
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 19:13:14 -07:00
gsxdsm
b181f20859
FN-8848: show Recommendations for completed tasks
...
Keep the completed-task Recommendations destination available when no records exist.
- Render a localized empty state without task-creation controls.
- Preserve Recommendations selection until a task leaves the completed column.
- Cover empty states and shared detail entry points with dashboard tests.
- Document the behavior and add a patch changeset.
Files changed:
.changeset/fn-8848-recommendations-empty-state.md | 7 +++
docs/dashboard-guide.md | 2 +-
.../dashboard/app/components/TaskDetailModal.tsx | 15 ++---
.../app/components/TaskRecommendationsTab.css | 5 ++
.../app/components/TaskRecommendationsTab.tsx | 5 +-
.../TaskDetailModal.recommendations.test.tsx | 21 +++++++
.../__tests__/TaskDetailModal.summary-tab.test.tsx | 73 +++++++++++++++++++++-
packages/i18n/locales/en/app.json | 1 +
packages/i18n/locales/es/app.json | 1 +
packages/i18n/locales/fr/app.json | 1 +
packages/i18n/locales/ko/app.json | 1 +
packages/i18n/locales/zh-CN/app.json | 1 +
packages/i18n/locales/zh-TW/app.json | 1 +
packages/i18n/src/resources.d.ts | 1 +
14 files changed, 125 insertions(+), 10 deletions(-)
Fusion-Task-Id: FN-8848
Fusion-Task-Lineage: e200dfba-8113-4ede-a117-f94d221a8e7d
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 19:03:14 -07:00
gsxdsm
168f7fb9cc
FN-8834: clarify mission merge behavior and branch details
...
Clarify mission merge options and safely surface shared-branch status in Mission Manager.
- Reuse merge behavior guidance across mission create and edit forms.
- Add a manual mission-create link while preserving AI planning as the primary CTA.
- Guard branch-group details against stale or foreign mission data and cover the behavior with tests.
- Update localized copy, mission documentation, and the published-package changeset.
Files changed:
.changeset/fn-8834-mission-merge-guidance.md | 7 +
docs/missions.md | 2 +-
packages/dashboard/app/components/MissionManager.css | 26 ++
packages/dashboard/app/components/MissionManager.tsx | 169 +++++++++----
packages/dashboard/app/components/__tests__/MissionManager.auto-merge.test.tsx | 271 +++++++++++++++++++--
packages/i18n/locales/en/app.json | 1 +
packages/i18n/locales/es/app.json | 1 +
packages/i18n/locales/fr/app.json | 1 +
packages/i18n/locales/ko/app.json | 1 +
packages/i18n/locales/zh-CN/app.json | 1 +
packages/i18n/locales/zh-TW/app.json | 1 +
packages/i18n/src/resources.d.ts | 1 +
12 files changed, 411 insertions(+), 71 deletions(-)
Fusion-Task-Id: FN-8834
Fusion-Task-Lineage: 43b28c43-83d5-41cf-a9ec-0e91117ec091
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 10:36:36 -07:00
gsxdsm
d450dbe971
FN-8829: add task recommendations
...
Add persistent task recommendations that agents can create, resolve, and display in task details.
- Persist recommendation state and expose task recommendation API routes.
- Generate recommendations from executor task completions with duplicate suppression.
- Add localized dashboard recommendation tab and settings control with coverage.
Files changed:
.changeset/fn-8829-recommendations.md | 7 +
docs/dashboard-guide.md | 1 +
docs/settings-reference.md | 1 +
.../postgres/settings-persistence.pg.test.ts | 10 +
.../postgres/task-recommendations.pg.test.ts | 191 +++++++++
.../core/src/__tests__/settings-parity.test.ts | 2 +
packages/core/src/config/settings-schema.ts | 2 +
packages/core/src/index.ts | 2 +-
.../0047_fn_8829_task_recommendations.sql | 3 +
packages/core/src/postgres/schema-applier.ts | 32 +-
packages/core/src/postgres/schema/project.ts | 2 +
packages/core/src/store.ts | 12 +-
packages/core/src/task-store/persistence.ts | 4 +-
packages/core/src/task-store/serialization.ts | 1 +
packages/core/src/task-store/settings-ops.ts | 22 +
packages/core/src/task-store/task-mutation-ops.ts | 78 +++-
packages/core/src/task-store/task-row-mappers.ts | 2 +-
packages/core/src/task-store/task-update.ts | 51 ++-
packages/core/src/types.ts | 4 +
packages/core/src/types/settings/settings-scope.ts | 6 +
packages/core/src/types/task/task-core.ts | 18 +
.../__tests__/App.openTasksInRightSidebar.test.ts | 3 +-
packages/dashboard/app/__tests__/api-tasks.test.ts | 31 ++
packages/dashboard/app/api/legacy.ts | 1 +
packages/dashboard/app/api/tasks/tasks.ts | 24 ++
.../dashboard/app/components/TaskDetailModal.tsx | 43 +-
.../app/components/TaskRecommendationsTab.css | 71 ++++
.../app/components/TaskRecommendationsTab.tsx | 127 ++++++
.../__tests__/SettingsModal.general.test.tsx | 11 +
.../TaskDetailModal.recommendations.test.tsx | 111 +++++
.../app/components/settings/section-keys.ts | 1 +
.../settings/sections/GeneralSection.tsx | 14 +
.../settings-default-descriptions.test.tsx | 1 +
packages/dashboard/app/hooks/useModalManager.ts | 6 +
packages/dashboard/app/plugins/types.ts | 7 +-
.../__tests__/task-recommendation-routes.test.ts | 472 +++++++++++++++++++++
.../src/routes/register-task-workflow-routes.ts | 263 +++++++++++-
.../executor-task-recommendations.test.ts | 128 ++++++
packages/engine/src/executor.ts | 66 ++-
packages/i18n/locales/en/app.json | 15 +-
packages/i18n/locales/es/app.json | 16 +-
packages/i18n/locales/fr/app.json | 16 +-
packages/i18n/locales/ko/app.json | 16 +-
packages/i18n/locales/zh-CN/app.json | 16 +-
packages/i18n/locales/zh-TW/app.json | 16 +-
packages/i18n/src/resources.d.ts | 12 +
46 files changed, 1908 insertions(+), 30 deletions(-)
Fusion-Task-Id: FN-8829
Fusion-Task-Lineage: 5f60a1fb-9cf8-4577-9bfd-c20a2d402333
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-08 01:59:38 -07:00
gsxdsm
70a830d1ad
FN-8830: backfill built-in workflow agent identities
...
Provision complete workflow-agent identities while preserving operator-owned configuration.
- Seed instructions, souls, and managed setup mirrors for canonical workflow owners.
- Repair sparse default owners and demote duplicate provenance without losing agent data.
- Cover provisioning recovery and identity preservation with PostgreSQL and engine tests.
Files changed:
.changeset/fn-8830-workflow-agent-identities.md | 7 +
docs/agents.md | 10 +
...nt-store-builtin-role-provisioning-pool.test.ts | 41 ++++
.../postgres/agent-instructions.pg.test.ts | 233 +++++++++++++++++++++
packages/core/src/agents/agent-store.ts | 167 ++++++++++++---
.../src/agents/workflow-role-agent-defaults.ts | 57 +++++
packages/core/src/index.ts | 6 +
.../src/__tests__/agent-instructions.test.ts | 32 ++-
8 files changed, 526 insertions(+), 27 deletions(-)
Fusion-Task-Id: FN-8830
Fusion-Task-Lineage: bdf75989-3282-4833-a8b6-8c2997af8363
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 23:55:08 -07:00
gsxdsm
15418d2936
FN-8831: document ephemeral agent default
...
Document the canonical enabled default for the routing-inert ephemeral-agent compatibility setting.
- Add the enabled default to Settings help and English localization.
- Cover the help text and canonical-default inventory with dashboard tests.
- Update operator documentation and add a patch changeset.
Files changed:
.changeset/fn-8831-settings-default-description.md | 7 +++++++
docs/dashboard-guide.md | 4 ++--
.../components/__tests__/SettingsModal.general.test.tsx | 14 ++++++++++++++
.../app/components/settings/sections/GeneralSection.tsx | 6 +++++-
.../__tests__/settings-default-descriptions.test.tsx | 12 +++++++++---
packages/i18n/locales/en/app.json | 1 +
6 files changed, 38 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-8831
Fusion-Task-Lineage: 11ab2275-cfbc-4778-ba0c-466520d2e0fc
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 23:31:59 -07:00
gsxdsm
36f20f835e
FN-8822: prevent worktree capacity leaks
...
Keep live-task capacity admission visible and consistent across all lifecycle lanes.
- Report canonical active holders when worktree or concurrent-task capacity is exhausted.
- Persist deduplicated queue reasons for merge, triage, and workflow-continuation admission.
- Cover retained worktree behavior and document the capacity model.
Files changed:
.changeset/fn-8822-worktree-capacity-leak.md | 7 +++
docs/architecture.md | 1 +
docs/settings-reference.md | 4 +-
.../src/__tests__/agent-heartbeat-worktree.test.ts | 11 ++++-
.../engine/src/__tests__/project-engine.test.ts | 4 ++
...ecutor-no-task-done-vs-worktree-reclaim.test.ts | 55 +++++++++++++++++++---
...admission-worktree-ledger-renamed-lanes.test.ts | 4 ++
.../workflow-continuation-capacity.test.ts | 8 +++-
.../src/__tests__/worktree-acquisition.test.ts | 6 +--
packages/engine/src/concurrency/concurrency.ts | 22 +++++++++
packages/engine/src/project-engine.ts | 34 ++++++++++++-
packages/engine/src/runtimes/in-process-runtime.ts | 33 ++++++++++++-
packages/engine/src/scheduler.ts | 53 ++++++++++-----------
packages/engine/src/triage.ts | 18 +++++++
14 files changed, 215 insertions(+), 45 deletions(-)
Fusion-Task-Id: FN-8822
Fusion-Task-Lineage: 73eda70b-2b74-4b49-a0ff-29d41fd9aab8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 21:43:28 -07:00
gsxdsm
e78c09c6f4
FN-8825: move secrets fingerprints into private Git metadata
...
Store secrets environment fingerprint metadata in private Git directories so refresh-enabled worktrees remain clean.
- Reconcile and durably migrate legacy root fingerprint sidecars before strict worktree refreshes.
- Fail closed for malformed, tracked, conflicting, or non-durable fingerprint records and protect cleanup integrity.
- Add coverage and document the private fingerprint record contract.
Files changed: .changeset/fn-8825-secrets-env-fingerprint.md | 7 +
docs/secrets.md | 5 +-
.../secrets-env-materialization.test.ts | 45 ++-
.../src/__tests__/secrets-env-writer.test.ts | 325 ++++++++++++++-
.../worktree-acquisition-secrets-env.test.ts | 61 ++-
packages/engine/src/worktree/secrets-env-writer.ts | 434 ++++++++++++++++-----
.../engine/src/worktree/worktree-acquisition.ts | 22 +-
7 files changed, 799 insertions(+), 100 deletions(-)
Fusion-Task-Id: FN-8825
Fusion-Task-Lineage: eb7148bd-1da7-4448-8abf-498ddaebd4c0
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 21:18:24 -07:00
gsxdsm
7b010ec95f
FN-8824: enforce serial mission slice advancement
...
Keep mission autopilot progression limited to one active, milestone-ordered slice.
- Add atomic store-level admission for the next serially eligible slice.
- Reconcile completed active slices before advancing and route scheduler activation through the shared guard.
- Cover duplicate completion signals, recovery, PostgreSQL, and API behavior; document and release the fix.
Files changed:
.changeset/fn-8824-mission-slice-advancement.md | 7 +
docs/missions.md | 10 +-
.../mission-store.sync-loop-transition.test.ts | 43 ++++++
.../postgres/mission-autopilot.pg.test.ts | 25 ++++
.../core/src/async-stores/async-mission-store.ts | 48 ++++++-
packages/core/src/index.gate.ts | 1 +
packages/core/src/index.ts | 1 +
packages/core/src/missions/mission-store.ts | 37 ++++-
packages/core/src/missions/mission-types.ts | 35 +++++
packages/dashboard/src/mission-routes.ts | 9 +-
.../__tests__/mission-autopilot-end-to-end.test.ts | 95 ++++++++++--
.../engine/src/__tests__/mission-autopilot.test.ts | 22 +++
.../engine/src/__tests__/mission-scheduler.test.ts | 159 +++++++++++----------
packages/engine/src/missions/mission-autopilot.ts | 50 +++----
packages/engine/src/scheduler.ts | 42 +-----
15 files changed, 432 insertions(+), 152 deletions(-)
Fusion-Task-Id: FN-8824
Fusion-Task-Lineage: 22638d56-a51b-424c-aa07-871f544fb7cc
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 20:56:52 -07:00
gsxdsm
3dd824d04e
FN-8823: respect shared member auto-merge holds
...
Honor project and member auto-merge consent consistently throughout shared-branch integration.
- Apply project autoMerge settings and explicit member overrides to shared-member hold decisions.
- Expose shared-member integration hold state and controls in branch-group dashboard and lifecycle APIs.
- Add regression coverage, operator documentation, and a patch changeset.
Files changed:
.changeset/fn-8823-shared-member-consent.md | 7 ++
docs/dashboard-guide.md | 4 +-
packages/core/src/__tests__/task-merge.test.ts | 57 +++++++++++++++
packages/core/src/index.gate.ts | 3 +
packages/core/src/index.ts | 3 +
packages/core/src/merge/task-merge.ts | 81 ++++++++++++++++++---
.../dashboard/app/api/tasks/tasks-lifecycle.ts | 11 +++
.../dashboard/app/components/BranchGroupCard.css | 84 ++++++++++++++++++++++
.../dashboard/app/components/BranchGroupCard.tsx | 58 ++++++++++++++-
packages/dashboard/app/components/ListView.tsx | 14 +++-
.../dashboard/app/components/TaskDetailModal.tsx | 20 +++++-
.../components/__tests__/BranchGroupCard.test.tsx | 44 +++++++++++-
.../components/__tests__/TaskDetailModal.test.tsx | 24 ++++++-
.../app/components/dashboard/MainContent.tsx | 2 +-
.../app/components/useRightDockController.tsx | 2 +-
packages/dashboard/app/hooks/useModalManager.ts | 6 ++
.../src/__tests__/routes-branch-groups.test.ts | 42 ++++++-----
.../src/routes/register-branch-groups-routes.ts | 9 ++-
...cutor-live-branch-group-auto-merge-hold.test.ts | 21 +++---
.../src/__tests__/group-merge-coordinator.test.ts | 7 +-
.../workflow-graph-executor-handlers.test.ts | 33 ++++++---
packages/engine/src/executor.ts | 27 ++++---
packages/engine/src/project-engine.ts | 9 ++-
packages/engine/src/self-healing.ts | 16 ++---
.../src/workflow-node-runners/merge-runner.ts | 13 ++--
25 files changed, 503 insertions(+), 94 deletions(-)
Fusion-Task-Id: FN-8823
Fusion-Task-Lineage: 19a8ed3f-26e1-4c8e-8782-ca366718a3f2
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 20:27:04 -07:00
gsxdsm
cdf81a2244
fix(FN-8826): retry partial workflow progress after restart
...
Fusion-Task-Id: FN-8826
2026-08-07 16:55:00 -07:00
gsxdsm
fc2040ca84
FN-8821: retire ephemeral-agent routing branches
...
Keep the legacy ephemeral-agent setting compatible while making all workflow routing durable-principal-only.
- Preserve and expose the legacy setting as a routing-inert compatibility field.
- Remove scheduler, executor, and mission-start branches that honored the deprecated toggle.
- Add coverage for settings persistence and durable routing invariants.
Files changed:
.changeset/fn-8821-retire-ephemeral-routing.md | 7 +
docs/settings-reference.md | 4 +-
.../core/src/__tests__/settings-parity.test.ts | 8 +-
packages/core/src/config/settings-schema.ts | 11 +-
packages/core/src/task-store/settings-helpers.ts | 15 +-
packages/core/src/task-store/settings-ops.ts | 12 +-
packages/core/src/types/settings/settings-scope.ts | 5 +-
.../__tests__/SettingsModal.general.test.tsx | 23 ++
.../settings/sections/GeneralSection.tsx | 13 ++
.../src/__tests__/mission-start-routing.test.ts | 104 +++++++++
...ecutor-ephemeral-disabled-dispatch-gate.test.ts | 243 +++++++++++++++++++++
.../__tests__/scheduler-ephemeral-toggle.test.ts | 125 +++++++++++
12 files changed, 542 insertions(+), 28 deletions(-)
Fusion-Task-Id: FN-8821
Fusion-Task-Lineage: e81ec9c0-f2b0-48f9-ae2b-9bbde4491447
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 02:33:35 -07:00
gsxdsm
eaadd153b1
FN-8764: route workflow stages through durable role agents
...
Route workflow stages through task-scoped durable role agents.
- Persist normalized multi-role agents and workflow principal fences with migrations.
- Route planning, execution, review, and merge workflow nodes through authorized permanent principals with capacity leasing and recovery.
- Retire ephemeral workflow-stage workers and expose role-aware agent configuration, workflow editing, and documentation.
- Preserve lifecycle-column ratchet coverage by centralizing workflow-role classification rather than adding test exemptions.
Files changed:
.changeset/fn-8764-workflow-role-agents.md | 7 +
CONCEPTS.md | 3 +
docs/agents.md | 6 +
docs/architecture.md | 6 +
docs/cli-reference.md | 2 +
docs/dashboard-guide.md | 4 +
docs/settings-reference.md | 6 +-
docs/storage.md | 2 +
docs/workflow-steps.md | 6 +
.../src/__tests__/extension-agent-update.test.ts | 11 +-
packages/cli/src/__tests__/extension.test.ts | 18 +-
packages/cli/src/extension.ts | 41 +-
.../core/src/__tests__/agent-permissions.test.ts | 12 +
.../core/src/__tests__/agent-role-policy.test.ts | 7 +
packages/core/src/__tests__/agent-roles.test.ts | 21 +
.../legacy-column-collection-gating-ledger.test.ts | 19 +-
.../src/__tests__/postgres/schema-applier.test.ts | 16 +-
.../core/src/__tests__/settings-parity.test.ts | 9 +-
.../workflow-agent-node-classification.test.ts | 25 +
.../src/__tests__/workflow-work-item-cas.test.ts | 38 ++
packages/core/src/agents/agent-permissions.ts | 11 +-
packages/core/src/agents/agent-role-policy.ts | 39 +-
packages/core/src/agents/agent-store.ts | 190 ++++++-
.../core/src/async-stores/async-agent-store.ts | 6 +
packages/core/src/config/settings-schema.ts | 5 +-
packages/core/src/index.gate.ts | 2 +-
packages/core/src/index.ts | 7 +-
.../0045_fn_8764_multi_role_workflow_agents.sql | 20 +
.../0046_fn_8764_workflow_principal_fence.sql | 49 ++
packages/core/src/postgres/schema-applier.ts | 22 +-
packages/core/src/postgres/schema/project.ts | 21 +
packages/core/src/store.ts | 2 +-
.../task-store/async/async-workflow-workitems.ts | 49 +-
packages/core/src/task-store/row-types.ts | 4 +
packages/core/src/task-store/settings-helpers.ts | 16 +-
packages/core/src/task-store/settings-ops-2.ts | 13 +-
packages/core/src/task-store/settings-ops.ts | 16 +-
packages/core/src/task-store/task-row-mappers.ts | 4 +
.../src/task-store/workflow-task-create-ops.ts | 6 +-
.../src/task-store/workflow-workitems-ops-2.ts | 25 +-
packages/core/src/types.ts | 2 +
packages/core/src/types/agents/agents.ts | 45 +-
packages/core/src/types/merge/merge-queue.ts | 17 +
packages/core/src/types/settings/settings-scope.ts | 9 +-
packages/core/src/workflows/workflow-ir-types.ts | 58 +++
packages/core/src/workflows/workflow-ir.ts | 19 +
.../dashboard/app/components/AgentDetailView.css | 14 +
.../dashboard/app/components/AgentDetailView.tsx | 34 +-
.../dashboard/app/components/NewAgentDialog.tsx | 28 +-
.../app/components/WorkflowNodeEditor.tsx | 19 +
.../__tests__/AgentDetailView.core.test.tsx | 4 +-
.../app/components/__tests__/AgentsView.test.tsx | 2 +-
.../__tests__/SettingsModal.general.test.tsx | 86 ---
.../__tests__/SettingsModal.test-harness.tsx | 1 -
.../components/agent-presets/agentCreatePayload.ts | 9 +-
.../app/components/settings/section-keys.ts | 1 -
.../settings/sections/GeneralSection.tsx | 8 -
.../settings-default-descriptions.test.tsx | 1 -
.../app/components/workflow-flow-mapping.ts | 7 +
packages/dashboard/src/mission-routes.ts | 26 +-
.../src/routes/__tests__/agent-core-routes.test.ts | 23 +-
.../src/routes/register-agent-core-routes.ts | 42 +-
...gister-agent-import-export-generation-routes.ts | 21 -
.../engine/src/__tests__/agent-action-gate.test.ts | 33 ++
.../engine/src/__tests__/agent-assignment.test.ts | 370 -------------
.../src/__tests__/ephemeral-worker-manager.test.ts | 575 ---------------------
...ecutor-ephemeral-disabled-dispatch-gate.test.ts | 223 --------
.../__tests__/executor-fast-mode-workflows.test.ts | 58 +++
.../engine/src/__tests__/log-severity-manifest.ts | 1 -
.../__tests__/log-severity-spam-contract.test.ts | 3 -
.../resolved-read-with-literal-filter.test.ts | 4 -
.../__tests__/scheduler-ephemeral-toggle.test.ts | 175 -------
.../__tests__/scheduler-workflow-cutover.test.ts | 19 -
.../src/__tests__/workflow-agent-capacity.test.ts | 47 ++
.../src/__tests__/workflow-agent-routing.test.ts | 137 +++++
.../src/__tests__/workflow-graph-foreach.test.ts | 15 +
.../__tests__/workflow-graph-task-runner.test.ts | 73 +++
.../src/__tests__/workflow-task-runtime.test.ts | 95 ++++
.../src/__tests__/workflow-work-scheduler.test.ts | 20 +
packages/engine/src/agents/agent-action-gate.ts | 64 +++
packages/engine/src/agents/agent-assignment.ts | 135 -----
packages/engine/src/agents/agent-reflection.ts | 1 +
.../engine/src/agents/ephemeral-worker-manager.ts | 429 ---------------
.../engine/src/agents/workflow-agent-capacity.ts | 113 ++++
.../engine/src/agents/workflow-agent-router.ts | 185 +++++++
packages/engine/src/execution/reviewer.ts | 26 +-
packages/engine/src/executor.ts | 501 +++++++++++++++---
packages/engine/src/index.ts | 1 -
packages/engine/src/merger.ts | 20 +-
packages/engine/src/pi.ts | 11 +
packages/engine/src/runtimes/in-process-runtime.ts | 37 --
packages/engine/src/scheduler.ts | 114 +---
packages/engine/src/triage.ts | 196 ++++++-
.../src/workflows/workflow-graph-executor.ts | 109 +++-
.../engine/src/workflows/workflow-graph-loop.ts | 13 +-
.../src/workflows/workflow-graph-task-runner.ts | 12 +
.../engine/src/workflows/workflow-task-runtime.ts | 125 ++++-
.../src/workflows/workflow-work-scheduler.ts | 8 +-
98 files changed, 2722 insertions(+), 2468 deletions(-)
Fusion-Task-Id: FN-8764
Fusion-Task-Lineage: 5527fccb-342d-46f6-8108-bbf89142efec
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-08-07 01:36:34 -07:00