Skip to content

docs(openspec): plan #5107 Read the OpenSpec version on PATH in the check - #5333

Merged
dan-petty merged 1 commit into
mainfrom
fix/5107-install-tools-check-passes-an-older
Nov 13, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5107-install-tools-check-passes-an-older

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #5107

devops install-tools --check judges a tool by the link in its target directory and never runs the binary. A devcontainer whose image holds OpenSpec 1.14.3 therefore passes while the lock pins 1.17.0. The openspec gate then reports the committed skills as wrong and advises regenerate, which writes the older skill text back. The check now runs the openspec command that PATH resolves with --version and compares the first non-empty line with the lock. A mismatch names the path, the printed version and the locked version and exits 1; a match prints openspec 1.17.0 with that path. --only-missing installs the locked version on a mismatch. The gate reports the version difference with the install command, in place of the skill advice.

Change: openspec/changes/5107-install-tools-check-passes-an-older/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 13, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 13, 2026 02:01
@dan-petty
dan-petty merged commit 9717c9b into main Nov 13, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/5107-install-tools-check-passes-an-older branch November 13, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant