Skip to content

feat(roadmap): add a test-first manifest kind to the stage plan - #3981

Merged
dan-petty merged 1 commit into
mainfrom
feat/3251-add-a-test-first-manifest-kind
Nov 7, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3251-add-a-test-first-manifest-kind

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

Issue #3251 reports that the stage planner has no test-first kind for a manifest, a rule file, a dashboard file, or a case file. A plan for an alert rule with promtool cases or a dashboard panel with a query pin uses the kind other, which has one repeatable command and no failing-case task.

This change adds:

  • The manifest kind to GroupKind and the stage group schema.
  • Validation that a manifest group starts with its failing case and runs it with devops ci test.
  • Refusal of an other group that creates or changes a case path, naming manifest in the problem.
  • Planner prompt updates in roadmap_stage_change.md and roadmap_stage_split.md.
  • The replay case from pull request docs(openspec): plan #2950 Add alternatives coverage metrics and alert #3173 to the golden evaluation set.

Closes #3251

Change: openspec/changes/archive/2026-11-07-3251-add-a-test-first-manifest-kind/

@dan-petty
dan-petty force-pushed the feat/3251-add-a-test-first-manifest-kind branch from df29ece to 407615d Compare November 7, 2026 19:37
@dan-petty
dan-petty force-pushed the feat/3251-add-a-test-first-manifest-kind branch from 407615d to 6f4d36c Compare November 7, 2026 19:56
@dan-petty
dan-petty force-pushed the feat/3251-add-a-test-first-manifest-kind branch 2 times, most recently from 37b0707 to c3ab76f Compare November 7, 2026 20:51
Add the manifest kind to GroupKind and the stage group schema. A manifest
group starts with its failing case and runs it with devops ci test. Refuse
an other group that creates or changes a case path, and name manifest in the
problem. Name the kind and its rules in the stage planner prompts. Add the
replay case from pull request #3173 to the golden set.

Closes #3251
@dan-petty dan-petty changed the title feat(roadmap): Add a test-first manifest kind to the stage plan feat(roadmap): add a test-first manifest kind to the stage plan Nov 7, 2026
@dan-petty
dan-petty force-pushed the feat/3251-add-a-test-first-manifest-kind branch from c3ab76f to 19eddfe Compare November 7, 2026 21:08
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 21:18
@dan-petty
dan-petty self-requested a review as a code owner November 7, 2026 21:18
@dan-petty
dan-petty merged commit 8476163 into main Nov 7, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/3251-add-a-test-first-manifest-kind branch November 7, 2026 21:30
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.84.0](v0.83.2...v0.84.0)
(2026-11-07)


### Features

* **k8s:** alert when Crawl4AI fetches fail
([#4037](#4037))
([49f0f14](49f0f14))
* **k8s:** run SearXNG in the devops namespace
([#4033](#4033))
([9d223f4](9d223f4)),
closes [#3924](#3924)
* **research:** add GitHub advisories and KEV to research advisories
([#4032](#4032))
([61e6936](61e6936)),
closes [#3987](#3987)
* **research:** add research sweep that files intake candidates
([#4055](#4055))
([11ddee9](11ddee9))
* **roadmap:** add a test-first manifest kind to the stage plan
([#3981](#3981))
([8476163](8476163))
* **roadmap:** check a plan number against its constant
([#4073](#4073))
([324a3a5](324a3a5))
* **roadmap:** name every caller of a changed function
([#4047](#4047))
([24e9138](24e9138))
* **roadmap:** the stage probe routes prompt changes to prompt rule
tests ([#3989](#3989))
([4aebde2](4aebde2))


### Code Refactoring

* **cli:** source modules keep no accommodation for tests
([#4053](#4053))
([33b57a9](33b57a9))
* **roadmap:** remove the dead plan and review step classes
([#4074](#4074))
([526834f](526834f))

---
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>
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/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): Add a test-first manifest kind to the stage plan

1 participant