Repository navigation
docs(openspec): plan #3405 Require the message file a task names - #3408
Merged
Merged
Conversation
dan-petty
marked this pull request as draft
November 4, 2026 03:18
This was referenced Nov 4, 2026
dan-petty
marked this pull request as ready for review
November 4, 2026 04:40
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>
This was referenced Nov 10, 2026
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/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plans #3405
The stage check accepts a plan whose task text names a
MESSAGES.roadmapentry while no group changessrc/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_problemsinsrc/devops_cli/roadmap/stage_change.py: when a rendered task text namesMESSAGES.roadmapand no group lists the message file, it namessrc/devops_cli/lang/en/messages.py. The problem text is a newRoadmapMessagesentry in that catalog, so the group changes it too.The verification prompt
src/devops_cli/ai/tasks/roadmap_stage_verify.mdwidensmissing_pathto 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.pyasserts that.Change:
openspec/changes/3405-the-stage-check-names-the-message/