Repository navigation
Description
Problem or Motivation
The roadmap Service runs most roadmap jobs as rows in one pod, and each row decides in its own way what is due. Measured faults:
- Since 2026-11-07, 53 of 71 Service restarts stopped a running stage round. Stage staged 5 of 15 attempts. 5 of 9 stage failures were
plan_defect. - No rule limits the Secret keys and the token permissions of a roadmap Job to the needs of its job.
- Pods outside the Service are not in the GitHub self-cap of 4,000 requests an hour (measured peak 3,255).
- Two paths can act on one plan head. Implement can continue on a plan branch while
stage_readymarks the plan PR ready. - 28 bot items wait for a person for a median of 6 days.
- No measure shows the end-to-end result. At 90 % for each hop, 8 hops give 43 %.
The owner approved the pipeline split design on 2026-11-13: "proceed as recommended with the service jobs refactor". The approval covers the recommended answer of each decision D1 to D10 and the phase order 0 to 7.
Proposed Solution & Architectural Design
The roadmap work becomes 24 jobs. Each job has one purpose, one due predicate and one result line. One pure function, due_jobs(subject), reads the labels, the record block, the PR facts and the unit list. It is the only source of what is due. No job writes a due mark. Argo Workflows stays the one engine (ADR 0008, ADR 0021). GitHub stays the source of truth, and Valkey holds only copies. Only the router and the sweep create units. No unit creates another unit.
Decisions (approved 2026-11-13)
- D1 Scaffold: a step module with its own command and result line. It runs first in the stage unit (kind
plan) and in the tests unit (kinddelivery). It makes no placeholder commit. A trial arm uses thetrialfield of feat(roadmap): trial a model tier on a share of a job's attempts #5177. - D2 Branch suffix: no
-nsuffix now. A two-branch check (metric and alert) runs. Parallel work goes to split sub-issues with one PR each. Owner, 2026-11-13: the suffix is for a later Service job function that runs more than one instance of one job at the same time, and then a judge compares the results and compiles one refined result. The settingroadmap.<job>.candidatesis 1 for all jobs by default, and with 1 candidate the branch has no suffix. With N above 1, the job runs N candidates on the branches<branch>-1to<branch>-N, and a judge compares them and writes one refined result on the plain branch. Cleanup deletes the candidate branches after the judge (feat(roadmap): a job can run candidates and a judge #5533). - D3 Staged rule: one rule for each item by the effort pass: continue on the plan branch, or wait for G1. Never both on one head.
- D4 Labels: no new label. "Waits for a person" and "possible duplicate" stay derived in
devops roadmap inbox. Remove the labels that nothing writes. - D5 Record: keep the hidden block in the issue body, with one writer, the
updated_atcheck and the outside-text compare. Move it to an App comment only if the lost-edit counter is above 0 after Phase 3. - D6 Tests job: it can push failing tests behind a tests gate, only after E3 shows equal or better implement success. Until then, test-first stays inside each implement step.
- D7 Watch and review: draft only on deterministic verdicts, only for bot PRs, at most 3 cycles for each PR. Review posts a COMMENT review, writes
review.verdictand never approves. - D8 App settings: subscribe to
pull_request,pull_request_review,check_suiteandissue_comment. Defer new permissions (O2). - D9 Spend:
fix_planon after fix(roadmap): a later plan review judges each earlier finding #5409 to fix(roadmap): only blocker and major review findings block a plan #5411. Fix-conflict tier 1 on at once. Tier 2 and fix-checks after 1 week in modeplan. The E1 budget comes from the A/A pass. The research caps come after the Phase 0 cost and an E5 lift. - D10 P0 resources: extra resources only for incident classes, under a daily cap. A P0 from inheritance gets order only. No PriorityClass.
Delivery rule
- Live proof. Each job issue has a live-proof criterion. After the merge and the release, the job runs as the App (
devops-cli-service[bot]) in the cluster against real issues, branches and PRs: the open and recently closed bot PRs, or a named live item. A comment on the issue or the PR gives the result lines. - Split and refine, do not retry. When a build or a live job keeps failing, divide it into smaller sub-issues and refine them. "Keeps failing" means two failed build attempts, or a job under band 70 after its phase.
- Worst first. Work the worst-failing job first. After each phase, rank the open children again from the shepherd data: the job grades and the funnel.
- One issue, one PR. Never stack PRs. Each job starts in mode
plan, and a person setson. - Check-out (owner, 2026-11-13). Each job checks its item out before work (the job, the unit name, the start and the deadline) and checks it in at its end write, with the result. The poll frees the check-out of a missing, failed or late unit, records the class and makes the next job due (feat(roadmap): the poll frees the check-out of a gone job #5524).
Ordered child list
Each line gives the item and the items to merge first. Phases 2 and 5 run in parallel with other phases, as stated.
Phase 0: fix the measured plan faults and build the measure base (1 to 1.5 weeks).
- fix(roadmap): a later plan review judges each earlier finding #5409 a later plan review judges each earlier finding (PR fix(roadmap): a later plan review judges each earlier finding #5423, live in v0.129.1).
- feat(roadmap): run the plan checks before the stage push #4725 the plan checks run before the stage push (PR feat(roadmap): run the plan checks before the stage push #5416).
- fix(roadmap): a review finding must name a part of the plan to block it #5410 a finding must name a part of the plan to block it (PR fix(roadmap): a review finding must name a part of the plan #5418).
- fix(roadmap): the stage gate log names each refused claim #5433 the stage gate log names each refused claim (PR fix(roadmap): the stage gate log names each refused finding #5441).
- fix(roadmap): a named fix-plan run can skip the 6-hour wait #5413 a named fix-plan run skips the wait (PR fix(roadmap): a named fix-plan run can skip the 6-hour wait #5459).
- fix(roadmap): only blocker and major review findings block a plan #5411 only blocker and major findings block a plan.
- fix(roadmap): read the pod status to find an out-of-memory kill #3727 the pod status gives the class of a killed attempt:
oom,evictedordeadline. - fix(roadmap): an evicted fix-plan attempt does not count against its head #5493 an evicted fix-plan attempt does not count against its head. After fix(roadmap): read the pod status to find an out-of-memory kill #3727.
- fix(roadmap): the fix_plan row judges and logs each plan it leaves out #5414 the
fix_planrow logs each plan that it leaves out. - fix(roadmap): repair a job record mark that a parallel write lost #4555 the read-back repair of job records, with the
updated_atcheck and the lost-edit counter. - fix(roadmap): a Job pod and a local run log the job result line #5169 a Job pod and a local run log the result line.
- feat(roadmap): result lines state first-pass, model calls and cost #5168 every result line states
tokensandcost_usd_micros. After fix(roadmap): a Job pod and a local run log the job result line #5169. - fix(monitoring): read AI spend from the gateway counter #4724 the spend coverage stat (the spend counter against the gateway).
- feat(roadmap): label Service Jobs by repository and item #4558 Jobs carry the repository and item labels.
- feat(roadmap): eval funnel reports each item cohort by step #5494 the funnel for each item cohort. After feat(roadmap): result lines state first-pass, model calls and cost #5168, fix(roadmap): a Job pod and a local run log the job result line #5169.
- feat(roadmap): the phase of each item drives the stuck-item alert #5495 the phase of each item, and the stuck-item alert as a stall rule. After feat(roadmap): label Service Jobs by repository and item #4558.
- Owner step (D9): set
roadmap.fix_plan.modetoonafter fix(roadmap): only blocker and major review findings block a plan #5411 merges.
Exit check: devops roadmap eval stage on the 51 commit cases shows no regression on the gated defect types. Every result line carries tokens and cost_usd_micros. For 7 days, the spend counter agrees with the gateway within 10 %. The funnel shows the base, with n and the interval. The 14-day live check runs in parallel and does not hold Phase 1: no finding repeats across the review rounds of one plan, and plan_defect is under 50 % of stage failures.
Phase 1: stage in its own Job (4 to 6 days). #5483, #4559 and E1 start when #5411 merges, because they change the same stage files. #4957, #5020, #5026, #5497 and #5498 can start now.
- fix(roadmap): the final push of the implement Job can miss the latest main #4957 the push module: every push holds the latest
main. - refactor(roadmap): one open step for every pull request #5020 the open module, with the open recovery sweep step. After fix(roadmap): the final push of the implement Job can miss the latest main #4957.
- refactor(roadmap): run the stage cleanup in the status lane #5026 cleanup in the status lane, with the two-branch check. After fix(roadmap): the final push of the implement Job can miss the latest main #4957.
- feat(service): give each roadmap pod an hourly request budget #5497 an hourly GitHub request budget for each pod.
- feat(roadmap): each roadmap Job gets its keys and a scoped token #5498 a key list and a scoped access token for each Job.
- feat(roadmap): the poll frees the check-out of a gone job #5524 the check-out of each job; the poll frees the check-out of a missing, failed or late unit. It can start now.
- feat(roadmap): scaffold makes, resumes or adopts the item branch #5499 scaffold makes, resumes or adopts the item branch. After fix(roadmap): the final push of the implement Job can miss the latest main #4957, refactor(roadmap): one open step for every pull request #5020, refactor(roadmap): run the stage cleanup in the status lane #5026.
- feat(roadmap): result lines state attempt, class, pipeline and unit #5500 result lines state attempt, class, pipeline and unit. After feat(roadmap): result lines state first-pass, model calls and cost #5168, fix(roadmap): read the pod status to find an out-of-memory kill #3727, fix(roadmap): an evicted fix-plan attempt does not count against its head #5493.
- feat(roadmap): add the stage Job template and one-item entry point #5483 part 1 of feat(roadmap): run each stage item in its own Job #4559: the stage Job template, the one-item entry point, the stage key list and the stage request budget. After fix(roadmap): only blocker and major review findings block a plan #5411.
- feat(roadmap): run each stage item in its own Job #4559 part 2: a status-lane row submits one stage Job for each Ready item, and the in-pod stage path goes. After feat(roadmap): add the stage Job template and one-item entry point #5483.
- feat(roadmap): eval stage compares planner input with guide text #5501 E1, offline, A/A pass first. After fix(roadmap): only blocker and major review findings block a plan #5411.
Exit check: for 7 days, 0 stage attempts stopped by a Service restart. At least one killed attempt resumes from its branch with no new planner call. Every request of the stage Job counts in a request budget. Outside the rollout windows, the hop from Ready to a stage Job is one status-lane interval or less. The funnel step Ready to plan PR open is not below the Phase 0 base (n, the Wilson interval, the smallest change that can show). 0 issues with two branches on origin.
Phase 2: record the pipeline (about 1 day plus the owner review), in parallel with Phase 1.
- docs(adr): record the roadmap job split and the due_jobs rule #5502 the record that amends ADR 0021, the ADR 0022 note and the links of docs(adr): link the naming record ADR 0022 and the move record ADR 0021 #4617 (folded). After docs(adr): Valkey keys are coordination keys or cache keys #5245, docs(adr): job limits are settings with a soft cap and a hard ceiling #5246. The owner merges it.
- docs(adr): one roadmap-state record supersedes ADR 0001 and ADR 0016 #5235 the roadmap-state record, with the D4 label rule.
- chore(github): delete the labels that nothing writes #5503 the label sync deletes the labels that nothing writes.
- feat(roadmap): one due_jobs function names the due jobs of an item #5504
due_jobs, the pipeline table indocs/ROADMAP_WORKFLOW.mdand the property test. After feat(roadmap): the phase of each item drives the stuck-item alert #5495, docs(adr): record the roadmap job split and the due_jobs rule #5502.
Exit check: the owner merges the ADR PR. Each new job has an issue with its due predicate, its result line, its intended result, its permission row and mode plan.
Phase 3: the PR jobs of #5014 (2 to 3 weeks). #5014 owns these items and their order.
- refactor(github): one pull request verdict for all monitors #5021 one PR verdict for all monitors. After fix(roadmap): the final push of the implement Job can miss the latest main #4957.
- feat(roadmap): one watch row for plan and delivery PRs #5024 one watch row, with
due_jobsin place of due marks. After refactor(github): one pull request verdict for all monitors #5021, feat(roadmap): one due_jobs function names the due jobs of an item #5504. - feat(roadmap): the draft route and one Staged rule for watch #5505 the draft route, the Staged rule and the
[skip ci]rule. After feat(roadmap): one watch row for plan and delivery PRs #5024, refactor(roadmap): one open step for every pull request #5020, feat(roadmap): one due_jobs function names the due jobs of an item #5504. It replaces fix(roadmap): implement must not take unmerged stage plan PR #4078. - feat(roadmap): PR, review and check events start a scoped sweep #4413 PR, review and check events start a scoped sweep. After feat(roadmap): one watch row for plan and delivery PRs #5024. Owner step D8.
- feat(roadmap): handle trusted issue_comment webhook replies #4415 trusted
issue_commentreplies. Owner step D8. - fix(cloudflare): find the edge rule that answers 403 for the webhook route #5035 the edge rule that answers 403 for the webhook route. Owner step O3.
- feat(roadmap): a fix-conflict step settles merge conflicts #5019 the fix-conflict step, tier 1 first. After fix(roadmap): the final push of the implement Job can miss the latest main #4957, fix(roadmap): implement runs the commit hooks on docs and archive #4781.
- feat(roadmap): a fix-checks step fixes a failed check #5023 the fix-checks step. After fix(roadmap): the final push of the implement Job can miss the latest main #4957, refactor(github): one pull request verdict for all monitors #5021.
- feat(roadmap): the watch row starts fix-checks Jobs #5027 fix-checks Jobs (it builds the Job launcher). After feat(roadmap): one watch row for plan and delivery PRs #5024, feat(roadmap): a fix-checks step fixes a failed check #5023, feat(roadmap): label Service Jobs by repository and item #4558.
- feat(roadmap): the watch row starts fix-conflict Jobs #5028 fix-conflict Jobs. After feat(roadmap): the watch row starts fix-checks Jobs #5027, feat(roadmap): a fix-conflict step settles merge conflicts #5019.
- feat(roadmap): the watch row starts fix-plan Jobs #5412 fix-plan Jobs. After feat(roadmap): one watch row for plan and delivery PRs #5024, feat(roadmap): the watch row starts fix-checks Jobs #5027.
- feat(roadmap): the implement Job opens its PR at the end #4713 the implement Job opens its PR at its end through
steps/open.py. After refactor(roadmap): one open step for every pull request #5020. - refactor(roadmap): the implement Job ends at its draft #5029 the implement Job ends at its checked branch. After feat(roadmap): the watch row starts fix-checks Jobs #5027, feat(roadmap): the watch row starts fix-conflict Jobs #5028, feat(roadmap): the implement Job opens its PR at the end #4713.
Exit check: the runner Job opens no PR and runs no watch. The rows stage_ready and pr_conflicts are deleted. Outside the rollout windows, a watch verdict comes within one status-lane interval plus 10 min after a check result. 0 ready bot PRs have a failed required check for over 15 min. fix_plan has result lines each week. In mode plan, fix-conflict tier 1 would fix 70 % or more of the conflicts. 0 red CI runs on unchecked App heads. The due_jobs property test passes on the fixtures of each producer write.
Phase 4: shared state and the engine, in the step order of ADR 0021 (3 to 4 weeks).
- feat(service): share the GitHub budget and holds in Valkey #4563 the shared GitHub budget in Valkey. It replaces feat(service): give each roadmap pod an hourly request budget #5497.
- feat(roadmap): keep plan records and record locks in Valkey #4564 record locks in Valkey (D5). After fix(roadmap): repair a job record mark that a parallel write lost #4555, feat(service): share the GitHub budget and holds in Valkey #4563.
- feat(roadmap): keep schedules, intake and ledgers in Valkey #4565 schedules, intake and ledgers in Valkey, with no due key. After feat(service): share the GitHub budget and holds in Valkey #4563.
- feat(k8s): let Argo Workflows run roadmap pods in devops #4566 Argo Workflows in
devops, with a live test of the item mutex. After feat(roadmap): label Service Jobs by repository and item #4558, feat(roadmap): run each stage item in its own Job #4559. - feat(roadmap): run intake and scoped intake in their own pods #4567 the triage unit. After feat(roadmap): keep schedules, intake and ledgers in Valkey #4565, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
- feat(roadmap): run each refine item in its own pod #4568 refine in its own pod, with no due stamp. After feat(roadmap): keep plan records and record locks in Valkey #4564, feat(roadmap): keep schedules, intake and ledgers in Valkey #4565, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
- feat(roadmap): run each alternatives check in its own pod #4573 research step 1 (alternatives) in its own pod, semaphore
research. After feat(k8s): let Argo Workflows run roadmap pods in devops #4566. - feat(roadmap): Run implement as Argo Workflow with per-group resubmit #3105 implement as a Workflow. After refactor(roadmap): the implement Job ends at its draft #5029, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
- feat(roadmap): run the reconcile sweep on a cluster schedule #4574 the sweep CronWorkflow runs
due_jobs. After feat(roadmap): keep schedules, intake and ledgers in Valkey #4565, feat(roadmap): run intake and scoped intake in their own pods #4567, feat(roadmap): run each refine item in its own pod #4568, feat(roadmap): run each alternatives check in its own pod #4573, feat(roadmap): one due_jobs function names the due jobs of an item #5504. - feat(service): make the webhook router stateless #4575 the stateless router. After feat(roadmap): run the reconcile sweep on a cluster schedule #4574.
- feat(service): redeliver webhook deliveries that failed #4560 redelivery of failed webhook deliveries.
- feat(roadmap): the model container of a unit holds no credential #5506 the model container of the alternatives unit holds no key. After feat(k8s): let Argo Workflows run roadmap pods in devops #4566, feat(roadmap): run each alternatives check in its own pod #4573, feat(roadmap): add the three-container runner Job, policy and log reads #3700, feat(roadmap): a loopback gateway broker in the job process #3820, feat(roadmap): each roadmap Job gets its keys and a scoped token #5498. Owner step O4.
Exit check: the Service pod runs only the router. The sweep creates every unit, and a repeated create gets 409. A router restart stops 0 units. The latency checks of Phases 1 and 3 pass with no rollout exclusion. The template test fails when an agent template holds a key in its model container. The sweep frees a stuck claim within the deadline plus 5 min.
Phase 5: intake and triage, deterministic steps first (2 weeks). Start after Phase 2, in parallel with Phases 3 and 4.
- fix(roadmap): retitle keeps a person's unlisted-type title #4620 retitle keeps the title of a person with a type that is not listed.
- feat(roadmap): retitle rules run as a sweep step with no model #5507 the retitle rules as a sweep step; the summary rewrite moves to intake. After feat(roadmap): one due_jobs function names the due jobs of an item #5504, feat(roadmap): result lines state first-pass, model calls and cost #5168, fix(roadmap): retitle keeps a person's unlisted-type title #4620.
- fix(roadmap): leave out changed intake candidates and count plan calls #5166 intake leaves out changed candidates and counts plan calls.
- feat(roadmap): the triage unit judges the premise of a new item #5508 the premise step, rules first, Jev in shadow. After feat(roadmap): one due_jobs function names the due jobs of an item #5504.
- fix(roadmap): return unbuildable premise items during stage #4131 every return writer calls
apply_return; the stage premise probe becomes a guard. - feat(roadmap): Emit inbox gauges, add panel, show digest line #2968 the inflow, outflow and age of each person cause, with a daily cap.
- feat(roadmap): consolidate shortlists find bot families by fingerprint #4812 consolidate shortlists find bot families by fingerprint.
- feat(roadmap): the group row links a family and closes on a re-check #4813 the group row. After feat(roadmap): consolidate shortlists find bot families by fingerprint #4812.
- feat(roadmap): intake flags an item that a merged PR already fixed #5509 the fixed-before search and the 7-day hold. After feat(roadmap): the group row links a family and closes on a re-check #4813.
- feat(roadmap): split thresholds come from measured job history #4817 split thresholds from job history.
- feat(roadmap): the split row files the parts of a stalled item #4819 the split row. After feat(roadmap): split thresholds come from measured job history #4817.
- feat(k8s): run the group and split rows on schedules #4821 the group and split schedules. After feat(roadmap): the group row links a family and closes on a re-check #4813, feat(roadmap): the split row files the parts of a stalled item #4819, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
- feat(roadmap): a blocker inherits the priority of what it blocks #5510 blocker priority inheritance and the P0 inflow metric. After feat(roadmap): one due_jobs function names the due jobs of an item #5504.
- feat(roadmap): add incident and supervise jobs that read the SLOs #5477 the incident job, and the supervise job that holds work on a spent SLO budget (from the SRE specification docs(sre): add the SRE service spec #5445).
- feat(roadmap): supervise gives an incident P0 item extra resources #5511 an incident P0 item gets extra resources under a daily cap (last). After feat(roadmap): add incident and supervise jobs that read the SLOs #5477, feat(roadmap): a blocker inherits the priority of what it blocks #5510, feat(k8s): let Argo Workflows run roadmap pods in devops #4566, feat(roadmap): make the attempt limits of the failing jobs settings #5440.
Exit check: premise runs 30 cases in shadow before mode on. 0 closes of items that a person filed, and 0 false closes by group. The person-cause inflow stays under its daily cap. A drill alert makes a P0 item in 10 min or less. The masking test passes. Pods a day stay within the ADR 0021 budget of 1,000 to 1,200.
Phase 6: one just-in-time research unit and resolve (2 weeks). Start only when the stage and implement funnel steps reach band 70, and after #5506.
- feat(roadmap): eval stage leaves out one research section #5512 E5, first. After feat(roadmap): eval stage compares planner input with guide text #5501.
- feat(roadmap): link reference implementations in each checked item #4672 references, extended to official documentation, with a domain allowlist.
- feat(roadmap): one research unit runs its steps just in time #5513 the research unit and the refine barrier. After feat(roadmap): run each alternatives check in its own pod #4573, feat(roadmap): link reference implementations in each checked item #4672, feat(roadmap): eval stage leaves out one research section #5512, feat(roadmap): the model container of a unit holds no credential #5506, feat(roadmap): one due_jobs function names the due jobs of an item #5504.
- feat(roadmap): research checks project standards and suggests changes #5514 the standards and suggestions steps. After feat(roadmap): one research unit runs its steps just in time #5513.
- feat(roadmap): the question resolver finds and classes open questions #4805 the resolver finds and classes open questions.
- feat(roadmap): the question resolver answers with verified sources #4808 the resolver answers with verified sources. After feat(roadmap): the question resolver finds and classes open questions #4805.
- feat(roadmap): refine reads the answers of the question resolver #4806 refine reads the resolver answers. After feat(roadmap): the question resolver answers with verified sources #4808.
- feat(roadmap): an agent that needs a decision asks on the issue and waits #3077 one question record for refine and implement.
- feat(k8s): run the question resolver on a schedule #4809 the resolver schedule. After feat(roadmap): an agent that needs a decision asks on the issue and waits #3077, feat(roadmap): the question resolver finds and classes open questions #4805, feat(roadmap): the question resolver answers with verified sources #4808, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
- feat(roadmap): refine looks again when a related item merges #5515 refine looks again when a related item merges. After feat(roadmap): one watch row for plan and delivery PRs #5024, feat(roadmap): one due_jobs function names the due jobs of an item #5504.
- feat(roadmap): the alternatives check reads the brain digest #4682 and feat(roadmap): keep alternatives results in a brain index #4676 the alternatives brain digest and index.
Exit check: E5 shows a lift for each step that leaves mode plan. The tokens for each item, from New to staged, stay under the owner cap. Content writes stay under 80 a minute and 500 an hour. Refine runs 2 times or fewer for each research result set. Each job gets a grade at 30 attempts.
Phase 7: tests, scaffold of kind delivery, and review (3 weeks).
- test(roadmap): add 26 cases to the implement golden set #5516 40 or more implement fixtures (14 today).
- feat(roadmap): new tests of an implementation are checked for strength #3051 the test strength check, used by E3 and the tests unit.
- feat(roadmap): eval implement compares a separate tests pass #5517 E3. After test(roadmap): add 26 cases to the implement golden set #5516, feat(roadmap): new tests of an implementation are checked for strength #3051.
- feat(roadmap): scaffold makes the delivery branch and its stubs #5518 scaffold of kind
deliveryand the stubs. After feat(roadmap): scaffold makes, resumes or adopts the item branch #5499. - feat(roadmap): eval implement compares stubs with header comments #5519 E2. After test(roadmap): add 26 cases to the implement golden set #5516, feat(roadmap): scaffold makes the delivery branch and its stubs #5518.
- feat(roadmap): a tests unit pushes failing tests behind a gate #5520 the tests unit and its gate (D6). After feat(roadmap): eval implement compares a separate tests pass #5517, feat(roadmap): scaffold makes the delivery branch and its stubs #5518, feat(roadmap): the draft route and one Staged rule for watch #5505, feat(roadmap): Run implement as Argo Workflow with per-group resubmit #3105.
- feat(review): each review session writes a job result line #5170 each review session writes a job result line.
- feat(roadmap): a review unit posts a COMMENT review on each ready PR #5521 the review unit (D7). After feat(roadmap): one watch row for plan and delivery PRs #5024, feat(review): each review session writes a job result line #5170. It replaces feat(roadmap): Run
devops reviewon the diff before marking PR ready #3049 and feat(roadmap): Add a draft PR evaluator for issue and rules #2867. - feat(roadmap): measure the precision of the review unit on 30 PRs #5522 E4. After feat(roadmap): a review unit posts a COMMENT review on each ready PR #5521.
- feat(roadmap): a job can run candidates and a judge #5533 a job can run candidates and a judge: the setting
roadmap.<job>.candidates(default 1), the judge and E6. After feat(roadmap): scaffold makes, resumes or adopts the item branch #5499, feat(roadmap): one due_jobs function names the due jobs of an item #5504, feat(k8s): let Argo Workflows run roadmap pods in devops #4566.
Exit check: E3 shows equal or better implement success before tests leaves mode plan. Each tests push passes the tests gate. Implement leaves 95 % or more of the tests of the tests job unchanged. The review unit reaches 80 % precision or more on 30 PRs before watch reads a failed verdict as a draft reason. The implement band is not below its Phase 3 band.
Job map
| Job | Phase | Issues |
|---|---|---|
| intake | 4, 5 | #4567 (triage unit), #5166, #5509 |
| group | 5 | #4812, #4813, #4821, #5509 |
| premise | 5 | #5508, #4131 (stage guard) |
| retitle | 5 | #4620, #5507 |
| incident | 5 | #5477 |
| supervise | 5 | #5477, #5511 |
| inherit | 5 | #5510 |
| refine | 4 | #4568, #4806 |
| related | 6 | #5515 |
| status_sync | done | #5018 (closed) |
| research | 4, 6 | #4573, #4672, #5513, #5514, #5512 |
| resolve | 6 | #4805, #4808, #4806, #4809, #3077 |
| scaffold | 1, 7 | #5499, #5518 |
| stage | 0, 1 | #5411, #5483, #4559, #5501 |
| open | 1 | #5020 |
| tests | 7 | #5517, #5520 |
| implement | 1, 3, 4, 7 | #4957, #4713, #5029, #3105, #5516, #5519 |
| watch | 3 | #5021, #5024, #5505, #4413, #4415 |
| fix-plan | 0, 3 | #5493, #5414, #5412 |
| fix-checks | 3 | #5023, #5027 |
| fix-conflict | 3 | #5019, #5028 |
| review | 7 | #5521, #5170, #5522 |
| split | 5 | #4817, #4819, #4821 |
| cleanup | 1 | #5026 |
Cross-cutting: #4555, #3727, #5168, #5169, #4724, #4558, #5494, #5495 (Phase 0); #5497, #5498, #5500 (Phase 1); #5502, #5235, #5503, #5504 (Phase 2); #4563 to #4566, #4574, #4575, #4560, #5506 (Phase 4).
Owner steps
Only a person does these steps. Each phase names the step that it needs.
- Phase 0, D9: set
roadmap.fix_plan.modetoonafter fix(roadmap): only blocker and major review findings block a plan #5411 merges. - Phase 1: set the request budget of each roadmap Job (feat(service): give each roadmap pod an hourly request budget #5497, feat(roadmap): add the stage Job template and one-item entry point #5483). Approve the E1 budget from the A/A pass.
- Phase 2: merge the ADR PRs (docs(adr): record the roadmap job split and the due_jobs rule #5502, docs(adr): Valkey keys are coordination keys or cache keys #5245, docs(adr): job limits are settings with a soft cap and a hard ceiling #5246) and the roadmap-state record (docs(adr): one roadmap-state record supersedes ADR 0001 and ADR 0016 #5235).
- Phase 3, D8: subscribe the App to the webhook events
pull_request,pull_request_review,check_suiteandissue_comment(feat(roadmap): PR, review and check events start a scoped sweep #4413, feat(roadmap): handle trusted issue_comment webhook replies #4415). O3 for the edge rule (fix(cloudflare): find the edge rule that answers 403 for the webhook route #5035). - Phase 3, D9: fix-conflict tier 1 on when feat(roadmap): a fix-conflict step settles merge conflicts #5019 merges; tier 2 and fix-checks on after 1 week in mode
plan, with the O5 caps. - Phase 4: O4, split the
devops-cliKubernetes secret object for feat(roadmap): the model container of a unit holds no credential #5506. - Phase 5: confirm or refuse 30 premise reject recommendations (feat(roadmap): the triage unit judges the premise of a new item #5508). Set the daily cap of extra P0 spend (D10).
- Phase 6: the research caps after the Phase 0 cost and an E5 lift.
- Phase 7: 30 review verdicts for E4 (about 2.5 h).
Measure of the whole
- Job bands: 100, 90, 80, 70, 60 and under 60 for each model job at 30 or more attempts. Skips and no-op results are a separate count, not a success. Deterministic steps use service measures: the lag to act, the drift that the sweep finds, and failures that are bugs.
- Funnel (feat(roadmap): eval funnel reports each item cohort by step #5494): for each item cohort and each path, the share that passes each step, the time of each step, and the
tokensandcost_usd_microsfor each success, with n and the Wilson interval. It is the gate of each phase. - Base (7 days to 2026-11-13): stage 5 of 15 staged; intake 140 placed of 220 lines (64 %, band 60); refine 34 ready of 78 lines; implement 4 ready of 8 lines.
- Load: pods a day within the ADR 0021 budget of 1,000 to 1,200.
- Low volume: a job with few attempts states its attempts a week and its weeks to 30, and gets drills or replays.
Target Subsystem
Roadmap Service and roadmap jobs (src/devops_cli/roadmap/, src/devops_cli/service/, k8s/devops/).
Acceptance Criteria
- Each child is merged or closed with evidence, or split and refined by the delivery rule.
- Each job has a result line with
tokensandcost_usd_micros, and a grade at 30 or more attempts or a service measure. - The funnel of the last cohort is not below the Phase 0 base at any step.
- The Service pod runs only the router, and a router restart stops 0 units.
Existing Tool Considered
- Argo Workflows v4.1.6 (installed, Apache-2.0): units, the item mutex, semaphores,
spec.priority,retryStrategy, CronWorkflow schedules and deadlines. - Kubernetes Jobs from the suspended runner CronJob before the engine step. Valkey with the
limitslibrary (present). - GitHub standard interfaces: REST, git refs, scoped installation access tokens, GraphQL draft and ready, the
[skip ci]marker,delete_branch_on_merge, webhooks, sub-issues and blocked-by links. - The Prometheus HTTP API. pydantic-evals 2.59.0, statsmodels 0.15.0, scipy and Hypothesis (locked).
devops review, the openspec CLI, the pydantic-ai-harness Coder,mask_secretsandraise_alarm(fix(ci): the duration alarm fires at 360 s and files a P0 issue #5247).- Rejected: Argo Events and Tekton Triggers (a second receiver); KEDA and Kueue (duplicate the semaphores); a PriorityClass; an Alertmanager route; a review check run (until E4); a commit status (no permission); GitHub Actions or gh-aw as the engine; claude-code-action and codex-action; the OpenHands resolver; SWE-agent; Agentless; Inspect AI and promptfoo.
- Build cost (estimates): about 16M to 27M agent tokens and 11 to 15 weeks over Phases 0 to 7. A unit job costs 200,000 to 500,000 tokens and 0.5 to 1 day. A sweep step costs 100,000 to 300,000 tokens and 0.5 day. Upkeep is about 10 % of the build tokens each quarter.
Related
- Parent feat(roadmap): move Service work to Workflows and Valkey #4517: this tracker holds the job split inside the move of Service work to Workflows and Valkey. It moves the stage Job (feat(roadmap): run each stage item in its own Job #4559) before the Valkey and engine children, and it removes the due marks.
- feat(roadmap): track the Service step jobs #5014 owns the PR jobs of Phase 3 and their order. This tracker lists them and does not duplicate them.
- fix(roadmap): track the plan reader and fix-plan repairs #5211 tracks the plan reader and the fix-plan repairs. feat(roadmap): track progress-aware caps and fix-before-refuse #4843 (progress-aware caps and fix-before-refuse), feat(roadmap): track job grades for each agentic workflow #5164 (job grades), feat(roadmap): track the issue stewards and persona selection #4780 (issue stewards), feat(roadmap): track the project brain #4624 (project brain), docs(adr): track the ADR modernization #5233 (ADR modernization).
- feat(roadmap): make the attempt limits of the failing jobs settings #5440 (attempt limits as settings), docs(ai): add the agentic workflow spec #5443 (the agentic workflow specification), docs(sre): add the SRE service spec #5445 (the SRE specification), feat(ai): send one run id to the gateway for each agent run #5437 (one run id for each agent run to the gateway), feat(roadmap): a result line names the configuration of its attempt #5479 (the
configid on each result line). - feat(roadmap): track the pipeline split into 24 jobs #5474 asked for the same tracker and is closed as a duplicate of this item. Its item "branch runs" (gap G31 of docs(ai): add the agentic workflow spec #5443) waits: D2 builds no run branch until the two-branch check of refactor(roadmap): run the stage cleanup in the status lane #5026 finds a real case and an experiment shows a gain for its token cost. Owner, 2026-11-13: feat(roadmap): a job can run candidates and a judge #5533 now holds this item. The owner gave the case (candidates and a judge), so it does not wait for the two-branch check. E6 of feat(roadmap): a job can run candidates and a judge #5533 is the experiment. With the default of 1 candidate, no run branch exists.
- feat(monitoring): route page alerts to chat and ticket alerts to issues #5471 routes alerts to chat and to issues. The incident job (feat(roadmap): add incident and supervise jobs that read the SLOs #5477) and that route must not file two issues for one alert. Owner, 2026-11-13: feat(monitoring): route page alerts to chat and ticket alerts to issues #5471 routes page alerts to chat only, and the incident job of feat(roadmap): add incident and supervise jobs that read the SLOs #5477 is the one writer of issues for alerts.
- feat(monitoring): mark deploys and alerts on the own dashboards #5261 marks the deploys, which the latency exit checks use for the rollout windows.
- Not phase items, and not changed: feat(roadmap): Gate Ready on alternatives verdict or exempt class #2951 (refine gate on the alternatives verdict), feat(roadmap): run brain repair, consolidate and evaluate daily #4687 (daily brain jobs, ADR 0023), feat(roadmap): the implement Job gates before its PR #4719, feat(roadmap): extend implement repair rounds while the errors fall #4861 and feat(roadmap): an implement refusal halt gets one repair turn #4859 (implement repairs inside the implement step), feat(pr): pr create gates the change and pushes once #4708 (the person path of
devops pr create, which uses the open module of refactor(roadmap): one open step for every pull request #5020 when that merges first).
Source: #4517
Proposed design
Problem statement
The roadmap Service runs most roadmap jobs as rows in one pod, and each row decides in its own way what is due. This causes stopped stage rounds, unbounded Secret keys and token permissions, pods outside the GitHub self-cap, two paths on one plan head, bot items that wait for a person, and no end-to-end measure. The issue tracks the approved split of the pipeline into 24 jobs, each with one purpose, one due predicate and one result line, under Argo Workflows and GitHub as the source of truth.
Acceptance criteria
Requirement: Pipeline split job map
The tracker SHALL record each of the 24 jobs with its phase, its child issues and its mode plan.
Scenario: Every job row is complete
- WHEN A test reads the job map of the pipeline split section of
docs/ROADMAP_WORKFLOW.md. - THEN Each of the 24 jobs has a row with its phase, its child issues and mode
plan.
Requirement: Job issue fields
The tracker SHALL require each job issue to carry its due predicate, result line, intended result, permission row and mode plan.
Scenario: Every job issue has its fields
- WHEN A test reads the job checklist of the pipeline split section.
- THEN Each of the 24 jobs has a checklist entry naming its due predicate, result line, intended result, permission row and mode
plan.
Requirement: Owner decisions and phase order
The tracker SHALL record the approved answer of each decision D1 to D10 and the phase order 0 to 7.
Scenario: Each decision and phase is present
- WHEN A test reads the decisions part of the pipeline split section.
- THEN Each decision D1 to D10 has its approved answer, and phases 0 to 7 are in order.
Requirement: Phase exit checks and live proof
The tracker SHALL record the exit check of each phase 0 to 7 and the live-proof criterion of each job.
Scenario: Each phase and job has its check
- WHEN A test reads the phase and job parts of the pipeline split section.
- THEN Each phase 0 to 7 has an exit check, and each job has a live-proof criterion.
Requirement: Delivery rule
The tracker SHALL record the delivery rule: live proof for each job, split and refine on repeated failure, worst first, one issue and one pull request, and a check-out and check-in for each job.
Scenario: The delivery rule is present
- WHEN A test reads the delivery-rule part of the pipeline split section.
- THEN The rule names live proof, split and refine, worst first, one issue and one pull request, and the check-out and check-in.
Requirement: Child completion rule
The tracker SHALL record that each child issue is merged or closed with evidence, or split and refined by the delivery rule.
Scenario: The child completion rule is present
- WHEN A test reads the completion rule of the pipeline split section.
- THEN The rule names merge, close with evidence, and split and refine by the delivery rule.
Requirement: Result line and grade rule
The tracker SHALL record that each job has a result line with tokens and cost_usd_micros, and a grade at 30 or more attempts or a service measure.
Scenario: The result line and grade rule is present
- WHEN A test reads the measure part of the pipeline split section.
- THEN Each job names
tokens,cost_usd_micros, and its grade rule at 30 or more attempts or a service measure.
Requirement: Funnel gate
The tracker SHALL record that the funnel of the last cohort is not below the Phase 0 base at any step.
Scenario: The funnel gate is present
- WHEN A test reads the measure part of the pipeline split section.
- THEN The gate names the Phase 0 base, n and the Wilson interval for each step.
Requirement: Service pod rule
The tracker SHALL record that the Service pod runs only the router, and that a router restart stops 0 units.
Scenario: The Service pod rule is present
- WHEN A test reads the Service part of the pipeline split section.
- THEN The rule says the pod runs only the router and a router restart stops 0 units.
Existing Tool Considered
No alternatives check has run. Argo Workflows v4.1.6 (chart 2.0.18, pinned in k8s/argo-workflows/values.yaml:12, Apache-2.0) is the installed engine and covers units, mutexes, semaphores, spec.priority, retryStrategy, CronWorkflow schedules and deadlines. Valkey 9.1.3 with the limits library covers the shared request windows and locks. GitHub sub-issues and blocked-by links cover the tracking need but lack a due predicate and a result line; Argo Workflows lacks the roadmap due predicate, the one result line per attempt and the end-to-end funnel, so the project builds those in its own step modules: about 16M to 27M agent tokens and 11 to 15 weeks over Phases 0 to 7, with upkeep of about 10% of the build tokens each quarter. A unit job costs 200,000 to 500,000 tokens and 0.5 to 1 day; a sweep step costs 100,000 to 300,000 tokens and 0.5 day.
Key questions
- Does the tracker fit one pull request?: No. The tracker names 24 jobs in 8 phases, and each child issue gets one pull request.
AGENTS.mdrule 1 requires one issue and one pull request, and a tracker's sub-issues deliver it one pull request each. [sources: AGENTS.md:7, src/devops_cli/roadmap/intake/intake.py:12, docs/ROADMAP_WORKFLOW.md:3] - Where does the tracker record live?: In a new pipeline split section of
docs/ROADMAP_WORKFLOW.md. (best practice) [sources: docs/ROADMAP_WORKFLOW.md:3]- Chosen: Section of
docs/ROADMAP_WORKFLOW.md. The page is the one place that names the steps of an issue's life and links the job pages (docs/ROADMAP_WORKFLOW.md:3). - Rejected: New
docs/roadmap/pipeline-split.md. It adds a second place that names the workflow steps.
- Chosen: Section of
- D1 Scaffold: how does a stage or tests unit start?: A step module with its own command and result line runs first. It runs in the stage unit (kind
plan) and in the tests unit (kinddelivery). It makes no placeholder commit. A trial arm uses thetrialfield of feat(roadmap): trial a model tier on a share of a job's attempts #5177. (best practice) [sources: CONTEXT.md:166, docs/ROADMAP_WORKFLOW.md:23]- Chosen: Step module with its own command and result line. CONTEXT.md:166 defines a step as one module and one command with one JSON result line, and the stage row already starts the branch (docs/ROADMAP_WORKFLOW.md:23).
- Rejected: Inline scaffold inside each job. It gives no separate command or result line, and the trial arm cannot use the
trialfield of feat(roadmap): trial a model tier on a share of a job's attempts #5177.
- D2 Branch suffix: does a job run more than one candidate on suffixed branches now?: No
-nsuffix now. A two-branch check (metric and alert) runs. The settingroadmap.<job>.candidatesis 1 for all jobs by default. With N above 1, the job runs N candidates on<branch>-1to<branch>-N. A judge compares them and writes one refined result on the plain branch. Cleanup deletes the candidate branches after the judge (feat(roadmap): a job can run candidates and a judge #5533). (best practice) [sources: AGENTS.md:7, src/devops_cli/roadmap/intake/intake.py:12]- Chosen: No suffix now, candidates later. AGENTS.md:7 requires one issue and one pull request, and sub-issues deliver one pull request each (intake.py:12); with the default of 1 candidate no run branch exists.
- Rejected: Suffix now. It adds token cost before the two-branch check or E6 shows a gain.
- D3 Staged rule: how many paths may act on one plan head?: One rule for each item by the effort pass: continue on the plan branch, or wait for G1. Never both on one head. (best practice) [sources: docs/CLUSTER.md:49, docs/ROADMAP_WORKFLOW.md:23, docs/ROADMAP_WORKFLOW.md:25]
- Chosen: One rule per item. docs/CLUSTER.md:49 shows
stage_readymarking a plan ready while the implement step still works on the staged branch (docs/ROADMAP_WORKFLOW.md:25); one rule removes the race. - Rejected: Two paths on one head. It is the measured fault: implement can continue while
stage_readymarks the plan PR ready.
- Chosen: One rule per item. docs/CLUSTER.md:49 shows
- D4 Labels: does the split add a label for waits or possible duplicates?: No new label. 'Waits for a person' and 'possible duplicate' stay derived in
devops roadmap inbox. Remove the labels that nothing writes. (best practice) [sources: docs/roadmap/inbox.md:3, docs/ROADMAP_WORKFLOW.md:38, docs/roadmap/intake.md:36]- Chosen: Derived labels. The inbox already lists what waits for a person (docs/roadmap/inbox.md:3, docs/ROADMAP_WORKFLOW.md:38), and intake names a possible duplicate in its reason comment (docs/roadmap/intake.md:36).
- Rejected: New labels. They add state that the inbox and intake already derive.
- D5 Record: where does the job record live?: Keep the hidden block in the issue body. Use one writer, the
updated_atcheck and the outside-text compare. Move it to an App comment only if the lost-edit counter is above 0 after Phase 3. (best practice) [sources: docs/adr/0016-labels-hold-the-roadmap-items-fields.md:19, docs/ROADMAP_WORKFLOW.md:98, src/devops_cli/roadmap/stores/store.py:20]- Chosen: Hidden block in the issue body. ADR 0016:19 makes the hidden block the job record, and the store reads it there (src/devops_cli/roadmap/stores/store.py:20).
- Rejected: App comment now. It waits on the lost-edit counter after Phase 3.
- D6 Tests job: may the tests job push failing tests before E3?: The tests job can push failing tests behind a tests gate only after E3 shows equal or better implement success. Until then, test-first stays inside each implement step. (best practice) [sources: CONTRIBUTING.md:11, docs/ROADMAP_WORKFLOW.md:25]
- Chosen: Wait for E3. CONTRIBUTING.md:11 already requires a failing test first inside the change, and docs/ROADMAP_WORKFLOW.md:25 puts tests first in the implement step; a separate tests job waits for E3.
- Rejected: Push failing tests now. It changes implement success before E3 measures it.
- D7 Watch and review: what may the review unit do?: Draft only on deterministic verdicts, only for bot PRs, at most 3 cycles for each PR. Review posts a COMMENT review, writes
review.verdictand never approves. (best practice) [sources: AGENTS.md:21, docs/ROADMAP_WORKFLOW.md:245, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:125]- Chosen: COMMENT review only. AGENTS.md:21 and docs/ROADMAP_WORKFLOW.md:245 give the merge and the verdict to a person, and ADR 0021 rule 2 says a model verdict only flags and never marks a pull request ready.
- Rejected: Review approves. Only a person passes a gate (docs/ROADMAP_WORKFLOW.md:245).
- D8 App settings: which webhook events does the App subscribe to now?: Subscribe to
pull_request,pull_request_review,check_suiteandissue_comment. Defer new permissions (O2). (best practice) [sources: docs/CLUSTER.md:42, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:33]- Chosen: Four events, defer permissions. The router is the one webhook receiver (ADR 0021 section 1), and the Service takes no
issue_commenttoday (docs/CLUSTER.md:42); the four events are the ones the jobs need, and new permissions wait. - Rejected: All events and permissions now. It adds permissions before the jobs need them.
- Chosen: Four events, defer permissions. The router is the one webhook receiver (ADR 0021 section 1), and the Service takes no
- D9 Spend: when do the spend features turn on?:
fix_planon after fix(roadmap): a later plan review judges each earlier finding #5409 to fix(roadmap): only blocker and major review findings block a plan #5411. Fix-conflict tier 1 on at once. Tier 2 and fix-checks after 1 week in modeplan. The E1 budget comes from the A/A pass. The research caps come after the Phase 0 cost and an E5 lift. (best practice) [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:128, docs/CLUSTER.md:55, docs/ENV_VARS.md:127]- Chosen: Staged spend rollout. ADR 0021 section 8 rule 5 starts each new row in mode
plan, and docs/CLUSTER.md:55 and docs/ENV_VARS.md:127 sayfix_planstarts inplanand a person setson. - Rejected: All spend features on now. It spends before the A/A pass, the Phase 0 cost or the E5 lift.
- Chosen: Staged spend rollout. ADR 0021 section 8 rule 5 starts each new row in mode
- D10 P0 resources: how do incident P0 items get extra resources?: Extra resources only for incident classes, under a daily cap. A P0 from inheritance gets order only. No PriorityClass. (best practice) [sources: k8s/devops/roadmap-service/admissionpolicy.yaml:155, docs/CLUSTER.md:65, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md:70]
- Chosen: Extra resources under a daily cap. The admission policy refuses
priorityClassName(admissionpolicy.yaml:155), and ADR 0021 gives an agent pod only the Secret keys its job needs (line 70); extra resources under a daily cap stay inside those rules. - Rejected: PriorityClass. The admission policy refuses a
priorityClassName(k8s/devops/roadmap-service/admissionpolicy.yaml:155).
- Chosen: Extra resources under a daily cap. The admission policy refuses
- Which parts of the plan does only a person do?: Merge the ADR and roadmap-state pull requests (docs(adr): record the roadmap job split and the due_jobs rule #5502, docs(adr): Valkey keys are coordination keys or cache keys #5245, docs(adr): job limits are settings with a soft cap and a hard ceiling #5246, docs(adr): one roadmap-state record supersedes ADR 0001 and ADR 0016 #5235); set the ConfigMap modes and caps (
roadmap.fix_plan.mode, the request budgets, the P0 daily cap and the research caps); subscribe the App to the four webhook events and set O3; split thedevops-cliSecret for feat(roadmap): the model container of a unit holds no credential #5506; confirm or refuse the 30 premise rejections; and give the 30 review verdicts for E4. (a person decides) [sources: AGENTS.md:21, docs/ROADMAP_WORKFLOW.md:245]
Open questions
- Which parts of the plan does only a person do? (a person decides)
Fit
Needs splitting into 8 items:
- Phase 0: fix the measured plan faults and build the measure base (fix(roadmap): a later plan review judges each earlier finding #5409, feat(roadmap): run the plan checks before the stage push #4725, fix(roadmap): a review finding must name a part of the plan to block it #5410, fix(roadmap): the stage gate log names each refused claim #5433, fix(roadmap): a named fix-plan run can skip the 6-hour wait #5413, fix(roadmap): only blocker and major review findings block a plan #5411, fix(roadmap): read the pod status to find an out-of-memory kill #3727, fix(roadmap): an evicted fix-plan attempt does not count against its head #5493, fix(roadmap): the fix_plan row judges and logs each plan it leaves out #5414, fix(roadmap): repair a job record mark that a parallel write lost #4555, fix(roadmap): a Job pod and a local run log the job result line #5169, feat(roadmap): result lines state first-pass, model calls and cost #5168, fix(monitoring): read AI spend from the gateway counter #4724, feat(roadmap): label Service Jobs by repository and item #4558, feat(roadmap): eval funnel reports each item cohort by step #5494, feat(roadmap): the phase of each item drives the stuck-item alert #5495).
- Phase 1: stage in its own Job (fix(roadmap): the final push of the implement Job can miss the latest main #4957, refactor(roadmap): one open step for every pull request #5020, refactor(roadmap): run the stage cleanup in the status lane #5026, feat(service): give each roadmap pod an hourly request budget #5497, feat(roadmap): each roadmap Job gets its keys and a scoped token #5498, feat(roadmap): the poll frees the check-out of a gone job #5524, feat(roadmap): scaffold makes, resumes or adopts the item branch #5499, feat(roadmap): result lines state attempt, class, pipeline and unit #5500, feat(roadmap): add the stage Job template and one-item entry point #5483, feat(roadmap): run each stage item in its own Job #4559, feat(roadmap): eval stage compares planner input with guide text #5501).
- Phase 2: record the pipeline (docs(adr): record the roadmap job split and the due_jobs rule #5502, docs(adr): one roadmap-state record supersedes ADR 0001 and ADR 0016 #5235, chore(github): delete the labels that nothing writes #5503, feat(roadmap): one due_jobs function names the due jobs of an item #5504).
- Phase 3: the PR jobs of feat(roadmap): track the Service step jobs #5014 (refactor(github): one pull request verdict for all monitors #5021, feat(roadmap): one watch row for plan and delivery PRs #5024, feat(roadmap): the draft route and one Staged rule for watch #5505, feat(roadmap): PR, review and check events start a scoped sweep #4413, feat(roadmap): handle trusted issue_comment webhook replies #4415, fix(cloudflare): find the edge rule that answers 403 for the webhook route #5035, feat(roadmap): a fix-conflict step settles merge conflicts #5019, feat(roadmap): a fix-checks step fixes a failed check #5023, feat(roadmap): the watch row starts fix-checks Jobs #5027, feat(roadmap): the watch row starts fix-conflict Jobs #5028, feat(roadmap): the watch row starts fix-plan Jobs #5412, feat(roadmap): the implement Job opens its PR at the end #4713, refactor(roadmap): the implement Job ends at its draft #5029).
- Phase 4: shared state and the engine (feat(service): share the GitHub budget and holds in Valkey #4563, feat(roadmap): keep plan records and record locks in Valkey #4564, feat(roadmap): keep schedules, intake and ledgers in Valkey #4565, feat(k8s): let Argo Workflows run roadmap pods in devops #4566, feat(roadmap): run intake and scoped intake in their own pods #4567, feat(roadmap): run each refine item in its own pod #4568, feat(roadmap): run each alternatives check in its own pod #4573, feat(roadmap): Run implement as Argo Workflow with per-group resubmit #3105, feat(roadmap): run the reconcile sweep on a cluster schedule #4574, feat(service): make the webhook router stateless #4575, feat(service): redeliver webhook deliveries that failed #4560, feat(roadmap): the model container of a unit holds no credential #5506).
- Phase 5: intake and triage (fix(roadmap): retitle keeps a person's unlisted-type title #4620, feat(roadmap): retitle rules run as a sweep step with no model #5507, fix(roadmap): leave out changed intake candidates and count plan calls #5166, feat(roadmap): the triage unit judges the premise of a new item #5508, fix(roadmap): return unbuildable premise items during stage #4131, feat(roadmap): Emit inbox gauges, add panel, show digest line #2968, feat(roadmap): consolidate shortlists find bot families by fingerprint #4812, feat(roadmap): the group row links a family and closes on a re-check #4813, feat(roadmap): intake flags an item that a merged PR already fixed #5509, feat(roadmap): split thresholds come from measured job history #4817, feat(roadmap): the split row files the parts of a stalled item #4819, feat(k8s): run the group and split rows on schedules #4821, feat(roadmap): a blocker inherits the priority of what it blocks #5510, feat(roadmap): add incident and supervise jobs that read the SLOs #5477, feat(roadmap): supervise gives an incident P0 item extra resources #5511).
- Phase 6: one just-in-time research unit and resolve (feat(roadmap): eval stage leaves out one research section #5512, feat(roadmap): link reference implementations in each checked item #4672, feat(roadmap): one research unit runs its steps just in time #5513, feat(roadmap): research checks project standards and suggests changes #5514, feat(roadmap): the question resolver finds and classes open questions #4805, feat(roadmap): the question resolver answers with verified sources #4808, feat(roadmap): refine reads the answers of the question resolver #4806, feat(roadmap): an agent that needs a decision asks on the issue and waits #3077, feat(k8s): run the question resolver on a schedule #4809, feat(roadmap): refine looks again when a related item merges #5515, feat(roadmap): the alternatives check reads the brain digest #4682, feat(roadmap): keep alternatives results in a brain index #4676).
- Phase 7: tests, scaffold of kind delivery, and review (test(roadmap): add 26 cases to the implement golden set #5516, feat(roadmap): new tests of an implementation are checked for strength #3051, feat(roadmap): eval implement compares a separate tests pass #5517, feat(roadmap): scaffold makes the delivery branch and its stubs #5518, feat(roadmap): eval implement compares stubs with header comments #5519, feat(roadmap): a tests unit pushes failing tests behind a gate #5520, feat(review): each review session writes a job result line #5170, feat(roadmap): a review unit posts a COMMENT review on each ready PR #5521, feat(roadmap): measure the precision of the review unit on 30 PRs #5522, feat(roadmap): a job can run candidates and a judge #5533).
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-29: in-use.
The repository already uses this tool.
Tool: argoproj/argo-workflows (https://github.com/argoproj/argo-workflows), Apache-2.0, last activity 2026-11-29, maintained.
Reason: Searches and the repository facts confirm Argo Workflows, already the engine this issue names (ADR 0008, ADR 0021), gives the job engine, mutexes, semaphores, retries and schedules; the roadmap due predicate, result lines and funnel stay the project's own code, so it covers only part.
Covers:
- One pod per job unit, strict template checks
- Item mutex and semaphore synchronization
- CronWorkflow schedules, deadlines and retryStrategy
- spec.priority ordering of unit pods
Lacks:
- No roadmap due_jobs predicate or due marks
- No single result line with tokens and cost
- No GitHub request budget or per-Job key list
- No end-to-end funnel measure
Activity
dan-petty commentedon Nov 13, 2026
Owner approved the design on 2026-11-13 and measured faults show 53 of 71 restarts stopped a running stage.devops roadmap run) #981, which asks for a different change.Both define what is due for roadmap jobs, but #981 is the scheduler that runs jobs while the candidate is the architectural split that defines the 24 jobs and their due predicates.18 remaining items
devops-cli-service commentedon Nov 14, 2026
Refine cannot set this item to Ready at ffce5d9 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 17, 2026
Alternatives check: in-use
Reason: The searches and the repository facts found Argo Workflows, the engine the issue already names and uses (ADR 0008, ADR 0021), and it covers the unit orchestration: running each roadmap job as its own pod/template, mutexes and semaphores, spec.priority, retryStrategy, CronWorkflow schedules and deadlines. It does not cover the roadmap-specific due predicate
due_jobs, the one result line per attempt withtokensandcost_usd_micros, the per-Job GitHub request budget and scoped key list, the check-out/check-in or the end-to-end funnel, which the issue plans to build in its own step modules, so it covers only a part of the need.The repository already uses this tool.
Tool: argoproj/argo-workflows (https://github.com/argoproj/argo-workflows)
Covers:
Lacks:
due_jobs(subject)as the only source of what is duetokensandcost_usd_microsTools considered:
Searches run:
Sources:
Checked on 2026-11-17. A person decides what this means for the item. The check changes no label and closes no issue.
dan-petty commentedon Dec 1, 2026
2026-12-01: #4812 and #4813 are closed as not planned by owner decision, with #5815 and pull request #7955. The fingerprint finds no family in the open issues, and the filers that fed it file no issues now. #4821 covers the
splitrow only, #4822 coversresolveandsplit, and #5509 has no group check.