XTend Documentation
Enable dark mode

XTend Developer Center

Build with XTend today

RMT Kernel Topography Map

Updated: 2026-08-30

This map describes the canonical RMT kernel sources used by the XTend stack. xtendrmt/rmt-runtime.esm.js, xtendrmt/rmt-core.esm.js, and xtendrmt/rmt-runtime.browser.js are generated delivery artifacts, not build inputs. The source of truth is xtendrmt/kernel/rmt-kernel-sources.json together with the independent sources under xtendrmt/ and xtendrmt/kernel/modules/.

KernelLab in XTend Scaffold is both the source assembler and the mandatory MVC gate. xt kernel-lab analyze --json checks roles, ports, capabilities, dependencies, and ownership without changing outputs. xt kernel-lab build --profile clean --write --json generates runtime, type, schema, and manifest artifacts together; --check detects drift. Release builds can pass --version <semver> so headers, runtime API version, types, and manifests stay synchronized.

Purpose

The map answers three questions:

  • Which functional surfaces already exist in the kernel?
  • Which of them are currently used directly by the XTend stack?
  • Which underused surfaces could improve Maraca, Fabric, App Runtime and Surface Manager?

Generated product bundles and build copies are excluded from the adoption assessment. They prove artifact parity, but not separate framework integration.

Module count, order, targets, exports, and hashes are derived from the source manifest. There is no separately maintained historical module count. Every entry declares exactly one MVC role (shared, model, view, controller, adapter, or composition), its ports, adapter direction, capabilities, and ownership domains. Illegal layer edges, cycles, duplicate providers, competing owners, and undeclared capabilities block a release build.

Canonical Source Topology

Bundle modulePrimary factoryFunction surface
rmt-kernel-scheduler.js (separate ./kernel-scheduler artifact)createRmtKernelSchedulerHost-neutral queue, job lifecycle, yielding, cancellation, diagnostics and scheduler host port
rmt-engine.js, rmt-engine-controller.js, rmt-engine-host-adapter.jscreateRmtEngineRoot, resource, command and binding services that delegate UI work to the injected microkernel scheduler
rmt-diagnostics-hub.jscreateRmtDiagnosticsHubDiagnostics publication, subscription and bounded event flow
rmt-command-bus.jscreateRmtCommandBusCommand dispatch
rmt-reactivity.jscreateRmtReactivityState and resource reactivity
rmt-policy-parity.jscreateRmtKernelPolicyParityCompile/runtime policy parity and security regression surface
rmt-browser-host-adapter.jscreateRmtBrowserHostAdapterHost timers, idle callbacks, animation frames, DOM events and AbortController
rmt-performance-runtime.jscreateRmtPerformanceRuntimeBudgets, backpressure profiles, browser signals, CI artifacts and trend reports
rmt-dom-descriptor-renderer.jscreateRmtDomDescriptorRendererThe only normal UI DOM commit port and producer of validated application binding records
rmt-format.jscreateRmtFormatPure format model for RMT normalization and reference graphs
rmt-input-routing-controller.jscreateRmtXRouterAdapterInput/routing controller over route and navigation ports
rmt-xtend-component-adapter.jscreateRmtXtendComponentAdapterComponent output adapter and lifecycle telemetry
rmt-surface-adapter.jscreateRmtSurfaceAdapterSurface projection through descriptor and lifecycle ports
rmt-state-telemetry-adapter.jscreateRmtStateSchedulerDiagnosticsBridgeState/scheduler telemetry output adapter
rmt-template-registry.jscreateRmtTemplateRegistryTemplate and document registry
rmt-template-loader.jscreateRmtTemplateLoaderRMT source loading
rmt-template-binding-model.jscreateRmtTemplateBindingModelHost- and DOM-free binding normalization
rmt-template-compiler.jscreateRmtTemplateCompilerPrepared documents, templates, fingerprints, and dependency refs over binding/clock ports
rmt-template-artifacts.jscreateRmtTemplateArtifactsDeterministic artifact bundles and runtime profile hints
rmt-template-runtime-renderer.jscreateRmtTemplateRuntimeRendererRuntime bindings, Trusted DOM, panic and recovery
rmt-template-trust-model.js, rmt-template-recovery-model.jsTrust/recovery portsDeterministic trust, sanitize, panic, and recovery models
rmt-template-execution-model.jsExecution model portHost- and DOM-free execution and hydration plans
rmt-template-interaction-adapter.jsInteraction/DOM portsDOM and host interactions as adapters
rmt-template-execution-controller.jsExecution controller portOrchestrates model and adapters without a concrete View dependency
rmt-template-execution-path.jscreateRmtTemplateExecutionPathThin composition root for execution, trust, recovery, and interaction
rmt-template-transport-adapters.jscreateRmtTemplateWorkerAdapter, createRmtTemplateServerAdapterWorker/server prerender envelopes, supersession and hydrate response handling
rmt-prewarm-worker-source.jscreateRmtPrewarmWorkerSourceBuilderBrowser worker source for template prewarm
rmt-prewarm-worker-runtime.jscreateRmtPrewarmWorkerRuntimeTemplate sync, worker health, prerender dispatch and topology snapshots
rmt-dom-compat-view-adapter.jscreateRmtDomCompatDOM compatibility as an explicit View adapter
rmt-public-island-controller.jsIsland/root lifecycle portsController for public island lifecycle operations
rmt-public-api.jscreateRmtCore, createRmtTemplateApiThin public API composition without its own DOM or host logic
rmt-browser-runtime.jscreateRmtBrowserRuntime, createRmtRuntimeBrowser runtime, mount, hydrate, render, prerender, performance delegation and prewarm integration
rmt-detached-dom-runtime.jscreateRmtDetachedRuntimeDetached DOM runtime for host-neutral execution
rmt-worker-prerender-runtime.jscreateRmtWorkerPrerenderRuntime, createRmtWorkerRuntimeWorker prerender and hydration runtime
rmt-server-prerender-runtime.jscreateRmtServerPrerenderRuntime, createRmtServerRuntimeServer prerender and hydration runtime
rmt-product-surface.jscreateRmtProductSurface, installRmtProductSurfaceProduct facade, entry-point inventory and browser global installer

Current Utilization

InterfaceCurrent XTend status
createRmtRuntime, createRmtCoreActive in Maraca, kernel orchestration and compatibility tests
createRmtFormat and split native adaptersHeavily used by parsing, surface, component, and lifecycle suites; Model, Controller, and output adapters are physically separate
createRmtStateSchedulerDiagnosticsBridgeActive in Maraca, Fabric diagnostics, telemetry and backpressure tests
createRmtPerformanceRuntimeActive in Maraca, kernel orchestration, Fabric backpressure and the retained-warm-reuse release baseline
createRmtTemplateExecutionPathActive in security gates; redacted panic/recovery lifecycle is projected into Fabric diagnostics
createRmtKernelPolicyParityActive in strict Maraca and release parity gates
createRmtProductSurfaceOptional service facade; direct microkernel composition remains the default and ESM imports have no boot side effect
createRmtTemplateArtifactsExported, typed and represented in Maraca build/report evidence
Worker/server prerender runtimesExported, typed and capability-gated optional services
createRmtPrewarmWorkerRuntimeExplicit opt-in, disabled by default, paused and invalidated under critical backpressure
createRmtDetachedRuntimeUsed by deterministic lifecycle, telemetry and resource-release gates
createRmtDomCompatActive as its own View adapter; Surface lifecycle belongs to the Surface Controller and DOM ownership to the descriptor renderer

Adoption Closure

PotentialKernel capabilityRecommended hardening
Product-surface bootstrapcreateRmtProductSurface() inventories runtime, core, performance, template and transport factoriesCompleted as an explicit opt-in service; direct Microkernel composition is the default
Source-to-Sea template artifactscreateRmtTemplateArtifacts() creates fingerprints and runtime profile hintsAdd templateArtifacts to Maraca reports and connect fingerprints to surface/resource evidence
Warm ReentryPrewarm worker, worker topology and performance backpressure profilesCompleted with a 32-entry/two-generation LRU, critical-pressure invalidation and a Chromium p95 release gate
Detached runtime testingcreateRmtDetachedRuntime() provides browser-runtime semantics without live DOMMake lifecycle, telemetry and resource-release gates more deterministic
DOM compatibilitycreateRmtDomCompat() knows ownership modes and island mount/unmountValidate Surface Manager destroy semantics against shared DOM contracts
Performance evidenceCI summaries, baselines, trendlines and file artifactsEnrich Maraca production reports with budget, baseline and backpressure evidence
Panic and recoveryExecution path and runtime renderer expose trust verdicts, panic events and recovery outcomesCompleted with redacted diagnostics-lane projection; sensitive payloads stay in the kernel

Layer Map

XTend layerPreferred kernel interfaceWhy it matters
RMT toolingcreateRmtFormat(), createRmtTemplateCompiler(), createRmtTemplateArtifacts()Normalized records, prepared templates and stable artifacts
Kernel runtimecreateRmtCore(), createRmtRuntime(), createRmtPerformanceRuntime()Host-neutral scheduling, lifecycle, diagnostics and performance semantics
FabriccreateRmtStateSchedulerDiagnosticsBridge(), performance samplesCompatible lane, fiber and backpressure telemetry
UI/surface layercreateRmtSurfaceAdapter(), createRmtDomCompat()Contract-driven open/close/destroy/focus and ownership modes
MaracacreateRmtProductSurface(), template artifact APIs, performance APIsProduct-wide bootstrap with bundle evidence and entry-point checks
SSR/worker/prewarmWorker/server transport adapters, prerender runtimes, prewarm worker runtimeMoves expensive template work out of visible lanes
App RuntimecreateRmtAppRuntime(), command, stream and reducer APIsConnects host services and app actions to Fabric and kernel diagnostics

Release Reference

The RMT Kernel Feature Adoption Evaluation records the closed tracks. Breaking changes are documented in the 0.8 migration guide.

(c) 2026 - CCS Networks | Powered by XRouter PHP Extension