Skip to content

Personas: a blocked persona escalates, and I can allow it once #785

Closed

Description

@bryantderosier

Item 10 of 11 in the Personas v2: simpler specialists milestone.

The problem

When a persona can't run, I've seen two bad outcomes. Either it fails with a vague reason, or the agent quietly recreates it as a custom worker to get around its model or access limits. The second one defeats the point of the persona. And when I want to let it run anyway, there's no clean, one-time way to say yes.

Where this sits

This covers decisions 5 and 6 of the Personas v2 proposal, plus the "single request" from Crews v2 (#747). Independence is no longer one of the things that can block a launch (#782), so "Allow this once" doesn't need to cover it.

What we already have

Proposal

A blocked persona stays blocked. It works through its list (#778). When the list runs out, it escalates: to the Captain inside a Crew, and to me otherwise. It's never recreated as a custom worker to escape its limits.

These cases are reported separately, so the reason is actually useful:

  • the library is empty;
  • no persona fits;
  • the persona is disabled or removed;
  • the definition is invalid;
  • the model list is exhausted, with one reason per entry;
  • the library can't be read.

"Allow this once" is my answer to an escalation:

  • Scope: it covers exactly one launch and the one constraint named in the escalation, such as an unchecked model or broader access than the caller has.
  • Record: it's recorded on that worker as its pick source (Personas: agents pick personas, and who picked sets the limits #781).
  • No lasting effect: it never edits the persona, and it never carries over to later work.
  • No new capabilities: a driver that can't enforce the persona's access stays unusable.

A pin is a list of one. If I explicitly choose a model and it can't run, the launch escalates. It doesn't fall back.

Acceptance criteria

  • The six cases above produce distinct, readable reasons on j5_spawn_agent, delegate_task, and Crew launches and additions.
  • Agent guidance and tool descriptions say a blocked persona must not be recreated as a custom worker.
  • Inside a Crew, an exhausted list becomes the single Crews v2 request (Inbox and Captain's chat) and shows on the timeline as one line with its reasons.
  • Outside a Crew, the caller escalates to me through an ask.
  • Answering "Allow this once" launches that one worker past the one named constraint. The worker records it as its pick source, with the constraint.
  • A second launch of the same persona is held to the normal limits again.
  • "Allow this once" can't put a persona on a driver that can't enforce its access. That case is refused even after the answer.
  • A pinned model that can't run escalates instead of falling back.
  • Docs describe the escalation and "Allow this once".
  • Focused tests cover each failure case, a one-time allowance being scoped to one launch, and the driver-capability refusal.

Out of scope

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions