fix: address review findings from issue #79 phase protocol

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-17 19:27:11 +00:00
parent 275b92e8b5
commit 2b534bb7ec
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ the orchestrator at each phase boundary by writing to a well-known file.
### Phase file path
```
/tmp/dev-session-{PROJECT_NAME}-{ISSUE}.phase
/tmp/dev-session-{project}-{issue}.phase
```
### Required phase sentinels

View file

@ -59,7 +59,7 @@ check_phase "PHASE:failed"
echo "PHASE:awaiting_ci" > "$PHASE_FILE"
echo "PHASE:awaiting_review" > "$PHASE_FILE"
line_count=$(wc -l < "$PHASE_FILE")
file_content=$(cat "$PHASE_FILE")
file_content=$(< "$PHASE_FILE")
if [ "$line_count" -eq 1 ]; then
ok "phase file overwrite (single line after two writes)"
else