Skip to content

docs(openspec): plan #3405 Require the message file a task names - #3408

Merged
dan-petty merged 4 commits into
mainfrom
fix/3405-the-stage-check-names-the-message
Nov 4, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/3405-the-stage-check-names-the-message

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Plans #3405

The stage check accepts a plan whose task text names a MESSAGES.roadmap entry while no group changes src/devops_cli/lang/en/messages.py. The verification pass keeps the plan a draft, so a person edits it.

This change adds a problem to content_problems in src/devops_cli/roadmap/stage_change.py: when a rendered task text names MESSAGES.roadmap and no group lists the message file, it names src/devops_cli/lang/en/messages.py. The problem text is a new RoadmapMessages entry in that catalog, so the group changes it too.

The verification prompt src/devops_cli/ai/tasks/roadmap_stage_verify.md widens missing_path to a code change that needs a file the plan does not change, so the pass returns the plan to the planner once. tests/roadmap/test_roadmap_stage_verify.py asserts that.

Change: openspec/changes/3405-the-stage-check-names-the-message/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 4, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 4, 2026 02:03
@dan-petty
dan-petty marked this pull request as draft November 4, 2026 03:18
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 04:40
@dan-petty
dan-petty merged commit 4eef2fb into main Nov 4, 2026
21 checks passed
@dan-petty
dan-petty deleted the fix/3405-the-stage-check-names-the-message branch November 4, 2026 04:46
dan-petty added a commit that referenced this pull request Nov 4, 2026
…3440)

Plans #3427

The stage form check accepts a group whose `verify` command runs a test
module that the group neither changes, creates nor reads. Such a command
passes on the base, so it proves nothing about the change: the plan of
#3408 gave `uv run devops ci test
tests/roadmap/test_roadmap_stage_task_verification.py` for a group that
edits a prompt. `form_problems` now reads each `verify` command that
runs a test module. A module outside the group's `changes`, `creates`
and `reads` gets one problem that names the group, the command and the
module. A command that runs no test module, such as `uv run devops ci
docs` or a negative search, is not judged.

Change: `openspec/changes/3427-refuse-a-group-verify-that-runs/`

---------

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com>
Co-authored-by: Daniel Petty <contact@danielpetty.com>
dan-petty added a commit that referenced this pull request Nov 11, 2026
The `pull_request_body` of the case is now the body that the stage job wrote with the plan of PR #3408. The later body said that the change widens `missing_path`, which is the corrected premise, and the pass reads the whole plan. The match test calls `matched_defects` and starts no git. The guide gives the oracle of the screen in the past tense with its run of #4343.
dan-petty added a commit that referenced this pull request Nov 11, 2026
The golden set of the verification pass has no plan whose design
restates a rule of a file that the plan cites and gets the restatement
wrong. The pass can therefore miss a `false_premise` defect of that
shape, and no case scores the miss. The plan of PR #3408 is an example:
its design said that the existing `missing_path` type names a code
change that needs a file the plan does not change, while the cited
`src/devops_cli/ai/tasks/roadmap_stage_verify.md` defined the type only
for a file that does not exist and that no earlier group creates. The
pass read the prompt and reported no finding. This change adds that
plan, before the author corrected the design, as a case of the golden
set. A pass that reports no `false_premise` finding for this case fails
it.

The case joins half B of the fixed split of the screen eval. A split
made again over all 57 cases would move 42 other cases to the other
half, and the screen cuts were fitted on the recorded halves. The tests
of the case start no git and do not skip on the state of the host: the
quote test reads the plan and a source tree under `tmp_path`, and the
score test checks the case out from `stage_repo`.

Closes #3431

Change:
`openspec/changes/archive/2026-11-10-3431-add-a-false-premise-case-to/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant