Repository navigation
Description
Problem or Motivation
A plan task can ask for evidence that its own command cannot give. The plan of #3309 (PR #3805) held task 3.1: "Run uv run devops roadmap eval stage --replay and state the score of the model before and after the prompt change." --replay calls no model: it runs recorded plans through the gates, so a change to the stage prompt cannot move its score. The implement job marked the task done and recorded no score. The review of #3805 found the gap. docs/ROADMAP_WORKFLOW.md requires the score before and after a prompt change, and #3398 plans a readiness check that the pull request body holds the replay command and a score. That check would accept a replay score that proves nothing for a prompt change.
Proposed Solution & Architectural Design
- In the stage prompt and in
check_proposal, refuse a task that pairs a prompt change withroadmap eval stage --replayas the measure of that change. A prompt change names the live run, with--caseor--limitto bound the cost:uv run devops roadmap eval stage --limit <n>. - In the implement job, mark a task done only when the evidence that the task names is in the comment of the job. A task that asks for a score and records none stays open and stops the item.
- Test both offline.
- Coordinate with fix(pr): Require a replay score in stage-change PRs #3398: the readiness rule there accepts the live command for a prompt path and the replay command for a gate path.
Target Subsystem
src/devops_cli/roadmap/stage_change.py, src/devops_cli/ai/tasks/roadmap_stage_change.md, the implement job.
Existing Tool Considered
No open tool covers this project-specific rule. The change extends the plan check and the implement job; about 80 lines and two tests.
Proposed design
Problem statement
#3309 planned a prompt change, and its plan asked for uv run devops roadmap eval stage --replay. The replay calls no model, so its score cannot move with the prompt. The implement job ticked the task and recorded no score, and the review of #3805 found the gap. The plan check and the stage prompt must name the live run for a prompt change. A gate change keeps the replay.
Acceptance criteria
Requirement: Prompt change needs the live eval
check_proposal SHALL refuse a plan that changes the stage prompt and names uv run devops roadmap eval stage --replay as the score command.
Scenario: Prompt change with the replay command
- WHEN A plan changes
src/devops_cli/ai/tasks/roadmap_stage_change.mdand its score task holdsuv run devops roadmap eval stage --replaywith the wordsscore,beforeandafter. - THEN
check_proposalreturns a problem that namesuv run devops roadmap eval stage --limit.
Requirement: Live eval command with a bound
check_proposal SHALL accept a plan that changes only the stage prompt when a task holds the live command with --limit <n> or --case <n> and the words score, before and after.
Scenario: Prompt change with a bounded live run
- WHEN A plan changes only
src/devops_cli/ai/tasks/roadmap_stage_change.mdand a task holdsuv run devops roadmap eval stage --limit 3withscore,beforeandafter. - THEN
check_proposalreturns no problem for the eval rule.
Requirement: Gate change keeps the replay
check_proposal SHALL accept a plan that changes only a gate module when a task holds uv run devops roadmap eval stage --replay with the words score, before and after.
Scenario: Gate-only change
- WHEN A plan changes only
src/devops_cli/roadmap/stage/stage_form.pyand a task holds the replay command with the three words. - THEN
check_proposalreturns no problem for the eval rule.
Requirement: Both paths need both commands
check_proposal MUST refuse a plan that changes the stage prompt and a gate module when its tasks hold only one of the two commands.
Scenario: Prompt and gate in one plan
- WHEN A plan changes
src/devops_cli/ai/tasks/roadmap_stage_change.mdandsrc/devops_cli/roadmap/stage/stage_change.py, and one task holds the replay command with the three words. - THEN
check_proposalreturns a problem that names the live command.
Requirement: The stage prompt states both commands
The stage prompt SHALL name the live command for a prompt change and the replay command for a gate change.
Scenario: Prompt text
- WHEN A test reads
src/devops_cli/ai/tasks/roadmap_stage_change.md. - THEN The text holds
uv run devops roadmap eval stage --limitanduv run devops roadmap eval stage --replay.
Requirement: The workflow document states the rule
docs/ROADMAP_WORKFLOW.md SHALL state the live command for a prompt change and the replay command for a gate change.
Scenario: Workflow document rule
- WHEN A test reads the rule paragraph of
docs/ROADMAP_WORKFLOW.md. - THEN The text holds
uv run devops roadmap eval stage --limitfor the prompt change anduv run devops roadmap eval stage --replayfor the gate change.
Requirement: The live run takes a case limit
devops roadmap eval stage SHALL accept --limit <n> and plan the first n cases of the set.
Scenario: Live run with a limit
- WHEN A test runs
uv run devops roadmap eval stage --limit 2 --dry-run. - THEN The command lists two cases and calls no model.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers a rule of this project's plan check. The change builds its own code: 80k tokens to build, keep and fix it, and 4 hours.
Key questions
- Which command states the score of a prompt change?: The live run
uv run devops roadmap eval stage, bounded by--limit <n>or--case <n>, with the words score, before and after. The replay measures a gate change only. (best practice) [sources: docs/ROADMAP_WORKFLOW.md:312, docs/ROADMAP_WORKFLOW.md:314]- Chosen: Live run with a case limit. It calls the model, so the prompt can move its score, and the limit bounds the spend.
- Rejected: Replay. It calls no model, so a prompt change cannot move its score.
- Rejected: Live run on the whole set. A run costs at least one model call for each case, and a prompt change needs two runs.
- How does
check_proposaltell a prompt change from a gate change?: By the paths inchangesof the groups. The prompt file alone needs the live command, a gate module needs the replay, and a plan with both needs both. (best practice) [sources: docs/ROADMAP_WORKFLOW.md:314, src/devops_cli/roadmap/stage/stage_change.py]- Chosen: By the changed paths. The paths are exact and a machine reads them.
- Rejected: By the task text. A person writes the text, so a check of its words is fragile.
- Rejected: By the plan title. The title names no path of the change.
- Does the replay call a model?: No. It runs the recorded plans through the gates and reads no git. [sources: docs/ROADMAP_WORKFLOW.md:312]
- Which options does
devops roadmap eval stagename for a live run?: The workflow page names--model,--no-toolbox,--case,--dry-runand--replay. It names no--limit. [sources: docs/ROADMAP_WORKFLOW.md] - Where does the implement job get the live score of a prompt change?: From outside the runner. The step shell holds no key, and the local command table holds only commands that need no key. The check moves to a new issue that waits on fix(pr): Require a replay score in stage-change PRs #3398. (best practice) [sources: docs/ROADMAP_WORKFLOW.md, docs/ROADMAP_WORKFLOW.md:314]
- Rejected: Run the live eval in the step shell. The shell holds no key, and the local command table leaves out a command that needs one.
- Chosen: Read the score from the pull request body in the readiness function. The body holds the score of a person's run, and fix(pr): Require a replay score in stage-change PRs #3398 owns that rule, so a new issue builds it.
- Rejected: Drop the evidence check. The gap of feat(roadmap): list moved plan paths in the stage comment #3805 stays open.
- What test does a plan that adds a rule of the plan check need?: A test that builds the plan's own
StageProposaland asserts thatcontent_problemsreturns no problem for it. [sources: src/devops_cli/ai/tasks/roadmap_stage_change.md] - Which tests hold the plan rules and the workflow page?:
tests/roadmap/stage/test_roadmap_stage_prompt_rules.pyholds the rules of the prompt, andtests/invariants/test_roadmap_workflow_doc.pykeeps the workflow page in step with the code. [sources: tests/roadmap/stage/test_roadmap_stage_prompt_rules.py, tests/invariants/test_roadmap_workflow_doc.py] - Does the delivery of this issue state a live score?: Yes. The rule in force requires a pull request that changes the stage prompt to state the score of one model before and after. [sources: docs/ROADMAP_WORKFLOW.md:314]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-08: none.
Tool: none found.
Activity
dan-petty commentedon Nov 6, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.The workflow accepts evidence that proves nothing for prompt changes, but it is a process-correctness gap, not a security or outage risk.It prevents false evidence from closing a task, improving trust in the roadmap gate, but it affects an internal workflow rather than end users.The body scopes the work to about 80 lines and two offline tests across three files.Both govern evidence for stage-change PRs, but #3398 adds a PR-level readiness check for a replay score while the candidate changes the plan-level rule to require a live run for prompt changes and adds implement-job verification.devops-cli-service commentedon Nov 7, 2026
Status set to Ready at 734e060 (see proposed design in issue body).
Moved to new items: #4005.
devops-cli-service commentedon Nov 8, 2026
Alternatives check: none
Reason: Searches turned up general prompt-evaluation frameworks such as promptfoo, which can compare prompt variants against a live model and report scores, but no open tool enforces a rule inside this repository's plan check, stage prompt and implement job. The need is a project-specific policy (a prompt change must name the live eval, a gate change the replay), which has to be built in
check_proposaland the implement job, so no tool covers it.Tool: none found
Lacks:
uv run devops roadmap eval stage --replayas its score command.check_proposalor the implement job, or holds a task open until the named evidence is in the job comment.devops roadmap eval stageor add the plan-check rule.Tools considered:
Searches run:
Sources:
Checked on 2026-11-08. A person decides what this means for the item. The check changes no label and closes no issue.
feat(roadmap): a prompt change names the live eval score (#3830)
devops-cli-service commentedon Nov 14, 2026
Released in v0.143.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.143.0
devops-cli-service commentedon Nov 14, 2026
Live since 2026-11-14 21:08 UTC