Skip to content

docs(openspec): plan #3411 Refuse a What Changes path no group lists - #3436

Merged
dan-petty merged 3 commits into
mainfrom
feat/3411-refuse-a-what-changes-item-that
Nov 4, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3411-refuse-a-what-changes-item-that

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3411

The stage job renders the Impact section of proposal.md from the paths in the task groups, but it never compares them with the code spans of What Changes. A plan can name a file in What Changes that no group changes or creates, so the Impact omits it and every gate accepts the plan. This change adds a reply-only check to check_proposal. It reads each repository path in a code span of a What Changes item and refuses a path that no group lists in changes or creates. An item with no path stays accepted, and a code span that is no path is ignored. The check reads the reply alone, so the replay runs it with no git call. The roadmap-stage spec gains a scenario for the rule, and the stage golden set gains a case.

Change: openspec/changes/3411-refuse-a-what-changes-item-that/

@dan-petty
dan-petty merged commit bb258e5 into main Nov 4, 2026
18 checks passed
@dan-petty
dan-petty deleted the feat/3411-refuse-a-what-changes-item-that branch November 4, 2026 13:16
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
Plans #3445.

The stage golden set test in tests/roadmap/stage/test_roadmap_stage_eval_cases.py pins its size with the literals 54, 5 and 49, so a plan that adds a case must edit the set and the counts. No prompt or gate reminds the planner: the plan of #3436 for #3411 named one test file, and the review found the omission. The test now compares the reviewed pulls of the fixtures with EVALUATED_PULLS and computes the total as the size of that set plus the number of good cases, so no literal count remains. A module-level helper names the pull that the fixtures omit. A new test copies the cases to tmp_path, adds a reviewed case with a new pull, and asserts that the check accepts it. The change edits one test module and no product code.

Change: `openspec/changes/3445-derive-stage-golden-set-case-counts/`
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
…es (#4174)

Plans #3445

The stage golden set test in
tests/roadmap/stage/test_roadmap_stage_eval_cases.py pins its size with
the literals 54, 5 and 49, so a plan that adds a case must edit the set
and the counts. No prompt or gate reminds the planner: the plan of #3436
for #3411 named one test file, and the review found the omission. The
test now compares the reviewed pulls of the fixtures with
EVALUATED_PULLS and computes the total as the size of that set plus the
number of good cases, so no literal count remains. A module-level helper
names the pull that the fixtures omit. A new test copies the cases to
tmp_path, adds a reviewed case with a new pull, and asserts that the
check accepts it. The change edits one test module and no product code.

Change: `openspec/changes/3445-derive-stage-golden-set-case-counts/`

Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[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/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