{"type":"supplemental_research","official":false,"disclaimer":"Supplemental public-source research supplied for inquiry, not approved Eviulon doctrine. Assertions, dates, references and legal or technical conclusions may require independent verification. The fourteen books remain the official Eviulon library.","report":{"id":"evulgare/evulgare-simulations-product-evaluation-and-development-brief","group":"Evulgare","slug":"evulgare-simulations-product-evaluation-and-development-brief","title":"Evulgare Simulations Product Evaluation and Development Brief","source_file":"Evulgare/Evulgare Simulations Product Evaluation and Development Brief.md","source_sha256":"75a3b2a7f03b308d70cf338574c818441001622e6fa0b649cf38f705eda2e862","parts":10,"words":13185,"summary":"Evulgare’s simulations area is already more substantial than a typical interactive-demo gallery. The public product contains ten implemented simulations, each described as combining deterministic server logic, browser-based three-dimensional visualization, WebXR support, accessible table and text…","status":"supplemental_research_unverified","url":"/research/evulgare/evulgare-simulations-product-evaluation-and-development-brief/"},"section":6,"total_sections":10,"canonical_url":"https://library.eviulon.com/research/evulgare/evulgare-simulations-product-evaluation-and-development-brief/6/","content_text":"```text\n┌──────────────────────────────────────────────────────────────────────────────┐\n│ Simulation title · mode · capability · run status · save/share/export       │\n├─────────────────┬──────────────────────────────────────┬─────────────────────┤\n│ Scenario        │                                      │ Proof inspector     │\n│                 │          Interactive scene           │                     │\n│ Presets         │                                      │ Invariants          │\n│ Parameters      │          Selection overlays          │ Evidence            │\n│ Interventions   │          Camera / view tools         │ Defeaters           │\n│ Run controls    │                                      │ Research links      │\n├─────────────────┴──────────────────────────────────────┴─────────────────────┤\n│ Event timeline · play · step · speed · bookmarks · baseline/variant diff    │\n├──────────────────────────────────────────────────────────────────────────────┤\n│ View: Visual | Table | Narrative | Metrics | Event log | Raw evidence       │\n└──────────────────────────────────────────────────────────────────────────────┘\n```\n\n\nOn mobile, the same information hierarchy should become a scene-first layout with a persistent status header and ordered tabs:\n\n\n```text\n[Status and Run]\n[Scene / diagram]\n[Controls] [Timeline] [Proof] [Table] [Narrative]\n```\n\n\nMobile users should not receive a compressed desktop dashboard. Complex tables should support card representations, sticky row headers, column selection, and downloadable full data.\n\n\n### Guided interaction model\n\n\nEach simulation should have three explicit modes:\n\n\n| Mode | Intended user | Behavior |\n|---|---|---|\n| **Guided** | First-time visitor, student, executive reviewer | Prescribed sequence, minimal controls, narrated transitions, glossary, “why this matters,” and a short completion summary |\n| **Explore** | General technical user | Curated presets, bounded parameter changes, replay, compare, and contextual explanations |\n| **Expert** | Assurance engineer, researcher, integrator | Full allowlisted parameter surface, raw event and proof views, exports, API examples, and authoring hooks |\n\n\nGuided 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.\n\n\n### User flow\n\n\n```mermaid\nflowchart TD\n    A[\u0022Arrive at Simulation Explorer\u0022] --\u003E B[\u0022Choose goal\\nLearn · Evaluate · Build · Govern\u0022]\n    B --\u003E C[\u0022Filter or accept recommendation\u0022]\n    C --\u003E D[\u0022Capability and accessibility preflight\u0022]\n    D --\u003E E{\u0022Select experience mode\u0022}\n    E --\u003E|Guided| F[\u0022Learning objective and narrated baseline\u0022]\n    E --\u003E|Explore| G[\u0022Choose preset and bounded controls\u0022]\n    E --\u003E|Expert| H[\u0022Open full workbench and raw evidence tools\u0022]\n\n\n    F --\u003E I[\u0022Validate scenario\u0022]\n    G --\u003E I\n    H --\u003E I\n\n\n    I --\u003E J[\u0022Execute deterministic run\u0022]\n    J --\u003E K[\u0022Synchronize visual, table, narrative,\\nmetrics, event log, and proof\u0022]\n    K --\u003E L[\u0022Inspect event timeline and invariants\u0022]\n    L --\u003E M{\u0022Next action\u0022}\n    M --\u003E|Change bounded input| N[\u0022Create variant or counterfactual\u0022]\n    N --\u003E J\n    M --\u003E|Compare| O[\u0022Baseline-versus-variant analysis\u0022]\n    M --\u003E|Collaborate| P[\u0022Share workspace or live review\u0022]\n    M --\u003E|Export| Q[\u0022Evidence package or report\u0022]\n    M --\u003E|Learn more| R[\u0022Research traceability and glossary\u0022]\n\n\n    O --\u003E S[\u0022Summary of changed causes,\\noutputs, and proof conditions\u0022]\n    P --\u003E S\n    Q --\u003E S\n    R --\u003E S\n    S --\u003E T[\u0022Recommended next simulation or challenge\u0022]\n```\n\n\n### Accessibility requirements\n\n\nEvery interactive capability should have a representation-level acceptance rule:\n\n\n| Visual capability | Required equivalent |\n|---|---|\n| Selecting a node or entity | Keyboard-selectable row or tree item with identical identifier and state |\n| Seeing an edge activate | Event-log and narrative statement naming source, destination, condition, and time |\n| Comparing colors or volumes | Text label, icon, pattern, numeric or categorical value |\n| Moving the camera | “Focus entity” command and non-spatial hierarchy or relationship view |\n| Scrubbing a timeline | Keyboard step controls, current-event announcement, and event table |\n| Viewing uncertainty | Numeric ranges, component labels, distribution status, and explanation of abstention |\n| Inspecting proof | Structured invariant list with pass, fail, unknown, evidence, and rationale |\n| XR interaction | Complete desktop, keyboard, table, and text alternative |\n| Animated transition | Static before/after or event-step representation |\n| Dragging a control | Keyboard-operable input with typed value and reset action |\n\n\nAutomated 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\n\n\n### Performance and scalability targets\n\n\n| Category | Proposed release target |\n|---|---|\n| Public-page Core Web Vitals | p75 LCP ≤ 2.5 seconds, INP ≤ 200 milliseconds, CLS ≤ 0.1 |\n| Gallery JavaScript | ≤ 250 KB gzip for the application shell, excluding lazy-loaded simulation runtime |\n| Initial simulation shell | Interactive controls and accessible representations within 2 seconds on a representative broadband desktop |\n| First meaningful 3D frame | ≤ 4 seconds on supported desktop; ≤ 7 seconds on representative mid-tier mobile |\n| Frame rate | Sustained 60 frames per second on target desktop; minimum 30 on supported mobile; XR targets adapted to device refresh rate |\n| Main-thread responsiveness | No routine task over 50 milliseconds during playback; heavy parsing and layout moved to workers |\n| Initial scene payload | Target ≤ 5 MB for common simulations, using progressive assets and levels of detail |\n| Memory | Target ≤ 500 MB desktop and ≤ 250 MB mobile for standard scenes |\n| Deterministic-run API | p95 ≤ 300 milliseconds for existing lightweight simulations within the primary region |\n| Collaboration propagation | p95 ≤ 150 milliseconds regionally for cursor, selection, and playback-state events |\n| Availability | 99.9% initial paid-platform objective, with a higher objective reserved for enterprise contracts |\n| Batch execution | Queue-based horizontal scaling with tenant quotas, cancellation, retry policy, and cost visibility |\n\n\nCore 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\n\n\nThe performance strategy should include:\n\n\n- route-level and feature-level code splitting;\n- progressive glTF and texture loading;\n- KTX2/Basis texture compression;\n- meshopt or Draco geometry compression where it improves total time;\n- instancing for repeated nodes and markers;\n- dynamic resolution scaling;\n- quality tiers for shadows, post-processing, particles, and antialiasing;\n- object pooling for transient visual effects;\n- worker-based event parsing and interpolation;\n- suspension of rendering when hidden or static;\n- explicit cleanup of GPU resources on route changes;\n- asset caching through immutable content hashes;\n- CDN delivery close to users;\n- stateless API scaling;\n- queues for long-running or batch work;\n- separate scaling policies for APIs, realtime connections, workers, and GPU streams.\n\n\nWebGPU 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\n\n\n### Testing strategy\n\n\n| Layer | Required tests | Release gate |\n|---|---|---|\n| 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 |\n| 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 |\n| API contracts | OpenAPI schema validation, generated-client tests, malformed-input tests, version compatibility, idempotency | No undocumented response shape or unbounded input accepted |\n| Replay | Snapshot reconstruction, event ordering, branch provenance, scrub determinism | Every event index produces synchronized representations |\n| UI | Playwright task flows, component tests, browser history, error recovery, responsive layouts | Critical guided and expert journeys pass on the support matrix |\n| Graphics | Screenshot regression, scene-graph assertions, shader compilation, WebGPU/WebGL comparison, GPU-resource leak tests | No proof-bearing discrepancy between renderer paths |\n| 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 |\n| Performance | Lighthouse CI, WebPageTest, bundle analysis, frame-time benchmarks, memory sampling, API latency tests | Budgets cannot regress without approved exception |\n| Realtime | Multi-client synchronization, disconnect/reconnect, duplicate and reordered message handling, WebSocket soak testing | State convergence and permission boundaries hold under failure |\n| Load | k6 or equivalent API and WebSocket load tests, batch-queue saturation tests | Service-level objectives maintained at forecast peak plus safety margin |\n| Security | Static analysis, dependency scanning, container and IaC scanning, DAST, fuzzing, authorization tests, tenant-isolation tests | No unresolved critical or high-severity exploitable issue |\n| 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 |\n| Usability | Moderated testing with novices and domain experts | Guided baseline completion, concept comprehension, and proof discovery meet agreed thresholds |\n\n\nRecommended 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.\n\n\n### Security and privacy\n\n\nThe 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.\n\n\nThe security model should be organized around the following boundaries:","source_sha256":"75a3b2a7f03b308d70cf338574c818441001622e6fa0b649cf38f705eda2e862"}