Add a side-effect-safe core seam so global concurrency reads can report live running-agent counts. - Add core helpers to register a running-agent count source and derive active project totals. - Wire CentralCore and dashboard server setup to read live counts from already-open stores without starting runtimes. - Update the global concurrency route to preserve slot bookkeeping while sourcing currentlyActive/projectsActive from the live seam. - Cover the seam, dashboard store resolver, server wiring, and route behavior with focused tests and document the multi-project behavior. Files changed: .changeset/fn-7082-live-running-agent-count-seam.md | 7 ++ docs/multi-project.md | 2 +- packages/core/src/__tests__/central-core.test.ts | 106 +++++++++++++++++++++ packages/core/src/central-core.ts | 28 ++++++ packages/core/src/index.ts | 7 ++ packages/core/src/live-agent-count.ts | 38 ++++++++ .../dashboard/src/__tests__/project-routes.test.ts | 20 +++- .../src/__tests__/project-store-resolver.test.ts | 71 ++++++++++++++ packages/dashboard/src/__tests__/server.test.ts | 45 ++++++++- packages/dashboard/src/project-store-resolver.ts | 24 +++++ packages/dashboard/src/routes.ts | 25 +---- packages/dashboard/src/server.ts | 42 +++++++- 12 files changed, 387 insertions(+), 28 deletions(-) Fusion-Task-Id: FN-7082 Fusion-Task-Lineage: 4dbca204-8bea-4de5-b56b-7468b61575ce Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
Changeset Format Guide
Each changeset file in this directory describes one user-facing change for release notes.
Required body format
---
"@runfusion/fusion": minor
---
summary: Add a Command Center productivity control for LOC backfills.
category: feature
dev: Uses the new `fn_backfill_loc` tool; settings key `commandCenter.locBackfill`.
Fields
| Field | Required | Description |
|---|---|---|
summary |
Yes | One line, user-facing, max 120 chars. Describe what changed for the operator. |
category |
Yes | One of: feature, fix, breaking, security, performance, internal. |
dev |
No | Developer or migration detail. Preserved in per-package CHANGELOGs but excluded from distilled release notes. |
Audience
The summary is the only content that appears in end-user release notes by default. Write for Fusion operators — describe behavior, fixes, and what changed. Avoid internal class names, file paths, and implementation detail.
Bump types
patch— bug fixes, internal changesminor— new features, CLI additions, toolsmajor— breaking changes
Validation
Run pnpm check:changesets to validate. The linter runs in the PR-check gate and test:gate. Legacy freeform changesets pass with a warning during the transition period.