RESEARCH · Evulgare · NOT OFFICIAL EVIULON DOCTRINE

Evulgare Simulations Product Evaluation and Development Brief

Research section 6 of 10

┌──────────────────────────────────────────────────────────────────────────────┐
│ Simulation title · mode · capability · run status · save/share/export       │
├─────────────────┬──────────────────────────────────────┬─────────────────────┤
│ Scenario        │                                      │ Proof inspector     │
│                 │          Interactive scene           │                     │
│ Presets         │                                      │ Invariants          │
│ Parameters      │          Selection overlays          │ Evidence            │
│ Interventions   │          Camera / view tools         │ Defeaters           │
│ Run controls    │                                      │ Research links      │
├─────────────────┴──────────────────────────────────────┴─────────────────────┤
│ Event timeline · play · step · speed · bookmarks · baseline/variant diff    │
├──────────────────────────────────────────────────────────────────────────────┤
│ View: Visual | Table | Narrative | Metrics | Event log | Raw evidence       │
└──────────────────────────────────────────────────────────────────────────────┘

On mobile, the same information hierarchy should become a scene-first layout with a persistent status header and ordered tabs:

[Status and Run]
[Scene / diagram]
[Controls] [Timeline] [Proof] [Table] [Narrative]

Mobile users should not receive a compressed desktop dashboard. Complex tables should support card representations, sticky row headers, column selection, and downloadable full data.

Guided interaction model

Each simulation should have three explicit modes:

Mode Intended user Behavior
Guided First-time visitor, student, executive reviewer Prescribed sequence, minimal controls, narrated transitions, glossary, “why this matters,” and a short completion summary
Explore General technical user Curated presets, bounded parameter changes, replay, compare, and contextual explanations
Expert Assurance engineer, researcher, integrator Full allowlisted parameter surface, raw event and proof views, exports, API examples, and authoring hooks

Guided mode should never present itself as a simplistic video tour. It should still execute the real deterministic engine and display authentic proof state. The difference is controlled disclosure, not a separate demonstration.

User flow

flowchart TD
    A["Arrive at Simulation Explorer"] --> B["Choose goal\nLearn · Evaluate · Build · Govern"]
    B --> C["Filter or accept recommendation"]
    C --> D["Capability and accessibility preflight"]
    D --> E{"Select experience mode"}
    E -->|Guided| F["Learning objective and narrated baseline"]
    E -->|Explore| G["Choose preset and bounded controls"]
    E -->|Expert| H["Open full workbench and raw evidence tools"]


    F --> I["Validate scenario"]
    G --> I
    H --> I


    I --> J["Execute deterministic run"]
    J --> K["Synchronize visual, table, narrative,\nmetrics, event log, and proof"]
    K --> L["Inspect event timeline and invariants"]
    L --> M{"Next action"}
    M -->|Change bounded input| N["Create variant or counterfactual"]
    N --> J
    M -->|Compare| O["Baseline-versus-variant analysis"]
    M -->|Collaborate| P["Share workspace or live review"]
    M -->|Export| Q["Evidence package or report"]
    M -->|Learn more| R["Research traceability and glossary"]


    O --> S["Summary of changed causes,\noutputs, and proof conditions"]
    P --> S
    Q --> S
    R --> S
    S --> T["Recommended next simulation or challenge"]

Accessibility requirements

Every interactive capability should have a representation-level acceptance rule:

Visual capability Required equivalent
Selecting a node or entity Keyboard-selectable row or tree item with identical identifier and state
Seeing an edge activate Event-log and narrative statement naming source, destination, condition, and time
Comparing colors or volumes Text label, icon, pattern, numeric or categorical value
Moving the camera “Focus entity” command and non-spatial hierarchy or relationship view
Scrubbing a timeline Keyboard step controls, current-event announcement, and event table
Viewing uncertainty Numeric ranges, component labels, distribution status, and explanation of abstention
Inspecting proof Structured invariant list with pass, fail, unknown, evidence, and rationale
XR interaction Complete desktop, keyboard, table, and text alternative
Animated transition Static before/after or event-step representation
Dragging a control Keyboard-operable input with typed value and reset action

Automated accessibility tools are useful but insufficient. WCAG conformance requires human judgment for many interaction and content questions, so release testing should include keyboard-only operation, multiple screen readers, zoom and reflow, reduced-motion verification, and comprehension testing with representative users. citeturn8search0turn8search8turn8search24

Performance and scalability targets

