Picked up by a platform builder session (routed from 8a3d302 on Paul's go). Rough date: built, reviewed and merged on main by 2026-11-23. Live needs a release and a roll of the fleet boxes, which is Paul's go; the hub itself needs no change.
Cause, confirmed in code. The hub already sends the box the client it saw: every hub-to-tunnel proxy runs tunnelRewrite, whose setForwarded writes X-Forwarded-For fresh (ReverseProxy's Rewrite drops whatever the client sent), so the chain ends in the hub's own view of the client (the PPv2 address on the region NLBs, or the believed chain on a verified backhaul hop). The fleet box then throws it away: its own setForwarded believes an inbound chain only on a verified mesh hop or a linked request, so for a tunnelled request it writes the tunnel peer, the hub.
Design note (small; no spec). The box treats a tunnelled request the way it already treats a linked one (linked deployments §6.2), which is the trust rule #476 sketched:
- Trust boundary: only requests that arrived on a tunnel this box dialled to its configured hub (tunnelclient's own context mark, which nothing in a request can set). On the box's public listener X-Forwarded-For stays the client's to forge and is replaced, as today.
- What the app gets: the hub's X-Forwarded-For chain, normalised, when every entry is an IP address; otherwise the connection peer, as now. The box's forwarded-for proof signs the chain as sent.
- The box's password gate keys its attempt limiter on the chain's last entry (the client the hub saw), not the shared tunnel address.
- Covers fleet channels and static -tunnel channels alike, plain HTTP and WebSockets (the upgrade rides the same proxy).
- Unchanged: the platform's own analytics, rate limits, protection and request records already run at the hub and skip tunnelled requests on the box.
What an app should trust (goes in the docs, after a copy pass): the same contract a shared-box app already has. The edge reaches the app on its unix socket and sends X-Forwarded-For with the client as the last entry, the edge having removed anything the client sent. Rails' request.remote_ip and Rack::Attack's req.ip pick that entry with default settings; I will confirm both against a real Rails app before the docs say so.
Test-first: an end-to-end test (hub edge, real tunnel, box edge, app socket) where a client forges X-Forwarded-For and the app must see exactly the hub's view of the client.