Skip to content

fix(roadmap): a refused spec after the archive is a plan defect - #4549

Merged
dan-petty merged 2 commits into
mainfrom
fix/4503-archive-validation-class
Nov 11, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4503-archive-validation-class

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

When the archive of the implement job moved the change folder and the strict validation of the specs then refused a spec, the stop had the class test and the action left repair (item #3462). The output counts specs ("1 failed"), and the test rule of failure.py read it. No test failed, and no fix step runs after a failed project program.

  • _finish_change reads the checkout after devops openspec archive fails. When it exited 1 and the change folder moved into the archive, the stop passes plan_defect, whose action in ACTION_BY_CLASS is amend: fix the spec text of the plan, then comment implement: retry.
  • An archive that keeps the change folder, a timeout and a signal status keep the class of the classifier.
  • failure.py does not change. docs/ROADMAP_WORKFLOW.md names the new cause of plan_defect.

Closes #4503

Change: openspec/changes/archive/2026-11-11-4503-a-failed-archive-validation-stops-with/

When the archive of the implement job moved the change folder and the
strict validation of the specs then refused a spec, the stop had the
class `test` and the action left `repair`. The output of the validation
counts specs ("1 failed"), and the `test` rule of `failure.py` read it.
No test failed, and no fix step runs after a failed project program.

The archive step now reads the checkout after the program failed. When
`devops openspec archive` exited 1 and the change folder moved into the
archive, the stop passes the class `plan_defect`, with the action
`amend`. An archive that keeps the folder keeps the class of the
classifier.

Closes #4503
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Fail-to-pass (uv run devops ci fail-to-pass --base origin/main, base 7234d71):

failed on base: tests.roadmap.implement.test_roadmap_implement_job::test_an_archive_that_the_validation_of_the_specs_refuses_is_a_plan_defect (AssertionError: assert 'test' == 'plan_defect')
1 failed on base (1 failed and 90 passed in tests/roadmap/implement/test_roadmap_implement_job.py; 0 errored).

The other case in the file (test_a_failed_archive_stops_the_item_at_the_archive) passes on the base and on the change: an archive that keeps the change folder stays ci_infra.

Checks on the change:

  • uv run devops ci test tests/roadmap/implement/test_roadmap_implement_job.py tests/roadmap/implement/test_roadmap_implement_push_current.py tests/roadmap/implement/test_roadmap_implement_project_steps.py: 114 passed.
  • uv run devops ci typecheck: no issues in 788 source files.
  • uv run devops ci docs: all documentation files are up to date.
  • uv run devops openspec check passed, and uv run devops openspec archive validated every spec and change.

Evidence of the defect: the stop comment on #3462 says "Failure class: test." and "Action left: repair", with "Totals: 258 passed, 1 failed (259 items)" and "The archive is applied".

This is no stage gate change, so no devops roadmap eval stage --replay ran. No live step is necessary: the runner image takes the change at the next release.

@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 08:40
@dan-petty
dan-petty merged commit 1db29f7 into main Nov 11, 2026
32 checks passed
@dan-petty
dan-petty deleted the fix/4503-archive-validation-class branch November 11, 2026 11:57
dan-petty pushed a commit that referenced this pull request Nov 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.112.0](v0.111.0...v0.112.0)
(2026-11-11)


### Features

* **k8s:** export gateway spans without key metadata
([#4520](#4520))
([7234d71](7234d71))
* **k8s:** set the homelab domain in container env values
([#4608](#4608))
([a3bcf7c](a3bcf7c))
* **telemetry:** send pydantic-ai spans through the exporter seam
([#4538](#4538))
([fcf2a7a](fcf2a7a))


### Bug Fixes

* **ai:** price cached prompt tokens of chat calls
([#4584](#4584))
([f84bbe6](f84bbe6))
* **devcontainer:** stop uv noise lines in agent shells
([#4592](#4592))
([9ba375c](9ba375c))
* **k8s:** delete gateway management bodies from spans
([#4551](#4551))
([b835d3c](b835d3c))
* **k8s:** set the kube context and namespace on devops pods
([#4514](#4514))
([9087b39](9087b39))
* **roadmap:** a refused spec after the archive is a plan defect
([#4549](#4549))
([1db29f7](1db29f7))
* **roadmap:** count and log the reason of a left-out stage item
([#4541](#4541))
([5600179](5600179))
* **roadmap:** default the step ceiling to twice the budget
([#4556](#4556))
([1dfb6c8](1dfb6c8))
* **roadmap:** explain --trace shows the argument digest
([#4526](#4526))
([c92195f](c92195f))
* **roadmap:** explain totals count dropped model events
([#4543](#4543))
([fe0e979](fe0e979))
* **roadmap:** give each eval verify run its own report file
([#4534](#4534))
([ad27f2d](ad27f2d))
* **roadmap:** one event loop and a time limit for decide_all
([#4585](#4585))
([ec51e01](ec51e01))
* **roadmap:** scoped updates send requests with no row scope
([#4531](#4531))
([5f75d25](5f75d25))
* **roadmap:** the caller gate reads an added parameter span
([#4548](#4548))
([1ba07c1](1ba07c1))
* **roadmap:** the implement shell waits for its command
([#4536](#4536))
([571e044](571e044))
* **roadmap:** the module-test and caller gates read imports and calls
([#4490](#4490))
([8a22e82](8a22e82))
* **service:** put trace ids on Service JSON log lines
([#4511](#4511))
([0d7a0d2](0d7a0d2))


### Performance Improvements

* **ai:** keep intake embeddings between CLI runs
([#4546](#4546))
([812871e](812871e))
* **roadmap:** intake reads only the issues that changed
([#4552](#4552))
([7dfd155](7dfd155))

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

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a failed archive validation stops with the class test

1 participant