Skip to content

feat(roadmap): split unworkable or unanswered scope during refine into separate issues #2423

Closed

Description

@dan-petty

Problem or Motivation

When devops roadmap refine evaluates an issue that has outstanding questions or functionality that cannot be implemented as written, refinement blocks the whole item or sends it to NextStep.PERSON. Workable subsets of functionality remain delayed behind questions or unworkable parts.

Proposed Solution & Architectural Design

Update devops roadmap refine and its refinement prompt (src/devops_cli/ai/tasks/roadmap_refine_proposal.md):

  • When an issue includes parts that cannot be implemented as written or have unresolved questions, remove those parts from the core proposal.
  • File separate issues on the roadmap for investigation or subsequent implementation of the removed functionality.
  • Allow the remaining workable scope of the original issue to proceed toward Ready.
  • Record links between the original issue and any newly created investigation or implementation issues.

Target Subsystem

SDLC, Git & PR Governance

Existing Tool Considered

devops roadmap intake and the existing roadmap store handle issue creation and board updates. Refining the prompt and orchestrator extends built-in functionality without new external dependencies.

Standards Compliance

  • I confirm this proposal aligns with AGENTS.md engineering principles (cyclomatic complexity <= 10, nesting <= 5, zero bare exceptions, tests that cover the changed lines).
  • I am willing to submit a pull request implementing this feature with accompanying tests.

Proposed design

Problem statement

When devops roadmap refine finds an issue with unworkable parts or unresolved questions, it blocks the whole item. Workable subsets remain delayed behind the blocked parts. This change lets refine remove unworkable scope into new issues. The remaining workable scope then proceeds toward Ready.

Acceptance criteria

  • Criterion 1: The refine prompt instructs the model to identify unworkable scope and propose it as separate issues.
    Verification: Read the updated src/devops_cli/ai/tasks/roadmap_refine_proposal.md and confirm it contains instructions for identifying and removing unworkable scope into new issues.
  • Criterion 2: The orchestrator creates a new issue for each split-off part of the scope.
    Verification: Run devops roadmap refine on a test issue with unworkable parts and confirm new issues appear on the roadmap.
  • Criterion 3: The remaining workable scope of the original issue proceeds toward Ready.
    Verification: Run devops roadmap refine on a test issue with mixed scope and confirm the original issue moves to Ready status.
  • Criterion 4: Links are recorded between the original issue and each newly created issue.
    Verification: After a refine run that splits scope, check the issue comments or cross-references for links to the new issues.
  • Criterion 5: Tests cover the new scope-splitting behavior.
    Verification: Run uv run pytest and confirm tests for the split behavior pass.

Key questions

  • How does the refine response communicate scope splitting to the orchestrator?: Extend the refine response with a field that lists each split-off scope item with its title and body. The orchestrator reads this field and calls the existing intake path to create each new issue. (proposed) [sources: src/devops_cli/ai/tasks/roadmap_refine_proposal.md]
  • What mechanism creates the new issues on the roadmap?: The existing devops roadmap intake command and the roadmap store handle issue creation and board updates. The orchestrator reuses this path for split-off issues. [sources: CONTEXT.md]
  • What status does the original issue receive after scope is split off?: The original issue proceeds toward Ready with its remaining workable scope. The split-off parts become separate issues in the backlog. (proposed) [sources: CONTEXT.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    on Oct 28, 2026
  2. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

  3. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Status set to Ready at d739a47 (see proposed design in issue body).

  4. added
    priority/p2-medium
    status/ready
    value/medium
    effort/medium
    scope/roadmap
    on Oct 28, 2026
  5. devops-cli-service commented on Nov 1, 2026

    @devops-cli-service
    Contributor

    Staged: branch feat/2423-split-unworkable-or-unanswered-scope-during, draft pull request #2989. The pull request plans the item and closes no issue.

    The task groups, with the tokens of the inputs of each step, for a budget of 40000 tokens:

    1. Add scope-splitting instructions to the refine prompt: 3271 tokens
    2. Process split_issues in the refine orchestrator: 3264 tokens
    3. Add integration test for the full scope-splitting flow: 3251 tokens

    These paths of the plan are no file on the default branch, and no group creates them: tests/test_roadmap_refine_split.py. A person checks that the plan names them right.

  6. added a commit that references this issue on Nov 1, 2026
  7. added
    status/planned
    and removed
    status/ready
    on Nov 1, 2026
  8. added
    owner/agent
    on Nov 1, 2026
  9. added a commit that references this issue on Nov 1, 2026
  10. removed
    owner/agent
    on Nov 1, 2026
  11. removed
    status/planned
    on Nov 1, 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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions