Skip to content

feat(roadmap): add the Kilo CLI to the runner tool registry #7957

Backlog

Description

@devops-cli-service

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 runs uv run pytest tests/roadmap/test_roadmap_runner_tools.py.
  • THEN The suite passes, and its kilo case finds one entry with source ToolSource.DEVTOOLS and 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_there passes, and the kilo entry has no empty needed_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_out passes, and a test finds no kilo in NOT_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.DEVTOOLS entry of RUNNER_TOOLS need, and how does its check pass?: The entry needs a name, the source ToolSource.DEVTOOLS, a non-empty needed_by tuple and a check tuple. The check runs check[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_TOOLS and NOT_IN_RUNNER hold the same program?: No. test_no_program_is_both_held_and_left_out fails when the two tables share a program. The change removes the kilo entry from NOT_IN_RUNNER in the same pull request that adds it to RUNNER_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_failure runs 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 runs python -m devops_cli.roadmap.runner_tools on 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 the Dockerfile installs 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_by reason does the kilo entry carry?: A job: reason that names the roadmap job which runs the CLI. (best practice) [sources: tests/roadmap/test_roadmap_runner_tools.py]
    • Chosen: A job: reason. The ci, hook and gate kinds must name a real row, hook or job, and no row, hook or gate job runs the CLI. The table test accepts a job: 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.

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

  1. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 30, 2026
  2. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    ContributorAuthor
  3. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions