Skip to content

feat(platform): let managed configuration declare an agent's label grant #5281

Open

Description

@tale-code-bot

Split off #4990 (TALE-203), which adds the agent tool task_set_labels and its per-agent label grant.

What is missing

The label grant of task_set_labels can be set in the project-agent dialog and through the REST agent doors (labelGrants on POST/PUT /api/v1/projects/{id}/agents), but managed configuration cannot declare it: an agent-tools declaration can grant the tool, and the agent then holds an empty grant, so every call is refused with TASK_LABEL_NOT_GRANTED until a person picks its labels in the dialog. A fleet that declares its agents (as Tale's own does) cannot give its manager agent the labels it routes by.

What done means

  • A managed declaration can name the project labels an agent's task_set_labels grant holds, with the same rules as the dialog and the REST doors: each name must be a label of the agent's project (PROJECT_AGENT_LABEL_UNKNOWN), stored once in the project's spelling.
  • Observing a managed agent reports its grant, so drift is visible like its other equipment.
  • Docs for managed configuration name the field.

Activity

  1. added
    feat
    agent-ready
    on Nov 2, 2026
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

    agent-readyfeat

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions