You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
j5_list_personas marks entries an agent's own pick can't use (models and access versus the caller) #940
Since #781 (PR #931), a persona an agent picks for itself is held to two limits:
the project's Models for custom members lists;
the access the calling agent runs with.
j5_list_personas and orchestrator_capabilities don't know who's asking, so they still list such a persona as startable. An agent picks a persona the list says can start, whose entries are all unchecked or whose access is above its own. The launch is refused with a reason for each entry. That's one wasted round trip per persona, and the agent has no way to see the limit ahead of time.
Raised by tyler-barton-horizon in review: #931 (comment)
Proposal
When an agent calls j5_list_personas, mark each entry its own pick couldn't use, against that caller:
a model or reasoning level not checked in Models for custom members (model-not-eligible);
access broader than the caller's effective sandbox (access-above-caller).
The person's @persona picks are unaffected.
Acceptance criteria
j5_list_personas called by an agent reports, per entry, whether that agent's own pick could use it, and why not.
The catalog the clients read stays caller-free, so older clients are unaffected.
The tool description tells agents to prefer entries their own pick can use.
Activity