Skip to content

docs(openspec): plan #3328 gate a plan that adds a StageProposal field - #3336

Merged
dan-petty merged 3 commits into
mainfrom
feat/3328-the-stage-probe-checks-prompt-reply
Nov 4, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3328-the-stage-probe-checks-prompt-reply

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3328

A plan that adds a field to StageProposal must also update the reply-key bullets of the staging prompt, or the prompt test fails right after implementation. Nothing checks the plan for that update today. This change adds a deterministic gate to the stage job. The gate reads the groups of a plan. When a group changes src/devops_cli/roadmap/stage_change.py and names StageProposal with a new field, another group must change src/devops_cli/ai/tasks/roadmap_stage_change.md and name the reply key with its rule. The gate names the prompt file and the missing key when the plan leaves the update out. The replay reports the new defect type through the new gate, so a recorded plan that leaves the update out fails the golden set.

Change: openspec/changes/3328-the-stage-probe-checks-prompt-reply/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 3, 2026 04:41
@dan-petty
dan-petty marked this pull request as draft November 3, 2026 23:24
The Feasibility section now lists the content gate and the content GateName,
and the Design gives the real reason for the file choice: stage_specs.py
exists and reads the base specs, so it holds no gate. The tasks raise the
case-count, evaluated-pull and judged baselines that a new gate and case need.
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 03:32
@dan-petty
dan-petty merged commit 1643cc7 into main Nov 4, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3328-the-stage-probe-checks-prompt-reply branch November 4, 2026 03:32
dan-petty added a commit that referenced this pull request Nov 4, 2026
…be (#3437)

Plans #3415

The stage probe checks each cited path literally at the staging commit
root. A bare file name such as `stage_specs.py` fails there even when a
file with that name sits under `src/devops_cli/roadmap/`, and the
planner then dismisses a file that exists (PR #3336 did).

The probe now reads the staged tree once, on the first missing cited
path, lists the files of the same name that the commit holds, and names
them as candidates. The line then says the path is no file at the root
of the commit, not that it is no file of the commit. A path at the root
keeps its present line. The candidates stay bounded by `SAME_NAME_MAX`.

The probe test covers a cited bare name with no root file, a root file
with no same-name file, and six same-name files. The test that pins the
probe command kinds adds `ls-tree`.

Change: `openspec/changes/3415-the-stage-probe-names-the-files/`

---------

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
Co-authored-by: Daniel Petty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant