Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

fix(persistence): launch the pending-import Git child through the spawn seam

garrytan4714ca30623c
diff --git a/src/core/persistence/pending-import.ts b/src/core/persistence/pending-import.ts
index 7c52db91af..36c5da8742 100644
--- a/src/core/persistence/pending-import.ts
+++ b/src/core/persistence/pending-import.ts
@@ -16,7 +16,7 @@
* imports the file (`replayImportedRemembers`, repair/failed-writes.ts); any other write
* is resubmitted by its caller after that sync.
*/
-import { spawn } from 'node:child_process';
+import { spawn } from '../spawn.ts';
import { relative, sep } from 'node:path';
import type { BrainEngine } from '../engine.ts';
import type { Action } from '../agent-output.ts';