Skip to content

refactor(review): read tool versions from the installed tool - #6544

Closed
dan-petty wants to merge 2 commits into
mainfrom
refactor/4388-installed-tool-versions
Closed

dan-petty wants to merge 2 commits into
mainfrom
refactor/4388-installed-tool-versions

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Product code took tool versions from tools.lock, a copy of the pins, so a Renovate bump of a tool needed an edit under src/ or tests/. On 2026-11-20 the devcontainer ran Semgrep 1.186.0 while tools.lock and rules.lock named 1.179.0, so devops review rules test --check failed on a correct rule pack. Now k8s doctor and deploy-stack read kubectl version --client -o json. The analysis, the knowledge base and the review profile read the versions that the tool runs recorded. A native tool records unknown with the digest of its binary. rules.lock holds no Semgrep version. path_version moves to core.binaries. The OpenSpec contract compares no pin and replays the scenarios in a live test. Tests that compared a pin change, and the test that each scanner program is in tools.lock goes. research/tool_pins.py stays for #4363, because #6409 extends it.

Closes #4388

Change: openspec/changes/archive/2026-11-20-4388-installed-tool-versions/

@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/review Multi-persona code review engine, verification, and findings labels Nov 20, 2026
The kubectl skew, the review analysis, the knowledge base, the canary,
the review profile and the rule pack read the version of the installed
tool or the record of its run, and no pin of tools.lock. rules.lock
holds no Semgrep version, and path_version moves to core.binaries
(#4388).
The test that compared the scanner registry with pyproject.toml and
tools.lock is gone, so the module reads no committed config file.
@dan-petty
dan-petty force-pushed the refactor/4388-installed-tool-versions branch from 7a7df3c to df7cd15 Compare November 20, 2026 17:59
@dan-petty

Copy link
Copy Markdown
Owner Author

Closed with no merge. Owner decision of 2026-11-20 (#4363, comment 7047909430): one pull request for #4363 deletes devops install-tools, the tools lock and every reader, in place of this step. The branch stays for reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/review Multi-persona code review engine, verification, and findings type/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(tools): read tool versions from the installed tool

1 participant