Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
effort/highEffort High: much work, in one pull requestpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/featureType feature: a new functionvalue/highValue High: the delivery of the item matters much
Description
What happened
When a step stops, the job discards the work of that step ("The job discarded this work"), sets the item status/blocked, and waits for a person or a new image. That wastes finished work and hides how far the run got:
- refactor(cli): the five functions and properties that nothing calls and that #1910 does not list leave src #2175, first attempt: all five deletions were done. The step stopped on the agent's scratch file, and the work was discarded. A second Job did the same work again (138 model requests, 2.8 million input tokens).
- fix(devcontainer): add local-path addon to minikube start #2570: one pinned test was removed. The rest of the change was right. The item stopped at group 1.
- fix(k8s): key claim table by chart version #2519: the rebase onto
origin/mainhit a conflict at the last step. The draft pull request fix(k8s): the claim table of the local-path placement test names... #3020 stays in a half state: tasks ticked,CHART_CLAIMSemptied, 4 tests red. - fix(argo): show repo for multi-source Argo apps #2579: the draft pull request fix(argo): devops argo cd apps list shows no repository for an... #3078 holds a correct fix and real fail-to-pass tests. One new test file is in the wrong folder, so a required check is red. The Service leaves it as a draft.
- fix(ai): Guard urlsplit in cost report for unparseable backend #2462 and fix(ai): LLMClient.chat takes temperature, top_p and seed and sends none of them #2559: an Ollama XML parse error ended the step after the agent had read the files and planned the change.
The job has no notion of a partial implementation. A run either ends in a ready pull request or in a blocked item, and nothing in between is kept, classified or continued.
What should happen
- Keep. After each green sub-step (a group, or a verified part of a group) the job commits and pushes the work to the item branch (a
wipcommit; the squash merge removes the history). A stop never discards pushed work. A draft pull request exists as soon as there is something pushed, and it says in one line that it is partial. - Identify. At a stop, and in each round for an item with a branch or a draft, the job classifies the state from facts it can read:
no_progress,groups_partial(groups 1..k done, group k+1 failed),checks_failing(all groups done, a check is red),review_findings(a review comment, such as an advisory finding or a failed required check, names defects),conflict(the branch does not merge),plan_defect,premise_false. The class is written to the job record (implement.partial: class, groups done, the failing command and a digest of its output, the attempts so far, the next action) and shown bydevops roadmap explainandinbox. - Continue. The next round resumes from the branch: it checks out the pushed work, builds the step message from the plan, the ticked tasks, the diff so far, the failing output and the notes of the earlier attempts, and runs a repair step for the class (fix the lint, restore the removed test, resolve the conflict, move the test file, finish the next group). Attempt 2 uses the next model tier (feat(roadmap): a model ladder for retries, with the tier chosen per attempt #3060). Attempt 3 splits the remaining group. These bounds are settings.
- Block last.
status/blockedis set only when the attempts are used up, the class needs a person (premise_false, a decision of the owner), or the item fails on the same class on the same image twice. The comment then says what is kept, where, what was tried and what a person can do. A person'simplement: retrycontinues from the kept work and does not start again. - Never ready by itself. A partial draft is marked ready only when every group is done, every check is green and the diff review (feat(roadmap): Run
devops reviewon the diff before marking PR ready #3049) has no open high finding. Until then it stays a draft with thepartialline.
Acceptance criteria
- A replay of the refactor(cli): the five functions and properties that nothing calls and that #1910 does not list leave src #2175 first attempt (stray file) ends with the five deletions kept on the branch, the next round finishing the checks, and a ready pull request, with no second full run.
- A replay with a removed pinned test restores and edits the test in a repair step.
- A replay of fix(k8s): the claim table of the local-path placement test names... #3020 (
checks_failing) and fix(argo): devops argo cd apps list shows no repository for an... #3078 (checks_failing, test in the wrong folder) is classified, repaired in a bounded number of rounds, or stops with the state recorded. - A replay with a rebase conflict resolves it in a repair step or records
conflictwith the files. - A stop with an exhausted budget leaves the work on the branch, the item blocked, and a comment that lists the kept work and the next action.
-
devops roadmap explain <issue>anddevops roadmap inboxshow the class, the attempts and the next action of a partial item. - A metric counts partials by class and by outcome (continued, finished, blocked).
- The Service never merges, and never marks a partial draft ready.
Related: #3027 (tracker), #3053 (repair rounds), #3054 (keep work and resume), #3065 (failure classes), #3060 (model ladder), #3049 (diff review), #3043 (scoped CI), #3032 (run trace).
Proposed design
Problem statement
placeholder2
Acceptance criteria
Existing Tool Considered
placeholder2
Key questions
None.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
effort/highEffort High: much work, in one pull requestpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/featureType feature: a new functionvalue/highValue High: the delivery of the item matters much
Activity
dan-petty commentedon Nov 1, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.Multiple cited incidents show repeated waste of 2.8 million input tokens and full reruns; the fix stops that recurring loss.It saves model tokens and developer time on every stopped step by preserving and resuming partial work.It requires classification logic, repair step orchestration, model tier escalation, draft PR management, and integration with explain and inbox commands.Both keep work from a stopped step and resume it, but the candidate adds seven-class state classification, bounded repair rounds, model tier escalation, and a never-ready-by-itself gate.devops-cli-service commentedon Nov 1, 2026
The proposal at aad0115 needs splitting into 6 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.
feat(roadmap): classify a failure and name its class in the stop (#3195)
dan-petty commentedon Nov 4, 2026
This item cannot be built as written. It needs two open items first, and it is too large for one pull request.
Evidence (checked on origin/main at 4485be2):
devops reviewon the diff before marking PR ready #3049 (diff review, open).implement_run.pypushes once (_push,_push_with_lease).implement_step.pydiscards the checkout of a stopped step. It keeps only the discarded diff in the stop comment (_read_discarded_diff). The only repair is the fix rounds inroadmap.implement.repair_rounds.groups_partialandchecks_failingneed a kept branch (feat(roadmap): a stopped step keeps its work and the next attempt resumes from it #3054) to read. A repair step for each class needs the round loop of feat(roadmap): every step repairs before it gives up, in bounded rounds #3053. If this item built them first, it would build both items in a second way.Next step: do #3054 and #3053, then split what remains (the
implement.partialrecord, the block rule, the readiness gate, explain and inbox, the metric) into items of one pull request each.devops-cli-service commentedon Nov 5, 2026
Refine cannot set this item to Ready at c9a6182 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 5, 2026
Refine cannot set this item to Ready at 502219a until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 5, 2026
Answer from project standards, under the owner's instruction of 2026-11-05.
Question. The refine comments of 2026-11-05 ask a person for a problem statement, requirements and an existing-tool answer. Must a person answer them before this item can go on?
Answer. No. The refine block of this item holds
placeholder2from a model, so the comments report a validator failure and not a real question. This item closes as not planned, because merged code and smaller issues now hold each criterion. AGENTS.md rule 2 says to close an item that newer issues or code changes supersede. The comment of 2026-11-04 gives the same path: it says to do #3054 and #3053, then split what remains into items of one pull request each.Map of the acceptance criteria, checked on
origin/mainat cfcbd3d:test_a_second_job_does_only_the_remaining_tasks_and_folds_the_kept_work,test_a_failed_static_check_after_the_last_tick_keeps_the_ticked_work,test_a_stray_file_stays_out_of_the_wip_commitconflictwith the filesconflict(#3195). The stop does not name the fileslimit_reachedand actionraise_limit, #3560 for the kept noteexplainandinboxshow class, attempts, next actionexplain --traceshows attempts (#3580)devops_cli_service_implement_failures_totalcounts stops by class (#3195)draft_readiness(#3337, #2916) refuses an unticked group. A search ofsrc/devops_clifinds no call that merges a pull requestLimits of this map.
tests/roadmapreplays fix(k8s): the claim table of the local-path placement test names... #3020, fix(argo): devops argo cd apps list shows no repository for an... #3078 or fix(devcontainer): add local-path addon to minikube start #2570 by number.Other parts of the body.
implement.partialis not built.implement.failure,implement.wip,implement.check,implement.check_logand the trace hold its values.groups_partialandchecks_failingare not built. The classes offailure.pyreplace them.implement: retrycontinues from the kept work (feat(roadmap): a stopped step keeps its work and a new Job resumes #3560).