hypnotranz 1a0419dc0c feat: initial Matrix SDK
Full SDK workspace: core, contracts, sdk, cli, browser-host, browser-kit,
federation, omega-core, oracle, self-healing, strategies, tools, emacs.
Clean extraction from the development monorepo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 15:54:15 -06:00

1.2 KiB

@open-matrix/browser-host Contract

Layer: browser runtime host.

Owns

browser runtime bootstrap consumption
MatrixAuthorityContext installation into runtime context
browser runtimeInstanceRoot propagation
hosted runtime target resolution for browser apps
browser app readiness probes

Does Not Own

auth decisions
namespace ownership
Registry storage
Device inventory storage
NATS/JWT policy

Consumes

/api/bootstrap authorityContext
MatrixAuthorityContext
browser bus token material from gateway bootstrap

Provided Surfaces

matrix-dsl-host browser element
hosted runtime target resolution helpers
app-ready probe helpers
bundle freshness monitor

Forbidden

selectedAuthorityRoot from DOM authority-root
selectedAuthorityRoot from runtime.root
selectedAuthorityRoot from assetHostRoot
selectedAuthorityRoot from URL host

Configuration

Browser authority comes from /api/bootstrap. Package configuration may control app mounting and readiness behavior, but it must not decide data authority.

Proof Gates

pnpm test:focused @open-matrix/browser-host
pnpm --filter @open-matrix/browser-host type-check