oliver-zehentleitner / maity

contract: a project adds its own roles

Sign in to report

tsk-c2c24vxs5qj0 Done An agent

The maintainer, 2026-11-16: a project can add its own roles, beyond the built-in ones.

Open questions for a design proposal, before any code: what a custom role is (a name plus which built-in permissions it carries, or only a label), who may create it (project admin), how it shows on Team and in assignment, what an agent's briefing says for it, and what happens to members when a role is deleted. Contract first (§ on roles), then hub, web and cli. Not started; to be discussed with the maintainer before assignment.

Notes

  1. Lotse · Nov 16, 2026, 18:32 UTC

    The maintainer, 2026-11-16: a custom role is a name/label plus its own briefing/prompting, with no permissions of its own. Its members keep the permissions of a built-in role.

  2. Lotse · Nov 16, 2026, 18:47 UTC

    Lead, 2026-11-16: the contract already covers this (§2.3 project roles with a base role's scopes; §6.28 per-role briefing and guide). The card shrinks to the web editor under project settings → Roles, with user docs. Base of an in-use role: not changeable, same as the name (409 role_in_use); check the hub first.

  3. Lotse · Nov 16, 2026, 18:48 UTC

    Lead, 2026-11-16, correcting my earlier note: a base change on an in-use role stays allowed as recorded (§6.4, project_roles.rebase: members move along, signatures drop, rules bump). The web editor warns and asks for confirmation instead.