Skip to content

Clarify Docker Lint Authorization in Agent Skills #866

Closed

Description

@ptr727

Problem

The fleet instructions make Docker the standard local path for Markdown and other CI linters, but they do not explain the repository-exposure authorization that some agent executors require.

The documented one-line form combines these operations:

  • pulling a mutable third-party image
  • mounting the full worktree read-write
  • running the container with networking enabled

An executor can therefore refuse the standard lint even after granting Docker socket and image-fetch access. The agent then reports an execution boundary and requires a separate maintainer authorization for routine linting.

Expected behavior

A normal change request should let an agent run the repository-standard local lint suite without asking for a new repository-exposure permission on every task. The relevant skill and authoritative instructions should state the supported authorization model explicitly.

Where possible, the documented command should minimize exposure by separating the image pull from execution, mounting the worktree read-only, disabling container networking, and running the pulled digest. If an executor still requires explicit approval, the instructions should explain the one-time or reusable approval the maintainer must grant.

Observed evidence

The standard markdownlint-cli2 command was refused because it mounted the worktree into a pulled third-party image. A digest-pinned run with --network=none and a read-only mount succeeded only after the maintainer explicitly authorized that repository exposure. It linted 158 Markdown files with zero findings.

Relevant surfaces

  • .agents/skills/comment-and-doc-style/SKILL.md
  • GOVERNANCE.md restricted-executor and local-lint instructions
  • generated GitHub Copilot and Claude skill distributions

Activity

  1. ptr727 commented on Aug 20, 2026

    @ptr727
    OwnerAuthor
    The Docker batch was rejected before returning results because the standard commands mount the repository read-write, and PSScriptAnalyzer also downloads a module inside a networked container. I’m switching the repository mounts to read-only, which is sufficient for all three linters and materially narrows the exposure.
    
    The Docker linters remain blocked because the executor requires explicit approval to expose the repository to mutable third-party images, even read-only. Please explicitly authorize the standard Docker editorconfig, ShellCheck, and PSScriptAnalyzer runs. No commit or PR has been created yet.
    
  2. added a commit that references this issue on Aug 20, 2026
  3. added a commit that references this issue on Aug 20, 2026
    964128a
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions