From 2b534bb7ec75cf1e7213d79b9aecb645e4276175 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 17 Mar 2026 19:27:11 +0000 Subject: [PATCH] fix: address review findings from issue #79 phase protocol Co-Authored-By: Claude Sonnet 4.6 --- AGENTS.md | 2 +- dev/phase-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 755873c..452f2fc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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 diff --git a/dev/phase-test.sh b/dev/phase-test.sh index 56a4a3b..c87ab56 100755 --- a/dev/phase-test.sh +++ b/dev/phase-test.sh @@ -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