Skip to content

fix(roadmap): do not create empty groups for whole-suite criteria #4114

Closed

Description

@dan-petty

Problem Description

The stage planning prompt causes the model to create empty task groups for global acceptance criteria.

When an issue contains whole-suite or non-functional criteria, the planner creates dedicated task groups. Examples include suite duration bounds or offline execution requirements. In pull request #4104 for issue #3075, the planner created Group 4 for duration and Group 5 for offline execution.

These synthetic groups contain no substantive code changes. They only edit module docstrings or repeat manual verification commands. These groups waste execution steps in the implement runner. They also trigger group-no-files failures in devops roadmap plan-check because they pack no repository files.

Reproduction Steps

  1. Run devops roadmap stage on an issue with a criterion such as "The suite adds no more than 60 seconds to the test check".
  2. Inspect tasks.md in the generated change folder.
  3. Observe trailing task groups created solely to map that criterion.

Expected vs Actual Behavior

Expected: The planner maps whole-suite criteria to the task group that completes the suite.
Actual: The planner creates empty or docstring-only task groups to hold the criterion mapping.

Proposed Solution

Update src/devops_cli/ai/tasks/roadmap_stage_change.md and roadmap_stage_split.md.
Instruct the model that global, performance, or hermeticity criteria must be mapped to the task group that delivers or completes the suite.
Forbid creating task groups that only update docstrings or restate instructions.

Environment Diagnostics

  • DevOps CLI Version: 0.86.0
  • Python Version: 3.14.10
  • Execution Environment: Roadmap Service Stage Job

Activity

  1. added
    type/bug
    priority/p2-medium
    source/agent
    scope/roadmap
    on Nov 8, 2026
  2. added
    status/in-progress
    status/in-review
    and removed
    status/in-progress
    on Nov 18, 2026
  3. removed
    status/in-review
    on Nov 18, 2026
  4. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-18 16:28 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

    priority/p2-mediumscope/roadmapsource/agenttype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions