Repository navigation
fix(openspec): pin OpenSpec and Style Dictionary in the root npm lockfile - #6536
Merged
Merged
Conversation
dan-petty
force-pushed
the
build/6409-openspec-dev-dependency
branch
2 times, most recently
from
November 20, 2026 17:49
7a6d13d to
261adef
Compare
dan-petty
marked this pull request as ready for review
November 20, 2026 18:04
dan-petty
force-pushed
the
build/6409-openspec-dev-dependency
branch
from
November 20, 2026 18:47
261adef to
a4d8876
Compare
dan-petty
enabled auto-merge (squash)
November 20, 2026 18:53
Contributor
|
Pull request #6536 has merge conflicts with |
OpenSpec and Style Dictionary become devDependencies of a root package.json, and package-lock.json pins them. The OpenSpec gate, regenerate, archive, new and plan-check run node_modules/.bin/openspec of the checkout when it exists and compare its version with that lockfile, so the OpenSpec of the devtools image has no effect on them. The devcontainer, the CI jobs, make design-tokens and the openspec stage of the Dockerfile install the lockfile with npm ci. The audit row and the research inventory read it. The two tool package folders, their tools.lock entries, the OpenSpec check of install-tools and two Renovate custom managers are deleted. Refs #6409
A bump of the pins in package.json and package-lock.json now edits no file under src/ or tests/: the fake answers --version with the pin of the lockfile, and no test compares the version of the record with it. Refs #6409
#6409) README, the --only-missing help, CLUSTER.md, TESTING.md and the Purpose of two specs no longer describe the tools lock OpenSpec or the PATH version read. The openspec-check requirement title names the binary that the gate runs. An OpenSpec update gets fix(deps), because the Service and MCP server images install it.
…ock (#6409) The OpenSpec gate imported version_line from devops_cli.tools_lock.versions, so the new OpenSpec path still depended on the tools lock. version_line moves to devops_cli.core.binaries and tools_lock/versions.py goes. The OpenSpec contract test moves to tests/openspec and the version-line tests to tests/core/test_binaries.py.
dan-petty
force-pushed
the
build/6409-openspec-dev-dependency
branch
from
November 20, 2026 18:58
a4d8876 to
9b4f2c0
Compare
dan-petty
pushed a commit
that referenced
this pull request
Nov 20, 2026
🤖 I have created a release *beep* *boop* --- ## [0.184.0](v0.183.2...v0.184.0) (2026-11-20) ### Features * **deps:** merge minor, patch and digest Renovate updates ([#6550](#6550)) ([952ac24](952ac24)), closes [#6547](#6547) ### Bug Fixes * **deps:** move pydantic-ai to 2.71 and the harness to 0.71 ([#6524](#6524)) ([52f7231](52f7231)), closes [#5098](#5098) * **openspec:** pin OpenSpec and Style Dictionary in the root npm lockfile ([#6536](#6536)) ([299e050](299e050)) --- 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.
OpenSpec and Style Dictionary write committed text, and their pin lived in tools.lock and two package folders under src/devops_cli/tools_lock/. The devcontainer takes OpenSpec from the devtools image, so a devtools update and a move of tools.lock each failed the openspec row until the other came: a cycle.
Both tools are now devDependencies of a root package.json, and package-lock.json pins them. The OpenSpec gate, regenerate, archive, new and plan-check run node_modules/.bin/openspec of the checkout when it exists; check and regenerate compare its version with that lockfile. The devcontainer, the CI jobs and the Service image install the lockfile with npm ci, and make design-tokens calls node_modules/.bin/style-dictionary. A bump of either pin edits nothing under src/ or tests/. The two folders, their tools.lock entries and two Renovate custom managers are gone.
Closes #6409
Change:
openspec/changes/archive/2026-11-20-6409-openspec-dev-dependency/