Repository navigation
Description
Problem Description
After the tools lock pins a new OpenSpec version, the devcontainer keeps the older openspec binary of its image. devops install-tools --check --tool openspec reports the locked version and exits 0, but it does not read the version of the binary. The openspec gate then fails with "run uv run devops openspec regenerate and commit the result" for each generated skill. That advice is wrong: regenerate with the old binary writes the old skill text back over the skills that the lock update committed.
Reproduction Steps
- Use a devcontainer whose image installed OpenSpec 1.14.3 (
openspec --version). - Check out
origin/mainat 3109817, wheresrc/devops_cli/tools_lock/openspec/package.jsonpins 1.17.0 (build(deps): take every safe version update before Renovate #5102). - Run
uv run devops install-tools --check --tool openspec. - Run
uv run devops ci --only openspec.
Expected vs Actual Behavior
Expected: install-tools --check fails and names the installed version and the locked version. --only-missing installs the locked version when the binary on PATH has another version. The gate names the version difference and the install command, and does not tell the user to regenerate.
Actual: install-tools --check prints openspec 1.17.0: /usr/local/bin/openspec and exits 0, while /usr/local/bin/openspec --version prints 1.14.3. The gate reports 12 problems, each "not what openspec update writes ... run uv run devops openspec regenerate". With the 1.17.0 binary first on PATH, the gate passes.
Environment Diagnostics
devops-cli at origin/main 3109817. openspec on PATH is /usr/local/bin/openspec, a link into the image tools directory. --only-missing does not replace it, because a binary is present.
Logs, Traces, or Terminal Output
$ uv run devops install-tools --check --tool openspec
openspec 1.17.0: /usr/local/bin/openspec
$ openspec --version
1.14.3
$ uv run devops ci --only openspec
skills: .claude/skills/openspec-propose/SKILL.md is not what `openspec update` writes under the isolated custom profile: run `uv run devops openspec regenerate` and commit the result.
OpenSpec check found 12 problem(s).
Workaround: uv run devops install-tools --tool openspec --target-dir <private-dir>, then put <private-dir> first on PATH.
Source: #4681
Proposed design
Problem statement
devops install-tools --check --tool openspec reports the version in the tools lock. It never runs the openspec binary on PATH. A devcontainer image with an older binary therefore passes the check. The openspec gate then reports the committed skills as wrong and tells the user to run regenerate. With the older binary, regenerate writes the older skill text back. The change makes the check and the gate read the version of the installed binary.
Acceptance criteria
Requirement: Check reads the installed OpenSpec version
devops install-tools --check --tool openspec SHALL run the openspec binary that PATH resolves and read the version that it prints.
Scenario: Older binary on PATH
- WHEN the binary on PATH prints
1.14.3and the tools lock pins1.17.0 - THEN the command prints the binary path,
1.14.3and1.17.0, and exits 1
Requirement: Check passes on the locked version
devops install-tools --check --tool openspec SHALL exit 0 when the binary on PATH prints the locked version.
Scenario: Locked binary on PATH
- WHEN the binary on PATH prints
1.17.0and the tools lock pins1.17.0 - THEN the command prints
openspec 1.17.0with the binary path and exits 0
Requirement: Check fails on an unreadable version
devops install-tools --check --tool openspec SHALL exit 1 and name the binary path when the binary prints no version.
Scenario: Binary prints no version
- WHEN the binary on PATH exits 1 or prints an empty line
- THEN the command reports that it cannot read the version of the binary path and exits 1
Requirement: Only-missing replaces a different version
devops install-tools --tool openspec --only-missing SHALL install the locked version when the binary on PATH has another version.
Scenario: Older binary on PATH
- WHEN the binary on PATH prints
1.14.3and the tools lock pins1.17.0 - THEN the command runs the locked install for
openspecand does not report the tool as present
Requirement: Gate names the version mismatch
devops ci --only openspec SHALL name the installed version, the locked version and the install command when the binary on PATH differs from the lock.
Scenario: Older binary and stale skills
- WHEN the binary on PATH prints
1.14.3, the lock pins1.17.0, and a committed skill differs from the regeneration - THEN the output names
1.14.3,1.17.0anduv run devops install-tools --tool openspec, and holds noregenerateadvice
Requirement: Gate keeps the regenerate advice on the locked version
devops ci --only openspec SHALL keep the regenerate advice when the binary on PATH has the locked version.
Scenario: Edited skill with the locked binary
- WHEN the binary on PATH prints
1.17.0and a committed skill differs from the regeneration - THEN the output names the skill and advises
uv run devops openspec regenerate
Existing Tool Considered
No check has run on this item. No open, maintained tool reads the version of an npm-installed CLI binary on PATH and compares it with the tools lock. A package manager reports only what it installed. The change adds one helper that runs <binary> --version and one message path. It reuses the lock reader and the message table that the project already keeps. Cost: about 8,000 tokens to build, about 1,500 tokens a year to keep and fix, and one day elapsed.
Key questions
- Which version does
install-tools --check --tool openspeccompare?: It runs theopenspecbinary that PATH resolves with--version, reads the first non-empty line, and compares that text with the version insrc/devops_cli/tools_lock/openspec/package.json. (best practice) [sources: src/devops_cli/tools_lock/openspec/package.json, .claude/skills/openspec-propose/SKILL.md, tests/commands/test_install_tools.py]- Chosen: Run the binary on PATH. The gate runs the binary on PATH, and the image link keeps an older version.
- Rejected: Read the tools lock only. That is the defect: it reports the locked version and never reads the binary.
- Rejected: Read the manifest of the link target. The link points into an image tools directory whose manifest need not match the binary.
- What counts as a missing tool for
--only-missing?: A tool is missing when PATH holds no binary for it, or when the version of that binary differs from the locked version. (best practice) [sources: src/devops_cli/tools_lock/openspec/package.json, tests/commands/test_install_tools.py]- Chosen: A version mismatch counts as missing. The image binary stays in place otherwise, and the gate keeps failing.
- Rejected: Only an absent binary counts as missing. It keeps the older binary and the wrong gate advice.
- Which advice does the
openspecgate show when the binary version differs from the lock?: The gate names the installed version, the locked version anduv run devops install-tools --tool openspec. It shows noregenerateadvice. (best practice) [sources: src/devops_cli/commands/openspec.py:51, src/devops_cli/lang/en/messages.py:5838, src/devops_cli/tools_lock/openspec/package.json]- Chosen: Replace the advice on a version mismatch. Regeneration with the older binary writes the older skill text over the committed text.
- Rejected: Keep the advice and add a warning. The user still follows the advice that the change must stop.
- Rejected: Always show the install advice. Regeneration is the correct fix when the binary matches the lock.
- How does the check compare the two version strings?: It trims the first line of the
--versionoutput and compares it with the locked string as exact text. Any difference is a mismatch. (best practice) [sources: src/devops_cli/tools_lock/openspec/package.json, .claude/skills/openspec-propose/SKILL.md]- Chosen: Exact text compare. The lock and the binary both print three numeric parts, and this adds no dependency.
- Rejected: Parse a PEP 440 version. The value is always three numeric parts, so the parse adds a failure mode with no gain.
- Rejected: Parse a semantic version. It has the same cost as a PEP 440 parse, with no gain here.
- Which source does the gate use to detect the version mismatch?: The gate uses the version of the
openspecbinary on PATH. The committedmetadata.generatedBynames the text that is committed, not the binary that runs. (best practice) [sources: .claude/skills/openspec-propose/SKILL.md, src/devops_cli/tools_lock/openspec/package.json]- Chosen: The installed binary version. That binary writes the skills, so its version decides the regeneration output.
- Rejected: The committed
metadata.generatedByvalue. It matches the lock and cannot show that the binary on PATH is older.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 12, 2026
tools, and .github/labels.yml declares no scope/tools label. Add the label to the file to give the scope to this item.A check command that passes on a wrong version gives false confidence and its advice can overwrite correct committed files.Both concern how a tool on PATH is validated against the lock, but #4362 changes the lookup mechanism while this candidate adds version comparison to the --check and --only-missing paths.dan-petty commentedon Nov 12, 2026
The same fault stopped a commit for #4715 in a linked worktree on 2026-11-12: the commit hook
openspec-gatereported the 12 skill problems with the image binary 1.14.3. A work-around that changes no shared file:uv run devops install-tools --tool openspec --target-dir <dir>, then put<dir>first on PATH for the commit. With 1.17.0 first on PATH,uv run devops openspec checkpassed.dan-petty commentedon Nov 12, 2026
Seen again on 2026-11-12 at
origin/main3109817:uv run devops openspec checkfound 12 problems, all "runuv run devops openspec regenerate" for the generated skills, and the pre-commitopenspecrow failed.openspec --versiongave 1.14.3 (the image link in/usr/local/bin).uv run devops install-tools --tool openspec(with no--check) rannpm cifrom the lock and linked 1.17.0 into the user bin directory, which comes first in PATH. After that the check passed with no change to a skill file. So the install path works, and only--checkand the gate advice are wrong.devops-cli-service commentedon Nov 12, 2026
Status set to Ready at 22c806d (see proposed design in issue body).
devops-cli-service commentedon Nov 13, 2026
Staged: branch
fix/5107-install-tools-check-passes-an-older, draft pull request #5333. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
The default branch changed these paths that the plan names, after the commit that the planner read. Read the commits before you judge the plan:
src/devops_cli/lang/en/help.py: f31dc56 refactor(k8s): split the product dashboards and rules in place (refactor(k8s): split the product dashboards and rules in place #5309)A model review of the plan found these points. They stop no draft, and a person judges them:
false_premiseat feasibility: The plan says the new guard covers three Node tools,devcontainers-cli,openspecandstyle-dictionary, and that the check reads each one's version.style-dictionaryis no entry of the tools lock, so the check never reads its version; the lock holds only two Node tools. Evidence: "showed three directories beside the lock:devcontainers-cli,openspecandstyle-dictionary"false_premiseat feasibility: The plan says_installedprints the path that PATH finds, but_installedsearchestarget_dirbefore PATH. A version check that follows that resolution reads the target-directory link at the locked version and still passes when an older binary is first on PATH, which is the defect of the issue. Evidence: "search_path = os.pathsep.join((str(target_dir), os.environ.get("PATH", "")))"criterion_droppedat specs (thetools-lock-installdelta) and group 2: The issue's criterion for a check that passes on the locked version requires the command to printopenspec 1.17.0with the binary path. The plan's spec delta instead asserts only the oldAll 1 tools are linkedline, and no task in group 2 prints the version or the binary path on the passing path: group 2 only adds the two failing-path messages and leavescheck_all_pinnedas the success output. Evidence: "the command printsopenspec 1.17.0with the binary path and exits 0"The runs of the planner and the review made 184 model request(s), and used 14069769 input tokens and 195709 output tokens. The tool calls, in order:
list_files({"directory":"src/devops_cli/tools_lock"})list_files({"directory":"tests/tools_lock"})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":330,"end_line":560})read_spec({})read_spec({"capability":"tools-lock-install"})search_code({"text":"class InstallMessages"})search_code({"text":"--version"})references({"name":"install-tools"})search_code({"text":"tools-lock-install"})search_code({"text":"only-missing"})list_files({"directory":"openspec/specs/openspec-check"})search_code({"text":"Requirement: "})list_files({"directory":"openspec/specs"})search_code({"text":"tools lock"})read_spec({"capability":"openspec-check"})read_file({"path":"openspec/specs/openspec-check/spec.md"})search_code({"text":"not linked at its locked version"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":400,"end_line":510})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":180,"end_line":300})read_file({"path":"tests/support/fakes/openspec.py","start_line":150,"end_line":360})read_file({"end_line":150,"path":"tests/support/fakes/openspec.py","start_line":100})search_code({"text":"version"})search_code({"text":"\"--version\""})read_file({"path":"tests/support/openspec_recording.py","start_line":1,"end_line":120})file_symbols({"path":"src/devops_cli/commands/ci.py"})search_code({"text":"\"--check\""})read_file({"path":"src/devops_cli/commands/ci.py","start_line":790,"end_line":1000})read_file({"end_line":2010,"path":"src/devops_cli/commands/ci.py","start_line":1957})read_file({"end_line":70,"path":"src/devops_cli/commands/docs.py","start_line":1})read_file({"end_line":330,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":230})search_code({"text":"def run_subprocess"})read_file({"end_line":1930,"path":"src/devops_cli/commands/ci.py","start_line":1850})read_file({"end_line":1240,"path":"src/devops_cli/core/process.py","start_line":1153})search_code({"text":"[npm."})read_file({"path":"src/devops_cli/tools_lock/openspec/package.json"})read_file({"end_line":640,"path":"src/devops_cli/tools_lock/tools.lock","start_line":560})search_code({"text":"style-dictionary"})read_file({"end_line":780,"path":"tests/commands/test_install_tools.py","start_line":590})search_code({"text":"def _record_npm"})read_file({"end_line":470,"path":"tests/commands/test_install_tools.py","start_line":400})callers({"symbol":"link_at_pin"})search_code({"text":"install-tools"})read_file({"end_line":360,"path":"tests/commands/test_devcontainer_install_tools_dry_run.py","start_line":270})read_file({"path":"openspec/specs/release-download-retries/spec.md","start_line":1,"end_line":40})read_file({"path":"openspec/specs/devcontainer-image-tools/spec.md","start_line":1,"end_line":40})read_issue({"number":4681})read_issue({"number":5102})read_file({"end_line":120,"path":"src/devops_cli/config/commands.py","start_line":1})file_symbols({"path":"src/devops_cli/openspec/gate.py"})read_file({"path":"src/devops_cli/core/binaries.py"})search_code({"text":"first non-empty line"})read_file({"end_line":1800,"path":"src/devops_cli/commands/ci.py","start_line":1687})search_code({"text":"--dry-run"})search_code({"text":"dry_run"})search_code({"text":"def run("})read_file({"end_line":960,"path":"src/devops_cli/core/process.py","start_line":852})search_code({"text":"class PlannedProcessResult"})read_file({"end_line":760,"path":"src/devops_cli/core/process.py","start_line":690})search_code({"text":"\"--check\", \"--dry-run\""})search_code({"text":"check --dry-run"})search_code({"text":"openspec regenerate"})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":330,"end_line":470})read_file({"path":"src/devops_cli/tools_lock/__init__.py","start_line":80,"end_line":170})list_files({"directory":"src/devops_cli/tools_lock"})search_code({"text":"only_missing"})search_code({"text":"[npm."})search_code({"text":"[npm"})read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":588,"end_line":625})search_code({"text":"style-dictionary"})read_file({"path":"src/devops_cli/tools_lock/__init__.py","start_line":168,"end_line":200})search_code({"text":"check_off_pin"})read_file({"path":"src/devops_cli/openspec/gate.py"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":405,"end_line":430})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":180,"end_line":280})read_file({"path":"src/devops_cli/devcontainer/devcontainer_plans.py","start_line":40,"end_line":110})read_file({"path":"tests/commands/test_install_tools.py","start_line":600,"end_line":720})git_log({"path":"src/devops_cli/commands/install_tools.py"})read_file({"end_line":600,"path":"src/devops_cli/commands/install_tools.py","start_line":470})search_code({"text":"--version"})search_code({"text":"install-tools --check"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":240,"end_line":320})read_file({"path":".github/workflows/ci.yml","start_line":460,"end_line":500})search_code({"text":"\"openspec\""})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":1,"end_line":120})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":1,"end_line":110})search_code({"text":"_locked("})search_code({"text":"devcontainer\""})read_file({"path":"tests/openspec/test_openspec_gate.py","start_line":1,"end_line":160})read_file({"path":"tests/support/fakes/openspec.py","start_line":1,"end_line":130})read_file({"end_line":240,"path":"tests/support/fakes/openspec.py","start_line":129})search_code({"text":"OpenSpecFake("})search_code({"text":"def openspec_fake"})read_file({"end_line":290,"path":"tests/support/fakes/openspec.py","start_line":240})read_file({"path":"tests/support/tools.py"})file_symbols({"path":"src/devops_cli/core/process.py"})read_file({"end_line":1190,"path":"src/devops_cli/core/process.py","start_line":1153})search_code({"text":"install-tools --tool openspec"})read_file({"end_line":500,"path":"src/devops_cli/lang/en/messages.py","start_line":450})search_code({"text":"install-tools"})read_spec({"capability":"openspec-check"})list_files({"directory":"openspec/specs"})list_files({"directory":"docs/commands"})search_code({"text":"(\"list\", \"--json\")"})list_files({"directory":"src/devops_cli/tools_lock"})list_files({"directory":"tests/tools_lock"})list_files({"directory":"openspec/specs"})read_spec({"capability":"openspec-check"})list_files({"directory":"openspec/specs/tools-lock-install"})search_code({"text":"install-tools"})references({"name":"install-tools"})references({"name":"tools lock"})read_spec({"capability":"openspec-check","requirement":"Dry run lists the gate commands"})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":300,"end_line":560})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":474,"end_line":540})search_code({"text":"def run_subprocess("})read_file({"path":"src/devops_cli/core/process.py","start_line":1153,"end_line":1250})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":100,"end_line":200})search_code({"text":"expected_text"})read_file({"end_line":330,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":240})read_file({"end_line":720,"path":"tests/commands/test_install_tools.py","start_line":560})read_file({"end_line":560,"path":"tests/commands/test_install_tools.py","start_line":430})read_file({"end_line":432,"path":"tests/commands/test_install_tools.py","start_line":380})read_file({"end_line":300,"path":"tests/support/fakes/openspec.py","start_line":170})search_code({"text":"def load_recorded_runs"})read_file({"end_line":80,"path":"tests/support/openspec_recording.py","start_line":20})search_code({"text":"\"version\":"})read_file({"end_line":6,"path":"tests/fixtures/openspec_runs/recorded_runs.json","start_line":1})read_file({"end_line":610,"path":"src/devops_cli/tools_lock/tools.lock","start_line":594})search_code({"text":"\"version\": \"1.1"})read_file({"end_line":265,"path":"src/devops_cli/openspec/gate.py","start_line":185})search_code({"text":"missing_hint"})read_file({"end_line":500,"path":"src/devops_cli/lang/en/messages.py","start_line":440})search_code({"text":"check_all_pinned"})read_file({"end_line":440,"path":"src/devops_cli/lang/en/messages.py","start_line":395})search_code({"text":"def test("})read_file({"end_line":2020,"path":"src/devops_cli/commands/ci.py","start_line":1940})search_code({"text":"only"})search_code({"text":"\"--only\""})search_code({"text":"\"docs\""})read_file({"end_line":1150,"path":"src/devops_cli/core/process.py","start_line":1080})search_code({"text":"is_dry_run"})read_file({"end_line":1000,"path":"src/devops_cli/core/process.py","start_line":930})read_file({"end_line":930,"path":"src/devops_cli/core/process.py","start_line":830})read_file({"end_line":40,"path":"tests/commands/test_devcontainer_install_tools_dry_run.py","start_line":1})search_code({"text":"install_all"})search_code({"text":"def _resolve_test_targets"})read_file({"end_line":1910,"path":"src/devops_cli/commands/ci.py","start_line":1850})search_code({"text":"\"--version\""})read_file({"end_line":250,"path":"src/devops_cli/review/rules_pack.py","start_line":180})references({"name":"only-missing"})read_file({"end_line":320,"path":"tests/tools_lock/test_tools_lock.py","start_line":290})read_file({"end_line":140,"path":"src/devops_cli/tools_lock/__init__.py","start_line":126})read_file({"end_line":45,"path":"tests/openspec/test_openspec_gate.py","start_line":20})read_file({"end_line":95,"path":"tests/openspec/test_openspec_gate.py","start_line":85})search_code({"text":"check_openspec("})read_file({"end_line":400,"path":"tests/openspec/test_openspec_gate.py","start_line":330})search_code({"text":"openspec_fake.calls"})read_file({"end_line":160,"path":"tests/openspec/test_openspec_gate.py","start_line":128})read_file({"end_line":115,"path":"tests/core/test_openspec_command.py","start_line":50})read_file({"end_line":440,"path":"tests/roadmap/test_roadmap_runner_tools.py","start_line":370})read_file({"end_line":150,"path":"README.md","start_line":130})read_file({"end_line":225,"path":"docs/SDLC.md","start_line":212})read_file({"end_line":80,"path":"tests/tools_lock/test_openspec_contract.py","start_line":1})read_file({"end_line":895,"path":"src/devops_cli/commands/ci.py","start_line":855})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":320,"end_line":500})search_code({"text":"check_off_pin"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":400,"end_line":432})read_file({"path":"tests/commands/test_install_tools.py","start_line":640,"end_line":730})search_code({"text":"def run_subprocess"})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":1,"end_line":60})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":150,"end_line":250})search_code({"text":"class OpenSpecFake"})read_file({"end_line":1215,"path":"src/devops_cli/core/process.py","start_line":1153})read_file({"end_line":130,"path":"tests/support/fakes/openspec.py","start_line":60})read_file({"end_line":215,"path":"tests/support/fakes/openspec.py","start_line":129})search_code({"text":"OpenSpecFake("})read_file({"end_line":60,"path":"tests/support/fakes/openspec.py","start_line":1})read_file({"end_line":275,"path":"tests/support/fakes/openspec.py","start_line":225})search_code({"text":"def load_recorded_runs"})read_file({"end_line":80,"path":"tests/support/openspec_recording.py","start_line":20})search_code({"text":"\"version\": \"1."})search_code({"text":"def plan_install_tools"})read_file({"end_line":110,"path":"src/devops_cli/devcontainer/devcontainer_plans.py","start_line":55})search_code({"text":"install-tools"})search_code({"text":"BIN_OPENSPEC"})search_code({"text":"isolate_env"})read_file({"end_line":160,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":120})search_code({"text":"def _locked"})file_symbols({"path":"src/devops_cli/roadmap/runner_tools.py"})read_file({"end_line":80,"path":"tests/commands/test_all_commands_help_dryrun.py","start_line":1})search_code({"text":"local_read"})file_symbols({"path":"src/devops_cli/commands/install_tools.py"})read_spec({})read_spec({"capability":"tools-lock-install"})read_spec({"capability":"openspec-check"})list_files({"directory":"openspec/specs"})references({"name":"install-tools --check"})search_code({"text":"Only install tools that are not linked at their locked version"})read_spec({"capability":"devcontainer-image-tools"})read_spec({"capability":"openspec-check","requirement":"Dry run lists the gate commands"})read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":590,"end_line":615})search_code({"text":"\"version\": \"1.17.0\""})search_code({"text":"_record_npm"})search_code({"text":"def _locked"})read_file({"path":"tests/commands/test_install_tools.py","start_line":400,"end_line":500})read_file({"path":"tests/commands/test_install_tools.py","start_line":580,"end_line":700})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":355,"end_line":435})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":395,"end_line":445})file_symbols({"path":"src/devops_cli/core/process.py"})read_file({"path":"src/devops_cli/core/process.py","start_line":1140,"end_line":1210})search_code({"text":"plan_install_tools"})search_code({"text":"_off_pin"})read_file({"path":"src/devops_cli/devcontainer/devcontainer_plans.py","start_line":40,"end_line":110})read_file({"path":"src/devops_cli/commands/install_tools.py","start_line":431,"end_line":500})read_file({"path":"src/devops_cli/core/process.py","start_line":852,"end_line":940})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":180,"end_line":290})read_file({"path":"src/devops_cli/commands/openspec.py","start_line":1,"end_line":80})search_code({"text":"--only"})read_file({"path":"tests/openspec/test_openspec_gate.py","start_line":18,"end_line":105})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":55,"end_line":175})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":240,"end_line":300})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":296,"end_line":360})search_code({"text":"docs generate"})search_code({"text":"check_all_pinned"})search_code({"text":"ci test"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"missing_hint"})search_code({"text":"skill_differs"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":460,"end_line":500})read_file({"path":"tests/openspec/test_openspec_gate.py","start_line":105,"end_line":300})search_code({"text":"install_tools_app, [\"--check\""})search_code({"text":"All 1 tools are linked"})file_symbols({"path":"src/devops_cli/openspec/tool.py"})file_symbols({"path":"tests/support/fakes/openspec.py"})read_file({"path":"tests/tools_lock/test_tools_lock.py","start_line":295,"end_line":320})list_files({"directory":"src/devops_cli/tools_lock"})references({"name":"install-tools"})read_file({"path":"tests/commands/test_devcontainer_install_tools_dry_run.py","start_line":180,"end_line":260})read_file({"path":"tests/core/test_openspec_command.py","start_line":40,"end_line":100})search_code({"text":"local_read=True"})read_file({"path":"tests/commands/test_all_commands_help_dryrun.py","start_line":90,"end_line":140})read_file({"path":"openspec/specs/command-dry-run-class/spec.md","start_line":735,"end_line":800})read_file({"path":"tests/support/fakes/openspec.py","start_line":129,"end_line":270})list_files({"directory":"openspec/changes"})read_file({"path":"src/devops_cli/core/process.py","start_line":261,"end_line":295})search_code({"text":"class OpenSpecFake"})search_code({"text":"recorded_runs"})search_code({"text":"load_recorded_runs"})search_code({"text":"openspec_recording"})read_file({"path":"README.md","start_line":130,"end_line":170})search_code({"text":"criteria"})read_file({"path":"openspec/specs/devcontainer-image-tools/spec.md","start_line":1,"end_line":40})read_spec({"capability":"tools-lock"})Tool calls: callers=1 (empty=0), file_symbols=8 (empty=0), git_log=1 (empty=0), list_files=15 (empty=0), read_file=120 (empty=0), read_issue=2 (empty=0), read_spec=12 (empty=0), references=6 (empty=0), search_code=88 (empty=2)
16 remaining items
fix(tools): Judge the check and only-missing by the version on PATH (#…
fix(tools): Name the version the gate's binary prints (#5107)
fix(tools): Describe the version read in the documents (#5107)
docs(openspec): archive the change (#5107)
devops-cli-service commentedon Nov 13, 2026
Stopped at fix.
Failed check:
DevContainer Image. The end of its log:Failure class:
outside_plan.Action taken: none.
Action left:
wait: wait for a person.pytest on base: tests/tools_lock/test_versions.pypytest on base: tests/commands/test_install_tools.pypytest on base: tests/openspec/test_openspec_gate.pyDevContainer ImageReason:
Last message of the agent (a claim that no check verified): ## What failed and why The
DevContainer Imagejob died in thekubectl-helm-minikubefeature step: the feature resolved Helmlatest(4.3.2), then verified the release with GPG against a keyserver, and the verification failed (Keyserver hkp://keyserver.pgp.com is not reachable,gpg: no valid OpenPGP data found,Verification failed!). The image does not need that step:.devcontainer/Dockerfilealready installskubectl1.37.2 andhelm4.3.1 (the versions oftools.lock) in itstoolsstage, each checked by sha256, and the feature'slatestwas overwriting them (the image held helm 4.3.2, not the locked 4.3.1). ## Change -.devcontainer/image/devcontainer.json: the feature now installs only minikube —"version": "none","helm": "none","minikube": "latest". I confirmed against the exact artifact the lock pins (ghcr.io/devcontainers/features/kubectl-helm-minikube@sha256:85bbe589…, version 1.3.2) that itsinstall.shskips the kubectl and helm steps fornone, so the keyserver step no longer runs. The scaffolded templatedevcontainer.json.j2keepslatestfor both, because a child repository's base image has no tools stage. -tests/invariants/test_devcontainer_config.py: a new testtest_the_image_feature_installs_no_tool_that_the_tools_stage_pinsholds the rule — the image feature installs neither tool thattools.lockpins, the scaffolded configuration installs both, and minikube stays. It failed before the config change (`('latest', 'latestThe job discarded this work. Read it before you retry:
The item is Blocked, and the job will not run it. Fix the cause. Then comment
implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits ofroadmap.implement.digest_clears_per_classandroadmap.implement.digest_clears_per_itemallow it.devops-cli-service commentedon Nov 13, 2026
The runner Job devops-cli-runner-20261113-041434-f2ae ended: succeeded.
Image digest: sha256:cf69afade7c66b71e987155e73f819c56f3003245bc1b82cba63270062030fd6
The last lines of its log:
devops-cli-service commentedon Nov 13, 2026
Released in v0.127.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.127.1
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 12:38 UTC