HydraIssues

Venue kinds: the starting role set per kind
open improvement Project: hydravenues Parent: #1158 Reporter: 14 Nov 2026 17:15

Description

Child of #1158. Item 4 of "What is next, in order" in docs/design/venue-kinds.md.

What

visitor and hospitality are crowd roles. They mean nothing in a guest venue and nothing at all in a compute-site or a workbench. The kind should decide which roles a venue starts with.

The trap, and this is the serious one of #1158's three deferred items

This is the only one that touches authorization. It must be a starting set, applied once when the venue is created, and never a filter applied at read time to grants that already exist.

If the kind filters live grants, reclassifying a venue revokes access silently. There is precedent for how that lands: at the FTI expo the floor codes expired and 106 lessons became unreadable through the portal while sitting intact on the node. Nobody was told; the data simply stopped answering. A kind change is a one-field edit and would do that to a venue's whole grant list.

Mechanics to read first

  • venue_scopes is read before grants and can kill Platform access.
  • grants.yaml indentation varies between entries, so never append blind.
  • Resolving a floor code a second time erases its role, and code new prints the code exactly once.

Done when

  • a starting role set per kind, applied at create only
  • a kind change leaves every existing grant untouched, asserted by a test
  • no read path consults the kind to decide a role