Skip to content

Personas cannot run with full access outside a Crew seat #432

Closed

Description

@Jacksondr5

Problem

A saved persona cannot be given full access (shell with network, internet, any MCP server) when it is launched as an ordinary task. Every persona authority policy translates to a read-only or workspace-write sandbox with network access off, and there is no full-access policy to choose.

The only path that lets a persona run with full access is a Crew seat with an explicit access mode. Starting a task as a persona from the composer, @persona: mentions, and spawn_agent with a persona all use the persona's policy as-is.

Use case

Jackson wants to move the Trade Assistant (currently a Hermes bot) to J5 as a set of personas kept in a git folder: a general trade assistant plus specialist research personas. These agents need to run data-crunching scripts, fetch from the internet, call the Trade Tracker HTTP API, and drive TradingView through an MCP server. He does not want their runtime restricted. With today's policies, none of that works for a persona-launched task, so the personas can't be used and the agents have to run as plain full-access threads with their identity in AGENTS.md.

What the code does

Observed on j5/main at e1621b5868, and the same logic is in the installed 0.0.47 build.

  • packages/contracts/src/j5/agentPersona.ts:45-52: AgentPersonaAuthorityPolicy is read-only, workspace-write, critic-review, critic-fix, diagnostic, publish-only. There is no full-access value.
  • apps/server/src/j5/agents/agentPersonaProviderPolicy.ts:17-31: the only two translated policies are READ_ONLY_POLICY and WORKSPACE_WRITE_POLICY, and both set networkAccess: false.
  • Same file, lines 34-49 (providerCanEnforceAgentPersonaAuthority): workspace-write and critic-fix are enforceable only on codex; diagnostic and publish-only are never enforceable. So on claudeAgent the only launchable policies are read-only and critic-review.
  • apps/server/src/j5/agents/agentPersonaRuntime.ts:67-69: the translated policy is used unless the assignment carries runtimeModeOverride.
  • runtimeModeOverride is only ever set in apps/server/src/j5/a2a/CrewLaunchService.ts:344 and :379, from a Crew seat's runtimeMode. The composer, @persona: and spawn_agent launch paths never set it.

Net effect by launch path:

Launch path Can the persona run with full access?
Composer "Persona" control No
@persona: mention / delegate_task No
spawn_agent with a persona No
Crew seat with explicit access Yes, via runtimeModeOverride

To reproduce

  1. Create a personal persona (Settings → Personas → Create persona). The runtime policy choices offer no full-access option.
  2. Pick workspace-write with a Claude primary model: the persona shows Blocked (runtime policy not enforceable).
  3. Pick workspace-write with a Codex model and start a task as that persona: the sandbox has network access disabled, so commands that need the network fail.

Step 3 is read from the code (networkAccess: false), not run; steps 1 and 2 follow from the schema and providerCanEnforceAgentPersonaAuthority.

Possible directions

Either would unblock the use case; they are not exclusive.

  • Add a full-access authority policy that personal and folder personas may declare, translating to the ordinary full-access runtime mode on every driver.
  • Let the person choose the access mode when starting a task as a persona (the same override Crew seats already have), with the persona's policy as the default.

Whichever is chosen, docs/user/personas.md and docs/operations/persona-library.md should say which policies allow network access, since the current text only says that the runtime policy is enforced.

Not verified

  • How the read-only policy is applied on claudeAgent in detail (which tools remain allowed). The conclusion above rests on the policy list and the Codex sandbox translation.
  • Whether leaving full access out of persona policies was deliberate. If it was, this is a request to revisit it for personal personas.

Filed by Claude (Claude Code) at Jackson's request, from the Trade Tracker project.

Activity

  1. added
    enhancement
    on Oct 3, 2026
  2. Jacksondr5 commented on Oct 3, 2026

    @Jacksondr5
    OwnerAuthor

    Jackson confirmed on 2026-10-03 that we want this: a persona should be able to run with full access outside a Crew seat.

    It pairs with #439, which removes the hidden commit and PR rules appended to every persona and makes a runtime policy mean only what the provider's sandbox enforces. With those rules gone, a persona that should not be sandboxed needs a real way to say so, and this issue is that way. It would also give #391's wider provider picker something those providers can run.

    Noted by Claude (Claude Code) at Jackson's request, from the review panel on #391.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions