Skip to content

fix(roadmap): intake files and places a candidate that the model judges a duplicate, and names the possible original, instead of dropping or closing it #2218

Closed

Description

@dan-petty

Problem

Owner, 2026-10-25: intake's false-positive duplicates are a P0, to fix at once.

devops roadmap intake drops a new candidate, and closes an existing issue, when the model names an original and a shared change. Nothing checks that the original asks for that change. Two false positives on 2026-10-25:

A check in code cannot make the model's verdict right:

  • A literal check of the shared change against both texts would reject the three true duplicates in tests/fixtures/roadmap/intake-duplicate-judgements.json: each shared change is in neither text.
  • A check that each side's quote is in its own text would pass the refactor(ui): audit five dashboard tabs against open tools #1885 case: the model can quote real text from an umbrella.

Decision (owner, 2026-10-25)

Flag, never drop. Intake never drops a new candidate and never closes an issue on a model's duplicate verdict. It files and places the item as usual. The report and the reason comment name the possible original and the shared change, so that a person, or refine, closes a real duplicate.

Proposed remedy

  • A duplicate verdict on the shortlist becomes a placement with a possible duplicate: the report line and the reason comment name #<original> and the shared change, and the comment links it.
  • Delete the paths that only a duplicate close uses: Outcome.DUPLICATE, the held pairs, the duplicate comment and its marker, the check for a duplicate close that a person reopened, and close_as_duplicate in the store protocol, the GitHub and memory stores, the request plan and the dry-run request list.
  • Update the module docstring, the help text of devops roadmap intake, and the documents that say intake closes duplicates.

Existing Tool Considered

GitHub's "Mark as duplicate" stays a person's action. No open tool judges whether two issues ask for the same change.

Acceptance criteria

  • With a model answer that names an original and a shared change, a new candidate is filed and placed, and an existing issue is placed and stays open. The report and the reason comment name the possible original and the shared change.
  • Each case of intake-duplicate-judgements.json is filed and placed: the true duplicates name the possible original, and the other cases name the related item, as now.
  • No code path of intake closes an issue, and the store protocol has no close_as_duplicate.
  • devops roadmap intake --dry-run lists no duplicate-close request.
  • uv run devops ci passes.

regression of #1755

Activity

  1. added
    source/agent
    type/bug
    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 fixes a false positive in intake's duplicate detection logic.
    • Priority: P1-High. The false positives cause intake to drop valid candidates and close issues incorrectly.
    • Value: High. Fixing this improves the reliability of the roadmap intake process for all users.
    • Effort: Medium. It requires changes to the intake logic and related tests, but not a major overhaul.
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