feat(FN-3249): apply run status icon color style (+3 more)
Commits merged: - fix(FN-3249): apply run status icon color style - fix(FN-3249): address workflow revision dashboard accessibility feedback - feat(FN-3249): complete Step 5 — document assigned execution ownership - feat(FN-3249): complete Step 2 — durable assigned-agent execution ownership Files changed: .changeset/fn-3249-assigned-executor-ownership.md | 5 + docs/agents.md | 15 +++ packages/core/src/__tests__/agent-store.test.ts | 28 +++++ packages/core/src/agent-store.ts | 34 ++++-- .../dashboard/app/components/AgentDetailView.css | 5 + .../dashboard/app/components/AgentDetailView.tsx | 2 +- packages/dashboard/app/components/AgentsView.tsx | 2 + .../runtimes/__tests__/in-process-runtime.test.ts | 125 ++++++++++++++++++--- packages/engine/src/runtimes/in-process-runtime.ts | 108 +++++++++++------- 9 files changed, 260 insertions(+), 64 deletions(-) Fusion-Task-Id: FN-3249
This commit is contained in:
@@ -82,6 +82,21 @@ These fields can only be set during update (not on create):
|
||||
- `totalInputTokens` — Accumulated input token count
|
||||
- `totalOutputTokens` — Accumulated output token count
|
||||
|
||||
## Execution Ownership for Assigned Agents
|
||||
|
||||
When a task sets `assignedAgentId` to a **durable (non-ephemeral)** agent, that same agent is used as the active execution owner during runtime execution.
|
||||
|
||||
Behavior:
|
||||
- Fusion links the durable agent's `taskId` to the running task for execution visibility
|
||||
- No synthetic `executor-FN-*` task-worker agent is created for that run
|
||||
- On completion/error, the durable agent's execution task link is cleared (the durable record is preserved)
|
||||
|
||||
Fallback behavior remains unchanged:
|
||||
- Unassigned tasks still use runtime-managed `executor-FN-*` task-worker agents
|
||||
- Missing assigned agents, or assigned agents that are ephemeral/runtime-managed, fall back to task-worker execution ownership
|
||||
|
||||
Execution-ownership sync intentionally avoids assignment-trigger side effects (`agent:assigned` wakeups) that are intended for control-plane delegation.
|
||||
|
||||
## Agents View (Dashboard)
|
||||
|
||||
The agents surface provides:
|
||||
|
||||
Reference in New Issue
Block a user