Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Part of #5164 (child 2).
Problem or Motivation
Two defects make the job result lines wrong on 2026-11-12 (Loki, about 4.4 hours of lines):
- Intake. 29 lines are
job=intake result=skipped success=false class=head_moved. Each is a different new issue (for example refactor: delete the dead code that #1910 kept #5148 and fix(roadmap): stage returns every open review finding to the planner #5059), and each holds its intake labels: another writer placed it between the plan and the write.apply_intake(roadmap/intake/intake.py) says that this case "is no failure, the next plan decides the candidate again", but_count_candidatelogs it as a failure. Intake shows 37 of 66 (0.56) as logged, and 37 of 37 (1.00) without these lines. - Stage.
job=stage item=#1928 result=staged plan_calls=0 gate_returns=0 verify_rounds=1 tokens=2135503. A staged plan needs at least one plan call.StageAttemptsays that a plan from a client with no trace counts no run.
Proposed Solution & Architectural Design
- Intake: a candidate that another writer changed (
RoadmapItemChangedError) writes no result line. This is the rule thatjob-success.mdalready gives for an alternatives check whose body a person changed. Keep the candidate counterdevops_cli_roadmap_intake_candidates_totalas it is. - Stage: count the plan calls of an attempt from the model calls that the attempt made, not from the trace. If no count is possible, write the line with no
plan_callscount, not 0. - Update the list "Some attempts write no line" in
docs/roadmap/job-success.md.
Target Subsystem
SDLC, Git & PR Governance (src/devops_cli/roadmap/intake/intake.py, src/devops_cli/roadmap/stage/stage.py).
Existing Tool Considered
None applies: the defects are in the writer of the line. Cost: about 150,000 tokens, 3 hours elapsed.
Acceptance Criteria
- A test with a candidate that raises
RoadmapItemChangedErrorfinds no result line and fails onmain(devops ci fail-to-pass). - A test with a staged item that a client with no trace planned finds
plan_calls1 or more, or noplan_callsfield. - After the deploy, Loki has 0 intake lines with
class=head_movedin 24 hours.
Dependencies
Owner decision 2026-11-13
The approved pipeline split (tracker #5482, Phase 5) puts this item in the intake job. Its scope does not change.
- Live proof: after the merge and the release, intake runs as the App on the new issues of 7 days. A comment gives the result lines with the plan call count and each candidate that intake left out.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 12, 2026
Both handle RoadmapItemChangedError in intake, but #4042 fixes the round failure and suspension count while the candidate fixes the per-candidate result line and counter output.dan-petty commentedon Nov 13, 2026
New data, 2026-11-13 17:45Z, from
devops roadmap eval grades --window 24h:head_moved(60 lines).head_moved17.devops roadmap intakefrom an agent session, for example feat(k8s): measure runsc against runc for RuntimeClass gvisor #5434, feat(ai): send one run id to the gateway for each agent run #5437, fix(cli): print the Elapsed line only when stderr is a terminal #5448, fix(infra): the apply gate leaves out alerts of offline nodes #5455 and fix(roadmap): the review prompt gives the repair rounds of the setting #5491. The command places the issue itself, so the Service plan finds a changed item.The grade asks the owner to look for alternatives to intake, but intake works. This defect makes the policy grade wrong. It is next in the builder queue.
devops-cli-service commentedon Nov 13, 2026
Released in v0.132.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.132.0
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 20:55 UTC
dan-petty commentedon Nov 13, 2026
Live proof after release 0.132.0 (#5540)
class=head_movedafter 20:36:15Z. The last one was fix(k8s): the Job policy resources rule passes CEL type checks #5548 on 0.131.0.devops roadmap intake. Before the fix, each of these got ahead_movedfailure line. Now, feat(service): each roadmap job runs in its own lane #5553 and fix(roadmap): eval grades counts the result lines of Job pods #5556 write no result line, which is correct because another writer placed them, and feat(service): webhook events wake the lanes of their jobs #5555 writesresult=placed success=true.head_movedlines. They leave theeval gradeswindow by 2026-11-14 20:36Z. After that, intake shows its real rate.