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.

Merge origin/main into feat/harness-grid

Kelvina453c704bf3a
diff --cc cli/src/lib/gridLogout.spec.ts
index a1252556a,a1252556a..809a32a51
--- a/cli/src/lib/gridLogout.spec.ts
+++ b/cli/src/lib/gridLogout.spec.ts
@@@ -11,7 -11,7 +11,7 @@@ import { afterEach, beforeEach, describ
let root = ''
let runtimeDir = ''
--const saved = { PATH: process.env.PATH, HARNESS_GRID_BIN: process.env.HARNESS_GRID_BIN, ADAPTER_RUNTIME_DIR: process.env.ADAPTER_RUNTIME_DIR }
++const saved = { PATH: process.env.PATH, HOME: process.env.HOME, HARNESS_GRID_BIN: process.env.HARNESS_GRID_BIN, ADAPTER_RUNTIME_DIR: process.env.ADAPTER_RUNTIME_DIR }
async function load() {
vi.resetModules()
@@@ -43,6 -43,6 +43,10 @@@ beforeEach(() =>
mkdirSync(runtimeDir)
mkdirSync(join(root, 'empty-bin'))
process.env.PATH = join(root, 'empty-bin')
++ // The resolver's last resort is `$HOME/.local/bin/grid` (gridExec.ts) — on a developer's machine
++ // that is a REAL grid, and the "no child" case below ran its real `grid logout` before HOME was
++ // pointed here. Every case now sees a home with nothing under it.
++ process.env.HOME = root
delete process.env.HARNESS_GRID_BIN
})