Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem Description
The comment of devops roadmap alternatives is too long to read quickly. The owner asked on 2026-11-17 for a brief and concise comment.
Two comments of 2026-11-17 show the problem:
- fix(ci): set the pytest-asyncio default fixture loop scope #5384: 2,210 characters for the verdict
in-use. - fix(pr): pr describe refuses the Closes line of the scaffold #5398: 1,585 characters for the verdict
none.
The length comes from two sources:
- The prompt
src/devops_cli/ai/tasks/roadmap_alternatives.mdasks for a reason of "one or two sentences" and sets no limit oncovers,lacksandsources. The model writes a reason of 2 or 3 long sentences, and 3coversand 3lacksitems of 15 to 25 words each. The reply schemaAlternativesReplyhas no length limit. - The render
_comment_ofinsrc/devops_cli/roadmap/alternatives.pyadds a "Tools considered" list, a "Searches run" list of up to 10 lines, and a footer of two sentences. Fornot-applicableit writes three lines that say little: "Class: docs. The check makes no search…", "Tool: none found" and the footer.
Reproduction Steps
- Read the comments on fix(ci): set the pytest-asyncio default fixture loop scope #5384 and fix(pr): pr describe refuses the Closes line of the scaffold #5398 that hold the marker
<!-- devops roadmap alternatives -->. - Count the characters and the lines.
Expected vs Actual Behavior
Expected:
- The prompt asks for a
reasonof one sentence of at most 30 words, at most 3coversand 3lacksitems of at most 12 words each, and at most 3sources. The reply schema refuses a longer reply, so the retry of the run fixes it. - The comment keeps the verdict, the reason, the tool with its license, last activity and maintained state, and the covers and lacks lists.
- The comment folds the tools considered and the searches into one collapsed
<details>block. - The footer is one short sentence.
- A
not-applicablecomment is one line, for example "Alternatives check: not-applicable (docs item; no search)." - The marker and the lines that other code reads stay the same.
Actual: the comments above, with no limit on the length.
Environment Diagnostics
devops-cli 0.173.0, the Service job alternatives.
Logs, Traces, or Terminal Output
None.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 17, 2026
Both items work on the alternatives comment content, but #2944 added the reason and queries while the candidate constrains their length.devops-cli-service commentedon Nov 17, 2026
Released in v0.173.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.173.1
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 15:42 UTC