fix: Coordinate review injection between review-poll.sh and dev-agent.sh to prevent double-injection (#90)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a340e57789
commit
19a245fe5e
2 changed files with 13 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ Instructions:
|
|||
tmux delete-buffer -b "review-inject-${pr_num}" 2>/dev/null || true
|
||||
rm -f "${inject_tmp}"
|
||||
log " #${pr_num} review (${verdict}) injected into session ${session}"
|
||||
# Write sentinel so dev-agent.sh awaiting_review loop skips its own injection
|
||||
touch "/tmp/review-injected-${PROJECT_NAME}-${pr_num}"
|
||||
}
|
||||
|
||||
while IFS= read -r line; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue