Skip to content

fix(roadmap): intake names another sub-issue of the candidate's source issue as a possible duplicate #2265

Closed

Description

@dan-petty

Problem Description

Intake names a sibling part of a split as a possible duplicate of a new part. On 2026-10-25 an agent split #886 into 23 parts. It filed each part with devops roadmap intake --title ... --body-file ... --source <#886 link> --confirm and then linked it to #886 as a sub-issue. Each part changes a different set of commands. Intake named a possible duplicate for 4 of the 22 parts after the first:

Candidate Named Scope of the candidate Scope of the named item
#2235 #2234 gh issues, gh milestones, gh labels, gh runs pr
#2238 #2230 k8s cluster reads and access the dry-run class and ratchet for all commands
#2239 #2238 k8s manifests and kustomize k8s cluster reads and access
#2240 #2234 argo pr

For #2240 the model's reason says that #2234 asks for the argo change, which is false. Since #2218, a flag only adds a line to the reason comment, so no part was dropped. But each flag asks a person to close one of two issues that are both needed.

--source keeps intake from naming the issue that the link names (_source_issue in src/devops_cli/roadmap/intake.py). It does not keep intake from naming the other sub-issues of that issue.

Reproduction Steps

  1. File two parts of one issue with devops roadmap intake --title ... --body-file ... --source <link to the issue> --confirm, where the two titles differ only in the command group.
  2. Link the first to the issue as a sub-issue before you file the second.
  3. Read the reason comment of the second.

Expected vs Actual Behavior

  • Expected: intake does not name a sub-issue of the candidate's source issue as a possible duplicate, because the parts of one split are planned to be different changes.
  • Actual: 4 of 22 parts named a sibling.

Environment Diagnostics

main at 990e4d1.

Proposed remedy

When --source names an issue of the repository, leave its sub-issues out of the duplicate comparison, as intake already does for the source issue itself.

Acceptance criteria

  • A test files a candidate whose source issue has a sub-issue with a near-identical title, and the candidate's reason names no possible duplicate.
  • A candidate with no --source, or with a source that has no sub-issues, is compared as now.

Source: #2218

Activity

  1. added
    type/bug
    source/agent
    on Oct 25, 2026
  2. dan-petty commented on Oct 25, 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.

    • Type: type/bug. The candidate describes a bug in intake's logic for detecting duplicates.
    • Priority: P2-Medium. The issue affects the correctness of intake's duplicate detection and causes some parts to be incorrectly treated as duplicates.
    • Value: Medium. Fixing this improves intake's accuracy in handling split issues, which is important for project organization.
    • Effort: Low. The fix involves modifying intake's logic to exclude sub-issues of the source when checking for duplicates.
    • Related: fix(roadmap): intake judges a split part a duplicate of the issue that its --source names, so the part gets no issue #1985, which asks for a different change. Both items deal with intake's handling of split issues, but the candidate focuses on duplicate naming while #1985 deals with parts being skipped due to duplicate detection.
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

    source/agenttype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions