Repository navigation
docs(server): design the compass gateway boot wiring (RIG-2862) - #2213
rigel-mintaka wants to merge 10 commits into
Conversation
Wires the fork boot entrypoint to the Compass Server doors: VerifyAgentToken authorizer, per-owner credential store pool with the pending-write pin and request leases, a provider/id bundled catalog, and the stack's llm-gateway service bearer, server address and start order. Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Compass engineering docs preview: https://compass-gateway-rig-2862-boo.compass-eng-docs.pages.dev Deployed from Changed pages: |
Restrict the door listen host to addresses the fixed loopback URL reaches, drop the managed-plane pointer, and quote the source behind each code claim. Co-authored-by: Matt Wilkinson <matt@rigel.build>
Create the gateway dir before the service-token ensure, match F1's scope to the shared wire transport, scope the listener to host loopback with TLS deferred to T5, add the two-owner isolation test, and cut execution detail. Co-authored-by: Matt Wilkinson <matt@rigel.build>
Review result: clean at
|
| Round | Findings | Fixed in |
|---|---|---|
| 1 | Door listen host too broad; managed-plane pointer; missing quoted source | d850025e |
| 2 | Gateway dir not created before token ensure; F1 scope/dependency; stale token env name in errors; inbound TLS scope; two-owner isolation test; length | 552b2554 |
| 3 | none | — |
Merge gate: OQ1, OQ2 and OQ7 are load-bearing and wait on RIG-5264. Their rulings get folded into the record and DL-rows get claimed before merge.
…RIG-2862) Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Head is now |
…-2862) OQ2 drops the inbound shared bearer. OQ7 reaches the Server at host.containers.internal under pasta map-host-loopback on both OSes, with a DNS SAN; a mattmini probe confirmed it. OQ1 B is costed without a parent amendment. Co-authored-by: Matt Wilkinson <matt@rigel.build>
Split OQ1-B into B1/B2, move the service-token mount, reorder drainChildren explicitly, and qualify the ledger admission row. Co-authored-by: Matt Wilkinson <matt@rigel.build>
Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Head is now
Review: round 4 was a fan-out with 10 accepted findings; the two date findings were invalid. Round 5 verified those fixes and found 1 medium, which is fixed in Still blocked on OQ1 (A, or B1/B2) in RIG-5264. The DL rows get claimed when it is ruled. |
Co-authored-by: Matt Wilkinson <matt@rigel.build>
Co-authored-by: Matt Wilkinson <matt@rigel.build>
Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Head is now
Review:
Open: 0 high, 0 medium. A reviewer smoke-ran the preflight argv on the local gateway image, and it printed Still waiting on OQ1 in RIG-5264. |
Summary
Design record for the compass gateway boot wiring (RIG-2862, remainder). The fork's boot entrypoint still needs a broker, so the published image cannot serve under the stack. This record wires it to the Compass Server doors:
VerifyAgentTokenauthorizer, a per-ownerCompassAuthCredentialStorepool (lazy open, idle sweep,hasPendingWrites()pin, per-request leases), and a compass boot that callsstartAuthGatewaydirectly with aprovider/idbundled catalog.llm-gatewayservice bearer (service.token), pass the server URL and CA to the container, and start the gateway after the server is ready.Open decisions
Do not merge until OQ1 (catalog) is ruled in RIG-5264. Matt is leaning B (per-owner catalog). B needs no parent amendment, because the stable-name routing record already ratified the
resolveModelseam widening.Resolved (Matt, 2026-10-12):
host.containers.internalunderpasta:--map-host-loopbackon both OSes, with a DNS SAN. Probed on Linux and on a Mac (mattmini, podman 5.8.6 applehv).Review
A design-critic pass ran before this PR. It found 10 findings, and all were folded in. The darwin network path was promoted to OQ7.
Ledger-impact: three DL rows are proposed in the record's Tasks. They are claimed with
bun tools/dl-claimonce RIG-5264 is ruled, in this PR, before merge.Linear: RIG-2862, RIG-5264