Skip to content

feat(runner): the runner image carries every development tool, and the shell policy is one table #3072

Description

@dan-petty

What happened

The runner shell allows four programs and refuses find, cat, python, pip and others with a table of substitutes. The image lacks tools the project's own checks use. Tests that call kube-linter, popeye or other host tools behave differently on the workstation and in CI (#2165).

What should happen

  • The runner image holds the tools of the catalog of C1 at pinned versions, and a smoke test in the image build runs each. The shell policy is one table of programs and arguments with read, write and network class, shared by the prompt, the guard and the docs.
  • A tool that the table forbids gives a refusal text with the allowed way.

Acceptance criteria

Related: tracker for this set (filed with it), #2908 (issue workflow), #2867 (draft PR evaluator), #3005 (task kind), #3010 to #3015 (plan gates), #2919 (stuck-item metrics), #2953 (Ollama parser).

Activity

  1. added
    source/agent
    type/feature
    status/new
    value/medium
    effort/medium
    on Nov 1, 2026
  2. dan-petty commented on Nov 1, 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: none. The title has the scope runner, and .github/labels.yml declares no scope/runner label. Add the label to the file to give the scope to this item.
    • Priority: P2-Medium. Improves CI-to-workstation parity and removes tool-refusal friction, but no blocker or security risk is present.
    • Value: Medium. Removes a class of CI flake and unifies a policy that today lives in three places.
    • Effort: Medium. Requires image build changes, smoke tests, a shared policy table, and tests for prompt, guard and docs consistency.
    • Related: feat(roadmap): the implement agent can use the project's development tools #3041, which asks for a different change. Both define a tool catalog with read, write and network class; the candidate delivers the runner image and the shared policy table, while #3041 delivers the agent's tool access and budget.
  3. added
    priority/p2-medium
    on Nov 1, 2026
  4. dan-petty commented on Nov 1, 2026

    @dan-petty
    OwnerAuthor

    Live evidence (2026-11-01): 3 of 13 stops were UnexpectedModelBehavior: Tool 'shell' exceeded max retries count of 5 (#2572, #2554, #2396). Refused programs: grep (6 times on #2554), uv (3 on #2572, the arguments were refused), cd, python, git, other. The prompt names the replacement tool for each, and the model still repeats the call. The refusals are read-only commands in a checkout that holds nothing secret. Allow grep, cat, ls, find without -exec, head and tail as read-only shell programs, and count a refusal apart from the retries of the tool call.

  5. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 1, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 1, 2026
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-mediumsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions