Skip to content

fix(roadmap): Give stage and implement the person comments #6167

Closed

Description

@dan-petty

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

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 17, 2026
  2. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    owner/agent
    on Nov 17, 2026
  4. dan-petty commented on Nov 17, 2026

    @dan-petty
    OwnerAuthor

    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:

    • The comments of roadmap jobs stay in: the stage and implement jobs get all the comments of the item, of persons and of jobs, oldest first, each labeled with its author and time.
    • No hard cap and no cut. When the comments do not fit the input budget, the newest stay in full and the older ones are listed in an index (author, time, marker or first line, id) that a tool reads in full on demand. No job fails or refuses for comment size.
  5. added
    status/in-review
    and removed
    status/new
    on Nov 17, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 17, 2026
  7. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor
  8. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-17 16:55 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions