taskplane 0.24.23 → 0.24.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -611,18 +611,9 @@ export async function spawnMergeAgentV2(
|
|
|
611
611
|
packet: null,
|
|
612
612
|
env: {
|
|
613
613
|
ORCH_BATCH_ID: bid,
|
|
614
|
-
// Isolate merge agent from operator's global preferences to prevent
|
|
615
|
-
// verification test contamination (e.g., stale reviewerModel pref
|
|
616
|
-
// overriding schema defaults in deep-equal assertions).
|
|
617
|
-
PI_CODING_AGENT_DIR: join(sidecarRoot, "runtime", bid, "merge-agent-env"),
|
|
618
614
|
},
|
|
619
615
|
};
|
|
620
616
|
|
|
621
|
-
// Ensure isolated agent dir exists with empty preferences
|
|
622
|
-
const isolatedAgentDir = join(sidecarRoot, "runtime", bid, "merge-agent-env", "taskplane");
|
|
623
|
-
mkdirSync(isolatedAgentDir, { recursive: true });
|
|
624
|
-
try { writeFileSync(join(isolatedAgentDir, "preferences.json"), "{}\n", { flag: "wx" }); } catch { /* already exists */ }
|
|
625
|
-
|
|
626
617
|
const { promise, kill } = spawnAgent(opts);
|
|
627
618
|
|
|
628
619
|
// Store the kill handle for external cleanup (pause/abort).
|