Skip to content

fix(roadmap): the plan reader drops RENAMED and REMOVED deltas #5256

Closed

Description

@dan-petty

Problem Description

The plan reader reads only the ## ADDED Requirements and ## MODIFIED Requirements sections of a spec delta (src/devops_cli/roadmap/plan_read.py:185-195, _spec). OpenSpec also has ## RENAMED Requirements and ## REMOVED Requirements. The reader drops these sections, and fix-plan reads plans through the same reader, so it cannot write a RENAMED or REMOVED delta.

A plan that must rename or remove a requirement therefore keeps the old name in a MODIFIED block. Plan PR #5182 (item #3785) keeps the hawk requirement names for this reason, and the delivery pull request must rename them by hand.

Reproduction Steps

  1. Write a plan whose spec delta holds a ## RENAMED Requirements block.
  2. Read it with the plan reader (devops roadmap plan-check <pr> --json, or the stage job's read).
  3. The RENAMED block is not in the result.

Expected vs Actual Behavior

Expected: the reader reads all four OpenSpec delta kinds, and fix-plan can write each kind.

Actual: RENAMED and REMOVED are dropped with no message.

Environment Diagnostics

Main at 0a14161 (release 0.123.0).

Logs, Traces, or Terminal Output

Triage of plan PR #5182 on 2026-11-12: "Fix-plan cannot select the PR ... and cannot write a RENAMED or REMOVED delta."

Source: #5182

Activity

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

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

    @dan-petty
    OwnerAuthor

    #5367 merged the reader part: plan_read reads RENAMED and REMOVED deltas, and fix-plan keeps them because it renders again through spec_file. Closed as done by #5367.

  5. removed
    status/new
    on Nov 13, 2026
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