phase-pr leaves review-state.json uncommitted #292
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#292
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
iw phase-prupdatesreview-state.json(setsstatustoawaiting_review, addspr_url, appendsview-praction andReview Neededbadge) but does not commit the change. This leaves a dirty working tree after every phase PR creation.Impact
When
wf-implement(orag-implement) is re-run to continue to the next phase, it hits the dirty working tree check and cannot proceed without manual intervention (commit or stash).This happens consistently — observed on two consecutive phases of DEVDOCS-110.
Expected Behavior
phase-prshould commit the review-state update as part of its operation (either amending the phase commit or creating a small follow-up commit), so the working tree is clean after PR creation.Reproduction
phase-prphase-prcompletes, rungit statusreview-state.jsonis modified but uncommittedWorkaround
Manually commit
review-state.jsonafter eachphase-prcall.Merged