fix(coding-agent): prevented asynchronous write races in plan reviews
- Ensures in-memory overlay edits are durably written to the plan file before proceeding with approval. - Avoids asynchronous write races by awaiting the final plan file serialization. - Aligns synthetic approved-plan prompts with reference-only expectations.
This commit is contained in:
@@ -14,8 +14,8 @@ import {
|
||||
mergeTaskBranches,
|
||||
parseIsolationMode,
|
||||
} from "@oh-my-pi/pi-coding-agent/task/worktree";
|
||||
import * as jj from "@oh-my-pi/pi-coding-agent/utils/jj";
|
||||
import * as git from "@oh-my-pi/pi-coding-agent/utils/git";
|
||||
import * as jj from "@oh-my-pi/pi-coding-agent/utils/jj";
|
||||
import * as natives from "@oh-my-pi/pi-natives";
|
||||
import { removeWithRetries, setWorktreesDir } from "@oh-my-pi/pi-utils";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user