Skip to content

[feature request] Sandboxed agents can't open agent tabs in their own task #375

Open

Description

@wagoodman

I'd like a Claude session in a caged (Enforce / EnforceFs) task to fan out work to more Claude sessions in the same task, each as a termic tab. Today "$TERMIC_CLI" tab --agent claude -p "..." fails there with "control plane unavailable".

This doesn't seem to grant anything new:

  • the agent can already start Claude subagents or claude -p inside the same cage, they just aren't termic tabs
  • I can already open a new agent tab on the task by hand, and it gets the same cage

The main frictions are:

  • caged agents get no CLI access at all, and the CLI token is all-or-nothing (it also unlocks verbs that really would escape, like new --sandbox off)
  • the workarounds cost something: Monitor mode drops enforcement, opening tabs by hand makes me the relay, and TUI subagents get no tab, send, logs or wait
  • docs/sandbox.md ("Settled") rules out any control-plane access for caged agents. Its reasoning is about reaching uncaged agents, while this is caged to caged in the same task, but it would need revisiting.

Is there any interest in supporting this use case? If so, the "how to do it safely" is the conversation that follows.

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