Skip to content

docs(openspec): plan #3309 list moved plan paths in the stage comment - #3330

Merged
dan-petty merged 4 commits into
mainfrom
feat/3309-a-staged-plan-lists-the-files
Nov 3, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3309-a-staged-plan-lists-the-files

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3309

The stage job compares the plan's base commit with the default branch before it writes the comment of a staged item. When a commit on the default branch changed a path that a group of the plan names under reads or changes, the comment lists that path with the short hash and the subject of each commit that touched it, in log order. When nothing moved, the comment has no such section. The prompt of the stage job also asks for one feasibility line for each called function whose arguments need a checkout, a client or a network, so a reviewer sees the precondition of a callee in the plan itself. Part of #3309.

Change: openspec/changes/3309-a-staged-plan-lists-the-files/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 3, 2026 03:44
@dan-petty
dan-petty marked this pull request as draft November 3, 2026 22:01
The plan for #3309 compares the plan base with the default branch in apply_stage, names the apply test module, and asks for the prompt evaluation.
@dan-petty
dan-petty marked this pull request as ready for review November 3, 2026 22:50
@dan-petty
dan-petty merged commit 00301da into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3309-a-staged-plan-lists-the-files branch November 3, 2026 22:51
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
…#5648)

Plans #3389

Plans #3389. A stage plan can name a test module that never exercises
the changed function: the plan of #3330 put a comment assertion in the
plan test module, while `_stage_one` writes the comment. The stage probe
now names, for each cited function, the test modules that hold its name,
so the planner sees the map before its first reply. The stage prompts
send the `test` of a behavior group to that module: the extended prompt
asks for `references` on the changed function, and the base prompt falls
back to the `probes` text. A prompt rule test holds both texts.

Change: `openspec/changes/3389-name-the-test-module-for-a/`

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
dan-petty added a commit that referenced this pull request Nov 16, 2026
The plan of #3330 put its comment assertion in
`tests/roadmap/stage/test_roadmap_stage_plan.py`, and `_stage_one`
writes the comment, which
`tests/roadmap/stage/test_roadmap_stage_apply.py` covers. The path check
accepted the test path because the file exists, so a plan can name a
test that cannot fail on the base. Issue #3389 asks the stage request
and the stage prompts to name the test module that exercises a changed
function.

Replay eval `uv run devops roadmap eval stage --replay`: score before
84/321 (26%) and score after 84/321 (26%).
Base eval score: 84/321 (26%)
Head eval score: 84/321 (26%)

Closes #3389

Change:
`openspec/changes/archive/2026-11-16-3389-name-the-test-module-for-a/`
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