gsxdsm
eef5eb751e
FN-8453: unify concurrency accounting and indicators
Unify live-agent capacity accounting across engine and dashboard.
- Derive Running and Waiting from workflow traits and durable agent liveness.
- Apply unified limits to planner, executor, and merge admission while updating dashboard indicators.
- Remove duplicate concurrency controls and document the unified operator model.
Files changed:
.changeset/fn-8453-unified-concurrency.md | 7 +
docs/agent-tool-surface-full-loop.md | 4 +-
docs/architecture.md | 2 +-
docs/dashboard-guide.md | 4 +-
docs/settings-reference.md | 4 +-
.../skill/fusion/references/fusion-capabilities.md | 4 +-
.../core/src/__tests__/live-agent-count.test.ts | 91 ++++----
packages/core/src/index.gate.ts | 6 +
packages/core/src/index.ts | 6 +
packages/core/src/live-agent-count.ts | 107 ++++++---
packages/dashboard/app/App.tsx | 28 ++-
packages/dashboard/app/api/board-workflows.ts | 2 +
packages/dashboard/app/components/Column.tsx | 6 +-
.../dashboard/app/components/EngineControlMenu.tsx | 26 ---
.../dashboard/app/components/ExecutorStatusBar.tsx | 38 ++-
.../dashboard/app/components/SettingsModal.tsx | 1 -
.../app/components/__tests__/Column.test.tsx | 6 +-
.../__tests__/EngineControlMenu.test.tsx | 10 +-
.../__tests__/ExecutorStatusBar.test.tsx | 32 ++-
.../command-center/CommandCenterControls.tsx | 26 ---
.../settings/sections/SchedulingSection.search.ts | 9 -
.../settings/sections/SchedulingSection.tsx | 13 --
.../app/hooks/__tests__/useExecutorStats.test.ts | 12 +-
packages/dashboard/app/hooks/useExecutorStats.ts | 50 ++--
.../src/__tests__/project-store-resolver.test.ts | 11 +-
packages/dashboard/src/project-store-resolver.ts | 14 +-
.../register-config-mcp-pi-settings-routes.ts | 3 +-
packages/engine/src/__tests__/concurrency.test.ts | 123 +++++++++-
.../engine/src/__tests__/project-engine.test.ts | 34 +++
packages/engine/src/__tests__/triage.test.ts | 7 +-
packages/engine/src/concurrency.ts | 207 ++++++++++++++++-
packages/engine/src/project-engine.ts | 151 ++++++++++--
packages/engine/src/scheduler.ts | 82 ++++++-
packages/engine/src/triage.ts | 254 +++++++++++++--------
.../lib/dashboard-browser-safe-core-modules.json | 5 +
35 files changed, 991 insertions(+), 394 deletions(-)
Fusion-Task-Id: FN-8453
Fusion-Task-Lineage: 12cfa5df-675d-4fce-b17e-932376544239
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-21 15:30:31 -07:00
..
2026-07-20 00:18:53 -07:00
2026-07-21 15:30:31 -07:00
2026-06-03 17:36:35 -07:00
2026-07-13 19:07:58 -07:00
2026-04-27 08:21:48 -07:00
2026-05-12 07:47:11 -07:00
2026-07-13 19:07:58 -07:00
2026-07-14 23:18:55 -07:00
2026-07-17 22:45:57 -07:00
2026-07-08 04:24:30 -07:00
2026-07-15 08:44:11 -07:00
2026-07-14 23:18:55 -07:00
2026-06-23 23:30:32 -07:00
2026-06-25 23:34:08 -07:00
2026-07-13 07:10:14 -07:00
2026-07-16 10:13:49 -07:00
2026-05-23 19:51:36 -07:00
2026-07-19 14:08:51 -07:00
2026-07-14 08:16:42 -07:00
2026-06-14 15:29:35 -07:00
2026-07-17 09:12:01 -07:00
2026-07-12 21:21:10 -07:00
2026-07-19 15:53:07 -07:00
2026-06-14 15:29:35 -07:00
2026-04-27 08:21:48 -07:00
2026-06-13 19:22:00 -07:00
2026-07-20 00:18:53 -07:00
2026-06-13 15:44:28 -07:00
2026-04-27 08:21:48 -07:00
2026-05-11 09:52:23 +02:00
2026-07-10 13:26:23 -07:00
2026-07-12 14:42:09 -07:00
2026-04-27 08:21:48 -07:00
2026-07-12 14:42:09 -07:00
2026-06-19 20:47:32 -07:00
2026-06-18 16:47:09 -07:00
2026-07-19 17:25:02 -07:00
2026-06-16 18:03:41 -07:00
2026-07-14 23:18:55 -07:00
2026-07-13 19:07:58 -07:00
2026-07-14 23:18:55 -07:00
2026-07-13 19:07:58 -07:00
2026-07-13 19:07:58 -07:00
2026-04-27 08:21:48 -07:00
2026-07-19 13:34:25 -07:00
2026-07-14 23:18:55 -07:00
2026-06-24 19:25:44 -07:00
2026-06-21 10:53:08 -07:00
2026-05-27 21:31:12 -07:00
2026-03-30 23:56:01 -07:00
2026-03-26 01:03:16 -04:00
2026-07-15 08:44:11 -07:00
2026-07-14 23:18:55 -07:00
2026-04-27 08:21:48 -07:00
2026-06-30 08:04:12 -07:00
2026-04-29 08:15:38 -07:00
2026-07-19 00:10:02 -07:00
2026-07-03 07:47:03 -07:00
2026-07-02 11:38:31 -07:00
2026-06-25 17:04:30 -07:00
2026-06-24 23:32:52 -07:00
2026-07-08 11:19:47 -07:00
2026-05-03 05:47:11 -07:00
2026-07-15 14:41:05 -07:00
2026-07-03 22:04:45 -07:00
2026-07-17 22:45:57 -07:00
2026-07-17 23:18:40 -07:00
2026-06-19 05:13:39 -07:00