Skip to content

fix(roadmap): Name both command registration forms - #6148

Merged
dan-petty merged 1 commit into
mainfrom
fix/4119-detect-function-defined-commands
Nov 17, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/4119-detect-function-defined-commands

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

The stage prompt does not state how a CLI command registers its name. A planner that checks for a command with a quoted literal only misses the function form, such as @app.command() above def add(, so it treats an edit to an existing command as a new one (#4119). This change states both registration forms in the stage prompt and states that a check for a command name is a negative search for the bare name, which finds both forms.

Stage eval replay: uv run devops roadmap eval stage --replay score before 26%, after 26%. The replay calls no model, so a prompt edit moves only the live score and the gates are unchanged.

Closes #4119

Change: openspec/changes/archive/2026-11-17-4119-name-both-command-registration-forms/

@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 17, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 09:03
@dan-petty
dan-petty enabled auto-merge (squash) November 17, 2026 09:03
@dan-petty
dan-petty disabled auto-merge November 17, 2026 09:08
@dan-petty
dan-petty merged commit 0d3b1e1 into main Nov 17, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/4119-detect-function-defined-commands branch November 17, 2026 09:08
dan-petty pushed a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.171.0](v0.170.0...v0.171.0)
(2026-11-17)


### Features

* **roadmap:** Run review scanners in the runner pod
([#6114](#6114))
([ddde85a](ddde85a))
* **service:** Roll the Service with a surge release
([#6146](#6146))
([a459b65](a459b65))


### Bug Fixes

* **k8s:** Run kube-linter on the Argo CD builds in CI
([#6112](#6112))
([dba90f1](dba90f1)),
closes [#6068](#6068)
* **k8s:** Take the k8s area of the config-read list to zero
([#6124](#6124))
([0857ee5](0857ee5)),
closes [#6119](#6119)
* **roadmap:** judge a pyproject tool setting by its diff
([#6089](#6089))
([0a787eb](0a787eb)),
closes [#3491](#3491)
* **roadmap:** Name both command registration forms
([#6148](#6148))
([0d3b1e1](0d3b1e1))
* **roadmap:** Read the files of a named pull request
([#6144](#6144))
([5a29fed](5a29fed))
* **roadmap:** refuse a placeholder group title in a plan
([#6092](#6092))
([cfd820b](cfd820b))
* **service:** the metrics row sends too many counted requests
([#6095](#6095))
([b3fc5dc](b3fc5dc))

---
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): detect function-defined CLI commands in stage

1 participant