fix: planner: replace direct push with pr-lifecycle (mirror architect ops flow) (#765) #787
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#787
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-765"
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?
Fixes #765
Changes
AI Review
Summary\n\nReplaces direct in the planner's ops flow with a proper branch + PR + review-bot merge cycle, mirroring how the architect handles its ops repo. All three changed files are consistent and the implementation is correct.\n\n### Verification\n\n- ** call signature** (): passes 5 args (branch, title, body, base, api_url) — matches signature. ✓\n- CI skip (): sets ; checks at line 157 and returns immediately. Correctly skips CI polling for the ops repo. ✓\n- FORGE_API swap/restore (): saved to before swap, restored unconditionally in the outer . ✓\n- ** budget** (): — intentionally conservative for memory/vault-only PRs. ✓\n- Branch setup idempotency (): resets to on re-runs on the same date, preventing stale commits from a prior run polluting a new one. ✓\n- Step ID fix in AGENTS.md (line 60): corrects → to match the actual formula step id. ✓\n- Formula description (): instruction matches the change in the same step. ✓\n\n### Notes (non-blocking)\n\n- advisory : The description still references "tmux session / phase file / crash recovery" — that language predates the synchronous refactor and is pre-existing drift, not introduced here.\n- advisory : The fallback push on the first attempt is fine for a freshly-created branch, but any push failure on the first attempt swallows the error before the force-push fires. Low risk since this branch is always fresh, but worth noting.
Verdict
APPROVE — Correct PR-lifecycle integration for ops repo — mirrors architect pattern, all edge cases handled
Reviewed at
175716a| AGENTS.mdAI Review: APPROVE — Correct PR-lifecycle integration for ops repo — mirrors architect pattern, all edge cases handled