Skip to content

fix(roadmap): fix-plan refuses a citation that the stage run read #5391

Description

@dan-petty

Problem

A fix-plan attempt can fail the Feasibility trace gate on a citation that the stage run read and the fix-plan run did not read again.

Seen on 2026-11-13: the fix-plan Job on plan pull request #5390 (item #5272, head 8d08977, image 0.127.0) ended failed at the step gate, before the review of the head, with class plan_defect (plan_calls 4, gate_returns 3, verify_rounds 0, 2.4M tokens, 25 min). Reason: "The Feasibility section states that src/devops_cli/roadmap/decision_step.py 50 215 was read, but the run did not read it." The stage run that wrote the plan made that citation. The fix-plan run had 3 gate returns to read the file and did not, so the attempt never reached the review of the one open finding (criterion_dropped).

What to check first

  • Does the fix-plan step build its trace facts from its own run only, or also from the reads of the stage run that wrote the plan (fix(roadmap): build the trace facts from every plan run #4267 builds the facts from every plan run of one stage job)?
  • Do the gate return messages of fix-plan tell the planner which file to read, and does the planner have the tool and the budget to read it?

Proposed fix

Give the fix-plan gate the reads that stand behind the plan it repairs: either keep the trace facts of the stage run with the plan, or judge only the Feasibility sentences that the fix-plan revision adds or changes. A citation that no run read stays refused.

Acceptance criteria

Existing tool considered

No tool covers the trace facts of this project. Cost: about 200,000 tokens, 3 hours elapsed.

Activity

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

    @dan-petty
    OwnerAuthor
    • Related: fix(roadmap): a kept plan fails the trace gate #4281, which asks for a different change. Both items face the trace gate lacking the reads that support a plan's citations, but #4281 fixes a kept plan missing its trace record while the candidate fixes the fix-plan run not inheriting the stage run's reads.
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 13, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 13, 2026
  5. added a commit that references this issue on Nov 13, 2026
  6. devops-cli-service commented on Nov 13, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-13 12:38 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