Skip to content

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.

test(cli): expect Swarm clones in the shared home (#1617)

0xken15b70b4a50ac5d
diff --git a/cli/e2e/superTabMachines.e2e.ts b/cli/e2e/superTabMachines.e2e.ts
index d3d7f7538..2d3bc8d1e 100644
--- a/cli/e2e/superTabMachines.e2e.ts
+++ b/cli/e2e/superTabMachines.e2e.ts
@@ -35,7 +35,7 @@ it.each(['project', 'swarm'])('queues a teammate start with %s capacity and resu
const agents: Array<Record<string, any>> = [], starts = new Map<string, Record<string, any>>()
let generation = 'grant-1', observations = 0
const pool = { machineId: memberMachine.machineId, generation,
- cwd: scope === 'swarm' ? join(b.dataDir, 'swarm-projects', 'pool-tab') : project,
+ cwd: scope === 'swarm' ? join(b.env.HOME!, 'harnesses', 'swarms', 'pool-tab') : project,
...(scope === 'swarm' ? { scope } : {}), engines: ['codex'], maxAgents: 2, paused: false }
const projects = scope === 'swarm' ? [{ id: 'lead', conversationIds: ['lead'],
repository: { machineId: memberMachine.machineId, cwd: project, repositoryUrl: null } }] : undefined