Repository navigation
fix(roadmap): a stage plan reads back with the same criteria - #5957
Merged
Merged
Conversation
The stage read-back failed 4 of 9 attempts on 2026-11-16 (#2202, #3655, #3671 on criteria; #3666 on group 4 implementation). A round trip with no model of the issue criteria shows the causes: - A group entry with a reason ("" or text) reads back with none: the `Group <n>:` line has no reason. `StageCriterion` now keeps no reason for a group and folds its texts with the fold of the writer. - A case-first group whose work names `uv run devops docs generate` read back cut at that command. The reader takes the second task as the work, and cuts the documents step only from the end of a documents task that the writer gives one. The stage Job log and the error details now give, for each fact, the place of the first difference and both values, masked and cut to 200 characters. The message keeps only the fact names. Closes #5952 Change: `openspec/changes/archive/2026-11-16-5952-plan-read-back-criteria/`
dan-petty
marked this pull request as ready for review
November 16, 2026 07:27
Owner
Author
|
Vet: SAFE. The criteria fix is at the input of the writer: a criterion mapped to a group keeps no reason, and its text uses the writer's own fold, so |
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 16, 2026
🤖 I have created a release *beep* *boop* --- ## [0.162.0](v0.161.0...v0.162.0) (2026-11-16) ### Features * **roadmap:** a refused alternatives reply goes back once ([#5955](#5955)) ([bb9e908](bb9e908)) * **roadmap:** stage limits changed files per task group ([#5944](#5944)) ([181f85e](181f85e)) ### Bug Fixes * **roadmap:** a stage plan reads back with the same criteria ([#5957](#5957)) ([167451f](167451f)) * **roadmap:** the strength check fits in the runner home volume ([#5961](#5961)) ([09c9107](09c9107)), closes [#5960](#5960) --- 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 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.
The stage read-back failed 4 of 9 attempts on 2026-11-16. A round trip with no model of the issue criteria shows the causes:
""or text) read back with none, because aGroup <n>:line has no reason.StageCriterionnow keeps no reason for a group and folds its texts with the fold of the writer.uv run devops docs generateread back cut at that command. The reader now takes the second task as the work, and cuts the documents step only from the end of a documents task that the writer gives one.The stage Job log and the error details now give, for each fact, the place of the first difference and both values, masked and cut to 200 characters. The message keeps only the fact names.
Closes #5952
Change:
openspec/changes/archive/2026-11-16-5952-plan-read-back-criteria/