Skip to content

fix(roadmap): an alternatives block names no blocker of an item #6613

Closed

Description

@dan-petty

Problem

body_dependencies (src/devops_cli/roadmap/refine/refine.py line 1226) reads the Dependencies section up to the next heading of the same or a higher level. The alternatives check often writes its block (`
Alternatives check of 2026-11-21: none.
Tool: none found.
Reason: Searches found only general Markdown/HTML parsers such as markdown-it-py; none knows the project's job-block start marker or the Dependencies rule, so the fix belongs in body_dependencies.

Lacks:

  • A tool that knows the job block start marker
  • Ending the Dependencies section at that marker
  • Headings inside a job block still starting a section
`) below the Dependencies section, with no heading between them. In CommonMark the HTML comment ends at the end of its marker line. So the "Covers" and "Lacks" lines of the block parse as blocks of the Dependencies section, and each issue reference in them names a blocker. The alternatives text names tools, not blockers.

On 2026-11-21, 2 of the 812 open items gave a different blocker list with the block removed. #4568 gets #5506 as a blocker from its Lacks line "Two-container template integration that #5506 adds". #4767 reads #2144 two times. A false blocker keeps an item from the jobs for too long.

Expected

The Dependencies section ends at the start marker of a job block. A Dependencies heading inside a job block, such as the one that refine writes in its own block, still starts a section.

Acceptance criteria

  • Test first: a body with a Dependencies section and then an alternatives block whose Lacks line names #N gives no blocker N. The test fails on the base.
  • A test: the Dependencies section inside the refine block still names its blockers.
  • A test: a Dependencies section after the end marker of an alternatives block still names its blockers.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    on Nov 21, 2026
  2. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor
  3. added
    value/medium
    effort/low
    priority/p2-medium
    on Nov 21, 2026
  4. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (3)

    Tools considered:

    Searches run:

    • markdown-it-py HTML comment block parsing section headings, results: 5
    • python parse markdown section until HTML comment block boundary library, results: 5
    • python library split markdown document into sections by heading, results: 5

    Sources:

  5. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 21, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 21, 2026
  7. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor
  8. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 14:28 UTC

  9. added 2 commits that reference this issue on Nov 21, 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