RESEARCH · Evulgare · NOT OFFICIAL EVIULON DOCTRINE

Evulgare Assurance Simulation Workbench: Product Architecture, Scientific Visualization, WebXR, Accessibility, and Performance

Research section 4 of 6

ID Category Criterion
AC-01 Architecture UI payload contains exactly 0 bytes of React, Vue, Svelte, or Angular in production.
AC-02 Architecture Python backend remains the sole authoritative source of truth; no physics are calculated in JS.
AC-03 XR WebXR button only renders if navigator.xr is natively present and operating in a secure context.
AC-04 XR WebXR fails gracefully to the 3D desktop view if the session request is rejected by the OS.
AC-05 Graphics navigator.gpu.requestAdapter()2 failure cleanly cascades to the WebGL2 pipeline.
AC-06 Graphics GPU Memory is aggressively cleaned using FinalizationRegistry upon scenario branch switch.
AC-07 Graphics The rendering engine honors the prefers-reduced-motion CSS media query, disabling camera sweeps.
AC-08 Performance LCP is consistently < 1.5 seconds on a throttled "Fast 4G" connection profile.
AC-09 Performance INP is < 100ms when scrubbing the timeline aggressively across a 10k-event payload.
AC-10 Performance The main browser thread is never blocked for > 50ms during background JSON chunk parsing.
AC-11 State The EventIndex is a single absolute integer driving all UI panel updates simultaneously.
AC-12 State Clicking a 3D entity on the canvas dispatches a global selection intent rather than mutating local state.
AC-13 UI/UX Mobile layout possesses no horizontal scrolling and utilizes native dialogs over complex dropdowns.
AC-14 UI/UX Dark mode utilizes --ev-surface-base (#0A0C10); pure black (#000000) is forbidden to reduce eye strain.
AC-15 UI/UX Red is exclusively reserved for critical failures or explicit constraint invalidations.
AC-16 UI/UX Monospace typography is rigorously applied to all hashes, APIs, and graph node IDs.
AC-17 A11y Site passes automated Axe Core and Lighthouse accessibility scans with a 100% score.
AC-18 A11y The WebGPU/WebGL <canvas> element is explicitly hidden from screen readers (aria-hidden="true").
AC-19 A11y ARIA live regions correctly and concisely announce timeline state changes.
AC-20 A11y The UI is fully legible and functional at 400% browser zoom without overlapping elements.
AC-21 Proof The Proof Inspector correctly maps the 8 backend status codes (PASS, FAIL, etc.) to distinct SVG icons.
AC-22 Proof Causal explanations utilize structured facts from the RAD DAG7, never LLM-generated narrative.
AC-23 Compare The divergence marker accurately flags the exact event index of initial mathematical state separation.
AC-24 Compare Side-by-side viewports maintain perfectly synchronized orbit camera matrices at all times.
AC-25 Export PDF export includes a reproducible SHA-256 hash of the baseline simulation configuration.
AC-26 Backend Flask Jinja templates provide complete semantic HTML for the initial document load before JS hydration.
AC-27 Backend Caching strategy prevents duplicate backend computation for mathematically identical input variants.
AC-28 Network .uai payloads are compressed using Brotli (br) encoding over the wire.
AC-29 Network Cryptographic digest verification passes in the Web Worker before data is allowed to enter the UI state model.
AC-30 Content Simulation Explorer utilizes URL search parameters to drive all active filters.
AC-31 Content Guided mode restricts free-roam camera to maintain tight narrative and analytical focus.
AC-32 Content "Understanding Assurance" learning path is fully populated with 3 baseline scenarios.
AC-33 Content "Understanding Authority" path links specific YAML constraints directly to mock ISO/regulatory texts.
AC-34 Error Paradox states immediately halt the timeline and trigger the red warning UI schema.
AC-35 Error Disabling JavaScript successfully displays the semantic HTML fallback log of events.
AC-36 Security No third-party NPM dependencies are loaded or executed at runtime.
AC-37 Security Content Security Policy (CSP) headers strictly prohibit unsafe-eval and unsafe-inline scripts.
AC-38 Privacy Analytics are entirely self-hosted, generating no external beacons to third-party data brokers.
AC-39 QA End-to-end Playwright tests successfully verify the causal path DAG rendering logic.
AC-40 QA Cross-browser tests confirm baseline WebGPU functionality in Chrome, Safari, Edge, and Firefox (2026 builds).

Site-Ready Copy & Documentation

Simulation Explorer Copy

Headline: "Evulgare: The Assurance Simulation Workbench." Sub-headline: "Inspect the mathematical boundaries, causal chains, and verifiable proofs governing autonomous decisions." Guided Mode Call-to-Action: "Begin three-minute guided inspection."

Workbench Overview Copy

Panel Header: "Deterministic Event Log" Proof Inspector Header: "Unified Assertion Interface (UAI) Constraints" State Disclaimer: "Evulgare visualizes authoritative state computed by the backend service. Visual representations are informational interpolations; the tabular proof log remains the ultimate mathematical authority."

Proposed /docs and .uai Paths

RESTful API & Local Storage Structures:

Traceability & Diagram Specifications

Feature-to-Route Traceability Table

Feature UI Route API Endpoint Test Suite .uai Path Mapping
Explorer Grid /explore /api/v1/simulations tests/e2e/explorer.spec.js N/A
Workbench Core /workbench/<sim_id> /api/v1/run/<sim_id> tests/e2e/workbench.spec.js /harness/data/<sim_id>.yaml [cite: 6]
Variant Branch /workbench/<sim_id>/branch /api/v1/branch/<sim_id> tests/unit/branching.spec.js /harness/data/<sim_id>_variant.yaml
Export Evidence /export/<run_id> /api/v1/export/<run_id> tests/e2e/export.spec.js .uai.evid payload16

Diagram Specifications (Mermaid Logic)

These specifications are designed to be rendered by any standard Mermaid.js parser embedded within the Evulgare documentation layer.
Diagram 1: The Event-Index State Unidirectional Flow

Code snippet
graph TD
A[User/Playback Trigger: Event 17] --> B[Vanilla JS Global State Manager]
B --> C[3D WebGPU Canvas Update]
B --> D[Textual Log Scroll & Highlight]
B --> E[Proof Inspector UAI Fetch]
B --> F[Timeline Scrubber Sync]

Diagram 2: Capability-Aware Graphics Fallback

Code snippet
graph TD
A[Initialize Graphics] --> B{WebGPU Supported?}
B -- Yes --> C[Render via Compute Shaders]
B -- No --> D{WebGL2 Supported?}
D -- Yes --> E[Render via WebGL2]
D -- No --> F[Render via Canvas 2D/SVG]

Diagram 3: Progressive Payload Delivery

Code snippet
graph LR
A[Flask Backend] -->|Chunk 1 (JSON)| B[Web Worker]
B -->|Verify SHA-256| C{Hash Valid?}
C -- Yes --> D[Merge to State Manager]
C -- No --> E[Halt & Prompt Refetch]

Diagram 4: Context Firewall & RAD DAG

Code snippet
graph TD
A[Orchestrator] --> B[Vision Node]
A --> C[Kinematics Node]
B -.->|Context Firewall Active| C
C --> D[UAI Proof Evaluator]

Diagram 5: Counterfactual Branching

Code snippet
gitGraph
commit id: "Baseline"
commit id: "Event 10"
branch "Variant_Rain"
checkout "Variant_Rain"
commit id: "Modified Input"
commit id: "Event 11 (Divergence)"
checkout main
commit id: "Event 11 (Baseline)"

Diagram 6: WebXR Initialization

Code snippet
graph TD
A[Click 'Enter XR'] --> B{Is Context Secure?}
B -- No --> C[Hide XR Button]
B -- Yes --> D{navigator.xr present?}
D -- No --> C
D -- Yes --> E[Launch Immersive Session]

Thirty FAQ Answers

Source: Evulgare/Evulgare Simulation Workbench Research.md · SHA-256: 634b9943208f374d48c7796d416d9b8a55a397b0d25a6dc82eb5dfec8700ea77