Skip to content

j5_list_personas marks entries an agent's own pick can't use (models and access versus the caller) #940

Open

Description

@bryantderosier

The problem

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.

Out of scope

Activity

  1. added
    enhancement
    on Nov 6, 2026
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