From 03961206ff9a8059aba0b4480edc5522e2ae2be1 Mon Sep 17 00:00:00 2001 From: Bohan Jiang <52446949+Bohan-J@users.noreply.github.com> Date: Tue, 2 Jun 2026 13:19:14 +0800 Subject: [PATCH] docs(squad): correct stale "four status buckets" comments to five (#3640) Co-authored-by: J Co-authored-by: multica-agent --- packages/views/squads/components/squad-detail-page.tsx | 2 +- server/internal/handler/squad.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/views/squads/components/squad-detail-page.tsx b/packages/views/squads/components/squad-detail-page.tsx index 4f1e45783..5c74a655a 100644 --- a/packages/views/squads/components/squad-detail-page.tsx +++ b/packages/views/squads/components/squad-detail-page.tsx @@ -1121,7 +1121,7 @@ function SquadOverviewPane({ ); } -// Visual config for the four squad member status buckets. Mirrors +// Visual config for the five squad member status buckets. Mirrors // availabilityConfig + workloadConfig in packages/views/agents/presence.ts — // same semantic tokens so a status dot here matches the agent page's dot. // Unknown / null statuses (human members, server-side enum drift) render as diff --git a/server/internal/handler/squad.go b/server/internal/handler/squad.go index 762ab0dd6..ca4463a77 100644 --- a/server/internal/handler/squad.go +++ b/server/internal/handler/squad.go @@ -463,7 +463,7 @@ type SquadMemberStatusListResponse struct { Members []SquadMemberStatusResponse `json:"members"` } -// deriveSquadMemberStatus collapses runtime + task signals into the four +// deriveSquadMemberStatus collapses runtime + task signals into the five // status buckets used by the squad UI. Mirrors the workload+availability // split in packages/core/agents/derive-presence.ts: working wins over // runtime health (an agent that is in the middle of dispatched/running