docs(infra): design Compass self-host runner + adoption strategy (RIG-3070) - #804
Open
rigel-mintaka wants to merge 1 commit into
Open
docs(infra): design Compass self-host runner + adoption strategy (RIG-3070)#804rigel-mintaka wants to merge 1 commit into
rigel-mintaka wants to merge 1 commit into
Conversation
|
Compass engineering docs preview: https://compass-obs-rig-3070-runner.compass-eng-docs.pages.dev Deployed from Changed pages: |
rigel-mintaka
force-pushed
the
compass-obs/rig-3070-runner-adoption-strategy
branch
from
August 31, 2026 19:47
f4f27c2 to
650c699
Compare
rigel-mintaka
marked this pull request as ready for review
August 31, 2026 19:47
rigel-mintaka
marked this pull request as draft
August 31, 2026 23:21
rigel-mintaka
force-pushed
the
compass-obs/rig-3070-runner-adoption-strategy
branch
2 times, most recently
from
September 1, 2026 04:13
30a299d to
99722b5
Compare
…-3070) Documents Matt's ruled runner topology + adoption strategy as a frozen-on-merge contract in a new design record under docs/designs/infra/runtime/compass-runner-adoption-strategy/. Mints DL-318. The security boundary follows the TRUST MODEL, not the deployment uniformly (Matt, 2026-08-31): - Managed multi-tenant service = microVM-only END STATE (KVM hardware isolation of untrusted tenants). Podman is its transitional running boundary only, dropped to microVM-sole at the OQ-1 readiness bar (floor) and no later than the frozen first-external-multi-tenant-tenant milestone (ceiling). - Self-host single-tenant = podman is a PERMANENT, supported entry tier requiring no /dev/kvm (runs on any cheap VPS/box), with microVM the RECOMMENDED (not required) upgrade for defense-in-depth. AMENDS the frozen KVM-only amendment with a self-host carve-out. - No embedded native-app mode (DL-235 stands). Dual runtimes = the two existing SelectBackend stack backends, not embedded revival; the maintenance cost is KEEPING the working podman path, not building a new one, and it removes the KVM premium at the self-host front door. - macOS: podman-machine is a permanent Mac self-host option (no nested virt, any Mac); microVM-on-Mac stays nested-only/unsupported; the remote-Linux client-only path (DL-235) stands. Managed-service adoption strategy (the cheap managed on-ramp, model-set cost optimization) is product strategy and is designed in the private monorepo's own records, not in this public OSS record. Ledger-impact: mints DL-318 in docs/designs/DECISIONS.md. Spec-impact: none (design record; the runner-topology spec follows the impl tasks post-freeze). Refs RIG-3070 Co-authored-by: Matt Wilkinson <matt@rigel.build>
rigel-mintaka
force-pushed
the
compass-obs/rig-3070-runner-adoption-strategy
branch
from
September 1, 2026 05:06
99722b5 to
43fb66c
Compare
rigel-mintaka
marked this pull request as ready for review
September 1, 2026 05:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents Matt's ruled runner topology + adoption strategy as a frozen-on-merge contract in a new design record under
docs/designs/infra/runtime/compass-runner-adoption-strategy/. Mints DL-318.What this record freezes
The security boundary follows the trust model, not the deployment uniformly (Matt, 2026-08-31):
/dev/kvm— runs on any cheap VPS/box. microVM is the recommended (not required) self-host upgrade, for defense-in-depth or an operator running untrusted code / sharing their box. This amends the frozen KVM-only amendment with a self-host carve-out (honestly flagged as reopening a frozen decision — and distinguished from the amendment's own already-rejected carve-out, which was about the untrusted-multi-tenant boundary, not this single-tenant case).brew installthe app, launch, sign in with your own Claude Code/Codex subscription, and go — same as any local harness. On the user's own box, restricted-tier subscription sign-in is allowed (their box, their IP, their risk), which is the zero-friction on-ramp managed cannot offer. This record records the direction only; the app-architecture reversal (un-retiringcompass-app's supervisor invocation / embedded config arm / bundle, reversing DL-235's client-only charter) is designed in the compass-native lane's own embedded-revival record, carrying its own ledger row there — not designed here.SelectBackendstack backends (podman + microVM), both already shipping — embedded-local runs the same podman backend locally, not a third runtime.Changes from the prior draft
Two reshapes stack here. First, after Matt's VPS gut-check the earlier uniform-KVM-only draft was reshaped to the trust-model split: cheap VPS (Hetzner Cloud, Contabo VPS) don't even expose
/dev/kvm, and a self-host user running their own agents on their own box gains ~nothing from hardware isolation that existed to isolate untrusted managed tenants. Second (this reshape), Matt ruled that committing to the permanent podman tier brings back full embedded stack mode as the developer front door — reversing the prior "no embedded mode" clause. Managed-service adoption strategy (the cheap managed on-ramp, model-set cost optimization) is product strategy and is designed in the private monorepo's own records — excised from this public OSS record.Tasks (filed at freeze)
T1 (managed microVM cutover), T2 (guided onboarding: embedded-local front door + both self-host podman/microVM graduation paths). The embedded app-architecture is deliberately NOT a task here — it is the compass-native lane's record. OQ-1 (managed readiness bar), OQ-2 (VPS provider pick), OQ-3 (macOS podman-machine socket spike — now the Mac embedded front-door path, so it matters more) are deferred/non-freeze-blocking.
Ledger-impact: mints DL-318 in docs/designs/DECISIONS.md.
Spec-impact: none (design record; the runner-topology spec follows the impl tasks post-freeze).
Refs RIG-3070
Co-authored-by: Matt Wilkinson matt@rigel.build