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
A roadmap job posts the same comment again on one item. The census of 2026-11-11 counts 34 repeat refine comments on open items. On dotfiles #2, the implement checks posted 44 "Cleared the stop at docs" comments and 29 "Stopped at docs, ci_infra" comments from 2026-11-01 to 2026-11-04.
No shared guard refuses a repeat. ADR 0021 requires a test harness that stops a job after each GitHub write and runs it again. No code has this harness.
Reproduction Steps
- Read the comments of dotfiles feat(release): v0.1.8 #2. The same two texts occur 73 times.
- Find an open item with two refine comments that hold the same text. The census found 34.
Expected vs Actual Behavior
- Expected: a job posts a marked comment only when the facts change.
- Actual: a job posts the same text on each run.
Proposed Solution
- In the store post path, keep a normalized body hash for each job marker and item in the job record.
- Refuse a marked comment whose hash is the same as the hash of a comment of the same job on that item in the last 7 days.
- Count each refusal in
devops_cli_roadmap_comment_repeats_refused_total{job}. - Add the implement marker to
CONST_ROADMAP_JOB_COMMENT_MARKERS. - Add a test harness on
InMemoryRoadmapStorethat stops a job after each GitHub write and runs it again (ADR 0021).
Existing Tool Considered
No GitHub feature refuses a repeat comment. hashlib gives the hash. Cost to build: about 100,000 tokens and 3 hours.
Acceptance Criteria
- A replay test posts a refine comment one time and refuses the same text the second time.
- A changed fact posts a new comment.
- The harness runs the refine and stage jobs with a stop after each write, and the second run writes nothing new.
- The counter has 12 series or fewer.
Dependencies
None. The resolve, group and split children of #4780 use this guard.
Source: #4780
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 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.The defect wastes API quota and clutters threads but does not block delivery of any item.It removes 34 confirmed repeat comments and prevents future ones across all roadmap jobs.The body estimates about 100,000 tokens and 3 hours for the hash guard, counter, marker update, and ADR 0021 harness.Both prevent repeat comments on roadmap items, but #4054 fixes only the alternatives path by comparing verdict and tool, while the candidate adds a store-level hash guard for all jobs.devops-cli-service commentedon Nov 12, 2026
Released in v0.118.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.118.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 12:40 UTC