Repository navigation
Description
Problem or Motivation
In a new worktree the openspec row of devops ci fails until a person or an agent runs npm ci --ignore-scripts:
version: The openspec command at ~/.local/bin/openspec prints 2.1.0, and package-lock.json pins 2.2.0.
devops repos worktrees add makes the worktree and the Python environment, but it does not install the Node tools of package-lock.json. The gate then finds the older openspec of the image on PATH (src/devops_cli/openspec/gate.py, version_finding). Seen two times on 2026-11-25, in the worktrees of #7217 and #7229.
Proposed Solution
Disposition: change the code.
devops repos worktrees add runs npm ci --ignore-scripts when the checkout holds package-lock.json, as it runs uv sync. A failure of the install is a warning that names the command, and the worktree stays.
Proof: a test with the process fake: the add command starts npm ci --ignore-scripts in the new worktree when the lock file is present, and starts no npm when it is absent.
Existing Tool Considered
npm with the lock file of the repository. No new code beyond the one call.
Alternatives check of 2026-11-25: in-use.
The repository already uses this tool.
Tool: npm/cli (https://github.com/npm/cli), NOASSERTION, last activity 2026-11-23, maintained.
Reason: Searches found no worktree manager that installs Node dependencies by itself; npm's ci command installs exactly the versions that package-lock.json pins, and the issue already names npm and that lock file.
Covers:
ciinstalls exactly the versions pinned inpackage-lock.json--ignore-scriptsskips lifecycle scripts, as the issue asks- A lock mismatch fails instead of rewriting the lock file
Lacks:
- No worktree hook;
worktrees addmust call it - Does nothing when the checkout holds no lock file
- Installs into
node_modules, not the~/.local/binon PATH
Proposed design
Problem statement
A new worktree lacks the Node tools pinned in package-lock.json. The openspec row of devops ci then fails until a person runs npm ci --ignore-scripts. devops repos worktrees add must install the pinned Node tools when the checkout holds the lock file.
Acceptance criteria
Requirement: Install pinned Node tools
The devops repos worktrees add command SHALL run npm ci --ignore-scripts in the new worktree when the checkout holds package-lock.json.
Scenario: Lock file present
- WHEN A test uses the process fake to run
devops repos worktrees addfor a checkout that holdspackage-lock.json. - THEN The fake records one
npm ci --ignore-scriptscall with the new worktree as its working directory.
Requirement: Skip the Node install without a lock file
The command MUST start no npm process when the checkout holds no package-lock.json.
Scenario: No lock file
- WHEN A test uses the process fake to run the command for a checkout that holds no
package-lock.json. - THEN The fake records no npm call.
Requirement: Warn on a failed Node install
The command SHALL write a warning that names npm ci --ignore-scripts and keep the new worktree when the install fails.
Scenario: Install failure
- WHEN The process fake makes
npm ci --ignore-scriptsexit with a non-zero code. - THEN The command writes a warning that contains
npm ci --ignore-scripts, and the new worktree still exists.
Existing Tool Considered
npm/cli (https://github.com/npm/cli), verdict in-use. The alternatives check in the issue body records what the tool covers and lacks. The repository already uses this tool. The proposal adds the missing worktree hook: it runs npm ci --ignore-scripts in the new worktree when package-lock.json exists, and it skips the call when the file is absent.
Key questions
None.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 25, 2026
The candidate causes devops ci to fail in every new worktree until a manual step is run.Both deal with PATH finding an older openspec binary, but 5374 fixes the install-tools advice loop while the candidate adds npm ci to worktrees add.devops-cli-service commentedon Nov 25, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (9)
Tools considered:
Searches run:
Sources:
devops-cli-service commentedon Nov 25, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
devops-cli-service commentedon Nov 25, 2026
Plan state: branch
fix/7233-a-new-worktree-gets-the-pinned, draft pull request #7260. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
criterion_droppedat issue (A test uses the process fake to rundevops repos worktrees addfor a checkout that holdspackage-lock.json.): The issue's proof is a test that runs the command with the process fake and asserts the npm call in the new worktree, but the plan's tests callinstall_node_toolsdirectly. Nothing proves thatworktrees_addcalls the helper or prints its warning, so the command wiring could be broken while every new test passes; the spec delta's scenarios repeat the helper-only shape. Evidence: "A test uses the process fake to rundevops repos worktrees addfor a checkout that holdspackage-lock.json."false_premiseat proposal (feasibility): The plan says the issue states that the command runsuv sync, but the issue says only that the command makes the Python environment and never namesuv sync; the probe of the command that the plan cites shows no uv call either. Evidence: "The issue says the command runsuv sync"false_premiseat proposal (feasibility): The plan says_runturns a missing program into a warning, but_runraises a GitOperationError on any non-zero code, a missing program included. Only the new helper's directrun_subprocess(..., check=False)call turns the 127 into a warning. Evidence: "A missing program is no exception:src/devops_cli/git/worktree_add.py:def _runcallsrun_subprocesswithcheck=False"otherat tasks (1): The install is called only inside the table-output branch ofworktrees_add, so a run with--jsonor--format jsoncreates the worktree and starts no npm, contrary to the plan's own requirement that the command SHALL install whenever the worktree holdspackage-lock.json. Evidence: "In the table branch ofworktrees_addofsrc/devops_cli/commands/repos.py, after_render_add_report(report)and whenis_planis false, callinstall_node_tools(Path(report.path))"devops-cli-service commentedon Nov 25, 2026
The stage job staged the plan of draft pull request #7260. The plan state comment of #7260 holds the branch, the task groups and the findings.
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/config/constants.py: 9237574 refactor(k8s): delete the deploy-time host overrides of Argo CD (refactor(k8s): delete the deploy-time host overrides of Argo CD #7258)The runs of the planner and the review made 261 model request(s), and used 22807849 input tokens and 331637 output tokens. The tool calls, in order:
list_files({"directory":"src/devops_cli/commands"})read_spec({"capability":"repos-worktrees-add"})find_issues({"terms":"worktrees add npm"})file_symbols({"path":"tests/core/test_repos_worktrees_add.py"})search_code({"text":"uv sync"})file_symbols({"path":"src/devops_cli/commands/repos.py"})search_code({"text":"WorktreeAddReport"})search_code({"text":"def add_worktree"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":840,"end_line":960})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})search_code({"text":"package-lock.json"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":440,"end_line":620})search_code({"text":"\"uv\", \"sync\""})search_code({"text":"worktree_venv"})read_file({"end_line":240,"path":"src/devops_cli/git/worktree_add.py","start_line":180})search_code({"text":"node_modules/.bin"})search_code({"text":"bootstrap_checkout"})search_code({"text":"worktrees add"})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":100,"end_line":175})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":1,"end_line":120})references({"name":"add_worktree"})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":100})read_file({"end_line":120,"path":"tests/git/test_repos_worktrees.py","start_line":1})read_file({"end_line":360,"path":"tests/git/test_repos_worktrees.py","start_line":150})read_file({"end_line":1200,"path":"tests/core/test_repos_worktrees_add.py","start_line":1075})search_code({"text":"def process_fake"})read_file({"end_line":120,"path":"tests/support/fakes/process.py","start_line":1})read_file({"end_line":520,"path":"tests/support/fakes/process.py","start_line":380})read_file({"end_line":380,"path":"tests/support/fakes/process.py","start_line":230})search_code({"text":"passthrough"})search_code({"text":"process_fake, git"})search_code({"text":"real_subprocess"})search_code({"text":"def git("})read_file({"end_line":760,"path":"tests/support/git_scenarios.py","start_line":715})read_file({"end_line":345,"path":"tests/roadmap/test_roadmap_runner_tools.py","start_line":290})read_file({"end_line":575,"path":"tests/roadmap/test_roadmap_runner_tools.py","start_line":520})search_code({"text":"call.argv, capture_output"})read_file({"end_line":830,"path":"src/devops_cli/commands/repos.py","start_line":740})read_file({"path":"src/devops_cli/openspec/tool.py"})search_code({"text":"CONST_NPM_LOCKFILE"})search_code({"text":"npm\", \"ci\""})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":120,"end_line":175})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})search_code({"text":"install_node_tools"})search_code({"text":"CONST_NPM_LOCKFILE"})search_code({"text":"def worktrees_add"})search_code({"text":"npm ci --ignore-scripts"})search_code({"text":"print_warning"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":520,"end_line":600})read_file({"path":"src/devops_cli/commands/repos.py","start_line":840,"end_line":960})file_symbols({"path":"tests/core/test_repos_worktrees_add.py"})search_code({"text":"def run_subprocess"})read_file({"end_line":100,"path":"tests/core/test_repos_worktrees_add.py","start_line":55})search_code({"text":"process_fake"})search_code({"text":"def process_fake"})read_file({"end_line":120,"path":"tests/core/test_subprocess_env_uv_npm.py","start_line":1})search_code({"text":"fakes.process"})read_file({"end_line":80,"path":"tests/support/fakes/process.py","start_line":420})search_code({"text":"passthrough"})read_file({"end_line":60,"path":"tests/support/fakes/process.py","start_line":1})read_file({"end_line":185,"path":"src/devops_cli/openspec/tool.py","start_line":60})read_file({"end_line":55,"path":"docs/DESIGN.md","start_line":40})read_spec({"capability":"repos-worktrees-add"})read_file({"end_line":40,"path":"src/devops_cli/git/worktree_add.py","start_line":1})read_file({"end_line":270,"path":"src/devops_cli/git/worktree_add.py","start_line":255})search_code({"text":"CONST_NPM_BIN_DIR"})search_code({"text":"NPM_PROGRAM"})search_code({"text":"worktrees_add_needs_branch_options"})read_file({"end_line":760,"path":"src/devops_cli/lang/en/messages.py","start_line":690})callers({"symbol":"add_worktree"})read_file({"end_line":120,"path":"src/devops_cli/git/worktree_add.py","start_line":85})search_code({"text":"add_worktree("})search_code({"text":"print_warning"})read_file({"end_line":80,"path":"src/devops_cli/commands/repos.py","start_line":1})search_code({"text":"def bootstrap_checkout"})read_file({"end_line":422,"path":"docs/ROADMAP_WORKFLOW.md","start_line":410})references({"name":"uv sync"})search_code({"text":"worktree_add"})search_code({"text":"SUBPROCESS_ALLOWED"})repo_map({"directory":"src/devops_cli/git"})search_code({"text":"claims the issue for an agent"})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":120,"end_line":180})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":70,"end_line":95})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":160,"end_line":180})read_file({"path":"src/devops_cli/config/constants.py","start_line":218,"end_line":232})read_file({"path":"src/devops_cli/commands/repos.py","start_line":55,"end_line":75})read_file({"path":"src/devops_cli/commands/repos.py","start_line":905,"end_line":945})read_file({"end_line":40,"path":"tests/support/fakes/process.py","start_line":25})read_file({"end_line":490,"path":"tests/support/fakes/process.py","start_line":470})read_file({"end_line":62,"path":"CONTRIBUTING.md","start_line":50})read_file({"end_line":415,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":398})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":80})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":1,"end_line":60})list_files({"directory":"tests/lang"})list_files({"directory":"docs"})search_code({"text":"uv sync"})list_files({"directory":"docs/commands"})search_code({"text":"worktrees_add_dry_run_needs_options"})read_spec({"capability":"repos-worktrees-add"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":870,"end_line":1020})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":60,"end_line":190})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":120,"end_line":165})search_code({"text":"uv sync"})read_spec({"capability":"repos-worktrees-add"})read_file({"path":"src/devops_cli/config/constants.py","start_line":215,"end_line":240})read_file({"path":"src/devops_cli/commands/repos.py","start_line":40,"end_line":80})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":390,"end_line":440})read_file({"path":"tests/support/fakes/process.py","start_line":460,"end_line":520})search_code({"text":"worktrees_add_"})read_file({"path":"CONTRIBUTING.md","start_line":45,"end_line":70})search_code({"text":"npm ci --ignore-scripts"})callers({"symbol":"bootstrap_checkout"})search_code({"text":"install_node_tools"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":470,"end_line":640})search_code({"text":"\"ci\", \"--ignore-scripts\""})search_code({"text":"worktrees add"})search_code({"text":"worktrees add"})search_code({"text":"ci docs"})search_code({"text":"REGENERATE_DOCUMENTS"})search_code({"text":"generated"})search_code({"text":"docs/commands"})search_code({"text":"stage_problem_generated"})search_code({"text":"Create the worktree of an issue"})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":40})read_file({"path":"tests/support/fakes/process.py","start_line":26,"end_line":42})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":635,"end_line":690})search_code({"text":"def print_warning"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":760,"end_line":830})search_code({"text":"BIN_NPM"})search_code({"text":"CONST_NPM_LOCKFILE"})read_file({"path":"src/devops_cli/roadmap/stage/stage_criteria.py"})search_code({"text":"def git("})read_file({"path":"tests/support/fakes/git.py","start_line":1,"end_line":60})search_code({"text":"def git(tmp_path"})list_files({"directory":"tests/core"})search_code({"text":"def git("})list_files({"directory":"tests"})read_file({"path":"tests/support/git_scenarios.py","start_line":715,"end_line":770})search_code({"text":"def run_subprocess("})read_file({"path":"src/devops_cli/core/process.py","start_line":1096,"end_line":1180})search_code({"text":"IMAGE_TOOLS"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":80,"end_line":170})read_spec({"capability":"repos-worktrees-add","requirement":"A new worktree starts at the fetched main"})read_file({"path":"docs/commands/repos.md","start_line":200,"end_line":240})search_code({"text":"unused"})search_code({"text":"MESSAGES.repos"})list_files({"directory":"tests/git"})search_code({"text":"worktree_add"})search_code({"text":"uv sync"})search_code({"text":"node_modules"})search_code({"text":"openspec/specs/repos-worktrees-add"})list_files({"directory":"openspec/specs/repos-worktrees-add"})search_code({"text":"Node"})search_code({"text":"def existing_test_problems"})search_code({"text":"def record_module_tests"})read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":560,"end_line":700})list_files({"directory":"tests/lang"})list_files({"directory":"tests/lang/en"})read_file({"path":"src/devops_cli/output/console.py","start_line":430,"end_line":480})list_files({"directory":"tests/core"})file_symbols({"path":"src/devops_cli/commands/repos.py"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":750,"end_line":960})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":120})read_file({"end_line":960,"path":"src/devops_cli/commands/repos.py","start_line":921})read_file({"end_line":260,"path":"tests/core/test_repos_worktrees_add.py","start_line":120})file_symbols({"path":"tests/support/fakes/process.py"})read_file({"end_line":140,"path":"tests/support/fakes/process.py","start_line":1})read_file({"end_line":340,"path":"tests/support/fakes/process.py","start_line":160})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})read_file({"end_line":270,"path":"src/devops_cli/git/worktree_add.py","start_line":176})read_file({"end_line":600,"path":"src/devops_cli/git/worktree_add.py","start_line":490})search_code({"text":"process_fake"})read_file({"end_line":520,"path":"tests/core/test_repos_worktrees_add.py","start_line":260})search_code({"text":"process_fake: ProcessFake"})read_file({"end_line":520,"path":"tests/support/fakes/process.py","start_line":340})search_code({"text":"side_effect=subprocess.run"})search_code({"text":"real subprocess"})search_code({"text":"def cli("})search_code({"text":"def isolate_data_dir"})read_file({"path":"tests/support/cli.py"})read_file({"path":"tests/conftest.py","start_line":900,"end_line":960})read_file({"end_line":495,"path":"src/devops_cli/git/worktree_add.py","start_line":120})read_file({"end_line":470,"path":"src/devops_cli/git/worktree_add.py","start_line":400})search_code({"text":"side_effect=lambda call"})search_code({"text":"CompletedProcess(side_effect"})read_file({"end_line":500,"path":"tests/k8s/test_k8s_argocd_gate.py","start_line":455})callers({"symbol":"add_worktree"})search_code({"text":"def get_repo_origin_name"})search_code({"text":"add_worktree("})read_file({"end_line":700,"path":"src/devops_cli/core/repo.py","start_line":674})read_file({"end_line":470,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":330})search_code({"text":"\"--ignore-scripts\""})search_code({"text":"BIN_NPM"})read_file({"end_line":232,"path":"src/devops_cli/config/constants.py","start_line":218})search_code({"text":"worktrees_add_created"})read_file({"end_line":690,"path":"src/devops_cli/lang/en/messages.py","start_line":640})search_code({"text":"def _cached_repo_origin"})read_file({"end_line":1240,"path":"tests/core/test_repos_worktrees_add.py","start_line":1150})read_file({"end_line":675,"path":"src/devops_cli/core/repo.py","start_line":630})file_symbols({"path":"src/devops_cli/commands/repos.py"})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":120,"end_line":150})read_file({"path":"src/devops_cli/commands/repos.py","start_line":900,"end_line":955})search_code({"text":"class ToolExecutionError"})read_spec({"capability":"repos-worktrees-add"})search_code({"text":"install_node_tools"})read_file({"path":"src/devops_cli/config/constants.py","start_line":218,"end_line":232})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":648,"end_line":664})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":248,"end_line":265})read_file({"path":"tests/support/fakes/process.py","start_line":28,"end_line":40})read_file({"path":"tests/support/fakes/process.py","start_line":360,"end_line":372})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":90})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})search_code({"text":"uv sync"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":494,"end_line":600})search_code({"text":"sync_environment"})search_code({"text":"BIN_UV"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":776,"end_line":800})read_file({"path":"CONTRIBUTING.md","start_line":40,"end_line":80})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":1,"end_line":80})file_symbols({"path":"tests/support/fakes/process.py"})read_file({"path":"tests/support/fakes/process.py","start_line":228,"end_line":260})read_file({"path":"tests/support/fakes/process.py","start_line":470,"end_line":510})list_files({"directory":"src/devops_cli/lang"})search_code({"text":"worktrees_add_created"})read_spec({"capability":"openspec-check","requirement":"Added requirement length"})search_code({"text":"npm ci --ignore-scripts"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":325,"end_line":445})search_code({"text":"def git("})search_code({"text":"side_effect="})read_file({"path":"tests/support/roadmap_implement.py","start_line":580,"end_line":625})search_code({"text":"git_for_real"})read_file({"path":"tests/support/implement_step.py","start_line":130,"end_line":165})search_code({"text":"FileNotFoundError"})search_code({"text":"127"})file_symbols({"path":"src/devops_cli/core/process.py"})read_file({"path":"src/devops_cli/core/process.py","start_line":830,"end_line":880})list_files({"directory":"docs/commands"})read_file({"path":"tests/support/fakes/process.py","start_line":260,"end_line":320})read_file({"path":"src/devops_cli/config/commands.py","start_line":34,"end_line":40})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":135,"end_line":150})search_code({"text":"ToolExecutionError"})references({"name":"ToolExecutionError"})read_file({"path":"src/devops_cli/exceptions/tools.py","start_line":1,"end_line":60})search_code({"text":"CONST_NPM_LOCKFILE"})search_code({"text":"BIN_NPM"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":240,"end_line":275})read_file({"path":"src/devops_cli/commands/repos.py","start_line":905,"end_line":960})search_code({"text":"npm ci --ignore-scripts"})read_file({"end_line":800,"path":"src/devops_cli/commands/repos.py","start_line":750})search_code({"text":"def _claimed"})search_code({"text":"class WorktreeAddReport"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":85,"end_line":115})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":80})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":648,"end_line":668})read_spec({"capability":"repos-worktrees-add"})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})file_symbols({"path":"tests/core/test_repos_worktrees_add.py"})search_code({"text":"worktrees_add_created"})search_code({"text":"def worktrees_add"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":74,"end_line":130})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":250,"end_line":270})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":645,"end_line":670})read_file({"path":"src/devops_cli/commands/repos.py","start_line":760,"end_line":960})read_file({"end_line":1010,"path":"src/devops_cli/commands/repos.py","start_line":928})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":110})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":860,"end_line":930})search_code({"text":"CONST_NPM_LOCKFILE"})search_code({"text":"BIN_NPM"})search_code({"text":"process_fake"})search_code({"text":"git_for_real"})read_file({"end_line":180,"path":"tests/support/implement_step.py","start_line":130})file_symbols({"path":"tests/support/fakes/process.py"})read_file({"end_line":150,"path":"src/devops_cli/openspec/gate.py","start_line":125})read_file({"end_line":95,"path":"src/devops_cli/openspec/tool.py","start_line":60})search_code({"text":"installed_program"})search_code({"text":"npm ci --ignore-scripts"})search_code({"text":"def run_subprocess"})read_file({"end_line":1180,"path":"src/devops_cli/core/process.py","start_line":1096})search_code({"text":"FileNotFoundError"})search_code({"text":"CONST_EXIT_COMMAND_NOT_FOUND"})read_file({"end_line":70,"path":"tests/support/fakes/process.py","start_line":30})read_file({"end_line":330,"path":"tests/support/fakes/process.py","start_line":232})read_file({"end_line":515,"path":"tests/support/fakes/process.py","start_line":470})read_file({"end_line":880,"path":"src/devops_cli/core/process.py","start_line":855})read_file({"end_line":55,"path":"docs/DESIGN.md","start_line":40})read_file({"end_line":45,"path":"docs/DEVCONTAINER_USAGE.md","start_line":38})read_file({"end_line":66,"path":"CONTRIBUTING.md","start_line":50})list_files({"directory":"docs/commands"})search_code({"text":"Create the worktree of an issue on"})search_code({"text":"uv run devops docs generate"})read_file({"end_line":435,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":395})search_code({"text":"def print_warning"})find_issues({"terms":"worktrees add npm node tools"})read_issue({"number":5374})read_spec({"capability":"repos-worktrees-add"})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":80,"end_line":120})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":255,"end_line":270})file_symbols({"path":"src/devops_cli/commands/repos.py"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":759,"end_line":860})read_file({"end_line":955,"path":"src/devops_cli/commands/repos.py","start_line":860})read_file({"end_line":160,"path":"src/devops_cli/openspec/gate.py","start_line":120})read_file({"end_line":100,"path":"src/devops_cli/openspec/tool.py","start_line":60})search_code({"text":"installed_program("})search_code({"text":"CONST_NPM_LOCKFILE"})read_file({"end_line":185,"path":"src/devops_cli/openspec/tool.py","start_line":160})search_code({"text":"worktrees_add_created"})read_file({"end_line":700,"path":"src/devops_cli/lang/en/messages.py","start_line":630})search_code({"text":"BIN_NPM"})search_code({"text":"def run_subprocess"})read_file({"end_line":1140,"path":"src/devops_cli/core/process.py","start_line":1096})read_file({"end_line":435,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":390})read_file({"end_line":880,"path":"src/devops_cli/core/process.py","start_line":845})search_code({"text":"npm_config"})read_file({"path":"tests/core/test_subprocess_env_uv_npm.py","start_line":1,"end_line":60})read_file({"end_line":120,"path":"tests/core/test_repos_worktrees_add.py","start_line":1})search_code({"text":"def _add("})search_code({"text":"process_fake"})search_code({"text":"def process_fake"})search_code({"text":"def git_for_real"})search_code({"text":"git_for_real"})read_file({"end_line":170,"path":"tests/support/implement_step.py","start_line":120})read_file({"end_line":520,"path":"tests/support/fakes/process.py","start_line":440})search_code({"text":"uv sync"})search_code({"text":"\"uv\""})read_file({"end_line":80,"path":"CONTRIBUTING.md","start_line":40})search_code({"text":"worktree"})read_file({"end_line":215,"path":"src/devops_cli/git/worktree_add.py","start_line":180})read_file({"end_line":600,"path":"src/devops_cli/git/worktree_add.py","start_line":519})read_file({"end_line":55,"path":"docs/DESIGN.md","start_line":36})read_file({"end_line":50,"path":"docs/DEVCONTAINER_USAGE.md","start_line":30})search_code({"text":"def test_the_add_claims_the_issue"})list_files({"directory":"docs/commands"})search_code({"text":"def test_"})read_file({"path":"src/devops_cli/openspec/gate.py","start_line":120,"end_line":170})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":255,"end_line":268})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":75,"end_line":90})read_file({"end_line":875,"path":"src/devops_cli/core/process.py","start_line":852})read_file({"end_line":662,"path":"src/devops_cli/lang/en/messages.py","start_line":648})read_file({"end_line":790,"path":"src/devops_cli/commands/repos.py","start_line":770})read_file({"end_line":945,"path":"src/devops_cli/commands/repos.py","start_line":845})file_symbols({"path":"src/devops_cli/openspec/gate.py"})file_symbols({"path":"src/devops_cli/openspec/tool.py"})read_file({"end_line":68,"path":"CONTRIBUTING.md","start_line":58})read_file({"end_line":50,"path":"docs/DESIGN.md","start_line":40})read_file({"end_line":46,"path":"docs/DEVCONTAINER_USAGE.md","start_line":36})read_file({"end_line":80,"path":"tests/core/test_repos_worktrees_add.py","start_line":30})search_code({"text":"def run_subprocess("})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":29})read_file({"end_line":1135,"path":"src/devops_cli/core/process.py","start_line":1096})read_file({"end_line":152,"path":"tests/support/implement_step.py","start_line":136})read_file({"end_line":520,"path":"tests/support/fakes/process.py","start_line":470})search_code({"text":"def answer"})search_code({"text":"class ProcessFake"})read_file({"end_line":300,"path":"tests/support/fakes/process.py","start_line":167})search_code({"text":"side_effect"})read_file({"end_line":42,"path":"src/devops_cli/config/commands.py","start_line":30})read_file({"end_line":230,"path":"src/devops_cli/config/constants.py","start_line":220})read_file({"end_line":432,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":400})list_files({"directory":"docs/commands"})list_files({"directory":"tests/lang"})list_files({"directory":"tests/core"})find_issues({"terms":"worktrees add npm node tools"})read_issue({"number":5374})list_files({"directory":"src/devops_cli/lang/en"})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":190,"end_line":270})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":494,"end_line":600})search_code({"text":"worktrees_add_created"})file_symbols({"path":"src/devops_cli/commands/repos.py"})read_file({"path":"src/devops_cli/commands/repos.py","start_line":755,"end_line":960})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":630,"end_line":690})read_file({"end_line":620,"path":"src/devops_cli/lang/en/messages.py","start_line":580})read_file({"path":"tests/core/test_repos_worktrees_add.py","start_line":1,"end_line":80})search_code({"text":"def git_for_real"})search_code({"text":"def process_fake"})search_code({"text":"process_fake"})read_file({"path":"tests/support/fakes/process.py","start_line":460,"end_line":520})search_code({"text":"git_for_real)"})read_file({"end_line":160,"path":"tests/support/implement_step.py","start_line":130})search_code({"text":"def git("})read_file({"end_line":780,"path":"tests/support/git_scenarios.py","start_line":720})read_file({"path":"src/devops_cli/config/constants.py","start_line":222,"end_line":230})read_file({"path":"src/devops_cli/config/commands.py","start_line":34,"end_line":42})list_files({"directory":"tests/lang"})list_files({"directory":"tests/roadmap/stage"})search_code({"text":"install_node_tools"})list_files({"directory":"tests/commands"})list_files({"directory":"tests/roadmap/refine"})search_code({"text":"npm ci"})search_code({"text":"def print_warning"})list_files({"directory":"docs/commands"})read_file({"end_line":470,"path":"src/devops_cli/output/console.py","start_line":447})read_file({"end_line":955,"path":"src/devops_cli/commands/repos.py","start_line":921})file_symbols({"path":"src/devops_cli/openspec/tool.py"})read_file({"end_line":150,"path":"src/devops_cli/openspec/gate.py","start_line":120})search_code({"text":"docs generate"})read_spec({"capability":"repos-worktrees-add"})file_symbols({"path":"src/devops_cli/git/worktree_add.py"})search_code({"text":"npm ci"})search_code({"text":"CONST_NPM_LOCKFILE"})search_code({"text":"worktrees_add_created"})read_file({"path":"src/devops_cli/git/worktree_add.py","start_line":180,"end_line":270})read_file({"path":"src/devops_cli/commands/repos.py","start_line":700,"end_line":880})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":640,"end_line":670})read_file({"path":"src/devops_cli/config/commands.py","start_line":30,"end_line":45})read_file({"end_line":985,"path":"src/devops_cli/commands/repos.py","start_line":880})search_code({"text":"def process_fake"})search_code({"text":"def bootstrap_checkout"})search_code({"text":"CONST_EXIT_COMMAND_NOT_FOUND"})read_file({"end_line":560,"path":"tests/support/fakes/process.py","start_line":430})search_code({"text":"def answer("})read_spec({})search_code({"text":"uv run devops ci docs"})read_spec({"capability":"repos-worktrees-add"})search_code({"text":"uv sync"})read_file({"end_line":290,"path":"tests/support/fakes/process.py","start_line":225})search_code({"text":"ignore-scripts"})search_code({"text":"class RepoMessages"})read_file({"end_line":450,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":395})search_code({"text":"BIN_NPM"})search_code({"text":"npm"})search_code({"text":"def cli("})search_code({"text":"\"@fission-ai/openspec\""})search_code({"text":"style-dictionary"})search_code({"text":"generated"})read_file({"path":"tests/support/cli.py"})search_code({"text":"style-dictionary\": \"5.8.0"})search_code({"text":"docs/commands"})read_file({"end_line":600,"path":"src/devops_cli/git/worktree_add.py","start_line":494})search_code({"text":"venv"})search_code({"text":"standard_dir"})search_code({"text":"def git("})read_file({"end_line":385,"path":"tests/core/test_repos_worktrees_add.py","start_line":200})search_code({"text":"generated document"})search_code({"text":"CONST_DOCS_INVENTORY"})search_code({"text":"\"worktrees\""})search_code({"text":"worktrees add"})read_file({"end_line":760,"path":"tests/support/git_scenarios.py","start_line":700})search_code({"text":"from tests.support.git_scenarios import"})search_code({"text":"def test("})search_code({"text":"\"test\""})search_code({"text":"worktrees add"})read_file({"end_line":340,"path":"src/devops_cli/git/worktree_add.py","start_line":318})search_code({"text":"worktrees"})search_code({"text":"devops repos worktrees"})read_file({"end_line":420,"path":"docs/commands/repos.md","start_line":300})list_files({"directory":"docs/commands"})search_code({"text":"introspect_all_groups"})read_file({"end_line":304,"path":"docs/commands/repos.md","start_line":200})read_file({"end_line":540,"path":"src/devops_cli/docs/generator.py","start_line":470})search_code({"text":"bootstrap_checkout"})search_code({"text":"runner_tools"})read_spec({"capability":"repos-worktrees-add","requirement":"A new worktree starts at the fetched main"})read_spec({"capability":"repos-worktrees-add","requirement":"A new worktree claims the issue for an agent"})search_code({"text":"installed_program"})read_file({"end_line":200,"path":"src/devops_cli/openspec/tool.py","start_line":160})search_code({"text":"npm"})search_code({"text":"test_add_installs"})Tool calls: callers=3 (empty=0), file_symbols=24 (empty=0), find_issues=3 (empty=0), list_files=25 (empty=0), read_file=203 (empty=0), read_issue=2 (empty=0), read_spec=14 (empty=0), references=3 (empty=0), repo_map=1 (empty=0), search_code=182 (empty=16)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
The plan request held these comments of the item whole: #7233 (comment), #7233 (comment), #7233 (comment).
fix(repos): a new worktree gets the pinned Node tools (#7233)
docs(spec): archive the change (#7233)
devops-cli-service commentedon Nov 26, 2026
The draft pull request #7260 holds the final title and body. In mode
onofroadmap.fix_checks.mode, the watch row marks it ready when its checks pass, and a fix-checks Job repairs a failed check whose name gives the class test, lint or types. In each other case the watch row stops the item: another failed check, a cancelled check, a conflict, a fix-checks Job that ended with no repair, or another mode.Spend: 77 model requests, 7104157 input tokens, 17835 output tokens.
devops-cli-service commentedon Nov 26, 2026
Released in v0.221.10: https://github.com/dan-petty/devops-cli/releases/tag/v0.221.10
devops-cli-service commentedon Nov 26, 2026
Live since 2026-11-26 00:43 UTC