Skip to content

fix(roadmap): refine sends a judge refusal to an agent round #4798

Closed

Description

@dan-petty

Problem Description

28 bot-filed New items wait for a person to edit the body after a judge refusal. The median wait is 6.0 days, and 26 items have no reply. docs/roadmap/refine.md sends this case to a person.

The owner rule of 2026-11-05 says that bot-filed work proceeds with an agentic judge and no person. The owner accepted the agent round on 2026-11-11 (decision "Judge refusal of a bot-filed item" of #4780).

Reproduction Steps

  1. Run uv run devops roadmap inbox and read the kind refine.
  2. Select the items whose author is a bot and whose record holds refine.judge with a refusal.

Expected vs Actual Behavior

  • Expected: an agent round fixes the findings of the judge. After 3 tries, the item is FAILED and the inbox lists it.
  • Actual: the item waits for a person's body edit.

Proposed Solution

  • For a bot-filed item, a judge refusal sets the next step to an agent round. The next request holds the judge findings.
  • The refine tries limit (3) bounds the rounds. After the last try, the item is FAILED, and devops roadmap inbox lists it.
  • The comment does not ask a person to edit the body.
  • A changed answer of the question resolver (feat(roadmap): track the issue stewards and persona selection #4780) is new input.
  • A person-filed item keeps the current behavior.
  • Update docs/roadmap/refine.md in the same pull request.

Existing Tool Considered

The refine agent and the agentic judge (#3502) exist. This change routes the refusal. Cost to build: about 80,000 tokens and 2 hours.

Acceptance Criteria

  • A replay test refines a refused bot-filed item again with the findings, and sets it Ready when the judge approves.
  • A third refusal gives FAILED, and the inbox lists the item.
  • A person-filed item keeps the current behavior.
  • docs/roadmap/refine.md states the new route.

Dependencies

None.

Source: #4780

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. A 6-day median wait blocks bot-filed work, but the pipeline still functions and a person can intervene.
    • Value: Medium. It removes a 6-day median wait for 28 items and automates a step that currently needs a person.
    • Effort: Medium. The body estimates about 80,000 tokens and 2 hours, covering routing, a 3-try limit, FAILED state, inbox listing, and a docs update.
    • Related: fix(roadmap): refine makes a person wait only for a decision #3632, which asks for a different change. Both reduce unnecessary person-waits in refine, but #3632 targets general wait cases while the candidate routes a judge refusal to an agent round.
  4. added
    priority/p2-medium
    owner/agent
    on Nov 11, 2026
  5. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Scope from the progress-aware caps plan (2026-11-11)

    The tracker #4843 folds a deterministic fixable check into this item as child 5 (start now). The agent round of this item stays; the check runs before it.

    Problem

    28 bot-filed items wait for a person after a judge refusal (median 6.0 days). Of 31 refusals in 7 days, 14 hold only input-gap findings (the judge had no file text for a true claim, for example a file that exists on #4016), 12 hold proposal-vs-issue contradictions that one revision can fix, and 0 repair rounds ran.

    Solution

    Add to #4798 a deterministic fixable check before its agent round: (1) a missing_path finding whose path exists at the source commit (git ls-files) is refuted and dropped with no model; (2) an input-gap finding gets one more judge run with the cited file text; (3) a finding on a placeholder body, or a quote that names nothing a tool can check, is not fixable and refuses with the reason; (4) else the agent round of #4798 gets the findings, bounded by the refine tries of 3. Record the classes, the path and the result in the job record and in devops_cli_roadmap_fix_checks_total{site="refine.judge"} (#4847 adds the counter; until then, the log line). The decision model ask at this site comes in #4867.

    Cost to build: about 0.3M tokens, 2 hours.

    Acceptance criteria

    Dependencies

    None.

  6. added
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 12, 2026
  7. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  8. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 04:08 UTC

  9. added a commit that references this issue on Nov 13, 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/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