Category Proposed release target
Public-page Core Web Vitals p75 LCP ≤ 2.5 seconds, INP ≤ 200 milliseconds, CLS ≤ 0.1
Gallery JavaScript ≤ 250 KB gzip for the application shell, excluding lazy-loaded simulation runtime
Initial simulation shell Interactive controls and accessible representations within 2 seconds on a representative broadband desktop
First meaningful 3D frame ≤ 4 seconds on supported desktop; ≤ 7 seconds on representative mid-tier mobile
Frame rate Sustained 60 frames per second on target desktop; minimum 30 on supported mobile; XR targets adapted to device refresh rate
Main-thread responsiveness No routine task over 50 milliseconds during playback; heavy parsing and layout moved to workers
Initial scene payload Target ≤ 5 MB for common simulations, using progressive assets and levels of detail
Memory Target ≤ 500 MB desktop and ≤ 250 MB mobile for standard scenes
Deterministic-run API p95 ≤ 300 milliseconds for existing lightweight simulations within the primary region
Collaboration propagation p95 ≤ 150 milliseconds regionally for cursor, selection, and playback-state events
Availability 99.9% initial paid-platform objective, with a higher objective reserved for enterprise contracts
Batch execution Queue-based horizontal scaling with tenant quotas, cancellation, retry policy, and cost visibility

Core Web Vitals thresholds in the table correspond to current official “good” thresholds, while the other values are proposed product budgets that should be validated against actual scenes and user hardware. citeturn8search1turn8search5

The performance strategy should include:

WebGPU offers more direct access to modern GPU functionality and compute capabilities than WebGL, but it should remain capability-gated because availability and production readiness vary by browser, platform, and embedded context. WebXR also requires secure contexts and remains unevenly supported. citeturn5search26turn8search3turn8search11

Testing strategy

Layer Required tests Release gate
Domain logic Unit tests, property-based tests, boundary-value tests, invariant mutation tests, deterministic-repeat tests Identical normalized input and engine version must produce identical canonical output and digest
Existing proof vectors Preserve and expand the published deterministic proof suite, currently described as 64 runs across ten simulations No changed vector without explicit engine-version change and reviewed migration record citeturn9view2
API contracts OpenAPI schema validation, generated-client tests, malformed-input tests, version compatibility, idempotency No undocumented response shape or unbounded input accepted
Replay Snapshot reconstruction, event ordering, branch provenance, scrub determinism Every event index produces synchronized representations
UI Playwright task flows, component tests, browser history, error recovery, responsive layouts Critical guided and expert journeys pass on the support matrix
Graphics Screenshot regression, scene-graph assertions, shader compilation, WebGPU/WebGL comparison, GPU-resource leak tests No proof-bearing discrepancy between renderer paths
Accessibility axe-core, keyboard traversal, focus assertions, live-region tests, manual screen-reader sessions, reduced motion, zoom/reflow No critical or serious violation; all required tasks complete without the visual scene
Performance Lighthouse CI, WebPageTest, bundle analysis, frame-time benchmarks, memory sampling, API latency tests Budgets cannot regress without approved exception
Realtime Multi-client synchronization, disconnect/reconnect, duplicate and reordered message handling, WebSocket soak testing State convergence and permission boundaries hold under failure
Load k6 or equivalent API and WebSocket load tests, batch-queue saturation tests Service-level objectives maintained at forecast peak plus safety margin
Security Static analysis, dependency scanning, container and IaC scanning, DAST, fuzzing, authorization tests, tenant-isolation tests No unresolved critical or high-severity exploitable issue
Resilience Dependency failure, Redis restart, worker termination, message redelivery, regional impairment, object-store delay Canonical records are not corrupted; users receive explicit degraded-state messaging
Usability Moderated testing with novices and domain experts Guided baseline completion, concept comprehension, and proof discovery meet agreed thresholds

Recommended tools include Vitest, Testing Library, Playwright, axe-core, pytest, Hypothesis, Schemathesis, Lighthouse CI, WebPageTest, k6, OWASP ZAP, Semgrep or CodeQL, Trivy, Syft/Grype, Renovate or Dependabot, and browser/device laboratories.

Security and privacy

The current public posture already describes several appropriate controls: secure cookies, CSRF protection, role-based administration, Argon2id password hashing, restrictive headers, least privilege, and append-oriented auditing. citeturn10view1 The expansion into accounts, persistence, collaboration, imports, plugins, and marketplaces materially increases the attack surface.

The security model should be organized around the following boundaries:

Source: Evulgare/Evulgare Simulations Product Evaluation and Development Brief.md · SHA-256: 75a3b2a7f03b308d70cf338574c818441001622e6fa0b649cf38f705eda2e862