Skip to content

fix(roadmap): refine looks again when the cause of a wait ends #3483

Description

@dan-petty

Problem

An item that waits in refine can stay there after the cause of the wait ended. The facts are as of 2026-11-04T15:06Z.

Part of the logic exists. A blocked wait ends when a blocker closes (src/devops_cli/roadmap/refine.py:1599). _cited_code_changed (:1574) ends a wait when a recorded block path changes. The gaps are these:

Whether the current analysis model clears the old waits is unverified. That model now writes stubs, so the new look needs that repair pass first.

Expected

Refine tells a return by a job from a return by a person. It takes a waiting item again when an issue that its wait text names closes, or when a path that its wait text names changes. It reads the evidence of a stage return. A second return on the same body waits on a person with a stated reason. Each refine person wait is visible.

Acceptance criteria

  • A test: a New item with next step ready and a stage return as its newest job comment is refined again in the next round.
  • A test: a New item that a person set back still waits for a reason.
  • A test: the model input of that new look holds the evidence of the stage return.
  • A test: a second stage return on the same refine.body_hash makes the item wait on a person with a stated reason, and no new look follows.
  • A test: a person wait whose open question names an issue that has closed gets a new look.
  • A test: a person wait whose text names a path that changed gets a new look, also when refine.block_paths is null.
  • A test holds a bound on the requests of the new look for each round.
  • One bounded new look covers the waits recorded before the current analysis model. The pull request reports the share that the new look clears on 20 waits.
  • devops roadmap explain <n> names the cause of a refine wait.
  • devops roadmap inbox prints one line for each refine person wait.

Existing tool considered

Existing project code: _is_open, store.path_changed_at and CONST_ROADMAP_JOB_COMMENT_MARKERS give the facts in a round. No new tool.

Dependencies

#3478: fix(roadmap): a placeholder reply of a model moves no item

Related

Related: #3077, #2754, #2005, #2410

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/high
    effort/medium
    on Nov 4, 2026
  2. dan-petty commented on Nov 4, 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. 84 items are stuck in a person wait with zero replies and a 3.45-day median, but the system still functions and a manual reset exists.
    • Value: High. The self-clearing of waits removes a large backlog of stalled items and prevents refine loops.
    • Effort: Medium. Part of the logic exists at the named lines; the gaps are distinguishing job from person returns, checking closed issues and changed paths, and adding a loop bound.
    • Related: fix(roadmap): a placeholder reply of a model moves no item #3478, which asks for a different change. Both work on refine's handling of job comments in refine.py, but #3478 stops placeholder text from moving items while this item adds the rule that ends a wait when its cause closes or changes.
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 4, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 5, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 5, 2026
  6. added a commit that references this issue on Nov 5, 2026
  7. devops-cli-service commented on Nov 5, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-05 03:28 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/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions