Skip to content

feat(roadmap): devops review runs in the runner shell #3827

Description

@dan-petty

Problem

devops review cannot run in the runner shell. Its default executor runs scanners in a bubblewrap sandbox, and src/devops_cli/core/process_hardening.py says the pod profile (RuntimeDefault seccomp, no user namespaces) refuses unshare. The runner image also holds none of the review scanners (NOT_IN_RUNNER in src/devops_cli/roadmap/runner_tools.py names them on purpose). #3049 asked for a review of the diff before the ready mark and was returned for the same reason.

Expected

devops review runs on the diff in the runner, with the scanner tools in the image and an executor that needs no user namespace. Where a scanner is missing, the review fails closed and the result is never read as "no finding".

Acceptance criteria

Existing tool considered

Scanners as pinned binaries in tools.lock, as #3562 and #3108 do for other tools. A sandbox that needs no user namespace, for example a rootless container runtime or a pod-level sandbox, is the choice to measure; the change records the choice in an ADR.

Related

Split from #3563. Related: #3049 (returned to New), #3562, #3108, #2695.

Alternatives check of 2026-11-08: rejected.
Rejected by ADR 0018. A newer fact can change an ADR.
Tool: google/gvisor (https://github.com/google/gvisor), Apache-2.0, last activity 2026-11-08, maintained.

Proposed design

Problem statement

devops review in the runner pod cannot read a diff with the review scanners. The direct executor runs in the runner pod since #6114, but the runner image holds no review scanner, so a runner review returns no finding and reads as clean. This change makes a runner review fail closed on a missing review scanner, states the runner exception in the spec and the security text, and records the executor in an ADR. The scanner pins in the image wait on a newer release that passes the image scan.

Acceptance criteria

Requirement: Missing review scanner fails the review

A runner-profile devops review SHALL list each review scanner that the diff needs and that PATH lacks as not installed, SHALL keep the findings of the scanners that ran, and SHALL exit 1.

Scenario: One review scanner absent from PATH

  • WHEN uv run pytest tests/ai/review/test_review_runner_executor.py -q runs a runner-profile review on a sample diff with one review scanner absent from PATH.
  • THEN The review lists that scanner as not installed, keeps the findings of the scanners that ran, and exits 1.

Requirement: Kube-linter is not a runner review scanner

The runner fail-closed check MUST count only the review scanners of the declared set, and MUST NOT report Kube-linter as not installed.

Scenario: Diff with a Kubernetes manifest

  • WHEN uv run pytest tests/ai/review/test_review_runner_executor.py -q runs a runner-profile review on a sample diff that holds a Kubernetes manifest.
  • THEN The review reports no Kube-linter gap and lists only a declared review scanner that PATH lacks.

Requirement: Spec delta states the runner exception

The review-tool-sandbox spec delta SHALL state that a review runs its tools in the direct executor in the runner pod and in the bubblewrap sandbox elsewhere.

Scenario: OpenSpec check

  • WHEN uv run devops ci --check --only openspec runs on the change.
  • THEN The row passes and the delta names the runner pod direct executor as the one exception.

Requirement: ADR records the executor and the index is current

The change SHALL add one ADR under docs/adr/ at the next free number and SHALL regenerate the index in docs/adr/README.md.

Scenario: ADR index check

  • WHEN uv run devops docs check runs after the new ADR is added.
  • THEN The command exits 0 and the index lists the new record.

Requirement: Security text states the runner exception

The module docstring of src/devops_cli/security/tool_executor.py and SECURITY.md SHALL state that a review runs its tools in the direct executor in the runner pod.

Scenario: Security text test

  • WHEN uv run pytest tests/security/test_scanner_tool_executor.py -q runs on the change.
  • THEN The test passes and asserts that the module docstring names the runner pod direct executor.

Requirement: No review scanner duplicates a runner tool

The review scanner set MUST NOT hold a tool that RUNNER_TOOLS already holds or that the kube-linter row owns.

Scenario: Review scanner set check

  • WHEN uv run pytest tests/roadmap/test_roadmap_runner_tools.py -q runs.
  • THEN The test passes and no review scanner name is a RUNNER_TOOLS name or kube-linter.

Existing Tool Considered

google/gvisor (https://github.com/google/gvisor), Apache-2.0, maintained: verdict rejected by ADR 0018. The alternatives check in the issue body gives what gVisor covers and lacks. This item adds what gVisor lacks: the declared review scanner set with its fail-closed result, the review-tool-sandbox spec delta, the security text, and an ADR for the runner pod direct executor. The scanner pins and RUNNER_TOOLS entries move to the deferred image item, which waits on a scanner release that passes the image scan.

Key questions

  • Which executor runs the devops review scanners in the runner pod?: The direct executor in the runner profile. DirectToolExecutor starts the scanners in the runner pod with no bubblewrap and no unshare. Group 1 of the change is live on main since feat(roadmap): Run review scanners in the runner pod #6114. (best practice) [sources: src/devops_cli/security/tool_executor.py, src/devops_cli/core/process_hardening.py, CONTEXT.md]
    • Chosen: Direct executor in the runner profile. It needs no user namespace, and the runner pod is the isolation boundary.
    • Rejected: bubblewrap sandbox. The pod RuntimeDefault seccomp profile refuses unshare, so the sandbox cannot start.
    • Rejected: gVisor (runsc) RuntimeClass. ADR 0018 rejects it, because the cluster declares no gVisor RuntimeClass.
    • Rejected: Separate pod sandbox. The runner pod holds no Kubernetes token and cannot create a pod.
  • How does a runner review behave when a review scanner is missing?: The review lists each review scanner that the diff needs and that PATH lacks as not installed, keeps the findings of the scanners that ran, and exits 1. The set is the declared list: semgrep, gitleaks, osv-scanner, golangci-lint and pluto. Kube-linter is not in the set, because the kube-linter row of ci.yml owns it and the image does not hold it by design (feat(roadmap): Add kubectl and kube-linter to runner tool catalog #3562). (best practice) [sources: CONTEXT.md, docs/adr/0005-review-findings-come-from-tools-not-models.md, src/devops_cli/roadmap/runner_tools.py]
    • Chosen: Not-installed entry, kept findings and exit 1. A missing tool is no clean review, and the gap stays visible in the result.
    • Rejected: Skip the scanner. The result reads as no finding and hides the gap.
    • Rejected: Stop before any scanner runs. It hides the findings of the scanners that did run.
  • Which scanners does the image part add, and why does it wait?: Five scanners: semgrep, gitleaks, osv-scanner, golangci-lint and pluto. Four of them bring fixed HIGH or CRITICAL findings in their bundled Go libraries at the pinned releases, so the image scan fails. The image part moves to a new item that waits on a newer release of each scanner, or on the owner's decision to accept the findings in .trivyignore. (best practice) [sources: src/devops_cli/tools_lock/tools.lock, .github/workflows/ci.yml]
    • Chosen: Newer pins in the deferred image item. The image scan passes only when each pinned release holds the fixes of its Go libraries.
    • Rejected: Accept the findings in .trivyignore now. A .trivyignore entry needs the owner, and the owner has not decided.
    • Rejected: Install the scanners unpinned. It bypasses the version and checksum checks of tools.lock.
  • Where does the change record the executor choice?: In one new ADR under docs/adr/ at the next free number, with its row in docs/adr/README.md from uv run devops docs generate. uv run devops docs check proves that the index is current. (best practice) [sources: docs/adr/README.md, docs/adr/0005-review-findings-come-from-tools-not-models.md]
    • Chosen: New ADR at the next free number. The body asks for a recorded choice, and the exception is runner-specific.
    • Rejected: Amend ADR 0005 only. An amendment hides the runner-specific exception from a reader.
  • Which security text must state the runner exception?: The module docstring of src/devops_cli/security/tool_executor.py, SECURITY.md and the review-tool-sandbox spec delta. Each states that a review runs its tools in the direct executor in the runner pod and in the sandbox elsewhere. (best practice) [sources: src/devops_cli/security/tool_executor.py, SECURITY.md, openspec/specs/review-tool-sandbox/spec.md]
    • Chosen: Update the three texts. The old text states that a review never runs a tool outside the sandbox, and the direct executor makes that false.
    • Rejected: Name the exception in the ADR only. The security text stays false for a reader of the module and of SECURITY.md.
  • Does the change add a tool that feat(roadmap): Add kubectl and kube-linter to runner tool catalog #3562 or feat(runner): add actionlint, shellcheck, Trivy when scan passes #3108 already adds?: No. feat(runner): add actionlint, shellcheck, Trivy when scan passes #3108 owns actionlint, shellcheck and Trivy, and feat(roadmap): Add kubectl and kube-linter to runner tool catalog #3562 owns Kube-linter and the k8s rows. The review scanner set holds none of them. [sources: src/devops_cli/roadmap/runner_tools.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 6, 2026
  2. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. The review command is blocked in CI but workarounds exist on workstations.
    • Value: Medium. Enables review in the CI environment and removes a workflow gap.
    • Effort: Medium. Requires an executor change, image tool additions, tests, and an ADR.
    • Related: feat(runner): add actionlint, shellcheck, Trivy when scan passes #3108, which asks for a different change. Both concern scanner tools in the runner image, but #3108 adds specific tools while the candidate makes the review command run with a namespace-free executor.
  3. added
    priority/p2-medium
    on Nov 6, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 7, 2026
  5. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at eb7a1a4 (see proposed design in issue body).

  6. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    Contributor

    Alternatives check: rejected

    Reason: Searches on namespace-free sandboxing found no drop-in executor other than the container-level options the repository already measured: gVisor (runsc) is the one open, maintained sandbox that isolates a command without a user namespace, so it covers the "no unshare" isolation part, but it needs a node that installs gVisor and a RuntimeClass, which ADR 0018 records the cluster does not declare, and it adds no review scanners, tools.lock pins or fail-closed result. The rest of the need (runner executor profile, scanner tools in the image, coverage-gap behaviour, the ADR) stays the project's own work.

    Rejected by ADR 0018. A newer fact can change an ADR.

    Tool: google/gvisor (https://github.com/google/gvisor)

    • License: Apache-2.0
    • Last activity: 2026-11-08
    • Maintained: yes

    Covers:

    • Isolates a command in its own user-space kernel (runsc), so the sandbox does not need a user namespace and does not trip the pod's RuntimeDefault refusal of unshare.
    • Gives the pod/container-level boundary that the issue measures instead of a nested namespace sandbox.

    Lacks:

    • Needs a node that installs gVisor and a RuntimeClass in the cluster; ADR 0018 records that the cluster declares none, so a person must change the cluster.
    • Adds no review scanner binaries, no tools.lock pins and no RUNNER_TOOLS entries.
    • Provides no fail-closed behaviour that reports a missing scanner as not run and no coverage gap in the review result.

    Tools considered:

    Searches run:

    • gVisor runsc RuntimeClass container sandbox without user namespaces, results: 5
    • Linux sandbox tool that does not require user namespaces landlock seccomp, results: 5
    • google gvisor github repository, results: 5
    • "user namespaces" not required sandbox github project run untrusted command landlock, results: 5
    • landlock sandbox CLI tool github, results: 5
    • nsjail bubblewrap alternative no unshare seccomp sandbox, results: 5
    • bubblewrap sandbox unshare fails seccomp RuntimeDefault kubernetes, results: 5
    • nsjail, results: 5
    • landrun landlock sandbox command line tool, results: 5
    • gvisor.dev quick start kubernetes runtimeclass, results: 5

    Sources:

    Checked on 2026-11-08. A person decides what this means for the item. The check changes no label and closes no issue.

  7. added
    owner/service
    on Nov 17, 2026
  8. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Staged: branch feat/3827-devops-review-runs-in-the-runner, draft pull request #6105. 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:

    1. Choose the review executor from the runner profile: 52584 tokens
    2. Fail a runner review closed when a scanner is missing: 36692 tokens
    3. Hold the review scanners in the runner image: 53585 tokens
    4. Record the executor choice and check the built image: 32913 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:

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major missing_path at tasks (4): Group 4 creates docs/adr/0028-review-scanners-run-in-the-runner-pod.md but never regenerates the record index in docs/adr/README.md, which devops docs generate writes and tests/invariants/test_adr_records.py compares with the files of docs/adr/. The group's own step runs that test and expects it to pass, but a new record that the index lacks fails it (and the docs gate row). Evidence: "uv run devops docs generate writes this table from the front matter of each record, and uv run devops docs check fails when the table is out of date."
    • minor verify_form at tasks (4): The manual image check of group 4 runs trivy image ... --exit-code 1 runner-review without the ignore files of the project's scan, so it can exit 1 for findings the gate ignores and stop the group on a false failure. The runner image scan of ci.yml (and release.yml) passes trivyignores: .trivyignore,.trivyignore-tofu. Evidence: "trivy image --scanners vuln --severity HIGH,CRITICAL --ignore-unfixed --exit-code 1 --ignorefile .trivyignore on the built stage exits 0."
    • minor other at tasks (1): The change makes a review run its tools in DirectToolExecutor in the runner pod, but the plan corrects only the DirectToolExecutor class docstring. The module docstring of the same file that group 1 changes, and SECURITY.md, keep stating that a review can never run a tool outside the sandbox, so the change leaves the project's security text false. Evidence: "A review has no way to run its tools outside the sandbox (decision 1 of feat(review): review tools run through one injectable executor in a network-less sandbox with CPU, memory and time limits #772)."
    • minor other at spec review-tool-sandbox (A review in the runner pod fails closed when a scanner is missing): The fail-closed rule counts every analyzer whose kind has files, and Kube-linter scans yaml and stays out of the image by design (feat(roadmap): Add kubectl and kube-linter to runner tool catalog #3562/feat(roadmap): Add kube-linter to the runner tool catalog #5394). So in the runner pod every review of a diff that holds a Kubernetes manifest reports Kube-linter as not installed and exits 1, forever. The plan only shows that a Python sample diff avoids the case. Evidence: "devops review in the pod of a runner Job SHALL list each review scanner that its files need and that the image does not hold as not installed, SHALL keep the findings of the scanners that ran, and SHALL exit 1."

    The runs of the planner and the review made 162 model request(s), and used 13632853 input tokens and 311653 output tokens. The tool calls, in order:

    1. list_files({"directory":"src/devops_cli/security"})
    2. file_symbols({"path":"src/devops_cli/security/tool_executor.py"})
    3. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":660,"end_line":800})
    4. search_code({"text":"SandboxToolExecutor("})
    5. search_code({"text":"implement.in_runner"})
    6. search_code({"text":"in_runner"})
    7. read_spec({"capability":"review-tool-sandbox"})
    8. read_spec({"capability":"review-tool-runs"})
    9. read_file({"path":"src/devops_cli/ai/review/pipeline.py","start_line":2090,"end_line":2150})
    10. read_file({"path":"src/devops_cli/ai/review/runner.py","start_line":1390,"end_line":1450})
    11. search_code({"text":"_report_sandbox_refusal"})
    12. search_code({"text":"def review_command"})
    13. read_file({"end_line":1390,"path":"src/devops_cli/ai/review/runner.py","start_line":1330})
    14. search_code({"text":"_execute_review_workflow"})
    15. read_spec({"capability":"review-coverage-gaps"})
    16. search_code({"text":"execute_review_workflow("})
    17. read_file({"end_line":330,"path":"src/devops_cli/commands/review.py","start_line":240})
    18. read_file({"end_line":790,"path":"src/devops_cli/commands/review.py","start_line":720})
    19. read_file({"end_line":660,"path":"src/devops_cli/security/tool_executor.py","start_line":619})
    20. search_code({"text":"scanner_not_run"})
    21. search_code({"text":"def resolve_tool_version_and_sha"})
    22. search_code({"text":"tools_not_sandboxed"})
    23. read_file({"end_line":530,"path":"src/devops_cli/review/canary.py","start_line":470})
    24. read_file({"path":"tests/ai/review/test_review_tool_sandbox.py"})
    25. search_code({"text":"static_analyzer_reasons"})
    26. search_code({"text":"coverage_gap"})
    27. search_code({"text":"def _run_scanner_command"})
    28. read_file({"end_line":1030,"path":"src/devops_cli/ai/review/pipeline.py","start_line":960})
    29. search_code({"text":"typer.Exit"})
    30. search_code({"text":"ANALYZER_NOT_INSTALLED"})
    31. search_code({"text":"Exit("})
    32. read_file({"end_line":1210,"path":"src/devops_cli/ai/review/pipeline.py","start_line":1160})
    33. search_code({"text":"STATIC_ANALYZERS"})
    34. read_issue({"number":3562})
    35. read_issue({"number":3108})
    36. read_issue({"number":2165})
    37. search_code({"text":"_STATIC_ANALYZERS: "})
    38. read_file({"end_line":960,"path":"src/devops_cli/ai/review/pipeline.py","start_line":900})
    39. read_file({"path":"src/devops_cli/tools_lock/tools.lock"})
    40. search_code({"text":"[binary."})
    41. search_code({"text":"[python."})
    42. read_spec({"capability":"review-tool-sandbox","requirement":"A review runs its tools in the sandbox and in no other place"})
    43. read_spec({"capability":"roadmap-implement-runner"})
    44. read_spec({"capability":"review-tool-sandbox","requirement":"A review runs its tools in the sandbox and in no other place"})
    45. references({"name":"in_runner"})
    46. read_file({"path":"src/devops_cli/ai/knowledge_base/devops_cli/libraries/pathspec.md","end_line":30})
    47. read_file({"path":"src/devops_cli/ai/knowledge_base/it_domains/tools/tiktoken.md","end_line":30})
    48. file_symbols({"path":"src/devops_cli/security/tool_executor.py"})
    49. list_files({"directory":"tests/ai/review"})
    50. list_files({"directory":"tests/fixtures/review_labels"})
    51. list_files({"directory":"tests/review"})
    52. references({"name":"execute_review_workflow"})
    53. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":660,"end_line":716})
    54. search_code({"text":"[binary.gitleaks]"})
    55. search_code({"text":"[binary.osv-scanner]"})
    56. search_code({"text":"[python.golangci-lint]"})
    57. list_files({"directory":"src/devops_cli/exceptions"})
    58. search_code({"text":"golangci"})
    59. search_code({"text":"class Review"})
    60. search_code({"text":"[binary.golangci"})
    61. search_code({"text":"ReviewPoolError"})
    62. search_code({"text":"ERRORS.md"})
    63. search_code({"text":"CONST_DOMAIN_EXCEPTION_MODULES"})
    64. read_file({"path":"src/devops_cli/config/constants.py","start_line":175,"end_line":215})
    65. read_file({"end_line":900,"path":"src/devops_cli/docs/generator.py","start_line":868})
    66. read_file({"end_line":1428,"path":"src/devops_cli/ai/review/runner.py","start_line":1360})
    67. search_code({"text":"seccomp profile refuses"})
    68. list_files({"directory":"docs/adr"})
    69. search_code({"text":"Excluded tools (NOT_IN_RUNNER)"})
    70. read_file({"end_line":170,"path":"src/devops_cli/exceptions/ai.py","start_line":118})
    71. read_file({"end_line":960,"path":"src/devops_cli/ai/review/pipeline.py","start_line":920})
    72. search_code({"text":"install-tools"})
    73. search_code({"text":"roadmap.runner_tools"})
    74. read_file({"end_line":168,"path":"Dockerfile","start_line":110})
    75. read_file({"end_line":109,"path":"Dockerfile","start_line":60})
    76. read_file({"end_line":40,"path":"docs/adr/README.md"})
    77. read_file({"path":"Dockerfile","start_line":70,"end_line":115})
    78. read_file({"path":"Dockerfile","start_line":150,"end_line":180})
    79. read_file({"path":"docs/CLUSTER.md","start_line":40,"end_line":95})
    80. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":655,"end_line":725})
    81. search_code({"text":"trivy image --scanners vuln"})
    82. search_code({"text":"[binary.pluto]"})
    83. search_code({"text":"[binary.semgrep]"})
    84. search_code({"text":"NOT_IN_RUNNER"})
    85. search_code({"text":"semgrep"})
    86. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":295,"end_line":340})
    87. search_code({"text":"semgrep.txt"})
    88. search_code({"text":"[python.semgrep]"})
    89. search_code({"text":"[python.bandit]"})
    90. read_file({"path":"src/devops_cli/tools_lock/semgrep.txt","start_line":1,"end_line":30})
    91. search_code({"text":"mcp=="})
    92. search_code({"text":"trivyignore"})
    93. read_file({"path":".trivyignore"})
    94. search_code({"text":"test_runner_image"})
    95. search_code({"text":"trivy image"})
    96. search_code({"text":"devcontainer"})
    97. search_code({"text":"name = \"mcp\""})
    98. search_code({"text":"name = \"opentelemetry-api\""})
    99. read_file({"end_line":2556,"path":"uv.lock","start_line":2547})
    100. read_file({"end_line":2894,"path":"uv.lock","start_line":2885})
    101. read_file({"path":"docs/CLUSTER.md","start_line":66,"end_line":66})
    102. search_code({"text":"image scan"})
    103. read_file({"end_line":525,"path":"src/devops_cli/tools_lock/tools.lock","start_line":455})
    104. read_file({"end_line":945,"path":"src/devops_cli/ai/review/pipeline.py","start_line":920})
    105. read_file({"end_line":1432,"path":"src/devops_cli/ai/review/runner.py","start_line":1360})
    106. list_files({"directory":"src/devops_cli/commands"})
    107. search_code({"text":"in_runner"})
    108. search_code({"text":"execute_review_workflow("})
    109. read_issue({"number":3562})
    110. read_issue({"number":3108})
    111. read_issue({"number":3988})
    112. search_code({"text":"certifi=="})
    113. read_issue({"number":3049})
    114. read_spec({"capability":"review-tool-sandbox"})
    115. read_spec({"capability":"roadmap-implement-runner"})
    116. read_spec({"capability":"review-scanner-file-failure"})
    117. read_spec({"capability":"review-tool-runs"})
    118. read_spec({"capability":"review-tool-sandbox","requirement":"A review runs its tools in the sandbox and in no other place"})
    119. list_files({"directory":"docs/adr"})
    120. list_files({"directory":"docs"})
    121. read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":40,"end_line":60})
    122. read_file({"path":"Dockerfile","start_line":80,"end_line":100})
    123. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":660,"end_line":680})
    124. read_file({"end_line":40,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":33})
    125. read_file({"end_line":176,"path":"Dockerfile","start_line":160})
    126. read_file({"end_line":1432,"path":"src/devops_cli/ai/review/runner.py","start_line":1360})
    127. read_file({"end_line":950,"path":"src/devops_cli/ai/review/pipeline.py","start_line":920})
    128. read_file({"end_line":70,"path":"docs/CLUSTER.md","start_line":60})
    129. list_files({"directory":"docs/adr"})
    130. list_files({"directory":"tests/ai/review"})
    131. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":300,"end_line":312})
    132. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":460,"end_line":520})
    133. search_code({"text":"[python.semgrep]"})
    134. search_code({"text":"requirements = \"semgrep.txt\""})
    135. search_code({"text":"execute_review_workflow("})
    136. read_issue({"number":3562})
    137. read_issue({"number":3108})
    138. find_issues({"terms":"review scanner runner"})
    139. find_issues({"terms":"kube-linter runner image"})
    140. read_file({"end_line":25,"path":"src/devops_cli/core/process_hardening.py","start_line":14})
    141. list_files({"directory":"tests/invariants"})
    142. read_file({"end_line":40,"path":"docs/adr/README.md"})
    143. search_code({"text":"NOT_IN_RUNNER"})
    144. search_code({"text":"in NOT_IN_RUNNER"})
    145. read_file({"end_line":1910,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1870})
    146. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":640,"end_line":700})
    147. read_file({"path":"Dockerfile","start_line":70,"end_line":180})
    148. read_file({"path":"src/devops_cli/ai/review/runner.py","start_line":1360,"end_line":1435})
    149. read_file({"path":"src/devops_cli/ai/review/pipeline.py","start_line":915,"end_line":950})
    150. read_file({"path":"src/devops_cli/core/process_hardening.py","start_line":12,"end_line":24})
    151. list_files({"directory":"docs/adr"})
    152. search_code({"text":"execute_review_workflow("})
    153. read_file({"end_line":45,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":30})
    154. read_file({"end_line":70,"path":"docs/CLUSTER.md","start_line":55})
    155. read_file({"end_line":85,"path":"docs/CLUSTER.md","start_line":62})
    156. read_file({"end_line":310,"path":"src/devops_cli/tools_lock/tools.lock","start_line":298})
    157. read_file({"end_line":520,"path":"src/devops_cli/tools_lock/tools.lock","start_line":458})
    158. search_code({"text":"[python.semgrep]"})
    159. read_file({"end_line":585,"path":"src/devops_cli/tools_lock/tools.lock","start_line":568})
    160. search_code({"text":"ANALYZER_NOT_INSTALLED"})
    161. search_code({"text":"in_runner"})
    162. read_file({"end_line":1225,"path":"src/devops_cli/ai/review/pipeline.py","start_line":1170})
    163. list_files({"directory":"docs"})
    164. search_code({"text":"class Review"})
    165. read_file({"path":"src/devops_cli/exceptions/ai.py","start_line":1,"end_line":60})
    166. list_files({"directory":"tests/ai/review"})
    167. list_files({"directory":"tests/invariants"})
    168. list_files({"directory":"src/devops_cli/tools_lock"})
    169. list_files({"directory":"src/devops_cli/config"})
    170. read_spec({"capability":"review-tool-sandbox"})
    171. read_spec({"capability":"roadmap-implement-runner"})
    172. read_spec({"capability":"review-tool-sandbox","requirement":"A review runs its tools in the sandbox and in no other place"})
    173. search_code({"text":"ERRORS.md"})
    174. list_files({"directory":"tests/docs"})
    175. read_file({"end_line":990,"path":"src/devops_cli/ai/review/pipeline.py","start_line":946})
    176. search_code({"text":"static_analyzer_states("})
    177. search_code({"text":"static_analyzers"})
    178. callers({"symbol":"_static_analyzer_summary"})
    179. search_code({"text":"analyzer_states"})
    180. file_symbols({"path":"src/devops_cli/ai/review/pipeline.py"})
    181. read_file({"end_line":1580,"path":"src/devops_cli/ai/review/pipeline.py","start_line":1506})
    182. read_file({"end_line":45,"path":"docs/adr/README.md","start_line":1})
    183. read_file({"path":"docs/CONFIGURATION.md","start_line":305,"end_line":318})
    184. read_file({"path":"docs/ENV_VARS.md","start_line":220,"end_line":232})
    185. read_file({"path":"docs/adr/README.md","start_line":18,"end_line":45})
    186. search_code({"text":"The number of the issue that asked for the decision"})
    187. search_code({"text":"Whether this process is the pod of a runner Job"})
    188. search_code({"text":"effort=['low', 'medium'] in_runner=False"})
    189. read_spec({})
    190. search_code({"text":"in_runner"})
    191. read_spec({"capability":"review-tool-sandbox"})
    192. read_spec({"capability":"roadmap-implement-runner"})
    193. read_spec({"capability":"review-coverage-gaps"})
    194. read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":90,"end_line":280})
    195. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":290,"end_line":330})
    196. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":455,"end_line":590})
    197. read_file({"path":"src/devops_cli/security/tool_executor.py","start_line":630,"end_line":730})
    198. read_file({"path":"src/devops_cli/ai/review/runner.py","start_line":1360,"end_line":1440})
    199. search_code({"text":"execute_review_workflow("})
    200. search_code({"text":"static_analyzer_states"})
    201. read_file({"end_line":1010,"path":"src/devops_cli/ai/review/pipeline.py","start_line":910})
    202. read_file({"end_line":1210,"path":"src/devops_cli/ai/review/pipeline.py","start_line":1160})
    203. search_code({"text":"Confirmation"})
    204. read_file({"end_line":120,"path":"src/devops_cli/docs/adr_records.py","start_line":1})
    205. read_file({"end_line":260,"path":"src/devops_cli/docs/adr_records.py","start_line":120})
    206. search_code({"text":"ADR_INDEX_START"})
    207. read_file({"end_line":180,"path":"docs/adr/README.md","start_line":120})
    208. read_file({"end_line":420,"path":"tests/roadmap/test_roadmap_runner_tools.py","start_line":190})
    209. search_code({"text":"uv run devops ci test"})
    210. read_file({"end_line":185,"path":"Dockerfile","start_line":80})
    211. read_file({"end_line":1580,"path":"src/devops_cli/ai/review/pipeline.py","start_line":1495})
    212. read_issue({"number":3562})
    213. read_spec({"capability":"review-tool-sandbox","requirement":"A review runs its tools in the sandbox and in no other place"})
    214. search_code({"text":"executor.refusal"})
    215. search_code({"text":"SandboxUnavailableError"})
    216. search_code({"text":"in_runner: bool"})
    217. read_file({"end_line":1475,"path":"src/devops_cli/config/settings.py","start_line":1440})
    218. read_file({"end_line":330,"path":"src/devops_cli/commands/review.py","start_line":270})
    219. read_file({"end_line":790,"path":"src/devops_cli/commands/review.py","start_line":630})
    220. search_code({"text":"load_settings("})
    221. search_code({"text":"settings = load_settings()"})
    222. search_code({"text":"review_path"})
    223. read_spec({"capability":"roadmap-implement-runner","requirement":"The runner image holds each tool that the gate and the hooks need"})
    224. search_code({"text":"--ignorefile .trivyignore"})
    225. search_code({"text":"Scan Runner Image for Vulnerabilities"})
    226. read_file({"end_line":625,"path":".github/workflows/ci.yml","start_line":595})
    227. search_code({"text":"DirectToolExecutor("})
    228. search_code({"text":"def tool_executor"})
    229. read_file({"end_line":1360,"path":"src/devops_cli/ai/review/runner.py","start_line":1440})
    230. search_code({"text":"def tools"})
    231. search_code({"text":"python.semgrep"})
    232. read_file({"end_line":150,"path":"src/devops_cli/tools_lock/__init__.py","start_line":100})
    233. read_file({"end_line":360,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":270})
    234. search_code({"text":"BIN_SEMGREP ="})
    235. search_code({"text":"BIN_GITLEAKS ="})
    236. search_code({"text":"BIN_SEMGREP"})
    237. search_code({"text":"BIN_GITLEAKS"})
    238. search_code({"text":"popeye"})
    239. search_code({"text":"turns the sandbox off"})
    240. search_code({"text":"A review never uses it"})
    241. search_code({"text":"SECURITY.md"})
    242. search_code({"text":"SECURITY.md"})
    243. search_code({"text":"#772"})
    244. read_file({"end_line":480,"path":"src/devops_cli/commands/review.py","start_line":440})
    245. read_file({"end_line":330,"path":"tests/invariants/test_runner_image.py","start_line":120})
    246. search_code({"text":"def review_path"})
    247. search_code({"text":"review_tool"})
    248. read_file({"end_line":690,"path":".github/workflows/ci.yml","start_line":625})
    249. read_file({"path":"docs/adr/README.md","start_line":1,"end_line":60})
    250. list_files({"directory":"docs/adr"})
    251. read_file({"end_line":130,"path":"docs/adr/README.md","start_line":60})
    252. read_file({"end_line":80,"path":"tests/invariants/test_adr_records.py","start_line":1})
    253. read_file({"path":"docs/adr/README.md","start_line":130,"end_line":220})
    254. search_code({"text":"def sync_index"})
    255. file_symbols({"path":"src/devops_cli/ai/review/pipeline.py"})
    256. search_code({"text":"ReviewScannerMissingError"})
    257. list_files({"directory":"docs"})
    258. search_code({"text":"class Review"})
    259. search_code({"text":"ERRORS.md"})
    260. list_files({"directory":"tests/docs"})
    261. read_file({"path":"src/devops_cli/docs/adr_records.py","start_line":100,"end_line":160})
    262. search_code({"text":"sync_index("})
    263. read_file({"path":"src/devops_cli/docs/generator.py","start_line":1318,"end_line":1340})
    264. read_file({"path":"tests/invariants/test_adr_records.py","start_line":18,"end_line":26})
    265. read_file({"path":"src/devops_cli/docs/generator.py","start_line":1290,"end_line":1350})
    266. read_file({"path":"tests/invariants/test_adr_records.py"})
    267. read_file({"path":"docs/adr/README.md","start_line":130,"end_line":185})
    268. read_file({"path":"src/devops_cli/ai/review/pipeline.py","start_line":915,"end_line":1000})
    269. search_code({"text":"synced_blocks"})
    270. search_code({"text":"body_hash"})
    271. read_file({"path":"src/devops_cli/docs/adr_records.py","start_line":150,"end_line":280})
    272. search_code({"text":"def record_problems"})
    273. callers({"symbol":"generate_all_docs"})
    274. read_file({"path":"Dockerfile","start_line":80,"end_line":175})
    275. search_code({"text":"def docs_generate"})
    276. list_files({"directory":"src/devops_cli/commands"})
    277. search_code({"text":"generate"})
    278. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    279. read_file({"path":"src/devops_cli/commands/docs.py","start_line":55,"end_line":135})
    280. search_code({"text":"def write_all_docs"})
    281. read_file({"path":"src/devops_cli/docs/generator.py","start_line":1355,"end_line":1415})
    282. file_symbols({"path":"x"})
    283. file_symbols({"path":"src/devops_cli/ai/review/pipeline.py"})
    284. read_issue({"number":3562})
    285. read_issue({"number":5394})
    286. read_issue({"number":3108})
    287. list_files({"directory":"docs/adr"})
    288. read_file({"path":"src/devops_cli/tools_lock/tools.lock","start_line":565,"end_line":585})
    289. read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":150,"end_line":300})
    290. read_file({"path":".trivyignore"})
    291. search_code({"text":"trivyignores"})

    Tool calls: callers=2 (empty=0), file_symbols=7 (empty=0), find_issues=2 (empty=0), list_files=24 (empty=0), read_file=110 (empty=0), read_issue=13 (empty=0), read_spec=20 (empty=0), references=2 (empty=0), search_code=111 (empty=10)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    Warnings:

    • Scoped test tests/ai/review/test_review_runner_executor.py does not exist.
  9. removed
    owner/service
    on Nov 17, 2026
  10. 58 remaining items

  11. dan-petty commented on Nov 18, 2026

    @dan-petty
    OwnerAuthor

    implement: retry

  12. added
    status/planned
    and removed
    status/blocked
    on Nov 18, 2026
  13. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Cleared the stop at group 3 by the rule retry: a person commented implement: retry. The item is Planned again, and the Service takes it in the next round.

  14. dan-petty commented on Nov 19, 2026

    @dan-petty
    OwnerAuthor

    The open change openspec/changes/3827-devops-review-runs-in-the-runner (draft PR #6166) now conflicts with main rules that come with PR #6403 (#5585):

    When #6166 rebases, it adds the scanners to RUNNER_TOOLS with no version, keeps the text of #6403 for docs/CLUSTER.md:68, and leaves the image install of the scanners to #4361.

  15. added
    status/in-review
    and removed
    status/planned
    on Nov 21, 2026
  16. removed
    status/in-review
    on Nov 21, 2026
  17. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 14:28 UTC

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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions