Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

handoff tests: clear runtime store overrides in the shared fixture

Claudee39ca29a13df
diff --git a/cli/beacon/internal/handoff/fixtures_test.go b/cli/beacon/internal/handoff/fixtures_test.go
index e9c90e3f..54d47fa9 100644
--- a/cli/beacon/internal/handoff/fixtures_test.go
+++ b/cli/beacon/internal/handoff/fixtures_test.go
@@ -38,6 +38,8 @@ type storeFixture struct {
func newStoreFixture(t *testing.T) storeFixture {
t.Helper()
+ // The fixture leaves the runtimes it does not write at their defaults; keep those under HOME.
+ isolateRuntimeEnv(t)
root := t.TempDir()
f := storeFixture{
root: root,
diff --git a/cli/beacon/internal/handoff/session_test.go b/cli/beacon/internal/handoff/session_test.go
index 2d424ce7..c0a92bd2 100644
--- a/cli/beacon/internal/handoff/session_test.go
+++ b/cli/beacon/internal/handoff/session_test.go
@@ -16,7 +16,6 @@ func fixtureSources(t *testing.T) (storeFixture, []Source) {
t.Helper()
// Cline also reads VS Code's global storage under HOME; keep it inside the test.
testenv.SetHome(t, t.TempDir())
- isolateRuntimeEnv(t)
f := newStoreFixture(t)
return f, DefaultSources(f.dirs)
}