From a keystroke in the editor to an atomic edge cutover.

Sitefeather runs strict isolation between authoring, building, and public serving. No dynamic database sits behind visitor traffic, and no unfinished draft reaches the edge.

Four stages of every release

Each stage has clear boundaries, explicit validation gates, and automatic recovery if a step is interrupted.

Stage 1 · Author

Isolated Visual Editor & Cross-Origin Canvas

Editors work inside app.sitefeather.app, framing an isolated Astro preview service (preview.sitefeather.app) in a sandboxed iframe. Changes render on the hidden back frame before swapping forward, keeping interaction crisp with local IndexedDB and downloadable file backup protection against network drops.

postMessage sync · sandbox="allow-scripts allow-same-origin" · IndexedDB + file recovery

Stage 2 · Validate

Schema Parity & WCAG 2.2 AA Contrast Gate

Before a publish job can enter the build queue, Sitefeather verifies typed field contracts (Zod schemas, internal route targets, rich-text JSON ASTs), tracks English and French translation gaps per route and collection, and computes foreground/background contrast across the site’s resolved palette.

@awb/schema · @awb/quality · publish-blocking problems linked directly to fields

Stage 3 · Build

Containerized Astro Compilation

The build worker claims queued jobs via direct Postgres advisory locking, generates type-safe Astro pages from the versioned component registry, compiles static HTML, CSS, and hashed asset outputs inside a pinned digest builder container (awb-builder), and checks output budgets before accepting the artifact.

awb-worker · pinned awb-builder@sha256 · direct DB watchdog & clean shutdown

Stage 4 · Activate

Content-Addressed R2 Upload & Instant KV Rollback

Compiled assets upload to EU-jurisdiction Cloudflare R2 buckets (awb-releases and awb-assets). Activation flips a single route record in Cloudflare Workers KV (awb-routes) served globally by the awb-edge Worker — making both deployment and rollback to any prior release instantaneous.

x-awb-site · x-awb-release · x-awb-seq · Cloudflare for SaaS HTTP-validated TLS

System topology at a glance

Clear separation between the control plane, the builder sandbox, and public edge delivery.

Surface / ComponentResponsibilityIsolation & Runtime
Console (app.sitefeather.app)Site management, visual editing, approvals, domains & formsStatic Vite SPA behind Caddy · script-src 'self' CSP
Preview (preview.sitefeather.app)On-demand draft rendering for editor & library previewsRead-only Docker container · cap_drop: [ALL] · signed URLs
API (api.sitefeather.app)Auth session guard, draft persistence, MFA step-up & release orchestrationRead-only Docker container · DB health watchdog · loopback bound
Build Worker (awb-worker)Containerized Astro compilation & custom domain lifecycleDirect Postgres connection pool · deadman monitor · bounded shutdown
Edge & Forms (sitefeather.page)Public site serving, custom hostnames & validated form deliveryCloudflare Worker + R2 + KV · Resend EU (eu-west-1) with SPF/DKIM/DMARC

See how security and accessibility back the pipeline.

Inspect our CSP directives, TOTP MFA enforcement, encrypted archive locks, and automated WCAG verification.