Repository navigation
Description
Problem
The scenario check refuses a spec scenario that names a data file as a condition, because no test text holds the path of that file.
_scenario_problems in src/devops_cli/roadmap/stage/stage_change.py takes each code span of a scenario that is a repository path or a code identifier. It then needs a behavior group whose test text or verify command holds that string. A scenario that says what a fixture holds, for example ".github/labels.yml declares no scope/floor", names the file as input data. The test builds that data in memory and has no reason to name the path.
Evidence: a live stage run on item #3599 with the live stage model (deepseek-v4.1-flash-1017), 2026-11-10. The last reply was refused with: "Scenario 'A scope that no label declares' names .github/labels.yml with no behavior test." The when of the scenario was: "the title of the issue is fix(floor): the job drops a comment and .github/labels.yml declares no scope/floor". The item failed. The stage job logs of 2026-11-04 to 2026-11-09 hold 8 failures with this sentence, for example docs/ROADMAP_WORKFLOW.md (#3398), src/devops_cli/ai/tasks/roadmap_stage_change.md (#3462) and write_file (#3570).
Expected
- The check judges the code spans of the
thenof a scenario, which state the behavior under test, and the paths of thewhenthat a task of a behavior group changes or reads. - A path in the
whenthat no group changes, creates or reads is input data and needs no test text. - A scenario whose
thennames code with no behavior test is still refused.
Acceptance criteria
- A test with the scenario above and a behavior group whose test text does not name
.github/labels.ymlpasses the check. It fails today. - A test with a
thenthat namessrc/x.pyand no test text that names it is refused. -
uv run devops roadmap eval stage --replaykeeps its result.
Existing tool considered
No library judges a scenario of a spec delta. The change narrows the spans that _scenario_problems reads. Cost: about 25 000 tokens to build, 3 000 to keep, and 1 hour.
Activity
dan-petty commentedon Nov 10, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.Eight stage failures in one week block legitimate items, but the items are valid and a person can override the check.It removes false rejections that stall valid roadmap items from passing the stage gate.The body states the change narrows which spans _scenario_problems reads, costing about one hour.Both concern the scenario-to-test pairing check, but #3423 adds the pairing requirement while the candidate fixes a false positive where data file paths in the when clause are wrongly required to appear in test text.devops-cli-service commentedon Nov 10, 2026
Released in v0.106.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.106.0
devops-cli-service commentedon Nov 10, 2026
Live since 2026-11-10 03:32 UTC