SPB Git

Repository Public BSD-3-Clause

0005-distribution-on-orixlab-site.md 1.4 KB 19 lines markdown

1# ADR 0005 — Map packages are distributed from www.orixlab.dev, like the ORIX Astra model library23Date: 2026-11-25 · Status: accepted (owner's instruction of 2026-11-25)45**Context.** The owner asked that downloadable maps come from the ORIX Labs site, the same way ORIX Astra downloads its6local models. Verified on 2026-11-25: `www.orixlab.dev` resolves to the MacLustr Tunnel gateway and is served by the7`orix-spboucher-ai` application (Next.js, node m4mm, port 8830); the model library is served by the route8`/astra/models/v1/[...path]` from `~/apps-data/orix-models/v1` with Range, SHA-256 ETag and a rate limit.9(`orixlabs.dev`, with an "s", has no DNS record: the real domain is `orixlab.dev`.)1011**Decision.** Same mechanism: a route `/maps/v1/[...path]` in the site serves static files from12`~/apps-data/orix-maps/v1` on the node — `catalog.json`, `regions/<id>.json`, `regions/<id>/versions.json`,13`files/<id>/<version>/<id>-<version>.orixmap` — only for files listed in the catalog and whose size matches. Packages14are signed (Ed25519); the app trusts the signature, not the server. No account, no cookie, no coordinates or search15text ever sent. Publication is done by `Infrastructure/distribution/publish.sh` from the build node.1617**Consequences.** Throughput is bounded by the tunnel and the node's uplink (to be measured with a real package);18no CDN. The site's request log retention applies (documented in `docs/PRIVACY.md`).19
Files main
Menu

Theme