Repository navigation
Description
Split from #7269.
Problem: The runner image does not ship the Kilo CLI. A RUNNER_TOOLS entry with ToolSource.DEVTOOLS fails python -m devops_cli.roadmap.runner_tools until the devtools image ships the CLI. The runner image check runs on each change to src and on each released runner image. The entry stops each runner image release until the devtools digest moves. dan-petty/devtools#98 is open with no pull request. Why deferred: The current item cannot add the entry without a failing runner image check. The adapter, the setting, the result field and the grade rows can be built first. Acceptance criteria: RUNNER_TOOLS holds a kilo entry with ToolSource.DEVTOOLS and the version command kilo --version. python -m devops_cli.roadmap.runner_tools passes on the runner image. tests/roadmap/test_roadmap_runner_tools.py passes. The NOT_IN_RUNNER entry for kilo is removed.
Proposed design
Problem statement
The runner image does not ship the Kilo CLI. A RUNNER_TOOLS entry with ToolSource.DEVTOOLS fails python -m devops_cli.roadmap.runner_tools until the devtools image ships the CLI. That failure stops each runner image release. This change adds the kilo entry and removes the NOT_IN_RUNNER entry for kilo. The change waits on dan-petty/devtools#98.
Acceptance criteria
Requirement: Kilo entry in the runner tools
The table RUNNER_TOOLS SHALL hold one kilo entry with the source ToolSource.DEVTOOLS and the check ("kilo", "--version").
Scenario: The table holds the Kilo entry
- WHEN A test reads
RUNNER_TOOLS, and the runner runsuv run pytest tests/roadmap/test_roadmap_runner_tools.py. - THEN The suite passes, and its
kilocase finds one entry with sourceToolSource.DEVTOOLSand check("kilo", "--version").
Requirement: The Kilo entry names a reason
The kilo entry SHALL name at least one reason in needed_by.
Scenario: Each tool names its reason
- WHEN The runner runs
uv run pytest tests/roadmap/test_roadmap_runner_tools.py. - THEN
test_each_tool_is_listed_once_and_has_a_reason_to_be_therepasses, and thekiloentry has no emptyneeded_by.
Requirement: No Kilo entry in NOT_IN_RUNNER
NOT_IN_RUNNER SHALL hold no kilo entry.
Scenario: The two tables hold no shared program
- WHEN The runner runs
uv run pytest tests/roadmap/test_roadmap_runner_tools.py. - THEN
test_no_program_is_both_held_and_left_outpasses, and a test finds nokiloinNOT_IN_RUNNER.
Requirement: The runner image check passes
The runner image MUST pass python -m devops_cli.roadmap.runner_tools with the kilo entry.
Scenario: The image smoke check runs on the runner image
- WHEN The runner image builds on a devtools digest that holds the Kilo CLI, and the image smoke action runs
python -m devops_cli.roadmap.runner_tools. - THEN The command exits 0 and prints that all runner tools are on PATH and run.
Existing Tool Considered
No alternatives check has run on this issue. The need is the Kilo CLI (kilo), an open agent CLI that the project already onboards in the devcontainer (src/devops_cli/commands/devcontainer.py). This change builds no code: it adds one row to RUNNER_TOOLS and removes one from NOT_IN_RUNNER. Its cost to build is one table row and one test.
Key questions
- What does a
ToolSource.DEVTOOLSentry ofRUNNER_TOOLSneed, and how does its check pass?: The entry needs a name, the sourceToolSource.DEVTOOLS, a non-emptyneeded_bytuple and achecktuple. The check runscheck[0]and passes when that command exits 0, with no comparison of the version text. [sources: src/devops_cli/roadmap/runner_tools.py:126, tests/roadmap/test_roadmap_runner_tools.py, docs/adr/0031-review-scanners-run-in-the-runner-pod.md:29] - Can
RUNNER_TOOLSandNOT_IN_RUNNERhold the same program?: No.test_no_program_is_both_held_and_left_outfails when the two tables share a program. The change removes thekiloentry fromNOT_IN_RUNNERin the same pull request that adds it toRUNNER_TOOLS. [sources: tests/roadmap/test_roadmap_runner_tools.py, src/devops_cli/roadmap/runner_tools.py:254] - Does the runner image check fail while the devtools image lacks the Kilo CLI?: Yes.
tool_failureruns the version command of each image tool and returns a failure when the command exits non-zero or the program is not on PATH. The image smoke action runspython -m devops_cli.roadmap.runner_toolson the built image, so the new entry fails the check until the devtools image ships the CLI. [sources: tests/roadmap/test_roadmap_runner_tools.py, docs/CLUSTER.md:78] - Which source gives the Kilo CLI to the runner image?: The devtools image. The entry uses
ToolSource.DEVTOOLS, and the runner stage of theDockerfileinstalls no tool of its own. (best practice) [sources: docs/CLUSTER.md:78, docs/adr/0031-review-scanners-run-in-the-runner-pod.md:29]- Chosen: The devtools image. The runner builds FROM the devtools image, and that image gives the version of each tool, so the runner pins no tool version.
- Rejected: Install the CLI in the runner stage of the Dockerfile. This adds a layer, a version to keep and a second place that installs the tool, against the digest pin.
- Which
needed_byreason does thekiloentry carry?: Ajob:reason that names the roadmap job which runs the CLI. (best practice) [sources: tests/roadmap/test_roadmap_runner_tools.py]- Chosen: A
job:reason. Theci,hookandgatekinds must name a real row, hook or job, and no row, hook or gate job runs the CLI. The table test accepts ajob:name. - Rejected: A
test:reason. The runner image runs no test of the suite, so the reason would name a need of the gate, not of the runner. - Rejected:
gate:static. The static gate installs no Kilo CLI, so the reason names a job that does not run it.
- Chosen: A
Fit
Fits in one pull request.
Suspected block
dan-petty/devtools#98 must close and the devtools digest must move in Dockerfile and .devcontainer/Dockerfile before the entry can pass the runner image check.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 30, 2026
Both add tools to the runner tool registry, but #4648 is the umbrella for all language presets while this candidate adds only the Kilo CLI entry.devops-cli-service commentedon Dec 1, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence