Skip to content

test(roadmap): run the agent verification pass on the local model #3956

Open

Description

@devops-cli-service

Split from #3717.

Problem

devops roadmap eval verify --case <case> with the local verification model qwen3.8:27b must give findings on the good case of #3410 and on good-2739-the-subprocess-environment-guard-accepts-gh, or the report must name why it cannot. The offline tests use a scripted model and cannot show the behavior of that model.

Why deferred

The check needs the local verification model host and a run of about five minutes for each case, so it cannot run in the offline test suite or in the pull request of #3717.

Acceptance criteria

  • devops roadmap eval verify --case <case> with the local verification model gives findings on the good case of fix(roadmap): the stage gate proves a negative search verify #3410 and on good-2739-the-subprocess-environment-guard-accepts-gh, or the report names the cause of the stop.
  • Three runs of each case give the same result, and no run stops with Tool <text> exceeded max retries count.

Proposed design

Problem statement

The offline tests run the verification pass with a scripted model. They cannot show how the local verification model behaves. This item runs devops roadmap eval verify with the local model on two good cases, three times each. It records the findings or the cause of each stop.

Acceptance criteria

Requirement: Pending a person after the merge

A person SHALL run uv run devops roadmap eval verify --model local/qwen3.8:27b --case <case> three times on the good case of #3410 and three times on good-2739-the-subprocess-environment-guard-accepts-gh after the merge, and SHALL record each report in the issue.

Scenario: Local verification model on the two good cases

Requirement: The local verification outcome is stable across runs

The three reports of one case MUST agree on the outcome, and no report MUST name the stop reason tool_retries_exhausted or the text Tool <text> exceeded max retries count.

Scenario: Three runs of one case agree

  • WHEN The person compares the three reports of the good case of fix(roadmap): the stage gate proves a negative search verify #3410, and the three reports of good-2739-the-subprocess-environment-guard-accepts-gh.
  • THEN The three reports of one case show the same outcome: each holds at least one finding, or each names the same stop reason; no report names tool_retries_exhausted or Tool <text> exceeded max retries count.

Existing Tool Considered

No alternatives check has run. The need is a live run of the project's own verification pass. The project's devops roadmap eval verify command covers it. It lacks an offline test of the local model. The item adds no code, so the build cost is zero.

Key questions

  • Which command runs the live verification pass, and which model does it use?: The command is devops roadmap eval verify --case <case>. The run selects the local verification model qwen3.8:27b with --model local/qwen3.8:27b. [sources: docs/commands/roadmap.md]
  • Does each verify run write its own report?: Yes. The verify command stores each case when it ends, and a store file gets a unique name. Each run writes its own report. [sources: openspec/specs/roadmap-stage-eval/spec.md]
  • Does this item wait on another item before it can run?: Yes. chore(roadmap): hold incremental stage and implement work #6521 is a dependency, not a block. The item records chore(roadmap): hold incremental stage and implement work #6521 as a dependency. (best practice) [sources: CONTEXT.md]
  • What does the same result mean for three runs of a local model?: The three reports of one case agree on the outcome: each report holds at least one finding, or each report names the same stop reason. The text of a finding need not match, because a model reply differs between runs. (best practice) [sources: openspec/specs/roadmap-stage-eval/spec.md, docs/ROADMAP_WORKFLOW.md]
    • Chosen: Same outcome. A model reply differs between runs, so only the outcome can be required to match. The report names the findings or the typed stop reason of each case.
    • Rejected: Identical finding text in every run. Identical text is no property that three runs of a model can show.
  • Which stop shows a spent tool retry limit?: The old literal Tool <text> exceeded max retries count maps to the typed reason tool_retries_exhausted. The check reads the typed reason of each report. [sources: src/devops_cli/roadmap/agent_run.py, openspec/specs/roadmap-stage/verification/spec.md]
  • Who runs the check, and when?: A person runs the command after the merge, because no offline test reaches the local model host. The person records the report of each run in the issue. (best practice) [sources: openspec/changes/archive/2026-11-19-3717-the-agent-verification-pass-stops-with/tasks.md, docs/ROADMAP_WORKFLOW.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#6521

Activity

  1. added
    source/agent
    type/test
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 7, 2026
  2. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    ContributorAuthor

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

    • Type: type/test. The test prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The check confirms that the fix of #3717 works with the real model, but it can wait for a local model host.
    • Value: Medium. The result shows that the verification pass gives findings with the real model and not only with the scripted model.
    • Effort: Medium. It needs a local model host, two cases and three runs for each case of about five minutes.
    • Related: fix(roadmap): the agent verification pass stops with a text tool error #3717, which asks for a different change. Both items cover the agent verification pass, but #3717 fixes the text tool error and the candidate tests the local model behavior.
  3. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at 682d206. A bot opened the item, so a review of the issue and of the proposal must approve it first. The review found the defects below. A person edits the body to answer them. The next refine round looks at the item again only after a body edit.

    • false_premise at plan, existing_tool: The plan says the work costs zero elapsed time. The issue states that one case run takes about five minutes, and the plan runs six cases. Evidence: "a run of about five minutes for each case"
    • false_premise at plan, existing_tool: The plan claims that no alternatives check has run. Nothing in the input supports this claim about the process. Evidence: "No alternatives check has run."
  4. dan-petty commented on Nov 20, 2026

    @dan-petty
    Owner

    Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.

  5. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.

  6. devops-cli-service commented on Nov 26, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.

  7. devops-cli-service commented on Nov 29, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.

  8. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: this item cannot be built as written. Edit the body to run refine again.

    Reason: The item is a live check. It needs the local verification model host and a person after the merge. It adds no code. A pull request that only records the run is a tracking-only pull request, which AGENTS.md rule 8 forbids. No pull request can deliver it.

    Evidence: Issue #3956, section 'Why deferred': 'The check needs the local verification model host and a run of about five minutes for each case, so it cannot run in the offline test suite or in the pull request of #3717.' AGENTS.md rule 8: 'Make no commit or pull request that only updates tracking.'

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/agentstatus/newtype/testvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions