SPB Git

Repository Public BSD-3-Clause

0005-distribution-on-orixlab-site.md 1.4 KB

# ADR 0005 — Map packages are distributed from www.orixlab.dev, like the ORIX Astra model library

Date: 2026-11-25 · Status: accepted (owner's instruction of 2026-11-25)

Context. The owner asked that downloadable maps come from the ORIX Labs site, the same way ORIX Astra downloads its local models. Verified on 2026-11-25: www.orixlab.dev resolves to the MacLustr Tunnel gateway and is served by the orix-spboucher-ai application (Next.js, node m4mm, port 8830); the model library is served by the route /astra/models/v1/[...path] from ~/apps-data/orix-models/v1 with Range, SHA-256 ETag and a rate limit. (orixlabs.dev, with an "s", has no DNS record: the real domain is orixlab.dev.)

Decision. Same mechanism: a route /maps/v1/[...path] in the site serves static files from ~/apps-data/orix-maps/v1 on the node — catalog.json, regions/<id>.json, regions/<id>/versions.json, files/<id>/<version>/<id>-<version>.orixmap — only for files listed in the catalog and whose size matches. Packages are signed (Ed25519); the app trusts the signature, not the server. No account, no cookie, no coordinates or search text ever sent. Publication is done by Infrastructure/distribution/publish.sh from the build node.

Consequences. Throughput is bounded by the tunnel and the node's uplink (to be measured with a real package); no CDN. The site's request log retention applies (documented in docs/PRIVACY.md).

Files main
Menu

Theme