Repository navigation
Labels
effort/highEffort High: much work, in one pull requestpriority/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
Area 4 of the parent item. Each stage and restage posts a new full stage comment (stage.py:4012 calls store.comment), and the old one stays. Both hold the same branch, PR and groups (#3717: 10.7 KB and 23.6 KB, 40 min apart, both for PR #5945). Each fix-plan attempt (fix_plan.py:1017) posts a new issue comment that lists again the open findings, because plan_comment (fix_plan.py:453) reads only the newest comment. The record key stage.groups (stage.py:3990, :4065) repeats the group list, and no code reads it.
Expected behavior
- One plan-state issue comment for each plan PR, keyed by the PR number and edited in place. It holds the branch, the PR, the groups with their tokens, the open findings and the advisory findings. Stage writes it on stage and restage; fix-plan rewrites its findings part after each attempt.
- Each stage or restage run posts an event comment with the facts of that run that no other place holds: moved paths, run report, overlap reads, comments held, not-validated, warnings, label notes. No groups and no findings.
- Each fix-plan attempt posts an event comment with the result, the counts before and after, the regated reason (
_regated_why), the dismissed findings, the stop evidence (_stop_evidence), the timeout step and counts, and the advice section (fix_plan.py:903-962). It has no open-findings list. plan_commentreads the state comment by its key. For a PR staged before the change, fix-plan builds the state comment from the newest legacy comment that holds findings, and the fallback skips event comments.plan_drift.py:193andsteps/review_facts.py:348keep working throughplan_comment. Checkrepair.py:131and:143(filler return).IssueComment(stores/store.py:684) getsupdated_at.item_comments.held_commentsorders a state comment by its last edit, so the stage and implement models read it in full as a recent comment.- The index label in
item_comments.py:136-141skips every<!--line, so a hidden key line does not hide the content. - Remove
StageRecordKey.GROUPSand its writers. Update the eval fixturestests/fixtures/roadmap_eval/stage/*/issue.txt. request_plan.py:863and:963(stage and fix-plan dry runs) show the upsert and the event comments.
Related
- fix(roadmap): give stage and implement the item comments #6182, fix(roadmap): Give read_issue, fix-plan and fix-checks every comment #6189 (fix-plan gets no item comments).
Source: #6193
Metadata
Metadata
Assignees
Labels
effort/highEffort High: much work, in one pull requestpriority/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 concern how fix-plan and stage read and write issue comments, but #6189 asks for full comment visibility while the candidate asks for one editable state comment plus per-run event comments.chore(main): release 0.173.3 (#6191)
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