The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Swarm routing: a machine benched by failed starts comes back once they say nothing about it
bitcoinbuilder38d835414fe5
diff --git a/backend/integration/superTabTeam.test.ts b/backend/integration/superTabTeam.test.tsindex 4bfaa2ecd..9ad04afb4 100644--- a/backend/integration/superTabTeam.test.ts+++ b/backend/integration/superTabTeam.test.ts@@ -460,6 +460,23 @@ describe('a teammate\'s work and the machines that take it', () => {// One machine (docs/plans/2026-10-24-swarm-team-account.md): the person's Mac and its Harness Team account are one// machine. Its team account joins where the Mac is added, through the Mac's own daemon, and takes the teammates' work// started on the Mac.+// A start records the CLI version its machine ran when it was dispatched, and reads say what the machine runs now, so routing+// lets a machine updated since its failed starts back in (cli routeCommand.ts `stalled`; Mac Auto, 2026-10-29).+describe('a machine\'s CLI version, on its starts and in reads', () => {+ it('stamps a start with the version its machine ran when dispatched, and reads show the version it runs now', async () => {+ await db.machine.update({ where: { machineId: 'team-mac' }, data: { clientVersion: '0.5.1' } })+ onTestFinished(async () => { await db.machine.update({ where: { machineId: 'team-mac' }, data: { clientVersion: null } }) })+ const f = await fixture()+ const read = async () => new SwarmReads(store).firstLoad(owner, f.tab)+ const first = await read()+ const dispatched = first.starts.map(p => p.data as { id: string; dispatchedVersion?: string }).find(s => s.id === f.startId)+ expect(dispatched?.dispatchedVersion).toBe('0.5.1')+ expect(first.derived.machines['team-mac']).toMatchObject({ clientVersion: '0.5.1' })+ await db.machine.update({ where: { machineId: 'team-mac' }, data: { clientVersion: '0.5.6' } })+ expect((await read()).derived.machines['team-mac']).toMatchObject({ clientVersion: '0.5.6' })+ })+})+describe('a project\'s repository, for its GitHub access', () => {it('is read by those who may open the project, and by nobody else', async () => {const f = await fixture()diff --git a/backend/src/superTabs/commands.ts b/backend/src/superTabs/commands.tsindex 5fda4b551..c07356f83 100644--- a/backend/src/superTabs/commands.ts+++ b/backend/src/superTabs/commands.ts@@ -325,6 +325,8 @@ export interface CommandContext {/** The tab's contributed machines whose account row is signed in as a Harness Team account (`Machine.sessionKind`),* read by the store for the commands that start, assign or route work (machines.ts teamWorkCheck). */teamMachines?: string[]+ /** Each contributed machine's CLI version as its daemon last connected (store.ts machineFacts), read with [teamMachines]. */+ machineVersions?: Record<string, string>/** The person's role in the Swarm's Workspace, read by the store for invitations (workspaces.ts); absent outside a Workspace. */workspaceRole?: WorkspaceRole/** Machines of this Swarm also contributed to a Swarm of another Workspace (store.ts otherWorkspaceMachines). */@@ -1537,6 +1539,8 @@ export function applyCommand(original: SuperTabState, actor: Actor, input: Commaif (start.dispatched || start.error || start.harnessId) fail('START_CLAIMED', 'This native start was already requested. Read its creation status; do not start another.')start.dispatched = truestart.dispatchedAt = context.now+ const version = context.machineVersions?.[start.request.machineId]+ if (version) start.dispatchedVersion = versionbreak}if (command.type === 'agent.startSettled') {diff --git a/backend/src/superTabs/model.ts b/backend/src/superTabs/model.tsindex 4359e9907..0117dbf92 100644--- a/backend/src/superTabs/model.ts+++ b/backend/src/superTabs/model.ts@@ -124,6 +124,9 @@ export interface AgentStart {/** When its host was asked to launch it; a start not running 3 minutes later fails, or 15 minutes later while its machine* reports it preparing (liveness.ts). */dispatchedAt?: number+ /** The CLI version its machine's daemon had connected with when it was dispatched (store.ts machineFacts): a failed start+ * says nothing about that machine once it runs another version (cli routeCommand.ts `stalled`). */+ dispatchedVersion?: string/** When it was asked for (absent on starts from before 2026-10-29): a Buddy's fails if its machine never takes it, and a* task's start never launched leaves the task orphaned (liveness.ts). */requestedAt?: numberdiff --git a/backend/src/superTabs/read/contract.ts b/backend/src/superTabs/read/contract.tsindex 0d3316796..7e2829a83 100644--- a/backend/src/superTabs/read/contract.ts+++ b/backend/src/superTabs/read/contract.ts@@ -58,7 +58,8 @@ export interface Derived {/** Every agent the reader can see. `workDecision` is null when the stored value stands; `roleId` null outside Custom. */agents: Record<string, { downSince: string | null; limitedUntil: string | null; workDecision: 'awaiting' | null; roleId: string | null }>/** Every contributed machine the reader can see. */- machines: Record<string, { availableSlots: number; teamWork: { allowed: true } | { allowed: false; reason: string; [key: string]: unknown } }>+ /** `clientVersion`: the CLI version its daemon last connected with (routing reads a machine updated since its failed starts). */+ machines: Record<string, { availableSlots: number; teamWork: { allowed: true } | { allowed: false; reason: string; [key: string]: unknown }; clientVersion?: string }>/** A Lead agent only. */otherProjectsWork?: OtherProjectWorkView[]/** A person only. */diff --git a/backend/src/superTabs/read/service.ts b/backend/src/superTabs/read/service.tsindex e7bbf565c..a683510a7 100644--- a/backend/src/superTabs/read/service.ts+++ b/backend/src/superTabs/read/service.ts@@ -36,7 +36,7 @@ type Loader = (view: CacheView, tabId: string, opts: LoadOptions) => Promise<Swainterface Read { parts: SwarmParts; actor: Actor; view: ReaderView; lastChangedAt: number | null }/** How long one Swarm's machine lookups below are reused: machines report every 15 s anyway (Diego's review, item 5, 2026-10-28). */const MACHINE_READS_MS = 15_000-type MachineReads = [teamMachines: string[], otherWorkspaceMachines: string[]]+type MachineReads = [teamMachines: string[], otherWorkspaceMachines: string[], machineVersions: Record<string, string>]/** The reader's marks of the conversations they can read now, a dormant one read by id included: a mark never names a* conversation the reader has lost. Only in a person's read; nothing for an agent. */@@ -218,13 +218,13 @@ export class SwarmReads {const loaded = await loader(cached, tabId, opts)const state = parts.reassemble(loaded, { share: true })const actor = await this.store.actor(tx, user, state, asAgentId)- const [[teamMachines, otherWorkspaceMachines], counts, newest] = await Promise.all([+ const [[teamMachines, otherWorkspaceMachines, machineVersions], counts, newest] = await Promise.all([this.machineLookups(state),actor.kind === 'person' ? Promise.all([waitingMentions(tx, tabId, state, actor, t0), decisionsWaiting(tx, tabId, state, actor)]) : undefined,readLastChangedAt(tx, cached, tabId),])return { parts: loaded, actor, lastChangedAt: newest,- view: readerView(loaded, actor, t0, { teamMachines, otherWorkspaceMachines,+ view: readerView(loaded, actor, t0, { teamMachines, otherWorkspaceMachines, machineVersions,...(counts ? { mentionsWaiting: counts[0].count, mentionsDigest: counts[0].digest, decisionsWaiting: counts[1].count,decisionsDigest: counts[1].digest } : {}) }, state) }}@@ -233,7 +233,7 @@ export class SwarmReads {* same answer for every reader, whose view hides what it may not see, so one lookup serves every read of the Swarm for* MACHINE_READS_MS. Commands that admit work still look up afresh (store.ts executeOnce). Outside any transaction, as every read is. */private machineLookups(state: SuperTabState): Promise<MachineReads> {- if (!state.machines?.length) return Promise.resolve([[], []])+ if (!state.machines?.length) return Promise.resolve([[], [], {}])const now = this.now()const key = JSON.stringify([state.id, state.environment, state.workspaceId ?? null, state.machines.map(m => m.machineId).sort()])const kept = this.machineReads.get(key)@@ -242,7 +242,8 @@ export class SwarmReads {if (now >= entry.at && now - entry.at < MACHINE_READS_MS) breakthis.machineReads.delete(old)}- const entry = { at: now, read: Promise.all([this.store.teamMachines(this.db, state), this.store.otherWorkspaceMachines(this.db, state)]) }+ const entry = { at: now, read: Promise.all([this.store.machineFacts(this.db, state), this.store.otherWorkspaceMachines(this.db, state)])+ .then(([facts, other]): MachineReads => [facts.team, other, facts.versions]) }this.machineReads.delete(key)this.machineReads.set(key, entry)// A failed lookup is never reused.diff --git a/backend/src/superTabs/read/views.ts b/backend/src/superTabs/read/views.tsindex 6c6d9e2f0..04220f024 100644--- a/backend/src/superTabs/read/views.ts+++ b/backend/src/superTabs/read/views.ts@@ -32,6 +32,8 @@ export interface ReadExtras {teamMachines: string[]/** Machines also contributed to a Swarm of another Workspace (store.ts otherWorkspaceMachines). */otherWorkspaceMachines?: string[]+ /** Each contributed machine's CLI version as its daemon last connected (store.ts machineFacts). */+ machineVersions?: Record<string, string>/** A person's open mentions, counted by the store. */mentionsWaiting?: number/** Which ones they are, as a digest (mentions.ts). */@@ -107,8 +109,9 @@ function derive(state: SuperTabState, visible: SuperTabState, actor: Actor, now:const machine = (pool: ContributedMachine) => {const stored = state.machines!.find(m => m.machineId === pool.machineId)!const refusal = machineTeamWork(state, stored, now, extras.teamMachines, extras.otherWorkspaceMachines ?? [])+ const version = extras.machineVersions?.[pool.machineId]return [pool.machineId, { availableSlots: Math.max(0, pool.maxAgents - machineSlots(state, stored)),- teamWork: refusal ? { allowed: false as const, ...refusal } : { allowed: true as const } }] as const+ teamWork: refusal ? { allowed: false as const, ...refusal } : { allowed: true as const }, ...(version ? { clientVersion: version } : {}) }] as const}return {agents: Object.fromEntries(visible.agents.map(seen => [seen.id, { downSince: seen.downSince ?? null, limitedUntil: seen.limitedUntil ?? null,diff --git a/backend/src/superTabs/store.ts b/backend/src/superTabs/store.tsindex 4e54abf4a..fa20d4194 100644--- a/backend/src/superTabs/store.ts+++ b/backend/src/superTabs/store.ts@@ -497,11 +497,20 @@ export class SuperTabStore {* lib/teamSession.ts): one of the two signs routing reads that a machine is a Team machine (machines.ts teamWorkCheck). *//** Shared with the read API (superTabs/read, design section 7.2). */async teamMachines(tx: Transaction, state: SuperTabState): Promise<string[]> {+ return (await this.machineFacts(tx, state)).team+ }++ /** The tab's contributed machines' account rows as they are now, in one indexed read: which are signed in as a Harness Team+ * account, and the CLI version each one's daemon last connected with (`Machine.clientVersion`). A start records the+ * version it was dispatched to, so routing can tell a machine updated since its failed starts (cli routeCommand.ts+ * `stalled`): Mac Auto stayed out of every route after Harness bugs later fixed and released (2026-10-29). */+ async machineFacts(tx: Transaction, state: SuperTabState): Promise<{ team: string[]; versions: Record<string, string> }> {const ids = (state.machines ?? []).map(m => m.machineId)- if (!ids.length) return []- const rows = await tx.machine.findMany({ where: { machineId: { in: ids }, autonomousEnv: state.environment, sessionKind: 'team', ...machineAlive },- select: { machineId: true } })- return rows.map(r => r.machineId)+ if (!ids.length) return { team: [], versions: {} }+ const rows = await tx.machine.findMany({ where: { machineId: { in: ids }, autonomousEnv: state.environment, ...machineAlive },+ select: { machineId: true, sessionKind: true, clientVersion: true } })+ return { team: rows.filter(r => r.sessionKind === 'team').map(r => r.machineId),+ versions: Object.fromEntries(rows.flatMap(r => r.clientVersion ? [[r.machineId, r.clientVersion] as const] : [])) }}/** This Swarm's contributed machines that are also contributed to a Swarm of another Workspace: their Harness Team account@@ -922,7 +931,8 @@ export class SuperTabStore {const now = this.now()const visible = visibleState(state, actor, now)const mentions = actor.kind === 'person' ? { mentionsWaiting: await mentionsWaiting(tx, tabId, state, actor, now) } : {}- const teamMachines = visible.machines?.length ? await this.teamMachines(tx, state) : []+ const facts = visible.machines?.length ? await this.machineFacts(tx, state) : { team: [], versions: {} as Record<string, string> }+ const teamMachines = facts.teamconst otherWorkspace = visible.machines?.length ? await this.otherWorkspaceMachines(tx, state) : []return { lastChangedAt: await readLastChangedAt(tx, view, tabId) ?? 0, state: { ...visible, ...mentions, machines: visible.machines?.map(pool => {const stored = state.machines!.find(m => m.machineId === pool.machineId)!@@ -930,7 +940,8 @@ export class SuperTabStore {// out for, and what Desktop can show on the machine.const refusal = machineTeamWork(state, stored, now, teamMachines, otherWorkspace)return { ...pool, availableSlots: Math.max(0, pool.maxAgents - machineSlots(state, stored)),- teamWork: refusal ? { allowed: false as const, ...refusal } : { allowed: true as const } }+ teamWork: refusal ? { allowed: false as const, ...refusal } : { allowed: true as const },+ ...(facts.versions[pool.machineId] ? { clientVersion: facts.versions[pool.machineId] } : {}) }}) } }}@@ -1172,7 +1183,9 @@ export class SuperTabStore {|| (command.type === 'work.status' && command.status === 'review')) context.routingPolicy = (await this.policyOf(tx, original)).policy// A Ready for review may assign a Reviewer by itself (autoReview.ts), as work.assign does.if (TEAM_WORK_COMMANDS.has(command.type) || (command.type === 'work.status' && command.status === 'review')) {- context.teamMachines = await this.teamMachines(tx, original)+ const facts = await this.machineFacts(tx, original)+ context.teamMachines = facts.team+ context.machineVersions = facts.versionscontext.otherWorkspaceMachines = await this.otherWorkspaceMachines(tx, original)if (this.hooks.teamAccountsIdle) context.teamAccountsIdle = true}diff --git a/cli/src/superTabs/planInput.ts b/cli/src/superTabs/planInput.tsindex 21bff69b9..542fab8da 100644--- a/cli/src/superTabs/planInput.ts+++ b/cli/src/superTabs/planInput.ts@@ -103,7 +103,7 @@ export function planSetup(input: { state: Json; policy: Policy; leadId: string;...(pool.availableSlots === 0 ? ['This machine has no available agent slots.'] : []),...unready.all,...shortfalls(observed, needs),- ...(stalled(list(state.starts), id) ? [STALLED] : []),+ ...(stalled(list(state.starts), id, pool, now) ? [STALLED] : []),]// An engine that is not ready, or whose account has a window used up, starts nothing (the route refuses both).const exhausted = (engine: string) => {diff --git a/cli/src/superTabs/routeCommand.spec.ts b/cli/src/superTabs/routeCommand.spec.tsindex 3f7b411de..61b2879b3 100644--- a/cli/src/superTabs/routeCommand.spec.ts+++ b/cli/src/superTabs/routeCommand.spec.ts@@ -3,7 +3,7 @@ import type { openDaemon } from '../agentClient/daemon.js'import { mkdtemp, rm, writeFile } from 'node:fs/promises'import { tmpdir } from 'node:os'import { join } from 'node:path'-import { heldLocalModels, localProbes, offlineModels, routeTask } from './routeCommand.js'+import { heldLocalModels, localProbes, offlineModels, routeTask, STALL_RETRY_MS, stalled } from './routeCommand.js'import type { describeScmProject } from '../scm/scmProjects.js'import { admission, quotaOf } from './capacity.js'import type { Assessment, Policy, Probe } from './route.js'@@ -374,6 +374,45 @@ describe('routeTask', () => {expect(recorded(stuck).command.decision.excluded).toEqual(expect.arrayContaining([expect.objectContaining({ title: expect.stringContaining('remote-1'),reason: expect.stringContaining('last 2 starts') })]))})+ // Mac Auto, Swarm autonomous-harness, 2026-10-29: two starts failed on Harness bugs later fixed and released, and the machine+ // stayed out of every route until a person started an agent there by hand.+ it('lets a machine back into routes once its failed starts say nothing about it: updated since, or 30 minutes old', () => {+ const now = Date.parse('2026-10-29T10:00:00Z')+ const failed = (id: string, at: number, version?: string) => ({ id, request: { machineId: 'm1' }, harnessId: null, dispatched: true,+ error: 'Mac Auto did not start it within 3 minutes', dispatchedAt: at, ...(version ? { dispatchedVersion: version } : {}) })+ const two = [failed('s1', now - 20 * 60_000, '0.5.1'), failed('s2', now - 10 * 60_000, '0.5.1')]+ expect(stalled(two, 'm1', { clientVersion: '0.5.1' }, now)).toBe(true)+ // Its daemon now runs another version than the newer failure was dispatched to.+ expect(stalled(two, 'm1', { clientVersion: '0.5.6' }, now)).toBe(false)+ // A failure on the version it runs now still counts, whatever the one before was dispatched to.+ expect(stalled([two[0]!, failed('s3', now - 60_000, '0.5.6')], 'm1', { clientVersion: '0.5.6' }, now)).toBe(true)+ // Routing tries once again after the window, and a start that fails then keeps it out another window.+ expect(stalled(two, 'm1', {}, now - 10 * 60_000 + STALL_RETRY_MS)).toBe(false)+ expect(stalled([two[1]!, failed('s4', now + STALL_RETRY_MS, '0.5.1')], 'm1', {}, now + STALL_RETRY_MS + 60_000)).toBe(true)+ // A start from before either was recorded counts as before; one that started an agent, or one still being created, never stalls.+ const old = { id: 'o', request: { machineId: 'm1' }, harnessId: null, dispatched: true, error: 'failed' }+ expect(stalled([old, { ...old, id: 'o2' }], 'm1', { clientVersion: '0.5.6' }, now)).toBe(true)+ expect(stalled([two[0]!, { ...two[1]!, harnessId: 'h', error: null }], 'm1', {}, now)).toBe(false)+ expect(stalled([two[0]!, { ...two[1]!, error: null }], 'm1', {}, now)).toBe(false)+ // A Team account's refusal of a model its owner is not offered says the request was wrong, not the machine: it never+ // counts, so the two failures before it decide (start.ts, Fork A's refusal before anything launches).+ const refused = (id: string) => ({ id, request: { machineId: 'm1' }, harnessId: null, dispatched: false, requestedAt: now,+ error: "This machine's ChatGPT account (its owner's subscription, used through the owner's relay) does not offer gpt-6.1-sol; it offers gpt-6-luna, gpt-5.6-terra." })+ expect(stalled([refused('r1'), refused('r2')], 'm1', {}, now)).toBe(false)+ expect(stalled([two[0]!, refused('r3'), refused('r4')], 'm1', {}, now)).toBe(false)+ expect(stalled([...two, refused('r5')], 'm1', { clientVersion: '0.5.1' }, now)).toBe(true)+ // A start queued and never picked up is dated by its request.+ const queued = (id: string) => ({ id, request: { machineId: 'm1' }, harnessId: null, dispatched: false, error: null, requestedAt: now - STALL_RETRY_MS - 1 })+ expect(stalled([queued('q1'), queued('q2')], 'm1', {}, now)).toBe(false)+ })+ it('routes again to a machine whose last 2 starts failed more than 30 minutes ago', async () => {+ const failed = { id: 's', request: { machineId: 'm1' }, harnessId: null, dispatched: true, error: 'The engine did not start.',+ dispatchedAt: Date.now() - STALL_RETRY_MS - 60_000 }+ const t = tab(); Object.assign(t.state, { starts: [failed, { ...failed, id: 's2' }] })+ const s = scoped({ tab: t })+ await routeTask(input, s, where, opener())+ expect(JSON.stringify(recorded(s).command.decision.excluded ?? [])).not.toContain('last 2 starts')+ })it('says a listed machine without the project folder needs it cloned, not that its disk could not be verified', async () => {const needs = { cwd: '/repo/api' }const noFolder = { ok: true, resources: { memoryTotalBytes: 8e9, memoryUsedBytes: 1e9, cpuPercent: 10 }, tools: {}, devices: {} }diff --git a/cli/src/superTabs/routeCommand.ts b/cli/src/superTabs/routeCommand.tsindex 2c32c4c9d..217752cde 100644--- a/cli/src/superTabs/routeCommand.ts+++ b/cli/src/superTabs/routeCommand.ts@@ -43,16 +43,31 @@ export function taskRequirement(group: Json): { machines: Set<string> | null; deconst unseen = finite(requires.unseenMachines) && requires.unseenMachines > 0return { machines: Array.isArray(requires.machines) || unseen ? new Set(strings(requires.machines)) : null, devices: strings(requires.devices) }}-export const STALLED = 'Its last 2 starts on this machine started no agent (they failed or were never picked up), so it is left out until a start there succeeds. Its owner can check the machine.'+export const STALLED = 'Its last 2 starts on this machine started no agent (they failed or were never picked up), so it is left out until a start there succeeds, its Harness is updated, or 30 minutes pass. Its owner can check the machine.'+/** How long a machine whose last 2 starts started nothing stays out of routes before routing may try it once again. Without+ * it, nothing but a person's start by hand brought a machine back, even after the Harness bug behind its failures was+ * fixed and released (Mac Auto, Swarm autonomous-harness, 2026-10-29). A start that fails again keeps it out another window. */+export const STALL_RETRY_MS = 30 * 60_000+/** A Harness Team account's refusal of a Codex start for a model its owner's ChatGPT account does not offer (start.ts, before+ * anything launches): the request named the wrong model, the machine is fine, so it never counts toward [stalled]. Matched by+ * the refusal's fixed opening, which the Lead reads as the start's raw reason. */+const MODEL_NOT_OFFERED = /^This machine's ChatGPT account \(.*\) does not offer \S+; //** What a machine says it cannot do for this task (#229 v1 routing): `all` keeps out its new agents, `engines` those of an* engine, `push` its new agents and members alike. Only a known failure is said; anything unknown says nothing. */export interface Unready { all: string[]; engines: Record<string, string>; push: string | null }const READY: Unready = { all: [], engines: {}, push: null }/** Whether the Swarm's last 2 starts on [machineId] both started nothing: failed, or queued and never picked up. A start- * being created (dispatched, no agent yet) is not counted, nor is a machine with fewer than 2 starts. */-export function stalled(starts: Json[], machineId: string): boolean {- const last = starts.filter(s => object(s.request).machineId === machineId).slice(-2)- return last.length === 2 && last.every(s => !s.harnessId && (!!s.error || s.dispatched !== true))+ * being created (dispatched, no agent yet) is not counted, nor is a machine with fewer than 2 starts. The failures stop+ * counting once they say nothing about the machine as it is: its daemon now runs another CLI version than the newer one+ * was dispatched to ([pool] `clientVersion`, the backend's record of its last connection), or the newer one is+ * [STALL_RETRY_MS] old. A start from before either was recorded counts as before. */+export function stalled(starts: Json[], machineId: string, pool: Json = {}, now = Date.now()): boolean {+ const last = starts.filter(s => object(s.request).machineId === machineId && !MODEL_NOT_OFFERED.test(String(s.error ?? ''))).slice(-2)+ if (last.length !== 2 || !last.every(s => !s.harnessId && (!!s.error || s.dispatched !== true))) return false+ const newest = last[1]!+ if (typeof pool.clientVersion === 'string' && typeof newest.dispatchedVersion === 'string' && newest.dispatchedVersion !== pool.clientVersion) return false+ const at = finite(newest.dispatchedAt) ? newest.dispatchedAt : finite(newest.requestedAt) ? newest.requestedAt : null+ return at === null || now - at < STALL_RETRY_MS}/** What a contributed machine's reading says it is not ready for, for work in [projectId] ([needsPush] unless a review).* Its own login's push access counts only when it is the one that pushes: not for a teammate's project where the server@@ -230,7 +245,9 @@ export async function routeTask(input: { tabId: string; conversationId: string;machines.set(String(pool.machineId), { name: String(pool.name), status: 'contributed', account: false, pool,unready: unreadyPool(original, project, projectId, !review, object(value.tab).githubApp === true, projectOwner) })}- for (const [machineId, machine] of machines) machine.stalled = stalled(list(state.starts), machineId)+ for (const [machineId, machine] of machines) {+ machine.stalled = stalled(list(state.starts), machineId, list(state.machines).find(m => m.machineId === machineId))+ }// One machine (docs/plans/2026-10-24-swarm-team-account.md): a Mac's Harness Team account is that Mac, under its name. A// teammate's project starts only in the team account and the Mac's owner's own projects only with the owner, so only one// of the two offers new agents here, and the other is not listed as unfit; agents already on either stay members.