Repository navigation
Closed
Labels
Milestone
Description
Friction
Intake folds a new candidate into an issue that is already closed as completed, so a regression in shipped work can never be filed through intake. It answers "duplicate of #N … Nothing is filed; add to #N instead", but nothing reopens or tracks #N, and the defect is lost.
Evidence
- On 2026-10-18, the audit's P0 candidate "fix(k8s): tempo runs under the otel namespace's restricted pod security, so traces reach their volume" got this decision: "duplicate of feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135: The candidate fixes the same regression introduced by issue feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135, which delivered the tempo feature with a broken implementation. Nothing is filed; add to feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135 instead. Quota: fold into feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135."
- feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135 shipped tempo trace storage in v0.2.35 and closed as completed with that release. Since then the
otelnamespace's PodSecurityrestrictedadmission has rejected the tempo pod: 343 FailedCreate events over 3 days 17 hours. Trace storage has never run. - Intake's help describes the duplicate check as "among the board's items and the issues closed as not planned". Board items include Done ones, so a completed item can be chosen as the fold target (
src/devops_cli/roadmap/intake.py).
Remedy
- A closed item is never a fold target. A candidate that matches one is filed as a new issue that names it, for example "regression of feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135, shipped in v0.2.35".
- Issues closed as not planned stay valid duplicate targets, as today. The candidate is folded into that decision.
- Tests, against the in-memory store:
- a candidate matching only a Done item is filed, and its body names the Done item;
- a candidate matching an open item is folded, as today;
- a candidate matching an item closed as not planned is folded, as today.
Priority: P1. It blocks filing the P0 tempo fix through intake, and any later regression of shipped work.
Proposed design
Problem statement
Intake folds a new candidate into an issue that is already closed as completed, so a regression in shipped work can never be filed through intake. When a candidate matches a completed item, the system incorrectly treats it as a duplicate and does not create a new issue to track the regression, causing the defect to be lost.
Acceptance criteria
- Criterion 1: A candidate matching only a Done item is filed as a new issue that names the Done item in its body
Verification: Run tests against the in-memory store to verify that when a candidate matches only a closed 'Done' item, a new issue is created and its body references the Done item - Criterion 2: A candidate matching an open item is folded into that item as before
Verification: Run tests to confirm that candidates matching open items are still folded into them, maintaining current behavior - Criterion 3: A candidate matching an item closed as not planned is folded into that item as before
Verification: Run tests to confirm that candidates matching items closed as 'not planned' are still folded into them, maintaining current behavior
Key questions
- What is the current duplicate check mechanism in intake.py?: The duplicate check in intake.py compares a candidate with every item on the board, open or closed, and every issue closed as not planned, plus the candidates this run placed before it. Each text is embedded once, and the model judges the candidate against its nearest items by cosine similarity. [sources: src/devops_cli/roadmap/intake.py]
- How does intake determine whether an issue is closed as completed or not planned?: In intake.py, issues are classified by their state. An issue that has been closed and was closed as 'not planned' with no comment is considered a 'not planned' issue. An issue that has been closed but not as 'not planned' is considered completed. [sources: src/devops_cli/roadmap/intake.py]
- What should happen when a candidate matches a Done item?: A candidate matching only a Done item should be filed as a new issue that names the Done item, for example "regression of feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135, shipped in v0.2.35". (proposed) [sources: src/devops_cli/roadmap/intake.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 18, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate describes a defect in intake's behavior where it fails to properly handle regressions in shipped work.It blocks filing the P0 tempo fix through intake and any later regression of shipped work.It prevents tracking regressions in shipped features, which is critical for maintaining software quality.Requires modifying intake logic to prevent folding into closed items and adding tests, but the core change is well-defined.dan-petty commentedon Oct 18, 2026
Status set to Ready at 25e2cda (see proposed design in issue body).
dan-petty commentedon Oct 18, 2026
A second instance, 2026-10-18
The same run that filed this issue folded another candidate into a closed item:
perf(roadmap): a poll with nothing newer than the changes its last round judged sends no graphql requestwas judged a duplicate of #1401, which is closed. Intake's output: "duplicate of #1401: The candidate duplicates the criterion from #1401 which asked for a poll with no change since the last round to send no GraphQL request. Nothing is filed; add to #1401 instead. Quota: fold into #1401." The candidate's text names #1401 as delivered work whose criterion is not met, so it is the regression case this issue describes. Its body is recorded on #1533, the item it splits from.A related intake gap seen in the same run: two candidates whose titles start
perf(were skipped with "the model's proposal is not valid: type 'type/perf' is not one of ...", and the run exited 0 although nothing was filed or folded. That is drafted separately.fix(roadmap): intake never folds new candidate into closed completed …
dan-petty commentedon Oct 20, 2026
What changed
#1710, merged into
release/v0.2.37as a13bbf4.4 file(s) changed.
How it was verified
Check runs at 1dcd7b7:
Acceptance Criteria of
docs/agent/tasks/task-1671-intake-never-fold-into-closed-item.md:fix(roadmap): intake calls a candidate a duplicate only when it asks …