Repository navigation
Description
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:
- The candidate "refactor(ui): delete the dashboard Kubernetes and Logs tabs; k9s replaces them" was judged a duplicate of refactor(ui): audit five dashboard tabs against open tools #1885: "both ask for
delete the dashboard Kubernetes and Logs tabs". refactor(ui): audit five dashboard tabs against open tools #1885 is the audit of all five tabs, and it asks for one follow-up issue for each tab that an open tool can replace. The candidate is that follow-up. refactor(ui): audit five dashboard tabs against open tools #1885 is its umbrella, which the prompt says is not a duplicate. Nothing was filed. - The candidate "perf(review): a review starts one sandboxed Gitleaks run for each file, so 37 files spend 65 s in Gitleaks" was judged a duplicate of perf(ci): the Static Analysis job runs Bandit once #1746 ("perf(ci): the Static Analysis job runs Bandit once"): "both ask for
a review starts one sandboxed Gitleaks run for each file". That phrase is in the candidate's title and nowhere in perf(ci): the Static Analysis job runs Bandit once #1746. Nothing was filed, and the report said "add to perf(ci): the Static Analysis job runs Bandit once #1746 instead". The agent followed it and posted the evidence on the wrong issue.
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, andclose_as_duplicatein 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.jsonis 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-runlists no duplicate-close request. -
uv run devops cipasses.
regression of #1755
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 25, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate fixes a false positive in intake's duplicate detection logic.The false positives cause intake to drop valid candidates and close issues incorrectly.Fixing this improves the reliability of the roadmap intake process for all users.It requires changes to the intake logic and related tests, but not a major overhaul.