Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem
A review of #6670 (implement on the phases, merged at adacda9) found these defects on main. Each was shown with real git and the GitHub fakes:
- A new-branch run reuses a closed draft.
publish_implementtakesimplement.prfrom the record whenstate.pullis None, butprepareclears that mark only when the run has a pull (implement_phases.pyabout line 330). Job 1 opens draft docs: update agent instructions for PR updating, release targeting, and non-merge policy #5 and stops. A person deletes the branch, which closes docs: update agent instructions for PR updating, release targeting, and non-merge policy #5. Job 2 then writes its title, body and comments to the closed docs: update agent instructions for PR updating, release targeting, and non-merge policy #5 and opens no draft for the branch that it pushed. - A publish that dies after the draft opens deletes the branch on the next run. If the Job ends between
POST /pullsand theimplement.prmark, the next publish posts the draft again. GitHub refuses it (422), and_open_draftdeletes the branch. - A return that dies after the withdraw blocks the item on the next run. The next publish runs
_withdrawagain. The delete push fails, because the branch is gone, so the item stops Blocked when it should be New. - An issue title with a closing keyword reaches the PR title.
_titlechecks the plan summary withclosing_keyword_in, but not the fallback issue title. The squash commit onmainthen closes the other issue. The Semantic PR title check does not stop it. - Stale text. The dry-run plan of
devops roadmap implementlacks the branch delete of a refused draft, the git calls before the withdraw push, and the fetch of the lease. Several texts still describe the old flow: SECURITY.md:54, theprocess_hardening.pyandworktree_add.pydocstrings,stop_clear.py:12, thesettings.pydescription of continuations,pull-request/spec.mdand the runner spec line on the home folder.
Expected
preparealways writes the PR mark (the pull of the run, or none)._open_draftfinds an open draft for the head before it posts one.- The withdraw is recorded as soon as it is done.
- A fallback title with a closing keyword stops the publish, as the plan summary does.
- The texts describe the phases.
Related
- feat(roadmap): run implement and fix-checks as prepare/agent/publish phases #3702 and feat(roadmap): run implement as prepare, agent and publish phases #6670.
Source
Source: #6670
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 21, 2026
A functional bug in the roadmap workflow with no service outage or CI failure.The regression commit adacda9 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.Both concern the implement Job draft-PR flow; #6559 delivers the feature, the candidate fixes defects found in that delivery.devops-cli-service commentedon Nov 21, 2026
Released in v0.190.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.190.0
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 23:18 UTC