Skip to content

Use Codex auto-review for rescue task escalations #445

Open

Description

@sublimator

Summary

/codex:rescue currently forces delegated Codex task runs into plugin-selected sandbox modes, but there does not appear to be an auto-review escalation path for commands that need to step outside the workspace sandbox.

A useful middle ground would be for write-capable rescue tasks to start Codex with workspace write access plus Codex auto-review approval routing:

{
  "sandbox": "workspace-write",
  "approvalPolicy": "on-request",
  "approvalsReviewer": "auto_review"
}

That should let normal repo edits proceed directly while still giving Codex a reviewed path for cases like writing to an allowed external docs tree, using local services, or other operations that are blocked by the default sandbox.

Why This Helps

Today the practical choice seems to be either:

  • keep Codex sandboxed and have some delegated tasks fail when they need escalation, or
  • ask for full access explicitly, which is useful but much blunter.

Using auto_review for write-capable rescue runs would make /codex:rescue more useful by default without making full host access the default.

Related

Related to #145, but this is narrower: not just exposing a full-access flag, but enabling Codex auto-review escalation for the normal write-capable rescue workflow.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions