Architecture Overview
WebbiOS Architecture (v1.1.0) is designed around Minimal Core, Zero Business Logic in Core, Runtime Autonomy, Strict Data Ownership, and Free-first Cloudflare-native efficiency.
Important Distinction: This page describes the Target Architecture (
v1.1.0) and explicitly notes where the current As-Built codebase is still transitioning.
Control Plane vs Runtime Plane
Section titled “Control Plane vs Runtime Plane”WebbiOS separates release distribution from live business execution:
- Control Plane (
WebbiPlatform— Out-of-Band):- Manages the internal catalog, immutable release registry (
SHA-256digest + signed descriptors), and release channels (DEV/Preview/Stable). - Strict Runtime Autonomy:
WebbiPlatformis never on the business request path of installed instances. If the Control Plane is offline or under maintenance, all installed Runtime instances continue operating at 100%.
- Manages the internal catalog, immutable release registry (
- Runtime Plane (Independent WebbiOS Instance):
- Each instance runs independently on its own Cloudflare account/resources with full ownership of its source code and data.
- All clients (Themes, Mobile Apps, External Integrations, Universal Dashboard) communicate through a Single API Entry Point (
The Kernel API— one official API hostname per instance).
Core Architectural Invariants
Section titled “Core Architectural Invariants”- Minimal Core & Zero Business Logic: Core handles only platform primitives (fail-closed Identity/Auth, RBAC, Local Registry, Generic API Gateway, App/Core Lifecycle & Update, File Manager, Dashboard Host, SDK, UI Kit). Industry-specific logic (CRM, Wiki, ERP, service workflows) belongs strictly in Apps.
- Zero Core Redeploy per App (Target): Installing, updating, disabling, or uninstalling an App must not require rebuilding or redeploying the Core Worker. Technical App Worker hostnames are internal transport targets, never public client endpoints.
- Strict Data Ownership (Target): Core owns Core D1 (
wb_*). Each stateful App owns its own isolated D1 database per instance. Stateless Apps provision no D1. Uninstalling an App preserves data by default; purging requires explicit approval. - Frontend-Agnostic Themes: Frontends are independent applications (e.g., Astro on Cloudflare Pages) consuming the unified API. Legacy JSON-driven storefront rendering and Visual Theme Builders are deprecated from the target architecture.
- Fail-Closed Security & Version Integrity: Fail-closed authentication, deny-by-default RBAC, SemVer 2.0.0 with immutable release descriptors, and honest verification without fake fallbacks.
Infrastructure Profiles (Free-First)
Section titled “Infrastructure Profiles (Free-First)”WebbiOS is designed to run lean on Cloudflare’s free tier and scale predictably without requiring expensive multi-tenant add-ons by default:
- Profile 1 — Free-First: Starts on Cloudflare Workers Free & Pages Free (
$0base plan; subject to Cloudflare’s daily Worker request/CPU and D1 free-tier limits). - Profile 2 — Standard: Cloudflare Workers Paid (
$5/monthbase plan; additional Workers, D1, R2, Queues, or Vectorize usage billed separately per Cloudflare’s published rates). - Profile 3 — Scale (Optional): Evaluated only when untrusted third-party isolation or zone limits require it in future expansion phases.
Note: Platform quotas and billing depend on your Cloudflare account plan and actual usage; WebbiOS does not guarantee absolute $0 total cost across all workloads.