Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test(bot-box): separate denied read output from the home listing

leonongoing3ef3c9b3e259
diff --git a/server/engine-homes/box.linux.test.ts b/server/engine-homes/box.linux.test.ts
index 2e6d4fb8ef..dd52416adb 100644
--- a/server/engine-homes/box.linux.test.ts
+++ b/server/engine-homes/box.linux.test.ts
@@ -42,7 +42,7 @@ describe.skipIf(!available)(`engine homes in a real box (${available ? "bubblewr
});
const script = [
'ls -R "$HOME/.claude/projects"',
- `cat "${join(bob, ".claude", "projects", "p", "bob-session.jsonl")}" || echo BOB-UNREADABLE`,
+ `cat "${join(bob, ".claude", "projects", "p", "bob-session.jsonl")}" 2>/dev/null || echo BOB-UNREADABLE`,
`ls -a "${engineHomesRoot(dataDir)}"`,
`grep -rl lighthouse "${serverHome}" 2>/dev/null || echo SHARED-HOME-UNREADABLE`,
'cat "$HOME/.claude/.credentials.json"; echo',