An org agent assignment has no API operation #2146

Open
opened 2026-11-27 08:04:19 +00:00 by sam · 0 comments
Owner

Why: the governance module stores agent assignments (governance.org_agents, Store.AssignAgent, read by the daemon at internal/daemon/workflow_identity.go), but no huma operation registers it: only the old dashboard service did, at internal/webui/orgs.go. GET /api/capabilities therefore reports org_agents: false and #2121 removed the Agents page, so nothing can assign an agent to an org from the dashboard.

Exposure: every deployment that runs a workflow as an agent identity rather than a person; one assignment per org and agent.

Done when: the binary serves reading and assigning an org's agent through /api/orgs/{id}/agents (or the members API with a kind), the dashboard offers it again, and the capability reports it honestly.

**Why**: the governance module stores agent assignments (`governance.org_agents`, `Store.AssignAgent`, read by the daemon at `internal/daemon/workflow_identity.go`), but no huma operation registers it: only the old dashboard service did, at `internal/webui/orgs.go`. `GET /api/capabilities` therefore reports `org_agents: false` and #2121 removed the Agents page, so nothing can assign an agent to an org from the dashboard. **Exposure**: every deployment that runs a workflow as an agent identity rather than a person; one assignment per org and agent. **Done when**: the binary serves reading and assigning an org's agent through `/api/orgs/{id}/agents` (or the members API with a kind), the dashboard offers it again, and the capability reports it honestly.
sam added the feature label 2026-11-27 08:04:34 +00:00
sam added the medium label 2026-11-27 08:04:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2146