03 - Reference gateway runtime layout

Status: Reference acceptance-suite material. This page describes a legacy/generic per-profile gateway fixture. It is not the current public runtime architecture for agent-vm.sabe.dev.

The current public case study centers an OpenShell sandbox running a Hermes Agent workload, rootless Podman runtime posture, a managed provider boundary, a NUC-class VM substrate, and evidence receipts. This page is retained because its design lessons are still useful: avoid ambiguous runtime sources, avoid shared mutable profile state, and prove what is running before making claims.

Why the fixture existed

The legacy fixture modeled several agent profiles served by one template:

Those are still good governance ideas. The current public case study expresses them through sandbox, provider-boundary, and receipt language rather than through a public agent-gateway@<profile> runtime map.

Reference fixture shape

flowchart TB
    REG["fictional profile registry"]
    P1["profile: core<br/>one runtime source"]
    P2["profile: api<br/>one runtime source"]
    PROOF["alignment banner<br/>pid · cwd · runtime · source"]
    DENY["cross-profile reads denied"]
    EXEC["higher-risk execution<br/>separate sandbox fixture"]

    REG --> P1
    REG --> P2
    P1 --> PROOF
    P2 --> PROOF
    P1 -.-> DENY
    P2 -.-> DENY
    P1 -.-> EXEC

This diagram is a fictional reference fixture. It omits real service names, hostnames, ports, users, paths, and deployment details.

Lessons retained

Lesson Public-safe formulation
One runtime source A workload should have one declared source of truth, not scattered environment overrides.
Independent lifecycle Restarting or rolling back one profile/workload should not disturb unrelated profiles.
State isolation Application-level state separation is not automatically a security boundary.
Alignment proof Before a smoke test, re-derive what code/artifact is actually running.
Higher-risk work Move untrusted or higher-blast-radius execution into a stronger boundary and record a receipt.

Relationship to the current case study

For agent-vm.sabe.dev, use these current terms first:

Only use this gateway fixture when discussing the reference acceptance suite or older portable design lessons.

Non-claims

This page does not claim: