Commit 13e49c6
Warn loudly at startup if handoff_project_status doesn't exist on project
Root cause of the re-dispatch loop: WORKFLOW.md configured
handoff_project_status: "Human Review" but the GitHub Project only has
status options [Todo, In Progress, Done]. No "Human Review" option exists.
Result: UpdateProjectField silently skipped (empty HandoffOptionID),
project status stayed "In Progress" (still in active_values), items
re-dispatched endlessly even after PR creation.
Fix: At startup, after loading project metadata, verify the configured
handoff status exists in the project's status options. If not, emit a
prominent stderr warning with available options and how to fix it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cb029a9 commit 13e49c6
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
178 | 193 | | |
179 | 194 | | |
180 | 195 | | |
| |||
0 commit comments