Skip to content

fix(roadmap): readiness refuses a plan correction pull request #5315

Closed

Description

@dan-petty

Problem Description

The merge-readiness verdict blocks a pull request that corrects a merged plan. plan_blockers in src/devops_cli/roadmap/grounding.py accepts a pull request with the title docs(openspec): plan #<issue> ... only when it adds a file to openspec/changes/<issue>-<slug>/ (_adds_to_active_folder reads only the statuses added, renamed and copied). A correction of a merged plan changes a file of that folder and adds none. The other title form needs Closes #<issue>, which closes the issue on merge. Thus no title and body let a plan correction pass both devops pr create and the readiness verdict.

Reproduction Steps

  1. Change proposal.md of a merged change folder, for example to add ## Weakened checks after a tests_lost stop of the implement job.
  2. Open the pull request with devops pr create --title "docs(openspec): plan #<issue> <summary>" and the body Plans #<issue>, text, Change: line.
  3. Run devops pr ready <number>.

Expected vs Actual Behavior

Expected: a plan pull request that changes a file of the active change folder of its issue passes the rule, because the rule exists to make sure that the pull request is a plan of that issue.

Actual: devops pr ready prints Still blocks the merge: PR #5310 plans #3785 but adds no file to openspec/changes/3785-<slug>/. Add the change folder.

Environment Diagnostics

devops-cli 0.124.0 from uv run devops on origin/main.

Logs, Traces, or Terminal Output

PR #5310 (docs(openspec): plan #3785 name the renamed profiler test) changes only openspec/changes/3785-find-the-source-of-the-hawk/proposal.md. Its 15 CI checks pass and devops roadmap plan-check 5310 reports no problem.

Source: #5310

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 13, 2026
  2. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 13, 2026
  4. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor

    The problem occurred again on #5463, a correction of the merged plan of #4472.

    uv run devops pr monitor 5463 printed PR #5463 plans #4472 but adds no file to openspec/changes/4472-<slug>/. Add the change folder. The pull request changes one file, openspec/changes/4472-a-narrowed-ci-test-runs-many/proposal.md (status modified), to add ## Weakened checks after a tests_lost stop. All its checks pass, and uv run devops roadmap plan-check 5463 --json gives [].

  5. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor

    The problem occurred again on #5552, a correction of the merged plan of #5272.

    uv run devops pr ready 5552 printed Still blocks the merge: PR #5552 plans #5272 but adds no file to openspec/changes/5272-<slug>/. Add the change folder. The pull request changes only proposal.md and tasks.md of openspec/changes/5272-decision-points-need-cuts-for-shadow/. Its 22 CI checks pass and devops roadmap plan-check 5552 --json gives [].

  6. added
    status/in-review
    and removed
    status/new
    on Nov 15, 2026
  7. removed
    status/in-review
    on Nov 15, 2026
  8. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor
  9. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-15 17:18 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions