Preamble

0. The Core Commitments — Invariant Axioms

These five commitments are the ground from which everything else grows. They are not derived — they are chosen. Every pathway, benchmark, and gate is a logical consequence of holding all five simultaneously. Change one and the architecture shifts. Accept all five and the structure is fully determined.

Sovereign Artifact

The artifact is self-contained and portable — a single HTML file for browser deployment, a packaged CLI for developer tooling, a portable binary for local execution. The principle is invariant: the user owns the artifact and it runs without phoning home. SRC: Aether v1.0 §I

Core-First

Every system has a deterministic core that works without AI, network, or external services. AI enhances. It never replaces. It never blocks. The deterministic core is the real application; everything else is optional enhancement. SRC: Aether v1.0 §I

Offline-Primary

The network is an enhancement layer, not a dependency. Everything works without internet. Online enriches but never gatekeeps. The application is complete at the moment of download; connectivity adds dimension, not function. SRC: Aether v1.0 §I

User Sovereignty

Data never leaves the device without explicit consent. The user owns their data, workflow, and experience. No dark patterns. No vendor lock-in. No data extraction. The software serves them; they do not serve it. SRC: Aether v1.0 §I

Browser-as-OS

The browser is a distributed computing platform, not a document viewer. Web APIs (WebHID, WebGPU, WebRTC, Workers, SharedArrayBuffer, BroadcastChannel, Service Workers) are system calls. The hardware compositor is a parallel GPU pipeline. SRC: Aether v1.0 §I

📋 Delivery Format Independence — The Canonical Instantiation Principle

Commitment ① is not a file-format constraint. It is an ownership and independence guarantee: the user possesses a complete, self-contained artifact that runs without phoning home and has no mandatory external dependencies.

The artifact may take different physical forms:

  • Browser deployment: Single HTML file — zero install, opens in any browser, works offline
  • Developer tooling: PyPI/npm package — standard package manager, bundled dependencies, no runtime fetch
  • Local execution: Portable binary — self-contained executable, no installer, no registry mutations

Single-file HTML is the most constrained instantiation. The browser sandbox cannot access the filesystem, install packages, or run native code — forcing every architectural decision toward portability, determinism, and independence. If the architecture holds under that constraint, it holds under all less-constrained formats.

Layer 0's 46 categories are specified against the browser instantiation. For other formats, apply the same five commitments and adapt categories to the format-appropriate domain.

📋 The Two-File Handoff Protocol

Every Aether project consists of exactly two deliverables for a production LLM session:

  • File 1 — This Document: The architectural benchmark. Contains commitments, pathways, categories, gates, economic model, and kernel protocol. Reusable across all projects. Evolves only under governance. Intent is invariant. SRC: Aether v1.0 §I; v2.0 §0
  • File 2 — Software Design Specification: Per-project domain container. Describes what the software does, who it serves, data models, workflows, features, promise and freedom contracts. Written fresh for each application. SRC: Blueprint §XII; v2.0 §0

"Build the application described in the spec to the standards defined in this benchmark. Hold the five core commitments as invariant axioms. Pass all applicable green gates before declaring phase complete."

🧩 Logical Derivation — How Pathways Follow From Commitments

The 19 pathways of Layers 1–3 and the 5 benchmarks of Layer 4 are not a menu of patterns. They are the necessary logical consequence of holding all five core commitments simultaneously. If you accept the commitments, the architecture is fully determined. SRC: Aether v1.0 §II

Key insight: None of these pathways is an independent invention. Each is the only possible answer to the question posed by the commitments together. Change a commitment → pathways change. Accept all five → the architecture is deterministic by default.

The Derivation Chain:

  • (Sovereign Artifact): Necessitates zero dependencies, inline everything, portable state, self-contained data. This alone demands the Layer 0 benchmark, event-sourced persistence (you cannot depend on a database server), and encryption-at-rest (if everything is local, everything must be protected).
  • From Commitment ② (Core-First): Necessitates deterministic fallback for every AI-enhanced system, a parallel enhancement pipeline, and graceful degradation as the default. This alone produces pathways ⑤, ⑩, ⑬, and the fallback protocols that govern them.
  • From Commitment ③ (Offline-Primary): Necessitates cache-first architecture, background sync, offline queues, local processing, and Service Workers. The application must be complete without the network; connectivity adds dimension, not function.
  • From Commitment ④ (User Sovereignty): Necessitates local-first storage, encryption where data lives, opt-in permission architecture, transparent agentic actions, and zero-analytics by default. The user is the root of trust.
  • From Commitment ⑤ (Browser-as-OS): Necessitates cross-process architecture, WebGPU compute, hardware bridges, WebRTC networking, and the CSS compositor pipeline. The browser's capabilities are system calls.
Layer -1

I. Meta-Architecture — Governance & Evolution

The layer below Layer 0. The architecture is not the document — the document is the written record of an architecture designed in full before implementation begins. This section governs how the architecture itself evolves.

🧬 The Document Is Not the Architecture

This document is the written specification of an architecture designed in full before any code is written — all layers, dependencies, data flows, and edge cases included. The layers, pathways, and benchmarks are the expression of that internal architecture, not the architecture itself. SRC: Aether v1.0 §XIII

The LLM collaborator is an execution partner: specifications → acceptance criteria → validation → QA. AI amplifies execution speed; it does not replace architectural judgment. The architect is the decision authority before any specification is drafted, and the resolution authority when specifications encounter unexpected complexity.

📋 Evolution & Invariance — Governance Rules

"Never changes" does not mean static. The document evolves under governance — every change must maintain 1:1 parity with the original intent of the five core commitments. WCAG 2.2 adoption is not drift; it is fulfillment of the WCAG 2.1 AA intent at higher fidelity. SRC: Aether v1.0 §XIII

The invariant is not the text. The invariant is the intent of the commitments. Any proposed change must be traceable to one or more commitments with a clear argument for how it serves the commitment's intent at higher fidelity. Changes without this trace are drift. The architect is the resolution authority for this trace.

📋 Adaptive Architecture — Continuous Improvement

This architecture operates under the principle that software standards continuously evolve and requirements expand over time. A goal-first approach treats feasibility as dynamic — start at the desired outcome and work backward through requirements, challenging assumptions about what is possible until they are proven genuinely necessary. SRC: v2.0 §I

The benchmark is not a finish line. It is a snapshot of a living standard. As the technology landscape evolves, the benchmark updates to capture new best practices. The architect's role is to keep the benchmark current as the field advances.

📋 Production Session Instruction

"You are implementing software from a Software Design Specification. Every decision must comply with the Project Aether Benchmark. The five core commitments are non-negotiable design constraints. All 19 pathways follow from these commitments — do not treat them as optional. Apply Core-First: every AI-enhanced feature must have a verified deterministic fallback producing complete output. Pass all applicable Green Gates before declaring phase complete. The application must be a sovereign artifact in the format appropriate to deployment context (single HTML file for browser, packaged CLI for developer tooling, portable binary for local execution): zero dependencies, encrypted by default, WCAG 2.1 AA, portable across browsers."

SRC: Aether v1.0 §XII

Layer 0

II. Foundation — Sovereign Artifact Baseline

The non-negotiable baseline. Every Aether-compliant build inherits these 46 categories. Tiered by scope: CORE = always present. STANDARD = present, exemption requires rationale. PREMIUM = flagship parity. OPTIONAL = when demanded.

📋 Category Index 00–45

RangeDomainsStatus
00–23Core UI Foundation — Atmosphere through print stylesheetCORE
24Security (Expanded OWASP) — CSP, SRI, headers, Crypto Vault, security.txtCORE
25–27Observability, Performance Budgeting, DocumentationSTANDARD
28–32Code Architecture, Testing/QA, Forms, Error States, Browser CompatCORE / PREMIUM
33–35Automated A11y Scanning, Cross-Browser Matrix, Error Recovery (NEW)PREMIUM
36–45State Management, Theme Engine, Modal System, Application Architecture, Data Management, AI/LLM Integration, Privacy & Compliance, SEO & Meta, Audience Routing, Trust Signals (NEW)CORE / STANDARD / PREMIUM

Categories 00–23 — Core UI Foundation

Fully specified in Aether v1.0 and verified against production-grade portfolio. No gaps. SRC: Aether v1.0 §III; Definitive Benchmark §00-23

View complete 00–23 specification
#CategoryKey RequirementsTier
00Ambient AtmosphereOrbital gradients, noise overlay (SVG fractalNoise), CSS-only animations, reduced-motion global disable, mobile breakpointsPREMIUM
01Design Token SystemCustom properties, dark-first, light parity, fluid typography (clamp), multi-layer shadows, spacing scale, easing curvesCORE
02CSS Reset + BaseBox-sizing reset, margin/padding zeroing, scroll-behavior, text-size-adjust, overflow-x hidden, font smoothing, optimizeLegibility, selection override, scrollbar styling, focus-visible globalCORE
03Accessibility Utilities.sr-only, skip link, focus-visible, forced-colors, ARIA landmarks, live region, modal aria-modal, accordion aria-expanded, roving focus, prefers-reduced-motionCORE
04Layout SystemContainer max-width, responsive padding, grid auto-fill, flexbox utilitiesCORE
05Animation SystemKeyframes (fadeInUp, shimmer, gradientFlow, pulseGlow, spin, toastSlideIn, toastProgress), scroll reveal (IntersectionObserver + spring curve), stagger delay, will-change, blur-inCORE
06Typography ScaleFluid headings (clamp), line-height tightening, letter-spacing, text-wrap balance/pretty, monospace stack, gradient text animationCORE
07Button SystemVariants (primary, accent, ghost), sizes (sm, lg), hover transform (-1px), active scale (0.96), disabled, Apple/Vercel top-rim highlight, glow shadow, touch-action, user-select noneCORE
08Badge HierarchySemantic variants (shipped, pro, oss, available, coming-soon, flagship), pulse dot animationSTANDARD
09Sticky NavigationSticky + z-index 900, backdrop blur + saturate(180%), scroll-state toggle, logo, links, theme toggle, mobile hamburger with ARIA, X transformation, overlay slide, body overflow lockCORE
10Floating Rail NavigationFixed right, scroll spy (IntersectionObserver), active dot glow, label fade on hover, hidden below tablet, smooth scroll with offsetSTANDARD
11Hero SystemDot grid background, audience router cards, 3D perspective tilt on hover, trust strip, preview window (IDE aesthetic), Chrome dots, preview parallax on mouse movePREMIUM
12About SectionTwo-column grid, photo with accent ring on hover, badgesSTANDARD
13Case Study CardsStructural wrapper separation (scroll vs hover), mouse-tracking glow via CSS custom properties (compositor-layer only), border bright edges, gradient border via mask-composite, badge hierarchy, meta stripPREMIUM
14Services MatrixAuto-fit grid (minmax 300px), flagship card (grid sub-layout), specs checklist, process steps, evidence badges, 2-col override at desktop (orphan prevention)STANDARD
15Philosophy CardsIcon + title + definition + proof structure, 3D tilt on hoverSTANDARD
16Employers SectionTwo-column layout, bullets + CTAs, resume PDF, LinkedIn, contact buttonsSTANDARD
17Product SpotlightHighlights grid (metrics), trust strip, CTA buttons (visit + buy)STANDARD
18FAQ AccordionCategory grouping, uppercase titles, trigger/button with chevron rotation, fadeInUp animation, close-all-siblings, keyboard nav (Arrow/Home/End/Enter/Space), focus-within highlightSTANDARD
19Research PlaceholderDashed border muted card, tag pills, coming-soon badgeSTANDARD
20Conversion CTA BandThree-path audience routing, path cards with iconsSTANDARD
21FooterThree-column grid, logo, tagline, nav columns, social links (8 platforms), bottom bar, responsive stackingSTANDARD
22Utility ShellOffline indicator (role=status), back-to-top (44x44 touch target), toast container (aria-live polite atomic), types (success/error/info/warning), progress bar animation, auto-dismiss (4s)CORE
23Print StylesheetForce white background, force black text, hide interactive elements, section break-inside avoid, link URLs printed after text, card borders forced visible, gradient text fallback, iframes hiddenSTANDARD

Category 24 — 🔒 Security (Expanded OWASP Coverage)

Expanded from v1.0 Category 3.0 to full OWASP baseline. Every header sourced. SRC: Definitive Benchmark §24; v2.0 §24

SubcategoryRequirementSource AuthorityTier
24.1 CSPdefault-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests. unsafe-inline is architecturally necessary for sovereign artifacts where all inline code is the application's own.OWASP; W3C CSP3; MDNCORE
24.2 SRIAll external resources MUST include integrity="sha384-[HASH]" crossorigin="anonymous". Applies to any embed.MDN SRI; W3C SRI SpecSTANDARD
24.3 X-Content-Type-Optionsnosniff — prevent MIME type sniffing attacks.OWASP HTTP Headers; MDNCORE
24.4 X-Frame-OptionsDENY — prevent clickjacking. Document rationale if SAMEORIGIN is used.OWASP; MDNCORE
24.5 Referrer-Policystrict-origin-when-cross-origin — limit referrer leakage.OWASP; MDNCORE
24.6 Permissions-PolicyRestrict unused features: camera=(), microphone=(), geolocation=(), accelerometer=(), gyroscope=(), speaker=(), bluetooth=(), usb=(), webshare=(), interest-cohort=().MDN Permissions-PolicyCORE
24.7 COOPCross-Origin-Opener-Policy: same-origin — prevent cross-origin window manipulation.MDN COOP; OWASPCORE
24.8 COEPCross-Origin-Embedder-Policy: require-corp — conditional. Test all embed compatibility before enabling.MDN COEPSTANDARD
24.9 HSTSStrict-Transport-Security: max-age=31536000; includeSubDomains — configure at hosting level.RFC 6797; MDN HSTSCORE
24.10 security.txt/.well-known/security.txt per RFC 9116. Contact, disclosure policy, preferred languages.RFC 9116STANDARD
24.11 Crypto VaultAES-256-GCM at rest. PBKDF2 (100K iterations). Salt in localStorage, ciphertext includes IV. Migration path. Graceful fallback. CP-6CSI Pro; Web Crypto SpecPREMIUM
24.12 Safe Area Insetsenv(safe-area-inset-*) for notched devices.CSS env() SpecSTANDARD
24.13 HoneypotHidden form field imperceptible to humans, catches bots.OWASPCORE

Category 25 — 📊 Runtime Observability & Error Tracking

Runtime awareness. Merged from Definitive Benchmark §25 and CSI Pro patterns. SRC: Definitive §25; v2.0 §25; CSI Pro CP-1/CP-2

#RequirementTier
25.1Coded Error System. Every error has a unique code (e.g., APP_ERR_001) organized by domain: Validation, Security, AI, Storage, License, Network. Circular buffer (last 50). User-facing messages mapped. Auto-instrumentation via Error.wrap().PREMIUM
25.2Structured ErrorLogger. Levels: debug, info, warn, error, fatal. Context: user action, component, timestamp, stack. Breadcrumb trail.STANDARD
25.3Performance marks. performance.measure() around critical flows: AI generation, encryption, persistence, UI render, search.STANDARD
25.4Health check endpoint. ?health=true validates: encryption, IndexedDB, AI connectivity, storage quota, Service Worker.STANDARD
25.5Error tracking integration. Sentry free tier (5K errors/month) acceptable for active applications. Self-hosted or custom collector preferred for maximum sovereignty.OPTIONAL

Category 26 — ⏱ Performance Budgeting & Monitoring

Measurable baselines to prevent regressions. SRC: Definitive §25B; v2.0 §26

#RequirementThresholdTier
26.1Lighthouse CI in deploy pipelinePerformance ≥90, Accessibility ≥95, Best Practices ≥85. Fail below baseline.STANDARD
26.2Core Web Vitals baselineLCP <2.5s; CLS <0.1; INP <200msCORE
26.3File size budgetsHTML <500KB (portfolio), <1MB (app); CSS <100KB; SVGs <50KBSTANDARD
26.4Performance regression gateBlock deploy if any metric degrades >10%PREMIUM
26.5Manual Lighthouse audit (minimum)Run once per major release. Document in version control.CORE

Category 27 — 📝 Documentation Completeness

What ships beyond the code. SRC: Definitive §27; v2.0 §27

#RequirementTier
27.1Known Limitations. Honest boundary statement — what the software does NOT do, why, workarounds. Living document.STANDARD
27.2Troubleshooting FAQ. Categorized by area. Symptom → cause → resolution. Updated per bug report.STANDARD
27.3Keyboard Shortcuts Reference. All shortcuts documented. Help overlay via ? or Ctrl+K.STANDARD
27.4Architecture Decision Records (ADRs). Key decisions with context, tradeoffs, alternatives, rationale. Append-only.PREMIUM

Categories 28–32 — Architecture, Testing, Forms, Errors, Compatibility

Core structural requirements from v1.0 with testing expanded. SRC: Aether v1.0 §III; v2.0 §28-32

#CategoryKey RequirementsTier
28Code ArchitectureIIFE-wrapped · 'use strict' · Categorized CSS · Semantic HTML · No inline handlers · Console branding · Passive listeners · Section boundariesCORE
29Testing / QASelf-contained test suite — URL-triggered (?test=true), visual overlay, pass/fail percentage. Min 80+ for apps, 30+ for portfolios. Branch coverage >80% critical paths. CP-5PREMIUM
30Form HandlingValidation · Loading state · Success/error feedback · Reset on success · Honeypot · Autocomplete · Noscript fallback · Focus managementCORE
31Error StatesNoscript fallback · Offline graceful · API failure toast · Invalid input feedback · Empty state · Loading spinner · Error recovery · localStorage quota · Feature detection fallbackSTANDARD
32Browser CompatibilityWeb Crypto API · No deprecated APIs · -webkit- prefixes for backdrop-filter · @supports detection · Graceful degradation · Chrome 90+, Firefox 88+, Safari 14+, Edge 90+CORE

Categories 33–35 — NEW: Expanded Infrastructure

Three new categories from audit findings. SRC: Definitive §26; Diff Audit §B; v2.0 §33-35

#CategoryKey RequirementsTier
33Automated Accessibility Scanningaxe-core CLI or pa11y in CI. Blocking on new violations. Per-commit artifacts. Formal WCAG 2.1 AA conformance statement (VPAT-style, PDF-exportable).PREMIUM
34Cross-Browser Validation MatrixAutomated smoke tests: Chrome, Firefox, Safari, Edge latest. Mobile: Safari iOS, Chrome Android. BrowserStack/Sauce Labs free tier acceptable. Known issues documented.STANDARD
35Error Recovery & ResilienceCircuit breaker for AI APIs. Exponential backoff with jitter. Bulkhead isolation for storage. Timeout handling for ALL async operations. SRC: v2.0 Domain 9PREMIUM

Category 36 — 💾 State Management

Persistence and lifecycle for application state. CORE

#RequirementTier
36.1localStorage for user preferences and lightweight configurationCORE
36.2IndexedDB as primary data store for application entitiesCORE
36.3Auto-save on mutation (debounced, typically within 500ms)CORE
36.4Save on visibility change: flush pending writes when visibilitychange firesCORE
36.5Manual save shortcut: Ctrl+S or Cmd+SCORE
36.6Backup export / import: full state as JSON or binary blobSTANDARD
36.7URL-based state for deep-linkable views and shareable configurationsSTANDARD
36.8First-run detection and clean state initializationCORE

Category 37 — 🎨 Theme Engine

System-level dark/light/theme parity. CORE

#RequirementTier
37.1System preference detection via matchMedia('prefers-color-scheme')CORE
37.2localStorage persistence of explicit user choiceCORE
37.3Toggle button with accessible icon swap (sun/moon)CORE
37.4Dynamic meta theme-color update to match active modeCORE
37.5System preference change listener for live switching without reloadCORE
37.6FOUC prevention via data-theme on <html> set before render, with transition lockingCORE
37.7color-scheme CSS property matching active themeCORE

Category 38 — 🪟 Modal System

Overlay dialog system with full accessibility governance. STANDARD

#RequirementTier
38.1Overlay with backdrop-filter: blur() and semi-opaque scrimCORE
38.2role="dialog" and aria-modal="true" on containerCORE
38.3Focus trap: Tab cycles within modal; Shift+Tab reverses; loopsCORE
38.4Focus restoration: on close, return focus to trigger elementCORE
38.5Escape key closes modalCORE
38.6Click-outside on scrim closes modalCORE
38.7Body scroll lock: prevent background scrolling while openCORE
38.8Spring/scale entrance animation and fade exitSTANDARD
38.9Stacking context: multiple modals with independent z-index layeringPREMIUM

Category 39 — 🏗️ Application Architecture

Structural code organization for deterministic sovereign artifacts. CORE

#RequirementTier
39.1Error system with unique codes per domain (Validation, Security, AI, Storage, Network, License)PREMIUM
39.2Core utility engine: typed helpers, deep clone, debounce/throttle, uuid v4CORE
39.3Constants / enums namespace: zero magic strings in application logicCORE
39.4Data model with runtime validation (schema + type guards)CORE
39.5Store layer with CRUD: create, read, update, delete, query, subscribeCORE
39.6Component renderer: deterministic mount/unmount with lifecycle hooksCORE
39.7Event binding pipeline: delegated listeners, auto-cleanup on unmountCORE

Category 40 — 📦 Data Management

Local-first data lifecycle and portability guarantees. PREMIUM

#RequirementTier
40.1Local-only storage: IndexedDB primary, localStorage for configuration onlyCORE
40.2Encrypted at rest via Crypto Vault (AES-256-GCM + PBKDF2)PREMIUM
40.3Auto-save on mutation: debounced write within 500ms of changeCORE
40.4Save on visibility change: flush pending writes when visibilitychange firesCORE
40.5Manual save shortcut: Ctrl+S or Cmd+S triggers explicit persistenceCORE
40.6Full backup export / import: JSON or binary blob including all user stateSTANDARD
40.7Individual item export: any entity can be exported independent of full backupSTANDARD
40.8Data migration path: versioned storage schema with deterministic upgrade scriptsPREMIUM

Category 41 — 🤖 AI / LLM Integration

Integration benchmarks for AI-enhanced deterministic applications. PREMIUM

#RequirementTier
41.1Unified provider abstraction: single interface for multiple backendsPREMIUM
41.2Multi-provider support (≥3): OpenAI, Anthropic, Google, local, or customPREMIUM
41.3Test connection per provider: verify key validity and endpoint reachability on configurationSTANDARD
41.4AbortController cancellation: every outbound request is cancellable by user actionCORE
41.5Retry with exponential backoff: automatic retry on transient failures (429, 5xx)STANDARD
41.6Encrypted API keys at rest: keys stored via Crypto Vault, never in plain localStoragePREMIUM
41.7Wikipedia / deterministic fallback: offline knowledge source when LLM unavailableSTANDARD
41.8Streaming support: token-by-token render for long completionsPREMIUM
41.9Prompt Booster: deterministic prompt enhancement pipeline (context injection, template selection, few-shot examples)PREMIUM

Category 42 — 🛡️ Privacy & Compliance

Legal boundary documentation and data sovereignty proof. CORE

#RequirementTier
42.1Zero server data: no user data transmitted to vendor infrastructure without explicit opt-inCORE
42.2No analytics, cookies, or tracking scripts in core fileCORE
42.3All persistent data remains in browser storage (IndexedDB / localStorage)CORE
42.4Encrypted at rest on all sensitive stores (cross-ref Category 24.11)CORE
42.5Privacy Policy document included or linked: data practices, retention, contactSTANDARD
42.6Terms of Service document included or linked: usage rights, liability, jurisdictionSTANDARD
42.7Data erasure instructions: explicit steps for user to delete all local dataSTANDARD

Category 43 — 🔍 SEO & Meta

Discovery-layer metadata for hostable single-file applications. STANDARD

#RequirementTier
43.1<title> and <meta name="description"> present and descriptiveCORE
43.2Open Graph tags: og:title, og:description, og:typeSTANDARD
43.3Twitter Card meta tagsSTANDARD
43.4Schema.org JSON-LD structured data where applicableSTANDARD
43.5Canonical URL meta tagSTANDARD
43.6Robots meta tag (index, follow or project-appropriate)STANDARD
43.7Dynamic meta theme-color reflecting active modeCORE
43.8color-scheme meta or CSS declarationCORE
43.9Favicon / SVG iconCORE
43.10lang attribute on <html>CORE
43.11viewport-fit=cover for notched devicesCORE

Category 44 — 🎯 Audience Routing

Segment-aware navigation and conversion paths. STANDARD

#RequirementTier
44.1Identify user segments and their primary intent vectorsSTANDARD
44.2Segment-specific CTAs and entry pointsSTANDARD
44.3Visual cards or banners routing each segment to relevant featuresSTANDARD
44.4Smooth scroll anchoring to routed sectionsCORE
44.5Conversion CTA band at decision pointsSTANDARD

Category 45 — 🏅 Trust Signals

Credibility and security indicators. STANDARD

#RequirementTier
45.1Trust strip: logos, certifications, or guarantees above the foldSTANDARD
45.2Badge system: semantic indicators of status, version, or complianceSTANDARD
45.3Launch badges with pulse animation for new featuresPREMIUM
45.4Social proof: testimonials, user counts, or community metricsSTANDARD
45.5Security badges: encryption status, privacy seals, or audit resultsSTANDARD

Refined Patterns — Merged from CSI Pro

Nine patterns extracted from CSI Pro and merged. SRC: v2.0 "CSI Pro Patterns"; CSI Pro Review

#PatternMerge TargetSpecificationTier
CP-1Coded Error SystemCat 25.1Coded errors per domain. Circular buffer. Error.wrap() auto-instrumentation.PREMIUM
CP-2Structured ErrorLoggerCat 25.2Levels, context capture, breadcrumb trail.STANDARD
CP-3Progressive DisclosureUX LibraryInitial subset visible, contextual expansion, milestone-based, saves to localStorage.STANDARD
CP-4Core-First Generator PipelinePathway ⑤Deterministic factory <50ms. Four generators. Parallel AI crossfade. Canonical Core-First.CORE
CP-5Self-Test SuiteCat 29URL-triggered (?test=true), visual overlay, zero dependencies.PREMIUM
CP-6Crypto VaultCat 24.11AES-256-GCM, PBKDF2 (100K), salt+IV, migration path, graceful fallback.PREMIUM
CP-7Contextual Nudge + TrialEconomic ModellocalStorage trial counts, decrement after success, loss-aversion, in-place re-render, zero phone-home.STANDARD
CP-8Chat Summary CompressionState ManagementAuto-compress old messages at limit. Keep last 12 + compressed history. Persist to localStorage.STANDARD
CP-9Preset/Scenario SystemUX LibraryPre-built scenarios with dynamic dates. Auto-saves snapshot. Demo IS default state.STANDARD

📋 Layer 0 Application Protocol

For each project, every item must be classified: Applicable (must implement), Not Applicable (exempt with rationale), or Adapted (modified). No item silently dropped. Core = present. Standard = present, exemption requires rationale. Premium = flagship. Optional = pull when demanded.

Layers 1–3

III. The 19 Derived Pathways

These pathways are not a menu to select from. They are the necessary logical consequence of holding all five commitments. Unchanged in v2.0 because the commitments are unchanged. SRC: Aether v1.0 §IV–VI

LAYER 3: REALITY BRIDGEPathways ⑭‑⑲ · 6 pathways
LAYER 2: CROSS‑PROCESS & EXTENSIONPathways ⑦‑⑬ · 7 pathways
LAYER 1: CORE APPLICATION SYSTEMSPathways ①‑⑥ · 6 pathways

The core insight: The sovereign artifact is the bootstrap kernel. The actual application is a distributed system of specialized processes (workers, tabs, service workers), hardware bridges (WebHID, Web-Bluetooth), internet connections (iFrame, Fetch, WebRTC, WebSocket), and agent logic (LLM + API) — all orchestrated by a microkernel that treats the browser as a parallel computer and integration platform. The sovereign artifact is the anchor. The application is the network it creates.

Layer 1 — Core Application Systems

Six pathways from Sovereign Artifact (①) × Core-First (②) × Browser-as-OS (⑤). SRC: Aether v1.0 §IV

Unified Computation Substrate

All Data Operations — One WASM Module, One Memory Space, One Pipeline

WASMSharedArrayBufferUnifiedNo Partitioning

A single WASM-compiled module handles ALL data operations — CRUD, search, transformation, validation, analysis — in one continuous computation space. Entity types are schema-level distinctions, not boundaries. All data coexists in the same broadphase pipeline.

"Applications need different engines for different data types. SQL for structured, search indexes for text, graph DBs for relationships."→ A single WASM substrate with SharedArrayBuffer handles ALL operations in one memory space. Partitioning is imposed by industry tooling, not computational reality.

Key Requirements

  • WASM computation module (C++ or Rust)
  • SharedArrayBuffer for cross-thread state
  • Unified: CRUD, search, transform, validate, analyze in one pipeline
  • Entity type = schema distinction, not processing boundary
  • Direct memory references for cross-entity ops

Deterministic State Engine

Every Application Flow Is a Formal State Machine. Impossible States Cannot Be Reached.

State MachineFormalDeterministicMulti-Layer

Every flow is a deterministic state machine. Layer 1: navigation/routes. Layer 2: workflow states (wizards). Layer 3: data lifecycle (create→review→approve→archive). Layer 4: composed states (parallel machines with synchronized transitions). Every state enumerated. Every transition specified. No "unexpected states" — they cannot be reached.

"State is implicit — scattered across components, callbacks, stores, URL params. Edge cases multiply. Impossible states are discovered."→ Explicit state machines define all states and transitions. Impossible states cannot be reached by construction. Edge cases become enumerated cases.

Key Requirements

  • Formal FSM core (XState or hand-rolled)
  • Machine composition with synchronized transitions
  • Deterministic: same input → same state, same output, every device
  • State visualization for debugging
  • URL-synced states for deep-linkable workflows
  • Migration path for versioning

Persistent Data Provenance Engine

Created, Modified, Accessed, Transformed, Related — The Entity IS Its History

Knowledge GraphAudit TrailEntity BiographyLLM Render

Every significant entity spawns with a provenance tree: creation context, modification history, access log, relationship changes, state transitions, user interactions. This is first-class identity — not a compliance afterthought. The entity IS its history; current state is just the most recent node. Stored as deterministic knowledge graph. Optional LLM renders natural language summaries. Undo = tree traversal. Audit = tree reading.

"Entity metadata: created_at, updated_at, maybe version. Audit trails are bolted-on compliance overhead."→ Provenance is the fundamental data structure from creation. History is identity. The entity IS its history of events.

Key Requirements

  • Provenance graph schema (entity_id, event_type, timestamp, actor, delta, context)
  • Automatic capture on every mutation — no opt-in
  • LLM text rendering with deterministic template fallback
  • Provenance query: "show me everything that happened to this entity"
  • Exportable audit trail
  • Size-bounded: configurable retention with summary compression

Event-Sourced Persistence

The Save File Is an Event Log. Loading Is Replaying. State Is Derived.

Event SourcingBinary EncodingCRDT-CompatibleReplay

Every action generates an event. The persistence store is the event log — not a state snapshot. Loading = event replay against a fresh engine. Time is not a column, it is the substrate. Stores are tiny (binary-encoded), version-tolerant, shareable (email a file), forkable (diverge and merge). Checkpoint system for fast-forward replay. Undo = replay to point. Time-travel debugging = reading the log.

"Persistence = serializing current state to JSON. Data grows. Schema changes break old saves. Version migration is a separate problem."→ Event sourcing applied to application persistence. Small, deterministic, replayable, forkable, mergable. Version tolerance is architectural, not bolted on.

Key Requirements

  • Binary event log with checksums and version markers
  • Replay engine: state at any point in timeline
  • Checkpoint system (snapshot every N events)
  • Export/import as downloadable file — shareable, forkable
  • Integrity verification at checkpoints (SHA-256)
  • Version-tolerant: new events don't break old replay
  • Undo/redo via inverse event or replay to point

Core-First AI Integration

Enhancement, Never Dependency. The User May Never Know It's Active.

OptionalNon-BlockingGraceful DegradationOffline-First

Every AI-enhanced feature has a deterministic core that works offline. Templates produce valid output. Recommendations are algorithmic with AI as enhancement. Natural language has regex/rule-based fallback. AI is a parallel enhancement pipeline — like texture streaming swaps a blurry mip-map for a sharp one mid-frame. The user never waits. The deterministic core is the real application. AI is production value, not functionality. PATTERN: CP-4

"AI integration means API calls and latency. Every AI feature has a loading state. When the API is down, the feature is down."→ The deterministic core runs at full speed continuously. AI enriches output transparently. The user never sees a loading state. The limitation is architectural, not technical.

Key Requirements

  • Every AI system has deterministic fallback (complete, not placeholder)
  • Non-blocking pipeline: fire → continue with fallback → crossfade when ready
  • Crossfade transition (opacity + interpolation, not flash/replace)
  • Offline mode: core features identical without AI
  • API key encryption via CryptoVault (AES-256-GCM, key never leaves browser) CP-6
  • Cost-aware: budgets, coalescing, caching, provider failover

Background Processing & Time-Independent Operations

The System Breathes Whether the User Is Active or Not. Compressed Time.

Web WorkerBackground SyncCompressed TimePersistent

Background tasks run as low-priority Web Workers. Data syncs, scheduled operations, cache warming, cleanup, batch processing — all without blocking UI. Key insight: time is relative to the process, not the user. When away, the worker simulates in compressed time. On return, missed ticks replay at high speed. The system never sleeps.

"Background processing requires server infrastructure. Browser apps are passive — respond to input and stop when tab closes."→ Web Workers with compressed-time tick replay achieve persistent background processing. No server required. Time is relative to the process.

Key Requirements

  • Worker pool with configurable priority and concurrency
  • Schedule-based execution (cron-like in browser)
  • Compressed-time catch-up: hours of missed processing in seconds
  • State serialization to IndexedDB between sessions
  • Background sync via Service Worker (when registered)
  • Task queue with persistence, retry, error handling

Layer 2 — Cross-Process & Extension Architecture

Seven pathways from Browser-as-OS (⑤) × Offline-Primary (③) × Core-First (②). SRC: Aether v1.0 §V

Sidecar Process

Dedicated Helper in Its Own Address Space. Own Tab. Own Memory. Own Lifespan.

BroadcastChannelSharedArrayBufferwindow.openPersistent Context

A dedicated Sidecar Tab for AI processing, heavy computation, or long-running automation. Own memory budget, persistent context across sessions, local inference via WebGPU, communicates via BroadcastChannel. Persists when main app closes. On reopen, remembers everything. On multi-monitor, occupies second screen. Not a child — a peer process with its own lifecycle.

"Heavy processing shares the main thread. AI computation freezes the UI. Tab closes = everything dies. Persistent context requires a server."→ A dedicated browser tab is a full OS process. Own memory, own GPU context, own lifecycle. Survives main tab closing. Recovers from crashes.

Key Requirements

  • Tab bootstrap via window.open with injected initial state
  • BroadcastChannel: app ↔ sidecar bidirectional
  • Persistent context in IndexedDB — survives restarts
  • Local inference via WebGPU
  • Heartbeat + respawn: crash recovery
  • Remote LLM as quality enhancement (parallel, non-blocking)

Service Worker — Always-On Background Process

Operates Without Rendering. Cache, Sync, Notify, Process — Zero UI Required.

Service WorkerBackground SyncCache APIPush

A dedicated Service Worker runs continuous operations: cache warming, background sync, push notifications, scheduled processing. Operates without DOM, without rendering, without user attention. When UI tab is open, shares state via SharedArrayBuffer. When closed, continues independently. The autonomic nervous system.

"Applications stop when the tab closes. Background work requires native mobile apps or server infrastructure."→ A Service Worker IS an always-on process. Runs without rendering, without a UI tab. The browser has had this for years.

Key Requirements

  • Registration with install, activate, fetch handlers
  • Cache strategies: cache-first, network-first, stale-while-revalidate
  • Background sync for offline queue processing
  • Push notification support (user-permitted)
  • SharedArrayBuffer for real-time state sync when UI open
  • IndexedDB snapshots at configurable intervals

CSS Compositor Pipeline — The Browser's Hidden GPU

CSS Effects Are Shaders for Free. Two Independent Frame Rates.

will-changebackdrop-filterCompositor LayersDOM HUD

Two visual layers: primary content (canvas/DOM) and overlay (HUD, notifications, modals, tooltips) rendered by the browser's hardware compositor as independent GPU layers. CSS backdrop-filter for glass effects costs virtually nothing vs. shader equivalents. Independent frame rates — UI at 120fps while content at 30fps. Accessibility lives in DOM layer as first-class concern.

"All UI rendering should happen on canvas. Post-processing needs WebGPU shaders. CSS is for documents, not application UI."→ The browser's hardware compositor is a parallel GPU pipeline. CSS backdrop-filter, transform, and opacity are GPU-composited at virtually zero cost. Decoupling gives independent frame rates and native accessibility for free.

Key Requirements

  • Overlays rendered as DOM with will-change: transform for compositor promotion
  • backdrop-filter for glass/frost (compositor, not main thread)
  • Shared state bridge: app state → DOM UI via BroadcastChannel/SharedArrayBuffer
  • Event routing: DOM clicks → app logic via postMessage
  • 46-category CSS architecture applied to overlay layer
  • WCAG 2.1 AA built into DOM UI

Cache-First Predictive Architecture — Two-Pass, No Loading

Local Prediction in <50ms. Remote Enrichment Crossfades When Ready.

Two-Pass PipelineService Worker CacheCrossfadeNo Loading

Two-pass pipeline for any data with latency. Pass 1: local cache, template, or computation generates output in <50ms. User sees it instantly. Pass 2: remote API, LLM, or compute-intensive process fires in parallel. When ready, output crossfades to richer version. User never waits because they never see blank state. Offline: Pass 1 handles everything. API down? Slightly less rich but fully functional.

"Loading data means waiting for network. Loading spinners are unavoidable — they communicate 'something is happening.'"→ The user sees output instantly. Crossfade to richer output is imperceptible. Loading spinners are replaced by progressive enhancement. The user is never asked to wait.

Key Requirements

  • Cache-first: Service Worker serves cached data instantly
  • Background refresh: stale-while-revalidate — show cache, update behind
  • Predictive precomputation: compute likely outputs before request
  • Crossfade when rich data replaces local prediction
  • Offline-first: cached data always sufficient for core function

Runtime Self-Optimization — Adaptive Configuration

Probe Hardware at Startup. Select Capability Tier. Reconfigure at Runtime.

Hardware ProbeCapability VectorWASM Hot-SwapThermal Aware

The engine profiles hardware and environment at startup: GPU capabilities, CPU cores, RAM pressure, battery status, connection speed, display resolution, device type. Capability vector selects WASM module tier, worker count, processing intensity, rendering quality, feature set. If thermal throttling detected mid-session, hot-swaps to lightweight modules preserving state. Same file. Every device. No minimum requirements.

"Applications have minimum system requirements. If hardware doesn't meet the bar, experience degrades or doesn't work."→ The engine profiles every variable, constructs capability vector, reconfigures entire pipeline. WASM modules hot-swappable at runtime. Same file runs on a 2019 phone and high-end desktop.

Key Requirements

  • Detection: hardwareConcurrency, WebGPU features, RAM, battery, DPR, connection, deviceMemory
  • Capability vector: intersection of all resources → optimal config
  • Tiered WASM selection: compatible first, upgrade if supported
  • WASM hot-swap with state preservation (no reload)
  • Performance budget tracker with real-time adjustment
  • Thermal/battery awareness: downclock when hot or on battery

Plugin & Extension System — Event Streams, Not Installation

Independent Processes That Inject Event Streams. No Install. No Conflict.

Extension ProcessEvent StreamCRDT MergeSandboxed

Extensions are independent processes (tabs, workers, isolated iframes) that inject event streams into shared state via BroadcastChannel. Each has its own context, memory, lifecycle. Multiple extensions = multiple processes contributing to one coherent state, merged via CRDT mathematics. Removing an extension = closing its process. Corrupted? CRDT merge rejects invalid state. No installation. No registry conflicts. No package manager.

"Extensions need installation, package managers, dependency resolution, registry accounts. They modify shared state unpredictably."→ Extensions are event streams from independent processes. CRDT-based conflict resolution merges concurrent streams mathematically. No install, no conflict, no orphaned data. Close the process, the stream stops.

Key Requirements

  • Extension bootstrap protocol embedded in main HTML
  • Event stream replay with CRDT-based state merging
  • Extension context: load URL → spawn isolated process → inject event stream
  • Sandboxed: no direct access to core state — structured events only
  • CRDT conflict resolution (commutative, no rollbacks)
  • Rewind-to-checkpoint for corruption recovery

AI as Agent — Genuine Agency, Verified Fallbacks

The AI Acts. It Automates. It Creates. Every Action Has a Verified Deterministic Alternative.

Function CallingBehavior ScriptsLocal SLMWorkflow Gen

The AI has genuine agency within bounded capabilities. Controls application functions via function calling toolbox. Automates workflows via strategy generation → compiled behavior script → deterministic execution. Creates content tailored to user history. Every AI-driven action has a deterministic fallback that is not a loading state — it is a complete, functional alternative. Between AI cycles, deterministic functions maintain seamless continuity.

13a — Co-Pilot (Shared Control)

AI receives application state as structured data. Function calling access to controls. User delegates → AI computes → executes native functions → presents results. Fallback: scripted assistant if AI exceeds budget.

13b — Automation Agent (AI as Workflow Designer)

Full state → AI generates multi-step workflow → compiled behavior script → deterministic execution at full speed. Re-evaluates on significant state changes. Fallback: procedural rules engine between strategy updates.

13c — Content Generator (AI as Creator)

Reads user state, history, preferences. Generates content, summaries, reports. Fallback: procedural template generator produces complete output. Not a placeholder. PATTERN: CP-4

13d — Local Inference Pipeline

Small language model compiled to WebGPU compute. Lives in GPU memory. Inference = GPU dispatch, ~10–50ms. No network. No latency. Local handles real-time; remote LLM enriches quality in parallel.

🔑 Core-First Fallback Protocol — Governing All AI Interfaces

AI InterfaceDeterministic FallbackActivation Trigger
Co-Pilot ControlScripted assistant: pattern-based, rule-drivenAI response exceeds budget or network unavailable
Automation AgentProcedural rules engine: triggers, conditions, actionsBetween AI strategy updates
Content GenerationParameterized template system — complete outputAI call exceeds 50ms or network unavailable
Natural Language InputRegex/rule-based parser with keyword matchingOffline or local confidence <80%
Recommendation / RankingAlgorithmic recommender: collaborative filtering, heuristicsAI unavailable
External Data EnrichmentCached summaries from last successful fetchNetwork error or rate limit
Agentic WorkflowsQueued actions for next online session, never lostAgent Worker offline

Governing rule: At no point does the application loop pause waiting for an AI response, network call, or external service. The deterministic core runs continuously. The AI layer is a parallel enhancement pipeline. The user should never determine whether AI is active — only that the enriched version feels better.

Layer 3 — Reality Bridge

Six pathways from Browser-as-OS (⑤) beyond browser boundaries — into physical hardware, internet services, other devices. SRC: Aether v1.0 §VI

Physical Hardware Bridge — The Browser IS the Driver Layer

USB · HID · Bluetooth · NFC — Zero Install, Zero Drivers, Browser-Native

WebHIDWeb-BluetoothWeb-NFCGamepad API

The engine queries navigator.hid.getDevices() at startup. Reads input at native polling rates via raw HID reports. Sends output and feedback. No driver installation. No configuration utility. No platform-specific SDK. The browser exposes hardware directly — the application speaks HID reports. Graceful fallback: keyboard/mouse when no specialized hardware detected.

"Specialized hardware requires platform-native drivers, installation, vendor-specific SDKs. Browser apps can't access USB, Bluetooth, NFC."→ WebHID exposes raw HID reports. Web-Bluetooth exposes GATT services. Web-NFC exposes NDEF messages. The browser exposes hardware at protocol level — no drivers, no SDKs, no install.

Key Requirements

  • WebHID enumeration and permission at startup
  • Native-rate HID report reading
  • Output/feedback via HID output reports
  • Web-Bluetooth: discover, connect, read/write characteristics
  • Web-NFC: tap tags → trigger actions
  • Graceful fallback: standard input when specialized absent

Performance Optimization Engine — Decouple Resolution from Quality

Render Internally at Reduced Resolution. Compute Upscale. Battery-Aware.

WebGPU ComputeOffscreenCanvasTemporal UpscaleDynamic Scaling

Render/process internally at reduced resolution → compute shader analyzes temporal data between frames → edge-preserving upscale to target. Compositor displays optimized output while compute engine calculates next frame. Mobile: halves GPU fill rate, preserving battery. Desktop: full quality. Internal resolution is a processing parameter, not a quality signal. Performance and quality are independently configurable.

"Browser rendering happens at display resolution. Higher resolution = higher GPU load. Performance and quality are a direct trade-off."→ Internal rendering resolution is independent of output. Compute shaders upscale efficiently. Performance and quality are independently configurable axes.

Key Requirements

  • OffscreenCanvas at configurable internal resolution
  • Temporal data analysis via compute shader between frames
  • Edge-preserving upscale to target display resolution
  • Dynamic resolution scaling based on frame time budget
  • Battery-aware: reduce resolution and compute on battery
  • Quality presets: Performance → Balanced → Quality → Ultra

Procedural/Computed Content Engine — Nothing Is Stored. Everything Is Generated.

Zero Asset Files. Zero Storage for Detail. Complexity Costs Nothing.

Procedural GenerationNoise FunctionsSynthetic DataMath-Defined

Every piece of derivative content — generated from mathematical functions, not stored as assets. Graphics: procedural patterns, generated textures, computed effects. Data: synthetic datasets, test fixtures, placeholder content upgrading seamlessly to production data. Key insight: storage is irrelevant to detail. A mountain of visual complexity costs the same bytes as a flat plain. Complexity is a function parameter, not a resource budget.

"Rich content needs gigabytes of assets. Visual detail is limited by storage, bandwidth, loading time. Every new asset increases footprint."→ A mathematically defined system has zero assets. All detail computed from functions and noise. Complexity has zero storage cost. A million variations cost the same as one.

Key Requirements

  • Procedural generation via compute shaders or Web Worker
  • Seed-based deterministic output: same seed = same result on every device
  • Level-of-detail: complexity scales with processing power, not storage
  • Synthetic data generation for test/dev/placeholder
  • Placeholder-to-production pipeline: generated upgrades seamlessly to authored

Internet as Native Integration Layer — The Web Is Not External

The Application IS the Browser. User Sessions Are Present. The Internet Is the Same System.

iFrame PortalsFetch APIOAuth2Cross-Service Auth

Because the application IS a browser context, the user's existing sessions, cookies, and logins are already present. In-app views render real web content via iFrame — authenticated services, streaming platforms, productivity tools. AI agents have web awareness: search, summarize, discuss current information. The "browser tax" becomes an architectural advantage: native apps can't touch user sessions; browser apps inherit them. Permission scaffolding ensures transparency.

"Applications are closed environments. Real web content breaks security models, introduces cross-origin issues. Applications should be self-contained."→ The application IS a browser context. User sessions are already there. iFrame portals, Fetch API, OAuth2 are the platform's native integration capabilities.

Key Requirements

  • iFrame portal system: embedded views render real content, inheriting sessions
  • AI web awareness: scrape → summarize → inject with consent
  • Third-party API integration via OAuth2 with transparent permission
  • Permission scaffolding: opt-in per service, transparent data flow
  • Offline fallback: all web integrations degrade to local equivalents

Peer-to-Peer Collaboration — Serverless, Accountless, Pure Protocol

No Server. No Account. Direct Browser-to-Browser. State Is Merged Mathematically.

CRDTWebRTCMesh NetworkSnapshot Protocol

Users discover each other via lightweight signaling (no server in data path). WebRTC DataChannels form direct mesh — browser-to-browser, zero intermediaries. State reconciled via CRDTs — merged mathematically, no locking, no "server says no." Any participant can freeze a snapshot: a deterministic file recreating exact state on any other browser. The application IS the protocol — no company owns the infrastructure.

"Real-time collaboration needs servers, user accounts, infrastructure, central authority for conflict resolution."→ CRDTs + WebRTC = serverless collaboration. Direct P2P mesh. State reconciles mathematically — no central authority needed. Snapshots are portable files. The application IS the infrastructure.

Key Requirements

  • WebRTC DataChannel mesh for direct browser-to-browser communication
  • Lightweight signaling for handshake only (no server in data path)
  • CRDT state reconciliation: conflict-free, commutative, no rollbacks
  • Snapshot protocol: freeze state → export file → import on any browser → exact state
  • Federated identity via OpenID Connect for optional reputation (no mandatory accounts)
  • Real-time cursor/selection awareness (when applicable)

Agentic Automation Bridge — App Actions → Real-World Outcomes

Play in the Application. Produce Value Outside It. Every Session Creates External Artifacts.

LLM AgentAPI GatewayWorkflow AutomationOpt-In Only

An Agent Worker receives the application event stream. An LLM interprets events and maps them to real-world actions via authorized API connections. User achieves a milestone → agent creates a document, sends a notification, updates a CRM, triggers an automation. Every action is opt-in, configurable, transparent. The agent never acts without explicit permission. Key insight: the application is not a container for value — it is a generator of value extending beyond its own UI.

"Applications produce results within themselves. Documents stay in the app. Value is trapped in the application's boundaries."→ An agent bridge maps application events to real-world API calls. Every meaningful action produces an artifact outside the app. The limitation is not technical — it is the assumption that applications are self-contained.

Key Requirements

  • Agent Worker: event stream → LLM interpretation → authorized API execution
  • Authorized integrations (webhooks, Zapier, IFTTT, Notion, Calendar, CRMs, etc.)
  • Permission architecture: user sees, approves, denies, or automates every action
  • Transparency log: every agent action recorded and reviewable
  • Opt-in only: zero external activity without explicit configuration

🔗 Core-First Architecture — Governing Principle

At no point does the application loop pause waiting for an LLM, network response, or external service. The deterministic core runs continuously at full speed. The AI layer is a parallel enhancement pipeline. Between AI cycles, deterministic functions maintain complete functionality. The user should never be able to tell whether AI is active — only that the enriched version feels better.

This is not a technical constraint. It is a design principle: the application is complete at the moment of download. Everything else is enhancement. SRC: Aether v1.0 §VII

⦿ Layer 1: Deterministic Core

Runs continuously. Never waits. Never fails. Works offline. This is the real application.

◉ Layer 2: AI Enhancement

Parallel, non-blocking, optional. Enhances output from Layer 1. The user may not know it exists.

◎ Layer 3: Network & External Bridge

APIs, collaboration, web content, agentic workflows. Opt-in. Degrades gracefully offline. Never a dependency.

Layer 4

IV. Sovereign Mesh — Kernel Protocol

Five new benchmarks (46–50) that transform the sovereign artifact from an application into a node in a distributed system — no server, no infrastructure, no central authority. NEW SRC: v2.0 draft §V

46

Benchmark 46 — Sovereign Peer Discovery Protocol

How one file discovers another. Broadcast. Detect. Negotiate.

BroadcastChannelCapability ManifestZero Registry

Specification

  • Capability manifest at deterministic location (JSON-LD block or <meta name="aether-capabilities">). Describes: domain, exposed interfaces, consumed interfaces, CRDT merge schema, trust anchor, protocol version.
  • Discovery channels (priority order): BroadcastChannel (same-browser tabs), SharedArrayBuffer (same-origin windows), mDNS/WebRTC (local network), user-mediated drag-and-drop (any device).
  • No central registry. No server. No account. Discovery is purely peer-to-peer or user-initiated.
  • Connection is always encrypted, consent-based, revocable. The user controls which files may discover each other.

Governance Rule

A file MUST NOT discover or connect without checking the user's explicit permission manifest. If no manifest exists, all discovery is blocked until the user approves at least one connection.

47

Benchmark 47 — Capability-Based Negotiation

Two files meet. One capability set. One cooperative space.

Manifest ExchangeIntersection ComputationCRDT Subspace

Specification

  • Files exchange capability manifests via the discovery channel. Single message: "here is what I expose, here is what I consume, here is my protocol version."
  • Each computes the intersection: "I expose X, you consume X. I consume Y, you expose Y." The intersection defines their cooperative capability space.
  • If no intersection: clean "no compatible capabilities" log entry. No error. No crash. No leftover state.
  • If intersection exists: establish shared CRDT subspace scoped to the intersection. No file gains access beyond what the intersection requires.
  • Deterministic: same files, same manifests, same intersection, same result, every time.
  • Protocol version intersection: highest version both support. Forward compatibility guaranteed — old files never break.
48

Benchmark 48 — Sovereign Mesh Topology

Three or more files, one coherent system. Flat. Self-healing. No limit.

Flat MeshNo MasterCRDT ConvergenceSelf-Healing

Specification

  • Three or more files form a mesh. No hub. No master. No leader. Flat topology. Hierarchy only if domain demands it and all nodes agree.
  • Each file maintains a resilient CRDT replica of distributed shared state. Convergence is mathematical — no locking, no arbitration, no server.
  • If a file leaves (tab closed, offline, revoked): CRDT replica pruned automatically. Shared state unaffected. Remaining files continue.
  • If the mesh splits (network partition): each sub-mesh continues independently. On reconnection, CRDTs merge automatically. No reconciliation required; math provides it.
  • No fixed size limit. Practical bounds determined by domain, not architecture. A mesh of 3 behaves identically to 300 — only propagation latency changes.
49

Benchmark 49 — Transient Application Assembly

The file as kernel, the mesh as full application.

Seed KernelOn-Demand ModuleSandboxed LoadGC on Disconnect

Specification

  • A file can be "thin" — containing only the kernel bootstrap and its own domain logic. When it needs a capability it doesn't have, it discovers nearby files that provide it (Benchmark 46–47).
  • The provider streams the capability module via WebRTC DataChannel, BroadcastChannel, or local file load. The kernel integrates it on-the-fly into a sandboxed context (isolated iframe, worker, or WASM instance).
  • No shared memory between kernel and module. No privilege escalation. Sandbox communicates only through structured events. Kernel enforces boundaries.
  • When capability no longer needed or provider leaves: module garbage-collected. Kernel returns to thin state. User data unaffected.
  • Seamless experience. User never knows whether a feature was native or assembled from the mesh.
50

Benchmark 50 — Self-Governing File Manifest

Every file carries its own rules of engagement.

Governance ManifestMachine-ReadableLicenseData Policy

Specification

  • Machine-parseable governance manifest (<script type="aether/governance"> or JSON-LD). Declares: license, data sovereignty policy, dispute resolution mechanism, expiry/revocation rules.
  • During negotiation (Benchmark 47), governance manifests are exchanged and validated alongside capability manifests. If policies conflict (e.g., GPL required vs. GPL prohibited), negotiation fails with explicit governance conflict error.
  • Legally binding to the extent software can be. Establishes rules of engagement between autonomous software entities. No platform needed to enforce.
  • Data lifecycle clause: includes retention and erasure policy. When a file leaves the mesh, the CRDT subspace honors this policy — erasing, preserving, or archiving as specified.

🔗 Layer 4 Governance Rules

  • Permission-first: No file discovers or connects without the user's explicit permission. The user controls the mesh topology.
  • User-controlled data lifecycle: The user can review, export, and delete mesh-associated data at any time. The system never decides what to keep.
  • Append-only version compatibility: All protocol additions are backward-compatible. State is never overwritten. Snapshot protocol ensures lossless migration.
  • Coordinator as witness, not authority: The coordinator artifact observes and renders the mesh. It does not control it. It surfaces anomalies. It is the user's window into the topology — not the topology itself.
Layer 5

V. Enterprise Extensions (Optional Tier-2)

Documented for completeness. Not required for any Aether-compliant build. They represent what the industry considers best practice but are not architecturally necessary for sovereign architectre. Include only when specifically demanded. OPTIONAL

DomainItemWhen to Include
InternationalizationRTL support, locale-sensitive formatting, translation frameworkGlobal product deployment, multilingual base
CI/CD MaturityAutomated semantic versioning, changelog generation, rollback triggersTeam environments, regulated industries
Supply ChainSBOM, toolchain vulnerability scanning, signed commitsEnterprise procurement, compliance
WCAG 2.2Focus appearance, accessible drag-and-drop, target size enhancementsAccessibility-forward, government contracts
Disaster RecoveryFormal RPO/RTO documentation, restore testingRegulated user data
SRE PracticesSLOs, error budgets, formal postmortemsProduction-critical at significant scale

📋 Note on Inclusion

These are documented as boundary markers, not gaps. Their presence prevents "have you considered X?" from requiring a new research cycle. The answer is always: "Yes, it's in Aether Layer 5. It's optional. Is it required for this project?" If yes, you know exactly what to implement. If no, you don't need to reconsider.

Governance

VI. Green Gates — Production Readiness

No build is production-ready until every applicable gate is passed. The LLM self-validates against these gates, providing evidence (test results, benchmarks, audit outputs) — not claims. The architect verifies at key checkpoints.

🟢 Gate 1: Foundation Compliance (Layer 0)

  • All Core items from 46-category benchmark present and verified
  • Standard items present or explicitly exempted with documented rationale
  • Premium items marked applicable per project scope
  • WCAG 2.1 AA automated audit passed (axe-core or equivalent)
  • Keyboard navigation complete — all features accessible without mouse
  • Screen reader testing — all interactive elements announced correctly
  • Reduced motion — all animations suppressed when preference active
  • Forced colors — all UI visible in Windows High Contrast Mode
  • Light/dark theme — visual parity verified in both modes
  • CSP — no violations in browser console
  • Zero console errors in production
  • Security headers verified (X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP)
  • HSTS configured at server level

🟡 Gate 2: Core Systems (Layer 1)

  • Sustained performance: 60fps graphical, <100ms input latency for non-graphical
  • Mobile performance: 30fps or <200ms latency
  • Deterministic state — same input = identical state across devices and reloads
  • Provenance engine — entities have history; user activity extends it automatically
  • Persistence — event log replay produces identical state; corruption recovery works end-to-end
  • Offline mode — all Layer 1 systems fully functional without network (complete, not degraded)
  • AI integration — deterministic fallback verified for every enhanced feature, complete output confirmed
  • Background processing — scheduled tasks execute and catch up during closure
  • Error system — coded errors operational, circular buffer functional, messages mapped (if Premium)

🟠 Gate 3: Cross-Process Network (Layer 2)

  • Sidecar Process — spawns, survives main close, persists context, recovers from crash
  • Service Worker — registered, caches correctly, background sync executes, push works when permitted
  • UI Compositor — overlays decoupled from main render, independent frame rate maintained
  • Cache-First — data crossfade works; offline cache produces complete output
  • Meta-Engine — hardware probe selects correct tier; hot-swap verified without state loss
  • Plugin System — extension loads via event stream; CRDT merge verified; sandbox respected
  • AI as Agent — co-pilot takes/returns control; automation adapts; fallback produces complete output

🔴 Gate 4: Reality Bridge & Sovereign Mesh (Layers 3–4)

  • WebHID — hardware detected, permission correct, communication active (where applicable)
  • Performance Engine — optimized output visually acceptable; no artifacts at target preset
  • Internet Layer — iFrame portals render; AI web awareness works with consent; degrades offline
  • Collaboration — two browsers connect, share state, reconcile via CRDT; snapshot round-trip verified
  • All Layer 3 systems degrade gracefully when offline or permission denied
  • Kernel Protocol: Capability manifest present at deterministic location. BroadcastChannel heartbeat functional. Permission manifest respected. Peer discovery works.
  • Governance Manifest: Machine-parseable governance block present. Policy validation passes for known-compatible policies.

👑 Gate 5: Sovereign Artifact Integrity

  • Single HTML file — opens in Chrome, Firefox, Safari, Edge — same file, zero modification
  • Zero dependencies — no npm, CDN, external fonts, or external runtime scripts (verified via network tab)
  • Zero install — download the file → open in browser → use immediately
  • Encryption — AES-256-GCM on stored sensitive data; PBKDF2 key derivation; keys never exported
  • File size — target <5MB core, <20MB with procedural content
  • Offline capability — core application fully usable without internet (complete, not degraded)
  • Portability — emailable, USB-shareable, hostable on any static server
  • PWA installable — full-screen mobile experience via manifest and Service Worker
  • Pricing integrity — core file always functional without payment. Paid features are enhancements only.
Sustainability

VII. Economic Model — Three-Lane Architecture

The economic model that makes sovereign software sustainable without violating its principles. Three lanes, clear boundaries, transparent pricing. Ethical guardrails documented alongside revenue so they are never compromised. SRC: v2.0 draft §VIII

Lane 1: Free Files

$0

What: The sovereign file. Complete. Deterministic offline. Forever. No account. No phone-home. No gates.

What it includes: All core functionality. Local AI with BYOK. Deterministic fallbacks for every feature.

Why free: Sovereignty is not a pricing tier. The file IS the product. Charging for access to what the user already owns violates Commitment ④.

Lane 2: One-Time License Keys

$X

What: Enhanced features unlocked by cryptographically signed license. No subscription. One purchase. Works offline forever.

What it includes: Premium capabilities requiring significant development — advanced AI, specialized generators, unlimited storage, priority updates.

Trust mechanics: License keys with SHA-256 hash verification. Offline-capable stored validation. Rate-limited verification. Use-count enforcement (e.g., 2 devices). Grace period. PATTERN: CP-7

Honor system alternative: "Pay what you want" with no technical enforcement. Maximum sovereignty, unpredictable revenue.

Lane 3: Infrastructure Subscriptions

$3–5/mo

What: Infrastructure-backed features costing provider recurring money — sync, relay, relayed AI inference, mesh bridging.

What it includes: Cross-device state sync, P2P relay for collaboration, coordinated mesh persistence, optional AI inference brokerage.

Four ethical guards: (1) Transparency — user knows exactly what they're paying for. (2) No gate-keeping — core file always free and complete. (3) No lock-in — stop paying, keep everything owned. Only infrastructure features stop. (4) Value alignment — price reflects value delivered, fueling ecosystem development.

🔒 Ethical Guardrails — What the Economic Model Will Never Do

  • Never gate core functionality behind a subscription. The sovereign file is complete at download. Always. Forever.
  • Never extract or monetize user data. Data lifecycle is user-controlled. Provider has no access and does not want it.
  • Never use dark patterns. No "subscribe to continue using what you already have." No hidden renewals.
  • Never lock users in. Export is first-class. Data leaves in open formats. Migration to any alternative at any time.
  • Never sell what the user already owns. The file itself is never charged for twice. Licenses and subscriptions are for enhancements and services, not for the privilege of using what's on their device.

These are not marketing copy. They are architectural commitments, the same as the five core commitments. Violating them is a fundamental violation of the benchmark itself.

📋 Infrastructure Cost Reality

Total monthly infrastructure cost for entire sovereign mesh: ~$25–65/month + variable API costs.

Single DigitalOcean droplet (~$24/mo) handles: P2P signaling, TURN relay, lightweight sync coordinator, static file catalog hosting, API gateway.

What user's device does for free: Application execution, IndexedDB storage, encryption/decryption, AI inference via WebGPU/BYOK, P2P networking via WebRTC.

Profit scaling example: $5/user/month. $200/month base infrastructure. Break-even at 40 subscribers. At 1,000: $5,000 − $500 = $4,500. At 10,000: $50,000 − $2,000 = $48,000. Margin expands with scale.

Build Order

VIII. Implementation Roadmap

Each phase is a dependency for the next. Sovereignty before systems, systems before processes, processes before bridges, bridges before mesh. SRC: Aether v1.0 §IX; v2.0 draft §IX

PhaseCore DeliverableDependenciesGreen Gate
Phase 0: KernelMicrokernel orchestrator · Module manifest · SharedArrayBuffer memory map · Cross-process bootstrap · Worker lifecycle manager · Hardware probe · Capability vectorNoneGate 1
Phase 1: SubstrateWASM computation module · Unified data pipeline · Schema validation · State machine core · Event sourcing bootstrap · Normalized storePhase 0Gate 1
Phase 2: Core LogicState engine · Workflow definitions · Entity models with provenance · Business logic · Deterministic fallback templatesPhase 0Gate 2
Phase 3: UI Layer46-category CSS architecture · WCAG 2.1 AA · Theme engine · Keyboard nav · Screen reader · All interaction systemsPhase 1, 2Gate 1 + UI
Phase 4: PersistenceEvent-sourced persistence · Binary log format · Replay engine · Checkpoint system · Export/import · CRDT bootstrap · Snapshot protocolPhase 1, 3Gate 2
Phase 5: Background & WorkerWeb Worker pool · Background scheduler · Service Worker · Cache strategies · Background sync · Compressed-time catch-upPhase 4Gate 3
Phase 6: AI LayerCore-First architecture · Local SLM (WebGPU) · Remote LLM pipeline · Cache-first crossfade · Sidecar Process · AI agentsPhase 4, 5Gate 3 (AI)
Phase 7: Plugin & ExtensionExtension bootstrap protocol · Isolated context spawning · Event stream injection · CRDT merge · Sandbox enforcement · Extension lifecycle managementPhase 6Gate 3 (extensions)
Phase 8: Kernel ProtocolBenchmarks 46–50 · Capability manifest · BroadcastChannel heartbeat · Negotiation logic · Permission manifest · Governance manifestPhase 7Gate 4 (mesh)
Phase 9: CoordinatorMesh visualization artifact · Live topology map · Node activity rendering · Connection awareness · Deterministic core with optional AI enhancementPhase 8Gate 4
Phase 10: CollaborationWebRTC mesh · Signaling handshake · CRDT multi-user reconciliation · Snapshot sharing · Real-time awarenessPhase 8, 9Gate 4
Phase 11: Reality BridgeWebHID hardware · iFrame portals · Third-party API integration · Agentic automation bridge · Web-Bluetooth · Web-NFCPhase 8, 10Gate 4
Phase 12: GoldMeta-Engine calibration · Cross-browser validation · Mobile optimization · PWA install · Final audit · Security benchmark verification · Economic model alignmentPhase 11Gate 5
Companion Document

IX. Software Design Blueprint — Universal Template

The per-project companion document that pairs with this benchmark. The benchmark carries the architecture; the blueprint carries the design. Neither is sufficient alone. Both are required. SRC: Blueprint v1.0

📐 Three-Phase Protocol for Any Software Design Collaboration

This template structures the session-zero conversation between architect and LLM. Use it to produce the File 2 (Software Design Specification) for the Two-File Handoff Protocol.

Phase 1 — The North Star Document

The constitutional layer. No code. No systems. Just the soul of what we're building. SRC: Blueprint §Phase 1

SectionContentExample
Project IdentityTitle, category, pitch (one sentence), platform target, architectural alignment, primary relationship"AetherNotes — sovereign personal knowledge base. Not another note-taking app. For people who think in graphs, not folders."
The SoulWhat does this software feel like? The paragraph that survives every pivot."This is a tool where data is not a spreadsheet — it's a story, a discovery, a conversation between you and your knowledge..."
Core Philosophy5–8 governing principles. Opinionated, not generic. Every design decision traces back."Privacy is Architecture" · "Offline is Primary" · "The User is Sovereign" · "Core First, AI Second" · "One File to Rule Them All"
Ways of Being3–7 archetypal relationships. Not user roles. Identities the software enables.The Explorer · The Architect · The Archivist · The Alchemist · The Collaborator
Promise ContractPositive rights. What the user can count on."Your data never leaves your device." · "Everything works offline." · "AI enhances but never replaces."
Freedom ContractNegative liberty. What the user is free FROM."Nothing is mandatory." · "No account required." · "No analytics." · "You are never locked in."
What This Is NotBoundary conditions. Negative space of the category."Not a subscription." · "Not a platform." · "Not a cloud service."

Phase 2 — Systems Architecture Map

The structural layer. Still no code. A map of what exists, how it connects, where value flows. SRC: Blueprint §Phase 2

LayerContentDeterminism
Layer 0: Core Data EntitiesThe nouns: User Profile, Primary Content Unit, Collection, Tag, Event, Workflow, Memory. Every entity has properties, relationships, behavior patterns.Deterministic
Layer 1: Core WorkflowsThe verbs at three scales: moment-to-moment (5–30s), session (30–90min), long-term (across sessions). Plus discovery and collaboration loops.Deterministic
Layer 2: Core Deterministic SystemsWhat makes the application complete without AI: full-text search, template engine, rule engine, import/export, graph/navigation, offline sync.Deterministic
Layer 3: Integration / AugmentationExternal services and AI that enhance — with verified deterministic fallbacks for each. Every entry specifies (a) the fallback and (b) the enhanced behavior.Optional
Experience ModesSimple (focused, minimal) → Standard (balanced, productive) → Power User (keyboard-driven, dense). Same core, different presentation density.Deterministic

Phase 3 — Green Gates & Acceptance Criteria

What "done" means. Self-administered by the LLM, verified by evidence. SRC: Blueprint §Phase 3

StandardThresholdMeasured By
WCAG 2.1 AAAll interactive elements pass AA contrast, keyboard nav, screen reader, skip links, ARIA, focus managementAxe-core + Lighthouse + manual keyboard
Encryption at RestAES-256-GCM + PBKDF2. Keys derived on-device, never exported, never transmitted.Code review + crypto verification + network tab audit
Performance<100ms input latency · <500ms cold load · 60fps transitions · no jankPerformance.now() + Lighthouse + frame timing
Graceful DegradationAll core features function offline. Mobile degrades deterministically — no blank states.Offline testing + mobile testing + network throttling
AI IndependenceZero core features require LLM. All AI features have deterministic fallbacks producing complete, coherent output.Full functional test with AI disabled + output comparison
Reduced MotionAll animations respect prefers-reduced-motion. No information conveyed solely through motion.CSS audit + manual testing
Zero Dependenciesin appropriate format. Zero external runtime dependencies. Zero network requests beyond the file itself.Network tab audit + file integrity verification
Cross-BrowserChrome 90+, Firefox 88+, Safari 14+, Edge 90+. All core features functional, visual parity within tolerance.Manual testing per browser + feature detection logs

📋 Autonomous Audit Cycle

1. Self-Check: After implementing, the model runs its own acceptance criteria with specific evidence per condition.

2. Cross-Reference: Verify no violation of Promise Contract, Freedom Contract, or Design Principles.

3. Correction: If a gate fails, correct before presenting. Multiple cycles expected.

4. Evidence Submission: Provide test results, screenshots, traces — not statements of confidence. "This test passed with 12 assertions verified" is evidence.

Reference

X. Complete Pathway & Benchmark Index

Quick reference for implementation sessions and audit cycles. SRC: Aether v1.0 §XI; v2.0

#LayerNamePrimary TechFallback
L1Unified Computation SubstrateWASM + SharedArrayBufferPartitioned processing per data type
L1Deterministic State EngineState Machine + CompositionImplicit state routing
L1Persistent Data ProvenanceKnowledge Graph + LLM RenderTemplate-based biography generation
L1Event-Sourced PersistenceBinary Event Log + ReplayJSON snapshot save
L1Core-First AI IntegrationOptional Enhancement PipelineAll systems have complete deterministic core
L1Background ProcessingWeb Worker + Compressed TimeLoad-time catch-up only
L2Sidecar ProcessBroadcastChannel + window.openInline processing (same tab)
L2Service Worker — Always-OnService Worker + Cache APIMain tab processing only
L2CSS Compositor Pipelinewill-change + backdrop-filterCanvas-rendered overlays
L2Cache-First Predictive ArchitectureTwo-Pass + Crossfade + SW CacheTemplate-only output
L2Runtime Self-OptimizationHardware Probe + WASM Hot-SwapStatic configuration
L2Plugin & Extension SystemEvent Stream + CRDT + Isolated ProcessFile import/export only
L2AI as AgentFunction Calling + Local SLM + Behavior ScriptsScripted automation for all roles
L3Physical Hardware BridgeWebHID + Bluetooth + NFCStandard input devices
L3Performance Optimization EngineWebGPU Compute + Dynamic ScalingNative resolution rendering
L3Procedural/Computed ContentProcedural Gen + Noise FunctionsStatic assets + templates
L3Internet as Integration LayeriFrame + Fetch + OAuth2Local simulated content
L3P2P CollaborationCRDT + WebRTC MeshSingle-user only
L3Agentic Automation BridgeLLM Agent + API GatewayNo external actions
46L4Sovereign Peer Discovery ProtocolBroadcastChannel + Capability ManifestUser-mediated drag-and-drop
47L4Capability-Based NegotiationManifest Exchange + CRDT SubspaceNo intersection → clean disconnect
48L4Sovereign Mesh TopologyCRDT Convergence + WebRTC MeshSingle-node operation
49L4Transient Application AssemblySandboxed Load + Event StreamStandalone operation with reduced features
50L4Self-Governing File ManifestMachine-Readable Governance BlockNo negotiation with incompatible governance
Governance

XI. The Handoff Protocol

How to use this document with every project. SRC: Aether v1.0 §XII

┌──────────────────────────────────────────────────────────────┐ │ TWO-FILE HANDOFF FLOW │ │ │ │ ┌─────────────────────────┐ ┌─────────────────────────┐ │ │ │ THIS DOCUMENT │ │ SOFTWARE DESIGN SPEC │ │ │ │ (Architectural │ │ (Per-project — you │ │ │ │ Benchmark) │ │ write this fresh) │ │ │ │ │ │ │ │ │ │ 🔁 Reusable │ │ ✏️ Domain-specific │ │ │ │ Intent is invariant │ │ Fresh per application │ │ │ │ Evolves under │ │ Follows blueprint │ │ │ │ governance only │ │ template │ │ │ │ │ │ │ │ │ │ 5 Commitments │ │ North Star Vision │ │ │ │ 19 Pathways │ │ Core Philosophy │ │ │ │ 46 Categories │ │ Data Models │ │ │ │ 5 Green Gates │ │ Workflows │ │ │ │ Core-First Protocol │ │ Promise Contract │ │ │ │ Economic Model │ │ Freedom Contract │ │ │ │ Kernel Protocol (L4) │ │ Features List │ │ │ └───────────┬─────────────┘ └───────────┬─────────────┘ │ │ │ │ │ │ └────────────┬───────────────┘ │ │ │ │ │ ┌─────────▼──────────┐ │ │ │ PRODUCTION │ │ │ │ LLM SESSION │ │ │ │ │ │ │ │ "Build the app │ │ │ │ described in │ │ │ │ the Design Spec │ │ │ │ to the standards │ │ │ │ in the Benchmark │ │ │ │ Hold the five │ │ │ │ commitments as │ │ │ │ invariant. │ │ │ │ Pass all gates." │ │ │ └────────────────────┘ │ └──────────────────────────────────────────────────────────────┘

📋 Governance Cycle

1. Design Session: You produce the Software Design Specification following the template in Section IX.

2. Handoff: Spec + Benchmark → delivered to production LLM session.

3. Production: LLM implements against the architecture. Five commitments are invariant.

4. Audit: Green Gates applied at each phase. LLM self-validates with evidence.

5. Correction Loop: Failures → correction → re-audit → pass.

6. Resolution Authority: You are the human in the loop. When pathways conflict or edge cases arise — you resolve.