Skip to content

fix(roadmap): refine leaves an issue from an outside account waiting on a person, and neutralizes comment markers, bare links and cross-repository references #2478

Description

@dan-petty

Problem or Motivation

A go-live review of the roadmap Service (2026-10-28) found that refine can set status/ready on an issue that any GitHub account opened on a public managed repository. Refine reads the issue's text and replies as data, but it does not look at author_association, and its rendered section keeps <!--, www. links and owner/repo#N references (src/devops_cli/roadmap/refine.py; src/devops_cli/roadmap/store.py:328-362). Build agents take Ready items as work, so text from an outside account can steer agent work.

Proposed Solution & Architectural Design

  • Refine refines an item whose author is not the owner, a member or a collaborator (author_association) only when a person asked for it with --item; in a round, such an item waits on a person.
  • The section and the comment neutralize <!--, bare www. links and cross-repository references from the model's text, as they already do for URLs and handles.

Target Subsystem

Roadmap refine.

Existing Tool Considered

GitHub's author_association field, which the store already reads for intake. Nothing is built.

Acceptance criteria

  • A test refines a round with an item from a NONE author and finds it waiting on a person, and with --item finds it refined.
  • A test renders a section from model text with <!--, www.example.com and other/repo#1, and finds each one neutralized.

Activity

  1. added
    source/agent
    type/security
    status/new
    value/high
    effort/medium
    on Oct 28, 2026
  2. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/security. The fix prevents outside accounts from steering agent work and blocks injection of markup and links.
    • Priority: P1-High. Outside accounts can currently steer build agents, which is a live security gap found in a go-live review.
    • Value: High. It stops untrusted text from directing agent work and from injecting markup into rendered output.
    • Effort: Medium. It needs an author_association check in refine, three new neutralization patterns, and two new tests.
    • Related: feat(roadmap): split unworkable or unanswered scope during refine into separate issues #2423, which asks for a different change. Both modify devops roadmap refine behaviour, but the candidate gates outside authors and neutralizes markup while 2423 splits unworkable scope.
  3. added
    priority/p1-high
    on Oct 28, 2026
  4. added 3 commits that reference this issue on Oct 28, 2026
    e6230dc
    5c4d24e
    2d38f8d
  5. removed
    status/new
    on Oct 30, 2026
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/p1-highsource/agenttype/securityvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions