fix: address review findings from issue #79 phase protocol
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
275b92e8b5
commit
2b534bb7ec
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ the orchestrator at each phase boundary by writing to a well-known file.
|
||||||
### Phase file path
|
### Phase file path
|
||||||
|
|
||||||
```
|
```
|
||||||
/tmp/dev-session-{PROJECT_NAME}-{ISSUE}.phase
|
/tmp/dev-session-{project}-{issue}.phase
|
||||||
```
|
```
|
||||||
|
|
||||||
### Required phase sentinels
|
### Required phase sentinels
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ check_phase "PHASE:failed"
|
||||||
echo "PHASE:awaiting_ci" > "$PHASE_FILE"
|
echo "PHASE:awaiting_ci" > "$PHASE_FILE"
|
||||||
echo "PHASE:awaiting_review" > "$PHASE_FILE"
|
echo "PHASE:awaiting_review" > "$PHASE_FILE"
|
||||||
line_count=$(wc -l < "$PHASE_FILE")
|
line_count=$(wc -l < "$PHASE_FILE")
|
||||||
file_content=$(cat "$PHASE_FILE")
|
file_content=$(< "$PHASE_FILE")
|
||||||
if [ "$line_count" -eq 1 ]; then
|
if [ "$line_count" -eq 1 ]; then
|
||||||
ok "phase file overwrite (single line after two writes)"
|
ok "phase file overwrite (single line after two writes)"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue