Skip to content

fix(roadmap): work tracker sub-issues instead of returning #7048

Done

Description

@dan-petty

Problem Description

Interactive coding agents invoke devops roadmap return on tracking issues (type/epic or issues with linked sub-issues / related deliverables) instead of discovering and working their open sub-issues or related issues.

Three causes interact:

  1. AGENTS.md Rule 2 and .agents/skills/devops-roadmap/SKILL.md instruct agents to run devops roadmap return when an item cannot be built as written, without stating that a tracker/epic (type/epic, sub_issues > 0, or umbrella issue linking deliverables) must never be returned and that agents must work its open sub-issues or related issues instead.
  2. plan_return and apply_return in src/devops_cli/roadmap/return_item.py do not check item.is_tracker. Returning a tracker sets status/new, where refine (src/devops_cli/roadmap/refine/refine.py:2494-2495) and stage (src/devops_cli/roadmap/stage/stage.py:743-746) intentionally ignore it because its sub-issues deliver it (refine_left_tracker, stage_left_tracker).
  3. explain_item and render_explanation in src/devops_cli/roadmap/explain.py print only the static tracker leave-out message (The item is a tracker...) and do not list open sub-issues (with blocker state) or open related issue links from the issue body so an agent sees what leaf issue to claim next.

Reproduction Steps

  1. Inspect AGENTS.md lines 7-8, .agents/skills/devops-roadmap/SKILL.md line 13, and src/devops_cli/templates/AGENTS.md.j2 line 15: none instruct an agent to pivot from a tracker to its open sub-issues or related issues rather than returning it.
  2. Run uv run devops roadmap explain <tracker> on an open tracker (sub_issues > 0 or type/epic): output prints Refine job: no. / Stage job: no. without naming its open sub-issues or related open issues.
  3. Run uv run devops roadmap return <tracker> --comment "Too broad for one PR" (or pass a tracker item to plan_return in src/devops_cli/roadmap/return_item.py): plan_return accepts the tracker and schedules StatusFacts(needs_refine=True) instead of refusing with the actionable open sub-issues / related issues.

Expected vs Actual Behavior

Expected:

  • AGENTS.md, src/devops_cli/templates/AGENTS.md.j2, the devops-roadmap skill across all agent roots, and docs/ROADMAP_WORKFLOW.md instruct agents never to return a tracker/epic and instead to work its open sub-issues or related issues (or link/file sub-issues for unsplit trackers).
  • plan_return (devops roadmap return) refuses any tracker (item.is_tracker) with a DevOpsCLIError listing its open sub-issues and open related issue references from the body (or advising closing/splitting if none are open).
  • devops roadmap explain on a tracker preserves the refine/stage tracker verdicts while listing open sub-issues (with readiness/blockers) and open related issue links.

Actual:

  • Agents apply Rule 2 literally to trackers and run devops roadmap return, pushing trackers back to status/new where refine and stage leave them idle.

Environment Diagnostics

  • DevOps CLI Version: 0.212.0 (origin/main 6f3bfd97d)
  • Python Version: 3.14.10
  • OS & Architecture: Linux 6.18.58.1-microsoft-standard-WSL2 x86_64
  • Execution Environment: DevContainer

Logs, Traces, or Terminal Output

src/devops_cli/roadmap/refine/refine.py:2494-2495: if item.is_tracker: return [], [WaitingItem(item, NextStep.NONE, (texts.refine_left_tracker,))]
src/devops_cli/roadmap/stage/stage.py:746: return MESSAGES.roadmap.stage_left_tracker if item.is_tracker else None
src/devops_cli/roadmap/return_item.py:43-64: plan_return does not check item.is_tracker

Activity

  1. dan-petty commented on Nov 25, 2026

    @dan-petty
    OwnerAuthor
  2. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/medium
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 25, 2026
  3. removed
    status/in-review
    owner/agent
    on Nov 25, 2026
  4. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-25 06:00 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/mediumpriority/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