Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(doctor-cli-smoke): give the doctor subprocess its own audit dir so a shard-mate's quarantine events cannot fail content_sanity_audit_recent

garrytan7c3e02fcb4f7
diff --git a/test/doctor-cli-smoke.test.ts b/test/doctor-cli-smoke.test.ts
index fc453525bc..1b3fde1690 100644
--- a/test/doctor-cli-smoke.test.ts
+++ b/test/doctor-cli-smoke.test.ts
@@ -81,6 +81,7 @@ describe('gbrain doctor --json subprocess smoke (D10/CMT-2)', () => {
const env = {
HOME: home,
GBRAIN_HOME: home,
+ GBRAIN_AUDIT_DIR: join(home, 'audit'),
PATH: `${shim.binDir}:${process.env.PATH ?? ''}`,
};