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
feat(platform): let managed configuration declare an agent's label grant #5281
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.
Activity