Repository navigation
Closed
Labels
Description
Friction
- Since feat(release): release-please makes every release from main #1952, each pull request closes exactly one issue, and readiness blocks a
Part of #Nbody. So each part of a multi-part plan must become its own issue. - An agent files each part with
devops roadmap intake --title ... --body-file ... --source <the issue it splits> --confirm. - Intake often judges such a part a duplicate of the issue that it splits, and files nothing. The part then has no issue, and no pull request can close it.
Evidence
Runs on 2026-10-23 at main a752a14. Each candidate named its parent with --source:
- feat(review): review tools run through one injectable executor in a network-less sandbox with CPU, memory and time limits #772 part 2 (twice) and part 4, and feat(cli): recovery transitions for adaptive knobs coalesced decrease, valkey breaker, failback #596 part 1 were refused. Reasons that the model gave: "This candidate is part of the larger issue feat(review): review tools run through one injectable executor in a network-less sandbox with CPU, memory and time limits #772 which tracks the sandboxed tool execution for review tools." and "The candidate fixes the same adaptive knob issue described in feat(cli): recovery transitions for adaptive knobs coalesced decrease, valkey breaker, failback #596, which is a child issue of that epic."
- feat(review): review tools run through one injectable executor in a network-less sandbox with CPU, memory and time limits #772 parts 1, 3, 5 and 6 were filed in the same way (refactor(security): mypy and the review canary start their tools through a ToolExecutor #1978, test(review): scanner_fake answers the review scanners through the ToolExecutor fake, not through patched subprocess calls #1982, feat(review): the SARIF export of a review carries the ToolRun of each scan under its SARIF 2.1.0 names #1983, fix(review): the binary digest of a Python review tool names its package, not its launcher script #1984). So the result depends on how much text of the part the parent repeats.
_shortlist(src/devops_cli/roadmap/intake.py:907-922) leaves out only the candidate itself. The issue that--sourcenames stays in the shortlist.NewCandidate.sourceonly adds a link to the filed body (filed_body,intake.py:187-189). No code reads it for the duplicate check.- The help text of
--sourcesays: "Link the new candidate came from, such as the item it splits" (src/devops_cli/lang/en/help.py:1058-1061). - The prompt
src/devops_cli/ai/tasks/roadmap_intake_system.mddefines a duplicate as an item "that asks for the same change as the candidate". It has no rule for a part of a larger item.
Existing tool considered
- GitHub sub-issues (
POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues) record the relation of a part to its parent. Intake can keep the duplicate check and leave the parent to that relation.
Proposed remedy
- Leave the issue that
--sourcenames out of the duplicate shortlist of a new candidate. - Add one line to the intake prompt: a part split from a larger item is not a duplicate of that item.
- Optionally, after intake files a candidate whose
--sourcenames an issue of the same repository, add the filed issue as a sub-issue of that issue.
Acceptance criteria
- A new candidate whose
--sourcenames an issue of the repository is never judged a duplicate of that issue. A test over the in-memory store and a fake model asserts it. - A new candidate that repeats another item, not its source, is still judged a duplicate.
- Tests run offline.
uv run devops cipasses.
regression of #1686
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 23, 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 bug in the intake process where parts are incorrectly judged as duplicates.This affects how intake handles multi-part issues and prevents pull requests from closing issues properly.Fixing this improves automation and reduces manual work for agents handling roadmap items.Changes involve modifying intake logic and adding new rules for duplicate checking, but do not require major rewrites.fix(roadmap): intake judges a split part a duplicate of the issue tha…