Preamble

0. The Five Foundational Commitments — Invariant Architecture Axioms

These five commitments are the ground from which the three architectural primitives grow. They are not derived — they are chosen. Every phase, every gate, every deliverable in this specification is a logical consequence of holding all five simultaneously.

Computation Is Deterministic

Every calculation, threshold, scoring formula, classification, and business rule is expressed as a pure function. Same inputs → same outputs on every platform, every invocation, with or without AI, online or offline. The computation layer is the real application. SRC: DCA Paper §III; Builder's Guide §Phases 1–3

AI Is Enhancement, Never Dependency

The LLM enriches, contextualizes, and communicates. It never computes, decides, or mutates state. The model receives truth — structured data from the deterministic core — and annotates it. The core is complete before the first LLM call is made. SRC: DCA Paper §III; Builder's Guide §Phase 4

The Enhancement Boundary Is One-Directional

Data flows: core → model → annotation layer. Model output never flows back into the computation pipeline. This single structural guarantee prevents drift from propagating. The model can hallucinate in its narrative, and the computation layer is structurally unaffected. SRC: DCA Paper §III; Builder's Guide §Phase 5

The User Owns the Artifact

The application is complete at the moment of download. Zero external dependencies. Zero installation. Client-owned. The artifact may take different physical forms — single HTML file, PyPI package, portable binary — but the principle is invariant: the user possesses a complete, self-contained artifact that runs without phoning home. SRC: DCA Paper §III; Builder's Guide §Phase 8

Degradation Is the Default, Not the Failure Mode

Every AI-enhanced feature has a deterministic fallback that produces complete, coherent output. AI unavailability does not degrade core function. The user is never presented with a loading state on a core feature. The system is designed to function completely without AI, without network, without external services. SRC: DCA Paper §III; Builder's Guide §Phase 6

📋 What This Specification Is — And What It Is Not

This is a formal, verifiable architecture specification. It defines the Deterministic Core Architecture as an implementable, auditable, certifiable layer within the Continuity Architecture. It specifies the three architectural primitives in terms that can be verified against a build artifact. It defines the green gates that every DCA-compliant artifact must pass. It maps to the eight-phase Builder's Guide methodology.

This is not the paper. The paper (The Deterministic Core: A Fixed Foundation for AI Collaboration) names the primitives, documents the diagnosis, and establishes the intellectual framework. This specification is the implementation contract. The paper argues why. This specification defines how.

This is not the Builder's Guide. The guide is a methodology document — narrative, instructive, phase-by-phase. This specification is a conformance document — structural, verifiable, gate-by-gate. The guide tells you how to build. This specification tells you what "built correctly" means.

🧩 Relationship to the Continuity Architecture

DCA is Layer 1 of the Continuity Architecture — the foundation layer. Every other layer depends on it:

LayerWhat It AddsDepends on DCA How?
Layer 1 — DCADeterministic computation + AI enrichment + sovereign artifact— (foundation)
Layer 2 — ASBArchitectural Standards Baseline — 46-category quality benchmarkDCA provides the sovereign artifact that ASB measures
Layer 3 — MCRCryptographic consent between deterministic coresDCA provides the deterministic core that MCR certifies convergence between
Layer 4 — GABOSGoverned autonomous business operating systemDCA provides the fixed organizational identity and deterministic governance layer
Primitive I

I. The Enhancement Boundary — Formal Specification

The architectural primitive that separates computation from annotation. The boundary is one-directional. Data flows from core to model to annotation layer. Model output never flows back into the computation pipeline. This is the single structural guarantee that prevents drift from propagating.

1

Boundary Topology

The Enhancement Boundary has exactly three zones. No zone may be bypassed. No zone may communicate backward across the boundary.

┌──────────────────────────────────────────────────────────────────┐ │ ENHANCEMENT BOUNDARY │ │ │ │ ┌─────────────────┐ ┌─────────────────┐ ┌──────────┐ │ │ │ ZONE 1 │ │ ZONE 2 │ │ ZONE 3 │ │ │ │ Deterministic │ ───→ │ AI Enrichment │ ───→ │ Output │ │ │ │ Core │ │ Pipeline │ │ Layer │ │ │ │ │ │ │ │ │ │ │ │ · Pure fns │ │ · LLM annotation │ │ · DOM │ │ │ │ · Fixed logic │ │ · Parallel exec │ │ · PDF │ │ │ │ · No model │ │ · Non-blocking │ │ · API │ │ │ │ · No network │ │ · Optional │ │ resp │ │ │ └─────────────────┘ └─────────────────┘ └──────────┘ │ │ ↑ ↑ ↑ │ │ │ │ │ │ │ INPUT DATA CORE OUTPUT ENRICHED │ │ (user, API, (structured truth) OUTPUT │ │ storage) │ │ │ │ ═══════════════════════════════════════════════════════════════ │ │ CRITICAL: No data flows ← from Zone 2 to Zone 1. Ever. │ │ No data flows ← from Zone 3 to Zone 1. Ever. │ │ The boundary is one-directional: 1 → 2 → 3 only. │ └──────────────────────────────────────────────────────────────────┘
2

Zone 1 — Deterministic Core (Invariant)

What it contains: Every calculation, threshold, scoring formula, classification, business rule, and data transformation. Every function in Zone 1 is a pure function — same inputs, same outputs, every platform, every invocation.

What it never contains: LLM calls. Network requests. Random number generation (unless seeded and deterministic). Date/time calls that depend on system clock (use injected timestamps). Any operation whose output cannot be predicted from its inputs alone.

Verification: Zone 1 can be executed in its entirety without network access, without AI API keys, and without any external service. The output must be bit-identical across all supported platforms for the same inputs.

3

Zone 2 — AI Enrichment Pipeline (Optional)

What it contains: LLM calls that receive structured data from Zone 1 and produce enriched narrative, contextualization, summarization, or communication. Zone 2 fires in parallel with Zone 3's deterministic path.

What it never does: Mutate Zone 1 state. Produce output that Zone 1 depends on. Execute before Zone 1 completes. Block the user. Produce the only output path.

Verification: Zone 2 can be disabled entirely (AI off, network off, keys removed) and the application must produce complete, coherent output from Zone 3's deterministic path.

4

Zone 3 — Output Layer

What it contains: The rendering surface — DOM, PDF, API response, file export. Zone 3 always receives Zone 1's deterministic output. If Zone 2's enriched output arrives, Zone 3 crossfades to it. If Zone 2 never responds, Zone 3 displays Zone 1's output as the final output.

The crossfade: The transition from deterministic output to enriched output must be imperceptible to the user. No flash. No replace. No loading state. The deterministic output is already visible. The enriched version replaces it smoothly — opacity transition, content swap, or progressive enhancement. The user may never know whether AI was involved.

🔗 Governing Rule — The Enhancement Boundary

At no point does Zone 1 depend on Zone 2 for correctness. Zone 1 must produce complete, correct output before Zone 2 is invoked. Zone 2 enriches. Zone 2 never computes. If Zone 2 is removed from the architecture, the application remains fully functional. The Enhancement Boundary is not a design pattern. It is a structural constraint enforced by the architecture itself.

Primitive II

II. The Sovereign Artifact — Formal Specification

The architectural primitive that guarantees user ownership. The artifact is complete at the moment of download. Zero external dependencies. Zero installation. The user owns the artifact and it runs without phoning home.

1

Delivery Format Independence

The sovereign artifact principle is not a file-format constraint. It is an ownership and independence guarantee. The artifact may take different physical forms:

FormatDeployment ContextExampleConstraint Level
Single HTML FileBrowser deployment — zero install, opens in any browser, works offlineCSI Pro, ASB, Design Systems BlueprintMaximum — browser sandbox enforces all constraints
PyPI PackageDeveloper tooling — standard package manager, bundled dependencies, no runtime fetchArcheo CLIStandard — package manager resolves dependencies
Portable BinaryLocal execution — self-contained executable, no installer, no registry mutationsFlakeCapsuleStandard — OS provides runtime

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.

2

Required Properties — All Formats

PropertyRequirementVerification
Zero External DependenciesNo runtime CDN fetches. No external font loads. No npm install at runtime. No external script sources.Network tab audit — zero requests beyond the artifact itself
Offline-CompleteAll core functionality works without internet. AI enrichment degrades gracefully.Offline test — disable network, verify all core features
User-Owned DataData stored locally. Encrypted at rest (AES-256-GCM where applicable). Export in open formats.Storage inspection + export round-trip test
No Phone-HomeNo analytics. No telemetry. No license check requiring network. No usage tracking.Network tab audit across full feature exercise
PortableEmailable. USB-shareable. Hostable on any static server. Opens in any modern browser.Cross-browser test + file transfer test
3

Single-File HTML — Additional Constraints

When the sovereign artifact is delivered as a single HTML file, additional constraints apply due to the browser sandbox:

ConstraintRequirement
Inline EverythingCSS in <style>. JS in <script>. SVGs inline. No external resource loads.
Content Security Policydefault-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests
Web Crypto for EncryptionAES-256-GCM via SubtleCrypto. PBKDF2 key derivation (100K iterations). Salt in localStorage. Ciphertext includes IV.
IndexedDB for PersistencePrimary data store. localStorage for configuration only. Auto-save on mutation. Save on visibility change.
WCAG 2.1 AAKeyboard navigation. Screen reader. Focus management. Color contrast. Reduced motion. Skip links. ARIA landmarks.

🔗 Governing Rule — The Sovereign Artifact

The user downloads a file. They open it. It works. No registration. No configuration file. No dependency installation. No internet required for core function. The artifact is complete. The user owns it. This is not a feature. It is the architecture.

Primitive III

III. Graceful Degradation by Design — Formal Specification

The architectural primitive that guarantees AI unavailability never degrades core function. Degradation is not a failure mode. It is the default operating assumption — designed into the architecture rather than patched around it.

1

Degradation Categories

Every AI-enhanced feature in a DCA-compliant artifact must have a documented degradation path. The path is not "show an error message." The path is "produce complete, coherent output using only the deterministic core."

Degradation TriggerRequired BehaviorForbidden Behavior
AI API UnavailableDeterministic fallback produces complete output. Feature remains functional.Loading spinner on core feature. Grayed-out feature. "AI required" message.
AI API TimeoutDeterministic output rendered immediately. AI response crossfades if it arrives late.User waits for AI. Feature blocked until timeout resolves.
AI API ErrorDeterministic output stands. Error logged. User optionally notified that enrichment is unavailable.Error propagated to user. Feature fails.
Network OfflineEntire application functions identically. Only AI enrichment and external fetch features are unavailable.Application shows "offline" and blocks usage. Core features require network.
AI Key MissingApplication functions with deterministic output only. No prompt to enter key to unlock core features.Core features gated behind AI key entry.
User Cancels AIDeterministic output stands. No disruption. No partial output.Half-rendered AI output. Corrupted display.
2

Deterministic Fallback Requirements

Every deterministic fallback must meet these criteria. A fallback that produces incomplete output is not a fallback — it is a degradation of the degradation path.

RequirementSpecificationVerification
Complete OutputThe fallback produces output that is structurally complete — all sections present, all data rendered, all conclusions stated.Compare AI output structure vs. fallback output structure. Same sections. Same data.
Coherent OutputThe fallback output is logically coherent — no contradictions, no gaps, no "AI could not be reached" placeholders.Read the fallback output. Would a user accept it as the intended output?
Deterministic OutputSame inputs → same fallback output every time. No randomness. No variation.Run fallback 3 times with same inputs. Bit-identical output.
Sub-50ms GenerationThe fallback produces output in under 50ms. The user perceives it as instant.performance.now() measurement. Must be under 50ms.
No AI DependencyThe fallback code path contains zero LLM calls, zero network requests, zero external service calls.Code review — verify no fetch, no API call, no import of AI module.
3

The Crossfade Protocol

When the AI enrichment pipeline produces output after the deterministic fallback is already rendered, the transition must follow this protocol:

  1. Deterministic output renders immediately (Zone 1 → Zone 3, direct path).
  2. AI pipeline fires in parallel (Zone 1 → Zone 2, non-blocking).
  3. When AI output arrives, Zone 3 compares AI output structure to deterministic output structure.
  4. If structures match (same sections, same data rendered), crossfade: opacity transition on the content container, swap content, fade back in. Duration: 200–400ms. Easing: cubic-bezier(0.32, 0.72, 0, 1).
  5. If structures do not match, discard AI output. Log discrepancy. Deterministic output stands.
  6. The user never sees a flash, a loading state, or a content jump.

🔗 Governing Rule — Graceful Degradation

The user may never know whether AI was involved. The deterministic output is the output. The AI-enriched version is the same output, rendered with better prose. The difference is experiential, not functional. The application is complete at the moment of download. Everything else is enhancement.

Section IV

IV. The Core-First Computation Layer — Implementation Requirements

The computation layer is the real application. It must be built, tested, and verified before any AI integration begins. This is not a sequencing preference. It is a structural requirement.

1

Pure Function Requirements

Every function in the computation layer must satisfy these properties:

PropertyRequirementTest
DeterministicSame inputs → same outputs, every invocation, every platformRun 100 times with same inputs. All outputs identical.
No Side EffectsDoes not mutate global state, DOM, or external systemsCode review — no assignment to non-local variables
No I/ONo network calls. No file system access. No localStorage reads.Code review — no fetch, no import of I/O modules
No RandomnessNo Math.random(). No Date.now(). No crypto.getRandomValues().Code review — no calls to randomness sources
Time-InjectedIf computation depends on time, timestamp is passed as parameterCode review — Date.now() only in calling code, not in pure function
Bounded OutputOutput range is documented and clamped. No unbounded results.Test with extreme inputs — output stays within documented bounds
2

Reference Implementation — The CSI Pro Scoring Engine

The 40-line health scoring engine from CSI Pro is the canonical reference implementation of a DCA-compliant computation layer. It is reproduced here as the specification's baseline example:

function compute(account) { var p = 60; // baseline p += account.usage > 0 // usage contribution ? account.usage * 0.6 : account.usage * 1.0; p -= Math.max(0, account.tickets - 10) // ticket penalty * 1.5; p += account.sentiment.score * 0.5; // sentiment contribution if (account.usage < -20 && account.sentiment.label === 'Negative') p -= 5; // compounding risk if (account.usage > 10 && account.sentiment.label === 'Positive') p += 4; // positive reinforcement return clamp(Math.round(p), 0, 100); }

Why this qualifies: Pure function. No I/O. No randomness. No AI. No network. Same inputs → same score on any platform, in any browser, with or without AI. The coefficients are domain-informed defaults — calibration points, not empirical constants. The methodology transfers; the thresholds are tuned per domain. The structure (baseline + weighted signals + clamping range) is the invariant.

3

Self-Test Suite Requirements

Every DCA-compliant computation layer must include a self-test suite. The suite is embedded in the artifact — not external, not optional.

RequirementSpecification
ActivationURL-triggered (?test=true) or CLI flag (--test). No external test runner.
AssertionsExact-value assertions. Not ranges. Not "reasonable." Exact numbers.
CoverageEvery pure function. Every edge case. Every boundary condition. Every degradation path.
OutputVisual overlay (browser) or terminal output (CLI). Pass/fail count. Expected vs. actual on failure.
OfflineTest suite runs fully offline. No network dependency for test execution.
// Example assertion from CSI Pro self-test suite assert('Negative usage + high tickets + negative sentiment = low score', compute({usage: -30, tickets: 22, sentiment: {score: -10, label: 'Negative'}}), 12 // exact expected value, not a range );
Section V

V. The AI Enrichment Pipeline — Implementation Requirements

The AI layer is an annotation engine. It receives computed truth from the core and contextualizes it. It does not compute. It does not decide. It does not mutate state. It fires in parallel with the deterministic output path.

1

Pipeline Architecture

┌──────────────────────────────────────────────────────────────────┐ │ AI ENRICHMENT PIPELINE │ │ │ │ Zone 1: Deterministic Core │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ compute(account) → { score: 72, risk: 'low', ... } │ │ │ └──────────────────────┬───────────────────────────────────┘ │ │ │ │ │ ┌──────────┴──────────┐ │ │ │ │ │ │ ▼ ▼ │ │ ┌─────────────────────┐ ┌─────────────────────┐ │ │ │ DETERMINISTIC PATH │ │ AI ENRICHMENT PATH │ │ │ │ (Zone 1 → Zone 3) │ │ (Zone 1 → Zone 2) │ │ │ │ │ │ │ │ │ │ Template engine │ │ LLM call with │ │ │ │ Structured data │ │ structured data │ │ │ │ < 50ms generation │ │ Non-blocking │ │ │ │ Complete output │ │ AbortController │ │ │ │ Renders instantly │ │ Timeout: 15s │ │ │ └──────────┬──────────┘ └──────────┬────────────┘ │ │ │ │ │ │ │ ┌─────────┴──────────┐ │ │ │ │ VALIDATION GATE │ │ │ │ │ Compare structure │ │ │ │ │ to deterministic │ │ │ │ │ output. Match? │ │ │ │ └─────────┬──────────┘ │ │ │ │ │ │ ▼ ▼ │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ Zone 3: Output Layer │ │ │ │ │ │ │ │ Deterministic output renders FIRST (always). │ │ │ │ AI output crossfades in WHEN ready (if valid). │ │ │ │ If AI never responds: deterministic output is final. │ │ │ └──────────────────────────────────────────────────────────┘ │ └──────────────────────────────────────────────────────────────────┘
2

AI Pipeline Requirements

RequirementSpecification
Non-BlockingAI call fires after deterministic output renders. User never waits for AI.
CancellableEvery AI call uses AbortController. User can cancel mid-request.
Timeout15-second default timeout. Configurable. On timeout, deterministic output stands.
Retry with BackoffAutomatic retry on 429/5xx. Exponential backoff: 1s, 2s, 4s. Max 3 retries.
Provider AbstractionUnified interface. Multi-provider support. Failover between providers.
API Key EncryptionKeys stored encrypted at rest (AES-256-GCM). Never in plain localStorage.
Streaming SupportToken-by-token render for long completions. User sees output as it arrives.
3

Validation Gate — AI Output Verification

Between Zone 2 and Zone 3 sits a validation gate. Its job is not to verify correctness — the computation layer already guarantees that. Its job is to verify coherence. Does the AI output contradict the deterministic data it was given?

CheckConditionAction on Failure
Empty ResponseAI returned empty string, null, or undefinedDeterministic output stands. Log event.
Error ResponseAI returned error object or HTTP errorDeterministic output stands. Log error code.
Structure MismatchAI output structure differs from deterministic output structureDeterministic output stands. Log discrepancy.
Data ContradictionAI output contains data that contradicts deterministic core dataDeterministic output stands. Flag for review.
Valid OutputAll checks passCrossfade to AI output.

🔗 Governing Rule — The AI Pipeline

At no point does the application loop pause waiting for an AI response. 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.

Section VI

VI. Shipped Artifacts — Six Existence Proofs

The DCA is not theoretical. It is not projected. It is shipped. Six artifacts demonstrate the pattern across domains, platforms, and languages. Each artifact is a complete, auditable existence proof.

Single HTML · Production SaaS

CSI Pro — Customer Success Intelligence

The reference implementation. 40-line deterministic health scoring engine. AES-256-GCM encryption at rest. Multi-provider AI integration (6 providers). IndexedDB document vault. WCAG 2.1 AA. License management. Zero dependencies. Complete offline operation.

SHIPPEDREFERENCE
Python CLI · PyPI Package

Archeo — Software Archaeology

Scans codebases for technical debt (TODO/FIXME/HACK). Links Git blame context. Runs cyclomatic complexity analysis. Generates AI remediation plans — after deterministic analysis completes. 30+ tests. Bandit scan. mypy type-check. CI/CD (Python 3.9–3.12).

SHIPPEDMIT
Engineering Tool · Open Source

FlakeCapsule — Non-Deterministic Triage

Detects non-deterministic test failures. Packages deterministic replay capsules with SHA-256 integrity verification. Reduced mean time to diagnose from hours to under 30 minutes. MIT license.

SHIPPEDMIT
Developer Tool · Single HTML

Build Stability System

Deterministic compliance checking. Accessibility validation. localStorage persistence. Responsive design. Zero dependencies.

SHIPPED
Business Tool · Single HTML

Client Acquisition Engine

Deterministic prompt template libraries. localStorage persistence. Business development workflow automation. Zero dependencies.

SHIPPED
Portfolio · Single HTML

Production Portfolio — 24-Layer CSS

WCAG 2.1 AA. Token-first design system. GPU-compositor-aware. Dark/light parity. Sovereign single-file deployment. The visual proof that the architecture works at the presentation layer.

SHIPPEDREFERENCE

📋 The Pattern Across Artifacts

Every artifact embeds the same architecture: a computation layer that never delegates to AI, and an AI layer that enriches from above. The Enhancement Boundary is present in all six. The Sovereign Artifact principle is present in all six — each is a complete, self-contained deliverable with zero external dependencies. Graceful Degradation by Design is present in all six — every AI-enhanced feature has a deterministic fallback producing complete output.

The pattern is consistent across domains (customer success, developer tools, engineering, business development, design systems), platforms (browser, CLI), and languages (JavaScript, Python). It is not tied to any framework or provider. It is a methodology that transfers.

Section VII

VII. Builder's Guide Integration — The Eight Phases

The Builder's Guide defines the methodology. This section maps each phase to the DCA primitives and defines the verifiable deliverable for each phase. The phases are sequential. Each depends on the one before it.

1
Identify the Operational Decision

What decision, if it were wrong, would break trust in the entire system? Name it. Describe what breaks if it isn't deterministic.

Deliverable: One sentence naming the decision. One sentence describing the consequence of drift.

2
Design the Deterministic Computation

Express the computation as a pure function. Every coefficient documented. Every edge case handled. Reviewable by someone who never built the system.

Deliverable: Pure function in code or pseudocode with documented coefficients and edge cases.

3
Build the Core First

Build and verify the computation layer before any AI integration begins. Self-test suite with exact-value assertions. Tests pass before Phase 4.

Deliverable: Working computation layer. Self-test suite passing with exact-value assertions.

4
Add the AI Enrichment Layer

For every AI-enhanced feature, a deterministic fallback producing complete output. AI pipeline fires in parallel. Both paths produce complete results.

Deliverable: Deterministic fallback + AI pipeline for every enhanced feature. Neither blocks the user.

5
Implement the Validation Gate

Gate between AI output and user-facing output. Verifies coherence — does AI output contradict the deterministic data it was given?

Deliverable: Validation gate intercepting all AI output. Verifying structure and data before rendering.

6
Design the Degradation Paths

Documented degradation path for every AI-enhanced feature. Each path produces complete output. Tested by disabling AI and verifying.

Deliverable: Degradation path document. All paths tested with AI disabled.

7
Audit for Accessibility, Security, Edge Cases

WCAG 2.1 AA. OWASP baseline. CSP. Crypto audit. Offline. Mobile. Storage quota. AI timeout. AI error. Rapid input. Every edge case handled.

Deliverable: Audit report with pass/fail for every applicable standard. All failures corrected.

8
Ship as a Sovereign Artifact

Deliverable the user can download, open, and use. No registration. No configuration. No dependency installation. The artifact is complete. The user owns it.

Deliverable: Sovereign artifact in the format appropriate to the deployment context.

⚡ Phase Dependency Chain

Phases 1–3 produce the deterministic core. Phase 4 depends on Phase 3. Phase 5 depends on Phase 4. Phase 6 depends on Phase 5. Phase 7 can run in parallel with Phases 4–6. Phase 8 depends on Phase 7. The order is structural — each phase produces the prerequisite for the next.

Section VIII

VIII. DCA Green Gates — Production Readiness

No artifact is DCA-compliant until every applicable gate is passed. Gates are verified with evidence — not claims. The LLM self-validates against these gates. The architect verifies at key checkpoints.

🟢 G1 — Deterministic Core Gate

  • Every computation function is a pure function: same inputs → same outputs, every platform, every invocation
  • Evidence: self-test suite with exact-value assertions. 100% pass rate. Outputs identical across Chrome, Firefox, Safari
  • No computation function contains an LLM call, network request, or randomness source
  • Time-dependent functions accept timestamp as parameter — never call Date.now() internally

🟡 G2 — Enhancement Boundary Gate

  • Data flows one direction: core → model → annotation layer. No backflow
  • Evidence: code review confirming no Zone 1 function depends on Zone 2 output
  • Zone 1 produces complete output before any Zone 2 call is made
  • Zone 2 can be disabled entirely and the application remains fully functional

🟠 G3 — Graceful Degradation Gate

  • Every AI-enhanced feature has a deterministic fallback producing complete, coherent output
  • Evidence: full functional test with AI disabled. All features produce complete output
  • No feature shows a loading state on core functionality when AI is unavailable
  • Deterministic fallback generation time: under 50ms for every feature
  • Crossfade protocol verified: no flash, no content jump, no loading state

🔴 G4 — Sovereign Artifact Gate

  • Artifact is complete at download. Zero external dependencies. Zero installation
  • Evidence: network tab audit — zero requests beyond the artifact itself
  • Offline test: all core features functional without internet. AI enrichment degrades gracefully
  • Data encrypted at rest (AES-256-GCM where applicable). Export in open formats
  • No analytics. No telemetry. No phone-home. No license check requiring network

🟣 G5 — Validation Gate

  • Every AI output passes through a validation gate before reaching the user
  • Evidence: test with intentionally malformed AI output. Gate rejects. Deterministic output stands
  • Empty AI response → deterministic output. Error response → deterministic output. Structure mismatch → deterministic output
  • Validation gate logs all discrepancies for audit

🔵 G6 — Audit & Compliance Gate

  • WCAG 2.1 AA verified. Keyboard navigation complete. Screen reader tested
  • OWASP baseline: CSP, SRI, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP, HSTS
  • Evidence: automated audit report. All failures corrected before shipping
  • Edge cases tested: offline, mobile, storage quota exceeded, AI timeout, AI error, AI cancellation, rapid input

👑 G7 — Pattern Transfer Gate

  • The methodology transfers. The primitives are reusable across domains, platforms, and languages
  • Evidence: at least two artifacts in different domains demonstrating the same three primitives
  • Enhancement Boundary, Sovereign Artifact, and Graceful Degradation by Design are identifiable in each
  • The Builder's Guide phases are applicable to each artifact. Domain changes. Structure holds
Section IX

IX. DCA in the Continuity Architecture — Complete Layer Stack

The Deterministic Core Architecture is Layer 1 of the Continuity Architecture. Every layer above it depends on the primitives it establishes.

LAYER 4 — GABOS: Governed Autonomous Business Operating SystemDepends on DCA for organizational identity
LAYER 3 — MCR: Mutual-Consent Receipt ProtocolDepends on DCA for deterministic cores to converge between
LAYER 2 — ASB: Architectural Standards BaselineDepends on DCA for the sovereign artifact it measures
LAYER 1 — DCA: Deterministic Core ArchitectureFoundation — 3 primitives · 8 phases · 7 gates
╔══════════════════════════════════════════════════════════════════════╗ ║ THE CONTINUITY ARCHITECTURE — COMPLETE STACK ║ ║ ║ ║ ┌────────────────────────────────────────────────────────────────┐ ║ ║ │ LAYER 4: GABOS — Governed Autonomous Business OS │ ║ ║ │ Fixed organizational identity. Department agent stack. │ ║ ║ │ MCR consent gates at every boundary. BAR-OS dashboard. │ ║ ║ └────────────────────────────────────────────────────────────────┘ ║ ║ ↑ ║ ║ ┌────────────────────────────────────────────────────────────────┐ ║ ║ │ LAYER 3: MCR — Mutual-Consent Receipt Protocol │ ║ ║ │ SHA-256 over CBOR. ECDSA P-256. Blind notary relay. │ ║ ║ │ Cryptographic proof that two deterministic cores converged. │ ║ ║ └────────────────────────────────────────────────────────────────┘ ║ ║ ↑ ║ ║ ┌────────────────────────────────────────────────────────────────┐ ║ ║ │ LAYER 2: ASB — Architectural Standards Baseline │ ║ ║ │ 46 categories. 19 pathways. 5 green gates. │ ║ ║ │ Sourced against OWASP · W3C · MDN · Google web.dev │ ║ ║ └────────────────────────────────────────────────────────────────┘ ║ ║ ↑ ║ ║ ┌────────────────────────────────────────────────────────────────┐ ║ ║ │ LAYER 1: DCA — Deterministic Core Architecture ← YOU ARE HERE│ ║ ║ │ ───────────────────────────────────────────────────── │ ║ ║ │ Primitive I: Enhancement Boundary │ ║ ║ │ Zone 1 → Zone 2 → Zone 3. One-directional. No backflow. │ ║ ║ │ Primitive II: Sovereign Artifact │ ║ ║ │ Complete at download. Zero deps. User-owned. Offline. │ ║ ║ │ Primitive III: Graceful Degradation by Design │ ║ ║ │ Every AI feature has deterministic fallback. Sub-50ms. │ ║ ║ │ │ ║ ║ │ 8 Implementation Phases · 7 Green Gates · 6 Shipped Proofs │ ║ ║ └────────────────────────────────────────────────────────────────┘ ║ ║ ║ ║ ═══════════════════════════════════════════════════════════════════ ║ ║ FOUNDATIONAL PRINCIPLE: ║ ║ Don't correct drift. Prevent it. ║ ║ The computation layer is the real application. ║ ║ AI is enhancement — never dependency. ║ ╚══════════════════════════════════════════════════════════════════════╝

The Line

"Don't correct drift. Prevent it."

The Deterministic Core Architecture is the foundation. It is not a constraint on the LLM. It is an identity the LLM operates from. The core is fixed. The computation is deterministic. The AI enriches from above. The user owns the artifact. Degradation is the default, not the failure mode. This is what trust looks like when it is built into the architecture rather than promised by a platform.