Skip to content

Refuse broader sandbox permissions for Codex children (T28) #171

Closed

Description

@erickb336

Sage task T28

Extract child sandbox permission checks from the Codex runtime integration, as part of #88 and #138.

Children must not request broader sandbox permissions, including when Sage is off. Refuse require_escalated, with_additional_permissions, and non-null additional_permissions before the supplied evaluator. Cover admitted lead and implementer roles plus unassigned native children. Chief requests retain native permission checks. Match Claude behavior without changing Claude files.

Acceptance: regression tests fail on main, local build/check/full tests pass, native simulated probe proves refusal before execution, and two clean code/security/QA cycles review the final commit. Installed automatic Sage remains disabled.

Implementation merged in PR #172 from reviewed head 90ac7f4; merge commit is 148553a. Three focused tests pass and fail on detached main for the missing refusal. A simulated native CLI probe verifies the exact Sage refusal before evaluation and normal child completion. The original completion control also passes. Code/security/QA each passed two clean cycles. Final-commit build/check and all 1,107 tests pass. Exact-commit CI passed all 1,107 tests.

Activity

  1. added
    codex
    on Oct 13, 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

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions