Repository navigation
Description
Problem
Area 2 of the parent item. _block_of (alternatives.py:942) writes the verdict, the skip class, _basis and _tool_line to the body block. _comment_of (:911) writes the same _basis and _tool_line to the comment; the _tool_line docstring (:827) says "the same line in the comment and in the block". A skip-class comment only repeats the verdict and class of the block. Refine then sends the record verdict and tool, the block and the comment (refine.py:664-679), so its model gets these facts three times. Refine also cuts the comment to CONST_ROADMAP_REFINE_MAX_REPLY_TOKENS, against the owner rule of 2026-11-17 on hard caps.
Live: 22 of 22 sampled alternatives comments repeat the block; the 6 not-applicable comments are 99% body text (1,554 of 1,788 B). Examples: #3885, #3827, #5319, #5318, #3655.
Expected behavior
- The body block (between
devops-roadmap-alternatives:start/end) holds the current result: date, verdict, class, basis, tool line, the model reason, Covers and Lacks. - The comment is an event. It posts only when
_result_changed(alternatives.py:1410) is true. It holds the job marker, one line that says the result in the body block changed and what it was before, and the folded evidence of that run: tools considered, searches with result counts, every source. The body does not hold this evidence. - A skip-class check posts no comment.
- Refine reads verdict, reason, covers and lacks from
block. It still gets the latest alternatives comment (the evidence), in full, with no cut. For an item checked before this change, the old comment still holds covers and lacks, so refine keeps them. roadmap_refine_proposal.mdlines 1 and 13 nameblockas the source of covers, lacks and the tool. The prompt tells the model to cite the block, not to restate it, and not to write "no alternatives check has run" when the block holds a result (feat(roadmap): devops review runs in the runner shell #3827, feat(research): agent judges findings with read tools #3909).- The bigger block grows the body. Intake compares raw bodies (
intake.py:820_Entry(..., issue.body)intonearest.py:16), so job text in the block makes more false duplicate flags. Usebody_hash.py:56text_of_a_person, asconsolidate.py:386does. request_plan.py:574(alternatives dry run) shows no comment for a skip class.- A contract test builds the block and the comment from one input and fails when a content line of the comment is in the block.
Related
- fix(roadmap): Make the alternatives comment brief #6174, fix(roadmap): Show every source in the alternatives comment #6178, fix(roadmap): Give read_issue, fix-plan and fix-checks every comment #6189.
Source: #6193
Activity
dan-petty commentedon Nov 17, 2026
Both touch when the alternatives comment posts, but #4054 only changes the trigger while the candidate restructures what the block and the comment each hold.devops-cli-service commentedon Nov 17, 2026
Released in v0.173.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.173.3
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 19:36 UTC