Skip to content

fix(roadmap): the premise probe reports a file as absent that exists at the plan base #3301

Closed

Description

@dan-petty

Problem or Motivation

The Feasibility of the plan in PR #3248 (for #3236) says that src/devops_cli/ai/mcp/roles.py "is no file of the staging commit" and that "the role tables of #3219 are not in this base". The file exists at the base of the branch: git cat-file -e 4571d5f3:src/devops_cli/ai/mcp/roles.py exits 0, and #3233 (69234732) added it before the base. The plan then wrote a design around a missing role table and stated that the issue's acceptance criteria could only be met in a weaker form.

The premise probe (#3176) checks that cited paths exist. Here it reported a path as absent, and the plan used the report without a check. A false "absent" is as harmful as a false "present".

Proposed Solution & Architectural Design

  1. Find why the probe reads a tree other than the plan base (a stale staging checkout, a shallow fetch, or a search index that lags). Read the base commit with git cat-file -e <base>:<path>.
  2. Make the probe resolve each "no file" claim against the same commit that the plan branches from, and record that commit in the report.
  3. Add a test with a path that exists at the base and a probe that must not call it absent.

Target Subsystem

The premise probe of devops roadmap plan stage (#3176).

Source: #3248

Proposed design

Problem statement

x

Acceptance criteria

Existing Tool Considered

x

Key questions

None.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 2, 2026
  2. dan-petty commented on Nov 2, 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 false-absent result corrupts a plan design, but the failure is intermittent and limited to plans whose base differs from the probe tree.
    • Value: Medium. It prevents plans from being built on a missing table that actually exists at the base.
    • Effort: Medium. Requires diagnosing the wrong-tree read, switching to git cat-file against the base commit, and adding a regression test.
    • Related: feat(roadmap): the stage job probes the premise at the staging commit and returns an item whose premise is false #3011, which asks for a different change. Both concern the premise probe added by #3011; the candidate fixes a false-absent result in that probe, while #3011 delivered the probe feature itself.
  3. added
    priority/p2-medium
    on Nov 2, 2026
  4. devops-cli-service commented on Nov 3, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at 82d22a7 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • The proposal has no problem statement, no acceptance criterion with its requirement, scenario, WHEN and THEN, or no answer to the existing-tool question. State the problem, the requirements with their scenarios, and the open tool that covers the need or the cost of building it.
  5. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 5, 2026
  6. added
    status/in-review
    and removed
    status/in-progress
    on Nov 5, 2026
  7. added 2 commits that reference this issue on Nov 5, 2026
    a1b50ba
    7a8a884
  8. removed
    status/in-review
    owner/agent
    on Nov 5, 2026
  9. devops-cli-service commented on Nov 5, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-05 14:35 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