diff --git a/scripts/prompt.md b/scripts/prompt.md index 8fe8aa7..6044bd2 100644 --- a/scripts/prompt.md +++ b/scripts/prompt.md @@ -20,6 +20,12 @@ user's exact instruction. Install missing tools yourself when needed, including Rust, uv, Node, Deno, or system packages. +Before modifying or pushing code, check for another active automation run that +may modify the same target branch or work on the same issue or pull request. If +one exists, continue with read-only work but wait for it to finish before making +changes. Exclude the current run, use a bounded wait, and re-check the branch +before pushing. Skip this check when no code changes are needed. + Prefer minimal, correct changes. Run relevant checks or tests if practical. Treat code changes as a request to create a pull request. If a prior Codex pull request already exists for this issue, update that same pull request instead of