Repository navigation
Description
What happened
At 5 items a day, the first pass over 141 open issues takes about a month, and nothing shows how much is left.
What should happen
- While items have no check, the row checks
roadmap.alternatives.first_pass_limititems a round (20 by default). When every open item has a check, it goes back toroadmap.alternatives.limit(5) for the rechecks. - The model-lane budget and the request budget of the Service hold; the setting and its default are in
configmap.example.yaml,defaults.pyand the documents, as other settings are.
Evidence (2026-10-31)
devops_cli_firecrawl_searches_total: about 4 searches in 7 days.devops_cli_roadmap_alternatives_totalover 14 days: only the verdictnot-applicable(about 34 checks), nevercovers,partlyornone.- The comments on feat(cli): commands with no dry-run preview: read-only ones run, mutators gain one #886, feat(k8s): Point Argo CD to Gitea for git and PR dev images #1082 and test(ai): Wire rag once in ai/rag, test with edge fakes #1329 read "Alternatives check: not-applicable. Tool: none found" with no reason and no queries. feat(k8s): Point Argo CD to Gitea for git and PR dev images #1082 (argo cd points to gitea for git and container registries) is a plausible case for open tools.
- The row checks at most 5 items a day (
roadmap.alternatives.limit);dan-petty/devops-clihas 141 open issues. - The row for
devops-clifailed 3 rounds on 2026-10-30 at 00:10 UTC (aUnexpectedModelBehaviorstop, a reply that gavenot-applicableafter a tool ran, and the then-500 GitHub requests an hour budget), so it was suspended. A plan run on 2026-10-31 stopped again on feat(roadmap): onboard checks a repository for the roadmap jobs #1359 (UnexpectedModelBehavior). - AGENTS.md rule 3 says to use an open tool before building. This check is the part of the project that asks the question for every item.
Tracker: #2908 (one issue workflow). Owner request of 2026-10-31: confirm that all issues are vetted for open alternatives.
Acceptance criteria
- A test shows 20 items in a round while 25 have no check, and 5 once all have one.
- The round respects the Service budget and lane order.
-
uv run devops cipasses.
Proposed design
Problem statement
The alternatives check processes at most 5 items per round. With 141 open issues, the first pass takes about a month. The first pass needs a higher per-round limit so that every open item gets a check in a reasonable time, while rechecks keep the lower limit to protect the model-lane budget.
Acceptance criteria
Requirement: First-pass limit applies while items lack a check
While at least one open item has no check, the alternatives row SHALL check at most roadmap.alternatives.first_pass_limit items per round.
Scenario: 25 open items have no check
- WHEN The alternatives row runs and 25 open items have no check
- THEN The row checks at most 20 items in that round
Requirement: Recheck limit applies when all items have a check
When every open item has a check, the alternatives row SHALL check at most roadmap.alternatives.limit items per round.
Scenario: All open items have a check
- WHEN The alternatives row runs and every open item already has a check
- THEN The row checks at most 5 items in that round
Requirement: Budget and lane order hold
The alternatives row SHALL respect the Service model-lane budget and the lane order of the model lane.
Scenario: Round runs within the model lane
- WHEN The alternatives row runs in the model lane after refine
- THEN The row does not exceed the model-lane request budget and runs in the lane order
Requirement: CI passes
The change SHALL pass uv run devops ci.
Scenario: Full CI run
- WHEN A developer runs uv run devops ci on the branch
- THEN All checks pass
Existing Tool Considered
No check has run. This change modifies the project's own roadmap service row. No open, maintained tool or library provides a configurable first-pass batch limit for an internal service row. The project builds this in its own code. The written cost is small: add one integer setting to defaults.py and configmap.example.yaml, change the item-selection logic of the alternatives row to pick the limit by whether any open item lacks a check, and write one test. The tokens to build, keep and fix this code are a few hundred tokens of logic and one test, well under one step of the implement job.
Key questions
- What is the name and default of the new setting?: The setting is roadmap.alternatives.first_pass_limit with a default of 20. It follows the naming pattern of the existing roadmap.alternatives.limit setting. [sources: k8s/README.md:610]
- What is the switching logic between the first-pass limit and the recheck limit?: If at least one open item has no check, the row uses first_pass_limit (20). When every open item has a check, the row uses limit (5). This is a two-state switch based on whether any item still lacks a check. (best practice) [sources: k8s/README.md:610]
- Chosen: Two-state switch: any item lacks a check vs all have a check. The body states this logic directly. It is simple, testable, and matches the acceptance criteria.
- Rejected: Gradual ramp: reduce the limit as more items get a check. More complex, not stated in the body, and harder to test. Rejected.
- Rejected: Always use the higher limit. Would waste the model-lane budget on rechecks. The body explicitly keeps the lower limit for rechecks. Rejected.
- Where does the new setting live in the repository?: The setting and its default go in configmap.example.yaml, defaults.py, and the documents, following the pattern of other roadmap.alternatives settings. [sources: k8s/README.md:610]
- Does the model-lane budget and the Service request budget hold with the higher first-pass limit?: Yes. The body states that the model-lane budget and the request budget of the Service hold. The first-pass limit of 20 is within the existing budget because the budget is per-round, not per-item, and the row already runs within the model lane after refine. [sources: k8s/README.md:610]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Oct 31, 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.The owner requested faster vetting of 141 open issues, but the current 5-per-day process still runs.Reduces first-pass time from about a month to about a week, but the check still functions either way.Add one setting, one conditional branch in the row, and update three config files.Both configure the alternatives job throughput; #2652 set a fixed limit of 5, the candidate adds a separate first-pass limit of 20 that reverts to 5 after every item is checked.devops-cli-service commentedon Nov 1, 2026
Status set to Ready at e093ac8 (see proposed design in issue body).
devops-cli-service commentedon Nov 2, 2026
Staged: branch
feat/2947-the-first-pass-of-the-alternatives, draft pull request #3174. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 40000 tokens:
The plan run made 17 model request(s), and used 454276 input tokens and 2409 output tokens. The tool calls, in order:
read_spec({"capability":"roadmap-alternatives"})search_code({"text":"alternatives.limit"})read_spec({"capability":"roadmap-alternatives","requirement":"The limit of a round is a setting"})search_code({"text":"alternatives_limit"})read_file({"path":"src/devops_cli/config/settings.py","start_line":920,"end_line":1000})read_file({"path":"src/devops_cli/config/defaults.py","start_line":700,"end_line":740})search_code({"text":"recheck_days"})repo_map({"directory":"src/devops_cli/roadmap"})file_symbols({"path":"src/devops_cli/roadmap/alternatives.py"})read_file({"path":"src/devops_cli/roadmap/alternatives.py","start_line":400,"end_line":540})read_file({"path":"src/devops_cli/roadmap/alternatives.py","start_line":820,"end_line":880})read_file({"path":"src/devops_cli/roadmap/alternatives.py","start_line":496,"end_line":530})search_code({"text":"plan_alternatives"})search_code({"text":"alternatives"})search_code({"text":"alternatives.limit"})search_code({"text":"alternatives"})search_code({"text":"alternatives"})list_files({"directory":"src/devops_cli/roadmap"})read_file({"path":"src/devops_cli/roadmap/alternatives.py"})file_symbols({"path":"src/devops_cli/roadmap/alternatives.py"})search_code({"text":"alternatives.limit"})read_file({"path":"src/devops_cli/roadmap/alternatives.py","start_line":420,"end_line":540})read_file({"path":"src/devops_cli/roadmap/alternatives.py","start_line":820,"end_line":960})search_code({"text":"plan_alternatives"})search_code({"text":"class AlternativesSettings"})search_code({"text":"alternatives"})search_code({"text":"DEFAULT_ROADMAP_ALTERNATIVES"})docs(openspec): plan #2947 Raise the alternatives first-pass limit to 20
docs(openspec): plan #2947 Raise the alternatives first-pass limit to…
6 remaining items
devops-cli-service commentedon Nov 3, 2026
The runner Job devops-cli-runner-20261103-085143-60d9 ended: succeeded.
Image digest: sha256:ef0d0ace3359daaf57e2bb1904dd131a16eca5fd52c54ffdcfeb5cf25f2c41f8
The last lines of its log:
devops-cli-service commentedon Nov 3, 2026
Cleared the stop at group 1 by the rule
digest: the runner image changed since the stop, from sha256:ef0d0ace3359daaf57e2bb1904dd131a16eca5fd52c54ffdcfeb5cf25f2c41f8 to sha256:71484cc064d6ab241bf53e6464dad843cc76f71025f0e46dc59adee51ae9b14f. The item is Planned again, and the Service takes it in the next round. The Service clears a stop one time for each runner image. A new stop on this image waits for a commentimplement: retry.devops-cli-service commentedon Nov 3, 2026
Released in v0.51.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.51.0
devops-cli-service commentedon Nov 3, 2026
Live since 2026-11-03 17:30 UTC