Skip to content

docs(openspec): plan #3373 Require a move plan to cover each reference - #3379

Merged
dan-petty merged 4 commits into
mainfrom
feat/3373-the-stage-plan-of-a-module
Nov 4, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3373-the-stage-plan-of-a-module

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

Plans #3373

A stage plan that moves a module rewrites its imports and leaves the other references to it broken. The stage job probes the old path and the dotted name of each moved Python module on the staging commit, with no cap on the files, and gives every hit to check_proposal. check_proposal refuses a hit that no group changes and that the reply does not mark unchanged with a reason, and the rendered design.md lists each unchanged hit with its kind. The stage prompt names a quoted target, a logger name and a snapshot file, asks a direct move for a ! git grep check on the old dotted name, and asks a move by name prefix for the old dotted prefix, which agrees with #3372.

Change: openspec/changes/3373-a-move-plan-covers-each-reference/

@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 3, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 3, 2026 21:25
@dan-petty
dan-petty marked this pull request as draft November 4, 2026 02:50
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 02:50
@dan-petty
dan-petty marked this pull request as draft November 4, 2026 02:50
@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 03:21
@dan-petty
dan-petty merged commit cbca06a into main Nov 4, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/3373-the-stage-plan-of-a-module branch November 4, 2026 03:23
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
…3586)

Closes #3411

The stage job renders the `## Impact` section of `proposal.md` from the
paths of the task groups, and nothing compares those groups with the
free text of `what_changes` (#3411). The first staged plan of #3379 for
#3373 named `src/devops_cli/lang/en/messages.py` in What Changes, and no
group listed that file in `changes` then, so the rendered Impact left
the file out and every gate accepted the plan. A later commit of that
plan added the file to a group. A reader of the first plan could not see
that the file changes, and the implement step had no group that edits
it.

Change:
`openspec/changes/archive/2026-11-05-3411-refuse-a-what-changes-item-that/`

---------

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