Skip to content

fix(roadmap): accept requirement names and quoted stage commands - #7939

Merged
dan-petty merged 1 commit into
mainfrom
fix/7927-stage-command-check-no-command
Nov 30, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7927-stage-command-check-no-command

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The command check of the stage job refused two kinds of text that is no command: a code span that holds the name of a spec requirement that starts with devops , and a command in a quoted source line that holds backticks. Each false refusal cost one more reply of the model.

A code span that equals the name of a requirement, of a base spec or of the delta of the reply, now cites no command. A command that a sentence holds between two backticks now ends at the second backtick. The check still refuses a wrong command in each form.

Closes #7927

Change: openspec/changes/archive/2026-11-30-7927-stage-command-check-no-command/

The command check of the stage job refused text that is no command. A code
span that equals the name of a requirement, of a base spec or of the delta
of the reply, now cites no command. A command that a sentence holds between
two backticks now ends at the second backtick.

Closes #7927
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 30, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Stage replay, before and after

uv run devops roadmap eval stage --replay calls no model. Its output is the same on the base commit and on this branch.

Gate Known Caught Missed
paths 57 57 0
kind 25 25 0
criteria 0 0 0
content 4 4 0
prompt_keys 1 1 0

63 cases. A gate judges 87 of 324 known defects (27%). Every gate accepts 6 of 6 good plans.

A recorded case holds no requirement names, so the replay does not measure the rule of the names. No live eval ran, because it calls a model.

Recorded replies

The old check and the new check each read the 23 recorded replies of a paired plan-only run. The requirement names came from openspec/specs of this branch. No model call.

Command findings: 12 with the old check, 2 with the new check. The 2 that stay cite a command form that the plan itself adds: devops pr describe with no issue argument, and with --format. This pull request does not change that rule.

Forms that stay refused

  • A code span that quotes a requirement heading, such as ### Requirement: devops pr describe prints the title and the body.
  • A field that starts with a requirement name and has no backticks.

No recorded reply has these forms.

Local checks

  • devops ci test tests/roadmap/stage tests/invariants tests/roadmap/refine/test_roadmap_refine_context.py: 3683 passed, 1 skipped.
  • devops ci fail-to-pass --base origin/main: 13 cases fail on the base commit and pass here.
  • devops ci --check rows lint, format, typecheck, constructs and git pass on the final source. devops openspec check passes on the final change.
  • Rows docs, test-tree, startup-imports and swallowed-failures passed before a one-line type fix and before the change folder.

@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 27e85f1b16c6a0d67bf7d0553bfdbbf5b2c14f58

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
gitleaks success run
Trivy neutral run
Service Image Tests (shard 5 of 6) success run
Service Image Tests (shard 3 of 6) success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 6 of 6) success run
Changed-Test Independence success run
CodeQL success run
Plan Check skipped run
Tests on Main skipped run
Test Job Duration skipped run
Tests & Coverage (shard 5 of 6) success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 4 of 6) success run
Service Image success run
Tests & Coverage (shard 2 of 6) success run
Changed-Test Independence (run 3 of 3) success run
Changed-Test Independence (run 1 of 3) success run
Changed-Test Independence (run 2 of 3) success run
Runner Image success run
Tests & Coverage (shard 6 of 6) success run
Static Analysis success run
Tests & Coverage (shard 3 of 6) success run
Service Image Build success run
Design Tokens success run
Semantic PR title success run
Fail-to-Pass Check success run
Analyze (python) success run
Analyze (actions) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46507558382/job/142161802323

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 20:49
@dan-petty
dan-petty merged commit 3afb7b7 into main Nov 30, 2026
35 checks passed
@dan-petty
dan-petty deleted the fix/7927-stage-command-check-no-command branch November 30, 2026 20:50
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.265.0](v0.264.1...v0.265.0)
(2026-11-30)


### Features

* **docs:** check code-span paths in prompt documents
([#7941](#7941))
([68eb592](68eb592))


### Bug Fixes

* **roadmap:** accept requirement names and quoted stage commands
([#7939](#7939))
([3afb7b7](3afb7b7))
* **service:** read a 403 that names a rate limit as one
([#7940](#7940))
([f197986](f197986))
* **service:** redeliver once for the App with a valid JWT
([#7938](#7938))
([c92bfdb](c92bfdb))


### Performance Improvements

* **roadmap:** a stage return reads the Claude prompt cache
([#7931](#7931))
([b4af1d6](b4af1d6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the stage command check refuses text that is no command

1 participant