spec rev 5.2: section 7.3 refuses only logins for real cross-box targets
A prefix pointing at nothing eligible keeps today's behaviour (the front's gate judges); door callers unchanged. Task 11 review finding.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+11
−5
docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md+11 −5
diff --git a/docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md b/docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md| index 5de4afd07..59aed3564 100644 |
| --- a/docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md |
| +++ b/docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md |
| @@ -1,6 +1,6 @@ |
| # Path routes across boxes: a prefix whose target lives on another box |
| -Rev 5.1, 2026-11-20 (§7.2 cut by Paul during the build). Rev 5 approved by Paul 2026-11-19. Discussion #186. Builds on the path-routing design |
| +Rev 5.2, 2026-11-21 (§7.2 cut by Paul during the build; §7.3 clarified). Rev 5 approved by Paul 2026-11-19. Discussion #186. Builds on the path-routing design |
| (`2026-09-02-path-based-routing-design.md`, "the 09-02 design" below) and |
| changes none of its rulings except the one it was written to lift: §6's |
| "a prefix's target route must be homed on the same box as the hostname's |
| @@ -468,10 +468,16 @@ A login POST is re-resolved by its `next` path, but arrives at the front |
| route's box, so a cross-box target cannot be reached without reading the |
| body before the hop. **Out of scope** (**my call**). The login handling |
| keeps the matched prefix and its **intended** target separately from the |
| -serving fallback: when `next` matches a prefix whose target is not a local |
| -target route (remote, or ineligible for any reason in §5.3), the POST is |
| -refused with a sentence, before any password hash is chosen or any cookie |
| -issued. It is never judged by the front route's gate. Hub tenants |
| +serving fallback: when `next` matches a prefix whose target is a target route |
| +served on another box (whether or not this request selected it there: a hop, |
| +a door caller, a tick-behind map), or is a case 3 target served here for a |
| +front this box does not serve, the POST is refused with a sentence, before |
| +any password hash is chosen or any cookie issued. It is never judged by the |
| +front route's gate. A prefix whose target is not a target route anywhere |
| +(missing, another account's, an attached alias) keeps today's behaviour: the |
| +front serves that page, so the front's gate judges its login. Door callers |
| +keep today's behaviour (they never cross boxes). Clarified during the build |
| +(Task 11 review, 2026-11-21). Hub tenants |
| authenticate with the hub session (user-models §6.3), so the hub model does |
| not need the gate. |