Repository navigation
Description
Problem or Motivation
devops pr create refuses the body of a plan pull request. Run on 2026-11-03 with the title docs(openspec): plan #3236 revise scope to role tools and a body that holds Plans #3236 and the Change: line, it printed The pull request breaks the form. Nothing was opened: The body has no line Closes #<issue>. The form of pull_form.body_problems is the form of a delivery. #3280 (PR #3310) teaches devops pr check-readiness the rules of a plan pull request, and devops pr create still holds every pull request to the delivery form.
A plan pull request cannot be opened with a sanctioned command. devops gh api has no option for a request body, and AGENTS.md rule 7 forbids bare gh, so an agent that revises a plan has no way to open its pull request.
Proposed Solution & Architectural Design
- In
devops pr create, read the title withplan_issue(src/devops_cli/roadmap/grounding.py, added by fix(pr): judge a plan pull request by the rules of a plan #3310). For a plan title, judge the body withplan_blockers-style rules of the plan form (Plans #<issue>line, no closing keyword, theChange:line) and not withbody_problems. - Add a plan form function to
src/devops_cli/roadmap/pull_form.pythat the stage job (pull_request_body) and the command share, so one rule states the body. - Tests: a plan title with a
Plans #<issue>body opens a draft; a plan title withCloses #<issue>is refused; a delivery title still needsCloses.
Target Subsystem
src/devops_cli/commands/pr.py, src/devops_cli/roadmap/pull_form.py.
Source: #3310
Activity
dan-petty commentedon Nov 3, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(pr)scope of the title gives the scope.An agent cannot open a plan pull request with any sanctioned command, fully blocking the plan revision workflow.Blocks a required workflow: revising a plan via a sanctioned command.Requires adding plan-form rules to pull_form.py, updating pr create logic, and writing tests for both plan and delivery paths.Both fix plan pull requests being rejected by pr commands, but #3280 fixes check-readiness and the candidate fixes pr create.devops-cli-service commentedon Nov 3, 2026
Released in v0.48.5: https://github.com/dan-petty/devops-cli/releases/tag/v0.48.5
devops-cli-service commentedon Nov 3, 2026
Live since 2026-11-03 13:34 UTC