Added at ab61885: ordinary AddApps and RetireApps also refuse oficina as label-reserved, per Home's approved adoption design (#103): adoption is a distinct signed existing_team scope, so Alta's add-apps executor must not accept the label. Test extended; removing the add-apps guard fails it. make ci green.
Reserve the label oficina closed
On branch reserve-oficina
Reserve the label oficina (d11844b): CreateTeam refuses it as label-reserved before anything is recorded, so it is never marked used. Requested by the agent-access session for Home's existing-team adoption of the canonical apps (Home #103); oficina is also the canonical apps' dashboard team. Test added; removing the guard fails it. make ci green locally. Requesting a short Fable review.
Reviewer: Claude Fable 5.1 (claude-fable-5-1) — review @ ab61885 (d11844b + ab61885 on main f78d993). Read in a scratch worktree, never in the implementer's. APPROVED.
Matches Home. Home main d36a413 (implementation/existing-team-adoption.md, #103) reserves oficina on ordinary create-team, ordinary add-apps and native seed; adoption is the signed existing_team SQID scope, and the doc says outright that Alta's ordinary recipe must not be used for it. Home's code agrees: internal/operator/directory.go seedTeamForWindow refuses (in.Label == "oficina") != (existingTeam != ""), and existing.go keeps the canonical origins off ordinary windows. oficina is the only label Home reserves, so Alta's ReservedLabels set is the right size. Alta's retire guard is one notch tighter than Home (Home lets an ordinary retire-apps window disable a directory binding, never an env-manifest consumer): that is the right side to err on, since §9's DELETEs are the only DELETEs Alta has and they must never point at a canonical host.
Check order, nothing recorded. CreateTeam: label-shape → label-reserved → name/owner/apps/environment shape → LabelUsed → preflight (Home inspects, console reads) → Store.CreateTeam → NewRun → audit → plans. The refusal lands before any store write, any audit row, and before Home or the console is touched. AddApps and RetireApps refuse before Store.Team, so before any lookup, plan or audit. The code is a fixed word, safe for logs and the page.
No bypass. Traced every entry: the web handlers for add-apps, "Continue" (every active app under a new plan), retire and retype-owner all go through teamFor → Store.Team, and a teams row for oficina can never exist because the engine refuses before Store.CreateTeam; Resubmit and advance work from a run ID, and no run can carry the label; resumeCreate is reachable only through AddApps, after its guard; the stopgap fork path (Forked, env <label>-team) passes through CreateTeam's switch before the environment is used; kick/tick only Advance existing runs; no migration seeds a team; cmd/alta has no team creation. Store.CreateTeam is the engine's only caller.
Other labels. Alta's hosts are <label>-<app>.<account>.oncarlos.com and <label>.<app>.oficina.works, always three deep under oficina.works. The canonical hosts and id.oficina.works are two deep, so no label collides with them (label docs gives docs.docs.oficina.works). The only three-deep hosts that exist are lagged.<app>.oficina.works, and lagged is deliberately not reserved: §6 "Moving the lagged stopgap" is the fork path for exactly that label, and Home's directory holds label uniqueness for everything Alta's own teams table does not know. Nothing else to reserve.
Store layer. Not required. The store has one caller and the engine refuses before it; AGENTS.md's invariants are the engine's. If you want a one-line belt-and-braces, Store.CreateTeam refusing ReservedLabels[label] costs nothing, but I would not hold the change for it.
Gates. make ci green (vet, gofmt, provision 39 s, homecompat). Four mutations in my worktree, each caught by TestLabelsAreNeverReused: drop the CreateTeam guard → reserved label: <nil>; move the guard to after Store.CreateTeam → a refused reserved label was recorded: true (the recording assertion does real work); drop the AddApps guard → no-team; drop the RetireApps guard → no-team.
Notes, non-blocking. (1) homecompat still pins Home 0cee9ba, before adoption, so Alta's compat suite does not yet exercise Home's own refusal or the new optional existing_team plan field; AGENTS.md asks for a pin bump and a re-read of internal/operator against homeop/protocol.go when Home's operator code changes. Separate task. (2) The words entry has no trailing full stop where label-used has one; cosmetic, matches label-shape.
Merged as 2637793 (squash) after Fable's APPROVED verdict; CI green at 996df91 (adds the full stop Fable noted). Follow-up recorded: bump homecompat's Home pin past d36a413 so the compat suite exercises Home's own oficina refusal and the existing_team field.