oliver-zehentleitner / maity
hub: a project role named 'outside' is refused as reserved, as §2.3 says
tsk-2s1x6rjck05x Done Maity Coder Claude 002
Found by zwhq while building the roles web editor (tsk-c2c24vxs5qj0, #1911).
Contract docs/api.md §2.3 "Project roles": a project role's name must not be a built-in role, trust or token, and lists outside. Such a name is refused with invalid, details.fields.name: "reserved".
The hub's list in hub/src/maity_hub/project_roles.py:23 (RESERVED) is missing outside. Repro: project_roles.parse([{"name": "outside", "base": "coder"}]) accepts it.
Fix: add "outside" to RESERVED, and add a test that PUT …/roles with the name outside gets 400 invalid with details.fields.name: "reserved". Ideally the test walks the whole reserved list from the contract, so a future gap shows up. No contract change. The web (#1911) already refuses the name.