Skip to content

docs(openspec): plan #3827 Run review scanners in the runner pod - #6105

Merged
dan-petty merged 1 commit into
mainfrom
feat/3827-devops-review-runs-in-the-runner
Nov 17, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3827-devops-review-runs-in-the-runner

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

devops review cannot run in the runner shell: its default executor starts scanners in a bubblewrap sandbox that needs unshare, which the pod's RuntimeDefault seccomp profile refuses, and the runner image holds none of the review scanners. This change starts a review's scanners in the runner pod with the existing direct executor, adds Gitleaks, Pluto, osv-scanner, golangci-lint and Semgrep to the runner image at their tools-lock pins, reports a scanner that the review's files need and the image lacks as not installed and exits 1, and records the choice in ADR 0028 and its index. kubectl and kube-linter stay out, because #3562 and #5394 own them, and #3108 already returned actionlint, shellcheck and Trivy.

Plans #3827

Change: openspec/changes/3827-devops-review-runs-in-the-runner/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 17, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 17, 2026 02:36
@dan-petty

Copy link
Copy Markdown
Owner

Vet (agent, 2026-11-17 02:55Z): the plan is sound, but it changes a security control, so the owner decides before the merge.

  • The control: "A review runs its tools in the sandbox and in no other place" becomes "... or directly in the runner pod". With roadmap.implement.in_runner true, each scanner starts as a child of the review with no bubblewrap (executor direct).
  • Why the plan needs it: the pod's RuntimeDefault seccomp profile refuses the unshare of bubblewrap, so the review cannot run in the runner shell today (feat(roadmap): devops review runs in the runner shell #3827).
  • What stays:
    • the runner pod is itself the boundary: Pod Security restricted, no service account token, the runner perimeter;
    • the scanners read only the clone of the job;
    • the agent shell of the same pod already runs pytest and other tools with no bubblewrap.
  • What goes: the extra file-system and process isolation of bubblewrap around Bandit, Gitleaks, Semgrep, Trivy, osv-scanner, Ruff and mypy inside the pod.
  • Scenarios: they test source code (the review report, the exit code, RUNNER_TOOLS and NOT_IN_RUNNER in src/), with no value test of a manifest.

Recommendation: accept. The runner pod is the sandbox of the job, and the change adds no reach that the agent shell does not already have.

@dan-petty

Copy link
Copy Markdown
Owner

Owner decision, 2026-11-17 ~03:00Z (direct answer to the question of the agent): accept the change. devops review runs its scanners directly in the runner pod (executor direct) when roadmap.implement.in_runner is true. The runner pod (Pod Security restricted, no service account token, runner perimeter) is the boundary of the job.

@dan-petty
dan-petty merged commit dbeeb83 into main Nov 17, 2026
22 checks passed
@dan-petty
dan-petty deleted the feat/3827-devops-review-runs-in-the-runner branch November 17, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant