oliver-zehentleitner / maity
web: a project's own roles can be picked for an agent (role select lists only built-in roles)
tsk-0e7mrvccjttn Done An agent
Bug, found by Oliver on prod after deploy 12 (hub 0.1.0a9), 2026-11-18 11:30Z. Since #1911, Oliver can create a project's own roles under Settings → Members and agents → Roles (test: role popelwerfer, base coder, policy rules_version 33). But when an agent's role is chosen, the own roles are not offered at all. The select shows only built-in roles.
Expected: an agent's role select lists the built-in roles and the project's own roles (with their base), and saving one sets it on the member.
Check first:
- Does the web select read the roles from the project's roles list (as
maity rolesdoes since #1920), or from a hard-coded built-in list? - Does the hub accept an own role on the member write (contract: does §2 allow
role= own role name), or does it refuse? If the hub refuses, this is a contract question for lotse before code. - The same select in other places (join agent, invite).
Done when: an own role can be picked and saved for an agent in the dashboard, with a test (web check/smoke) and a changelog fragment. All 10 languages for any new string.