Repository navigation
fix(roadmap): a stage group has a kind with its own tasks - #3035
Merged
Merged
Conversation
CONTRIBUTING.md now gives the same test rule as AGENTS.md. The stage prompt, docs/TESTING.md and openspec/config.yaml show a verify command that exits 0 when a name is gone.
Owner
Author
Test results
fail-to-pass run
Review findingsFixed:
Declined: none. |
dan-petty
marked this pull request as ready for review
November 1, 2026 13:02
4 tasks
dan-petty
pushed a commit
that referenced
this pull request
Nov 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.37.2](v0.37.1...v0.37.2) (2026-11-01) ### Bug Fixes * **roadmap:** a stage group has a kind with its own tasks ([#3035](#3035)) ([deb2f9e](deb2f9e)), closes [#3005](#3005) * **roadmap:** refuse plans that name missing paths ([#3036](#3036)) ([334f0ea](334f0ea)), closes [#3010](#3010) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 12, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 12, 2026
The stage writer gave a `manifest` group the tasks of a `behavior` group and wrote no `Kind:` line (#3981). The reader read it as `behavior`, and the #3035 rule refused each such group with no path under `src/`, so #4963 and #5032 could not be read. - The writer writes `Kind: <kind>. Reads: ... Changes: ...` for each group. - The reader reads the kind from that line. A group of the old form (no line, or a word that is no kind) gets its kind from its tasks: `behavior` with a path under `src/`, else `manifest`, or `other`. - The reader reads `## Unchanged references`, and drops only the last fits-one-PR line. - `FIELDS_NOT_IN_FILES` and `file_facts` state what a round trip keeps. Hypothesis tests hold it. The issue asks for an error on a word that is no kind. #3164 holds `Kind: documentation.` and reads on the base, so the reader keeps the inference for that word. Closes #5205 Change: `openspec/changes/archive/2026-11-12-5205-write-and-read-the-kind-of/`
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.
What
A stage group now has a
kind:behaviororother. The validator checks the kind. The renderer writes the tasks of the kind. The stage, split and implement prompts,AGENTS.md,CONTRIBUTING.md,docs/TESTING.md,k8s/README.mdandopenspec/config.yamlstate the same rule.Why
The stage step gave every group a test task and a task to prove that the test fails on the base. A group that deletes code, edits a document or changes a manifest has no test to write. The model had to invent one, and the plans of such items were flawed.
New behavior gets a failing test first. Every other change names one command that can run again, or the steps of a repeatable manual check.
Closes #3005