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
Owner, 2026-11-17: "verify that issue comments are making it to the service jobs that need them". Decisions and corrections are often posted as issue comments (for example the owner decision on #6058, the sandbox decision on #6105, the agent notes on #3827). Not every job that acts on an item reads them:
| Job | Reads comments | How |
|---|---|---|
| refine | yes | person comments after refine's last comment, the newest 10, up to 4,096 tokens each (_replies_for_model, src/devops_cli/roadmap/refine/refine.py:3367) |
| alternatives | yes | person replies to the earlier check (replies, src/devops_cli/roadmap/alternatives.py:729) |
| stage | only on request | nothing is prefetched; the model sees the last 3 comments, each cut to 600 characters, only when it calls read_issue (stage_github.py:100, CONST_ROADMAP_STAGE_ISSUE_COMMENTS, CONST_ROADMAP_STAGE_ISSUE_COMMENT_CHARS) |
| implement | no | it reads only the implement: retry command; the plan is its only input |
Evidence: #3827 was reopened with three comments (groups 2 to 4 unbuilt; status restored; "take the next free ADR number"). The implement run of PR #6166 cannot read them. Its plan still names docs/adr/0028-..., and main now has 0028 and 0029. The owner decision on #6058 is about 1,900 characters, so read_issue gives the stage model its first 600 at most.
Expected behavior
- The stage and implement jobs receive the person comments of the item that came after its plan input (the body at stage; the merged plan at implement): owner decisions, scope changes and corrections. The comments of roadmap jobs stay out, as refine does it.
- A comment is cut by a token cap, not 600 characters, and the job says when it cut one.
- The plan or the PR comment of a step names each comment it used.
- A test builds an item with a decision comment after the plan, and shows that the implement step gets it.
Related
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 deal with how a roadmap job handles issue comments, but #4960 removes job comments from alternatives while the candidate adds person comments to stage and implement.dan-petty commentedon Nov 17, 2026
Owner correction, 2026-11-17 (direct): "no fancy ignore system or hard character caps that will cause jobs to fail or miss context like alternative checks, service improvement suggestions, failure reasons on previous attempts, etc".
This replaces two points of the expected behavior above:
fix(roadmap): give stage and implement the comments of the item
docs(openspec): archive the change (#6167)
fix(roadmap): give stage and implement the comments of the item
docs(openspec): archive the change (#6167)
devops-cli-service commentedon Nov 17, 2026
Released in v0.173.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.173.2
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 16:55 UTC