Skip to content

pstack-runner: allow full-access sandbox for Codex writer lanes so they can self-verify #80

Description

@vacq-am

Problem

skills/poteto-mode/scripts/runner/commands.ts maps isolated-write to codex exec --sandbox workspace-write. On macOS that sandbox blocks launching a browser (Playwright/Chromium fails with bootstrap_check_in ... Permission denied), reaching the Docker socket, and writing into dot-folders such as .agents/. A Codex builder lane therefore cannot run the browser or database checks that prove its own work, which the Feature playbook's step 5 ("verify on the matching surface") expects. The user's own Codex config (sandbox_mode = "danger-full-access") is ignored because the flag on the command line wins.

Observed

A poteto-mode Feature run on 2026-09-21: builders reported EPERM on node_modules/.tmp and .vite-temp inside a symlinked worktree, "operation not permitted" writing under .agents/, Chromium launch denied, and Docker unreachable. The orchestrator had to run all browser and database verification itself, and four fixer rounds followed for assumptions the lane could not test.

Request

A configuration knob (for example an access field on the model sheet, an isolated-write-full mode, or an environment variable read by the runner) that lets a writer lane run with danger-full-access when the user opts in. The dedicated worktree already provides the isolation the runner cares about. Until then users must patch codexSandbox() locally and reapply it after every update; the uses bounded write modes without blanket bypasses test pins the current behaviour.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions