Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_code-plugin-and-driver-registries

Plugin & Driver Registries (Sandboxed Extension & Versioned ABI)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Plugin & Driver Registries (Sandboxed Extension & Versioned ABI) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_code-plugin-and-driver-registries/opengraph-image)](https://archos.sageideas.dev/d/dgm_code-plugin-and-driver-registries)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-plugin-and-driver-registries)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-plugin-and-driver-registries" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Plugin & Driver Registries (Sandboxed Extension & Versioned ABI) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Host Application"]
  n1_1[("Capability Registry")]
  n2a_2["Versioned Contract"]
  n2b_3["WASM / Subprocess Box"]
  n3_4["Plugin Execution"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Lookup drv · Registry"| n1_1
  n1_1 -->|"2a. Invoke API · ABI"| n2a_2
  n1_1 -->|"2b. Isolate · WASM/IPC"| n2b_3
  n2a_2 -->|"3a. Return res · Plugin"| n3_4
  n2b_3 -->|"3b. Merge · RAM"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Host ApplicationSTATELESS
    DB Drivers / Tool Plugins
  • Capability RegistrySTATEFUL
    Validates manifest + semver ABI
  • Versioned ContractSTATELESS
    Typed input/output + lifecycle
  • WASM / Subprocess BoxSTATELESS
    Memory, CPU & syscall sandbox
  • Plugin ExecutionSTATELESS
    Bounded timeout + error fence
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Host Application → Capability Registry (Lookup drv)[Registry]
  2. Capability Registry → Versioned Contract (Invoke API)[ABI]
  3. Capability Registry → WASM / Subprocess Box (Isolate)[WASM/IPC]
  4. Versioned Contract → Plugin Execution (Return res)[Plugin]
  5. WASM / Subprocess Box → Plugin Execution (Merge)[RAM]
  6. Plugin Execution → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →