Repository navigation
Description
What happened
A verdict of the alternatives check is one line: "not-applicable. Tool: none found." A person cannot tell what the model searched, what it found, or why it decided that no open tool applies.
What should happen
- The comment of a check lists the queries that ran (each with its result count) and the tools that were considered, with the license and the date of the last release, and gives the reason of the verdict in one or two sentences.
- A verdict
not-applicablenames the class that excluded the item (see the issue on fixed classes) or says what the searches found and why it does not cover the need. - The comment keeps its marker and its rule that it changes no label and closes no issue.
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 with a scripted model and a fake search shows the queries and the reason in the comment.
- A comment of an old check is not rewritten.
- The text cites no more than a bounded number of results, and a result URL is shown as a link.
-
uv run devops cipasses.
Proposed design
Problem statement
The alternatives check writes a one-line comment with no reason, no queries, and no tool detail. A person cannot tell what the model searched or why it gave the verdict. This change enriches the comment with the queries that ran, the tools considered, and the reason for the verdict.
Acceptance criteria
Requirement: Comment shows queries and reason
The alternatives check comment SHALL list each query that ran with its result count and SHALL give the reason for the verdict in one or two sentences.
Scenario: Scripted model with fake search
- WHEN A test runs the alternatives check with a scripted model and a fake search that returns two results
- THEN The comment contains both queries with their result counts and a reason sentence
Requirement: Old comment not rewritten
The alternatives check SHALL NOT rewrite a comment of a previous check on the same item.
Scenario: Second check on same item
- WHEN A second alternatives check runs on an item that already has a check comment
- THEN The first comment is unchanged and a new comment is added
Requirement: Bounded results with links
The comment SHALL cite no more than a bounded number of results and SHALL show each result URL as a link.
Scenario: More results than the bound
- WHEN A search returns more results than the bound
- THEN The comment shows at most the bounded number of results and each URL is rendered as a link
Requirement: CI passes
The change SHALL pass uv run devops ci.
Scenario: Full CI run
- WHEN
uv run devops ciis run on the branch - THEN All checks pass
Existing Tool Considered
No check has run. No open tool covers formatting an internal job's output comment. The project builds this code. The written cost is the tokens to build, keep, and fix the comment-formatting code (query list, tool details, reason text, bounded results, link rendering) and its test with a scripted model and fake search, plus the elapsed time to iterate until uv run devops ci passes.
Key questions
- What is the current comment format and where is it written in the source?: The current comment is one line: 'not-applicable. Tool: none found.' The row behavior is described in k8s/README.md. The exact source file that writes the comment needs investigation. [sources: k8s/README.md:610, docs/TELEMETRY.md:83]
- What fields does the enriched comment include?: The comment lists each query with its result count, each tool considered with its license and last release date, and the reason for the verdict in one or two sentences. (best practice) [sources: k8s/README.md:610]
- Chosen: Full detail: queries, tools, reason. The body specifies these fields. A person can then judge the verdict.
- Rejected: Verdict and tool name only (current). A person cannot tell what was searched or why the verdict was given.
- How many results are shown per query in the comment?: At most 5 results per query. (proposed)
- Chosen: 5 results. Bounded for comment readability. Matches the row's daily limit of 5 items.
- Rejected: 10 results. Too many for a comment. A person cannot scan them quickly.
- Rejected: Unlimited. The body requires a bounded number.
- How is a not-applicable verdict expressed in the comment?: It names the class that excluded the item, or it says what the searches found and why the result does not cover the need. (best practice) [sources: k8s/README.md:610]
- Chosen: Name the excluding class or explain the gap. The body specifies both paths. A person can judge whether the exclusion is valid.
- Rejected: Only say 'none found'. A person cannot tell why no tool applies.
- Is the comment of an old check rewritten by a new check?: No. A new check adds a new comment. It does not edit the old one. (best practice) [sources: k8s/README.md:610]
- Chosen: Add a new comment, leave the old one. The body acceptance criteria state an old comment is not rewritten.
- Rejected: Edit the old comment in place. The body forbids this. It loses the history of the check.
Open questions
- What is the marker of the comment that the check must keep? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-04: none.
Tool: none found.
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 check runs but its output is opaque; fixing it restores trust but no user is blocked.A person can audit why an item was cleared, which is the core purpose of the check.It changes the comment template and adds a bounded query list; no new search logic is needed.Both target the alternatives check; #2650 builds the search command, the candidate improves the comment it posts.devops-cli-service commentedon Nov 1, 2026
Refine cannot set this item to Ready at e093ac8 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 4, 2026
Alternatives check: none
Tool: none found
Lacks:
Searches run:
Sources:
Checked on 2026-11-04. A person decides what this means for the item. The check changes no label and closes no issue.
[-]feat(roadmap): the alternatives comment shows its reason and the searches that ran[/-][+]feat(roadmap): Add reason and queries to the alternatives comment[/+]dan-petty commentedon Nov 6, 2026
The job shortened the title of this item. The summary had 67 characters, and the limit is 60. The type and the scope stay.
feat(roadmap): the alternatives comment shows its reason and the searches that ranfeat(roadmap): Add reason and queries to the alternatives commentdan-petty commentedon Nov 6, 2026
Answer from project standards, under the owner's instruction of 2026-11-05.
Question: what is the marker of the comment that the check must keep?
Answer:
<!-- devops roadmap alternatives -->. The constantCONST_ROADMAP_ALTERNATIVES_COMMENT_MARKERinsrc/devops_cli/config/constants.pyholds it._comment_ofinsrc/devops_cli/roadmap/alternatives.pywrites it as the first line of each comment, andreplies_after_markerreads it to find the replies of a person. The change keeps it and keeps the rule that the check changes no label and closes no issue.chore(main): release 0.74.0 (#3859)
devops-cli-service commentedon Nov 6, 2026
Released in v0.74.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.74.0
devops-cli-service commentedon Nov 6, 2026
Live since 2026-11-06 22:51 UTC