mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
* fix: set SPAWN_HOME in preload and add fs-sandbox guardrail test The test preload now sets SPAWN_HOME to the sandbox directory by default, so tests that call cmdRun/saveSpawnRecord without explicitly setting SPAWN_HOME no longer write to the real ~/.spawn/history.json. Add fs-sandbox.test.ts that verifies the sandbox is correctly configured (HOME, SPAWN_HOME, XDG vars all point to temp). Update testing.md with mandatory filesystem isolation rules. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: add root bunfig.toml and fix biome formatting Add root-level bunfig.toml with test preload so `bun test` works from the repo root. Fix biome formatting in orchestrate.test.ts afterEach. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: lab <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Claude <claude@anthropic.com>
2 lines
61 B
TOML
2 lines
61 B
TOML
[test]
|
|
preload = ["./packages/cli/src/__tests__/preload.ts"]
|