You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(pr): pr create refuses Plans for a partial slice #3598
Issue #3497 has more than one slice. A pull request for one slice must not close the issue. devops pr create has no accepted form for that case.
For a delivery title (fix(service): ...), the form requires the line Closes #<issue>. It refuses the line Plans #<issue>. It accepts Plans #<issue> only for a plan title (docs(openspec): plan #<issue> ...). A code change cannot use that title.
Evidence, from devops pr create --dry-run with a body that ends with Plans #3497:
✗ The pull request breaks the form. Nothing was opened:
- The body has no line `Closes #<issue>`.
A Closes #3497 line closes the issue on merge. The other slices then stay open with no issue.
Evidence from the publish of #3039. Issue #3039 is not complete. Its criterion 2, the recall of 80 percent, is not measured. So its pull request body must end with Plans #3039.
uv run devops pr create --dry-run with the title feat(roadmap): the verifier reads the repository and repairs a plan twice and a body that ends with Plans #3039 gives:
The pull request breaks the form. Nothing was opened: and - The body has no line Closes #.
The branch is pushed. No pull request is open. A delivery title with a feat type cannot carry the plan form, so the pull request cannot record that the issue stays open. Please decide how a partial feature opens its pull request.
Answer from project standards, under the owner's instruction of 2026-11-05.
Question. How does a pull request that delivers only one slice of an issue open? Option 1 splits the issue, so that each pull request closes its own issue. Option 2 allows a Plans #<issue> line in a delivery body.
Answer. Use option 1. The refusal in src/devops_cli/roadmap/pull_form.py is the intended form, so option 2 is not planned and this issue closes with no code change.
Rules that give the answer.
AGENTS.md, rule 1: "Open one pull request into main that closes its one issue (Closes #<issue>)."
CONTRIBUTING.md, section 4: a plan pull request, with the title docs(openspec): plan #<issue> <summary>, "closes no issue". The line Plans #<issue> is for that form only.
docs/SDLC.md: "A plan pull request (title docs(openspec): plan #<issue> <summary>) delivers nothing". The same text says that readiness blocks a pull request that does not add the archive folder of its issue. A partial delivery with Plans has no path through this check.
The docstring of plan_body_problems: "A plan delivers nothing".
What I checked. On origin/main at f6d57ec, uv run devops pr create --dry-run with a feat title and a body with Plans #3039 still gives The body has no line Closes #. The same body text with the title docs(openspec): plan #3039 ... and Plans above the text passes.
How to split. Move each open criterion to a new or an existing issue. Edit the body of the issue, so that it lists what the pull request delivers and names the issue that holds each moved criterion. Then use Closes #<issue>. Move a criterion only when its work is really separate.
#3497 and #3039. This comment does not change them. Both stay open, and each needs this split before a partial pull request can open. The refine comment on #3497 of 2026-11-04 names five items for its split.
A separate defect. While I checked the form, I found that a plan body with its text above Plans gets the refusal The text above Closes has 0 characters. CONTRIBUTING.md does not state the order. #3662 holds this defect. Intake made #3662 a sub-issue of this issue, and #3662 stays open after this issue closes.
If the owner wants a different rule, the owner can reopen this issue. That change starts at AGENTS.md rule 1.
Evidence from the publish of plan step 8 of #5134 (branch feat/5134-homelab-source-repo, 2026-11-13). Plan steps 10 to 17 of #5134 come after this pull request, so the pull request must not close #5134. The brief of the publisher asked for the line Part of #5134 and no closing keyword in the title or the body.
uv run devops pr create --title "feat(argocd): admit the homelab repo in both AppProjects" --body "<text>\n\nPart of #5134\n\nChange: <archived folder>" gives:
✗ The pull request breaks the form. Nothing was opened:
- The body has no line `Closes #<issue>`.
The branch is pushed. No pull request is open. The answer above (option 1: split the issue, so that each pull request closes its own issue) applies. The publisher did not split #5134, because the brief forbids each closing keyword in this pull request. The workflow that sends one step of a multi-step issue to a publisher must give a sub-issue for that step, or the brief must permit Closes for that sub-issue.
Activity
dan-petty commentedon Nov 5, 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.It blocks publishing a partial slice but a workaround exists by splitting the issue.It unblocks a valid workflow for multi-slice issues but does not affect correctness of merged code.The form already accepts Plans for plan bodies; extending it to delivery bodies is a small logic change in pull_form.py.Both touch pull_form.py and devops pr create, but #3314 allowed Plans for plan titles while this candidate needs Plans for delivery titles.dan-petty commentedon Nov 5, 2026
Evidence from the publish of #3039. Issue #3039 is not complete. Its criterion 2, the recall of 80 percent, is not measured. So its pull request body must end with
Plans #3039.uv run devops pr create --dry-runwith the titlefeat(roadmap): the verifier reads the repository and repairs a plan twiceand a body that ends withPlans #3039gives:The pull request breaks the form. Nothing was opened:and- The body has no lineCloses #.The branch is pushed. No pull request is open. A delivery title with a feat type cannot carry the plan form, so the pull request cannot record that the issue stays open. Please decide how a partial feature opens its pull request.
dan-petty commentedon Nov 5, 2026
Answer from project standards, under the owner's instruction of 2026-11-05.
Question. How does a pull request that delivers only one slice of an issue open? Option 1 splits the issue, so that each pull request closes its own issue. Option 2 allows a
Plans #<issue>line in a delivery body.Answer. Use option 1. The refusal in
src/devops_cli/roadmap/pull_form.pyis the intended form, so option 2 is not planned and this issue closes with no code change.Rules that give the answer.
AGENTS.md, rule 1: "Open one pull request intomainthat closes its one issue (Closes #<issue>)."CONTRIBUTING.md, section 4: a plan pull request, with the titledocs(openspec): plan #<issue> <summary>, "closes no issue". The linePlans #<issue>is for that form only.docs/SDLC.md: "A plan pull request (titledocs(openspec): plan #<issue> <summary>) delivers nothing". The same text says that readiness blocks a pull request that does not add the archive folder of its issue. A partial delivery withPlanshas no path through this check.plan_body_problems: "A plan delivers nothing".body_problemsthat acceptsPlans, because "The delivery form must keep refusing a body with noCloses."What I checked. On origin/main at f6d57ec,
uv run devops pr create --dry-runwith afeattitle and a body withPlans #3039still givesThe body has no lineCloses #.The same body text with the titledocs(openspec): plan #3039 ...andPlansabove the text passes.How to split. Move each open criterion to a new or an existing issue. Edit the body of the issue, so that it lists what the pull request delivers and names the issue that holds each moved criterion. Then use
Closes #<issue>. Move a criterion only when its work is really separate.#3497 and #3039. This comment does not change them. Both stay open, and each needs this split before a partial pull request can open. The refine comment on #3497 of 2026-11-04 names five items for its split.
A separate defect. While I checked the form, I found that a plan body with its text above
Plansgets the refusalThe text aboveCloseshas 0 characters. CONTRIBUTING.md does not state the order. #3662 holds this defect. Intake made #3662 a sub-issue of this issue, and #3662 stays open after this issue closes.If the owner wants a different rule, the owner can reopen this issue. That change starts at
AGENTS.mdrule 1.dan-petty commentedon Nov 13, 2026
Evidence from the publish of plan step 8 of #5134 (branch
feat/5134-homelab-source-repo, 2026-11-13). Plan steps 10 to 17 of #5134 come after this pull request, so the pull request must not close #5134. The brief of the publisher asked for the linePart of #5134and no closing keyword in the title or the body.uv run devops pr create --title "feat(argocd): admit the homelab repo in both AppProjects" --body "<text>\n\nPart of #5134\n\nChange: <archived folder>"gives:The branch is pushed. No pull request is open. The answer above (option 1: split the issue, so that each pull request closes its own issue) applies. The publisher did not split #5134, because the brief forbids each closing keyword in this pull request. The workflow that sends one step of a multi-step issue to a publisher must give a sub-issue for that step, or the brief must permit
Closesfor that sub-issue.