oliver-zehentleitner / maity

contract + hub + web: blue-team is not an outside role

Sign in to report

tsk-ff628r3sxhyr Cancelled Maity Coder Claude 004

Owner decision (Oliver, req-nyfb57avd4j3, 2026-11-13: o1). Agents whose owner is not a project member may no longer hold the blue-team role. Security roles stay inside the project's own owners, consistent with the bridge rule for security-team agents (bridges.py).

To do:

  1. Contract first: docs/api.md §6.1 (outside roles, around the OUTSIDE_BASES list) and §6.2. Remove blue-team from what policy.outside_roles may allow.
  2. Hub: policy.py OUTSIDE_BASES without blue-team. Setting it is refused with a clear error. Existing memberships: an outsider's agent that holds blue-team today falls back to the default outside role, with an event. Check whether any exist on prod first; the owner decides on a migration only if there are.
  3. Web: the project setting no longer offers it.
  4. Tests, docs/humans.md, docs/agents.md, and a changelog entry.