{"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":9,"total_sections":10,"canonical_url":"https://library.eviulon.com/research/evulgare/evulgare-simulations-product-evaluation-and-development-brief/9/","content_text":"Acceptance tests:\nGIVEN an observer\nWHEN the observer attempts to modify a scenario or annotation\nTHEN authorization denies the action on the server, not only in the UI.\n\n\nGIVEN a user from tenant A knows an object ID in tenant B\nWHEN the user requests it\nTHEN the response reveals no tenant-B content or metadata.\n\n\nGIVEN a collaboration client disconnects and reconnects\nTHEN it restores the correct room, run version, presenter state, and permission scope.\n\n\nEPIC: PLUGIN SDK\n\n\nPlugin categories:\n- renderer extension;\n- scene adapter;\n- importer;\n- exporter;\n- metric view;\n- proof view;\n- integration connector;\n- educational module;\n- simulation-engine adapter.\n\n\nManifest fields:\n- plugin ID and version;\n- publisher;\n- license;\n- compatible platform and schema versions;\n- declared permissions;\n- entry points;\n- integrity digest;\n- signature;\n- network domains if any;\n- data-access scope;\n- accessibility declaration;\n- test status;\n- revocation status.\n\n\nSecurity:\n- sandbox by default;\n- no network by default;\n- no direct database access;\n- no unrestricted DOM access;\n- no secret access;\n- no dynamic native code in public hosting;\n- message-based APIs;\n- rate and resource limits;\n- signed package verification;\n- kill switch and revocation.\n\n\nAcceptance tests:\nGIVEN an unsigned plugin\nTHEN production installation is denied.\n\n\nGIVEN a plugin without network permission\nWHEN it attempts a network request\nTHEN the sandbox blocks the request and records a security event.\n\n\nGIVEN a plugin is revoked\nTHEN new loads are blocked and administrators can identify affected workspaces.\n\n\nEPIC: WEBGPU AND RENDERING QUALITY\n\n\nImplement:\n- WebGPU enhancement path;\n- WebGL2 functional fallback;\n- dynamic resolution;\n- quality tiers;\n- instancing;\n- progressive asset loading;\n- KTX2 textures;\n- compressed meshes;\n- level of detail;\n- GPU timing where available;\n- frame-time monitoring;\n- render suspension for hidden or static scenes;\n- explicit resource disposal.\n\n\nRenderer behavior must never alter authoritative simulation output.\n\n\nAcceptance tests:\nGIVEN WebGPU and WebGL2 runs of the same scenario\nTHEN canonical engine output and digest are identical.\n\n\nGIVEN average frame time exceeds the selected budget\nTHEN optional effects or resolution reduce progressively without removing required labels,\nstatus, or accessible information.\n\n\nGIVEN a user leaves a simulation route\nTHEN scene resources, event listeners, animation loops, workers, and GPU allocations are released.\n\n\nEPIC: ACCESSIBILITY\n\n\nTarget WCAG 2.2 AA and establish evidence rather than making an unsupported claim.\n\n\nRequired:\n- semantic HTML;\n- keyboard operation;\n- visible focus;\n- logical focus order;\n- screen-reader labels and announcements;\n- skip links;\n- landmarks;\n- reduced motion;\n- forced-colors support where practical;\n- 200% and 400% zoom/reflow;\n- no color-only information;\n- text and table parity;\n- accessible errors;\n- touch-target sizing;\n- captions/transcripts for instructional media;\n- non-XR task parity.\n\n\nSupported manual matrix:\n- NVDA with Firefox\n- JAWS with Chrome\n- VoiceOver with Safari on macOS and iOS\n- TalkBack with Chrome on Android\n- keyboard only\n- reduced motion\n- zoom/reflow\n- forced colors or high-contrast evaluation\n\n\nAcceptance tests:\nGIVEN JavaScript is disabled\nTHEN simulation purpose, baseline inputs, authoritative table/text state, proof summary,\nresearch links, and limitations remain available.\n\n\nGIVEN a user operates only by keyboard\nTHEN the user can select a preset, edit values, execute a run, step through events, inspect\nproof, compare runs, and export evidence.\n\n\nGIVEN reduced motion\nTHEN nonessential animation, camera travel, particles, and auto-playing previews stop.\n\n\nGIVEN a proof state is represented visually by color\nTHEN an icon, text label, and programmatic state convey the same meaning.\n\n\nEPIC: PERFORMANCE\n\n\nPublic field targets:\n- LCP \u003C= 2.5 seconds at p75\n- INP \u003C= 200 milliseconds at p75\n- CLS \u003C= 0.1 at p75\n\n\nProduct budgets:\n- gallery shell \u003C= 250 KB gzip, excluding lazy simulation runtime;\n- no full 3D engine on explorer route;\n- accessible shell interactive \u003C= 2 seconds on target desktop;\n- first meaningful 3D frame \u003C= 4 seconds target desktop;\n- first meaningful 3D frame \u003C= 7 seconds representative mid-tier mobile;\n- sustained 60 FPS target desktop;\n- minimum 30 FPS supported mobile;\n- no routine main-thread task over 50 ms during interaction;\n- initial common-scene payload target \u003C= 5 MB;\n- memory target \u003C= 500 MB desktop and \u003C= 250 MB mobile;\n- deterministic lightweight API p95 \u003C= 300 ms in primary region;\n- collaboration event p95 \u003C= 150 ms in-region.\n\n\nImplement real-user monitoring using privacy-preserving buckets.\nDo not log raw scenario inputs by default.\n\n\nAcceptance tests:\n- CI fails when public bundles exceed their budgets.\n- CI fails when a representative scene exceeds frame-time budgets on the benchmark runner.\n- Lighthouse CI fails on agreed threshold regression.\n- A scheduled test detects unbounded memory growth across repeated route changes.\n- A load test demonstrates forecast peak capacity plus an agreed safety margin.\n\n\nEPIC: SECURITY\n\n\nBase verification on an application security standard such as OWASP ASVS.\n\n\nImplement:\n- secure cookies;\n- CSRF defenses where cookie authentication applies;\n- strict input schemas;\n- size and depth limits;\n- WAF and rate limiting;\n- OIDC-compatible authentication;\n- MFA support;\n- tenant-scoped RBAC;\n- encrypted transport and managed encryption at rest;\n- secrets manager;\n- restrictive Content Security Policy;\n- Permissions Policy;\n- frame restrictions;\n- signed uploads and plugins;\n- malware scanning;\n- immutable or append-oriented audit records;\n- API-key hashing and rotation;\n- HMAC webhooks with replay protection;\n- SBOM;\n- dependency and container scanning;\n- static analysis;\n- dynamic security testing;\n- tenant-isolation tests;\n- threat models for each major epic.\n\n\nAcceptance tests:\n- A cross-tenant object reference cannot disclose existence, metadata, or content.\n- Malformed and deeply nested JSON is rejected before expensive processing.\n- Replayed webhook deliveries are identifiable and safe.\n- A plugin cannot exceed declared permissions.\n- Logs and traces do not contain scenario payloads, credentials, tokens, or annotation text\n  under default configuration.\n- Public authoring cannot create external side effects.\n- Critical and high exploitable findings block production release.\n\n\nEPIC: ANALYTICS\n\n\nUse a versioned event taxonomy.\n\n\nInitial events:\n- explorer_viewed\n- explorer_filter_applied\n- capability_checked\n- simulation_launched\n- scene_shell_ready\n- first_3d_frame\n- renderer_fallback_used\n- preset_selected\n- run_started\n- run_completed\n- guided_step_completed\n- timeline_used\n- proof_opened\n- invariant_inspected\n- comparison_created\n- counterfactual_created\n- export_created\n- share_created\n- collaboration_started\n- annotation_created\n- authoring_draft_created\n- api_key_created\n- plugin_installed\n- accessibility_mode_selected\n- simulation_error\n\n\nDo not include scenario values in these events.\nProvide a diagnostics screen that shows the user which telemetry category is active.\n\n\nEPIC: COMMERCIAL CAPABILITIES\n\n\nFree:\n- public labs;\n- guided modes;\n- limited exports;\n- public documentation.\n\n\nProfessional:\n- saved private scenarios;\n- advanced comparison;\n- richer exports;\n- higher API quota;\n- individual authoring.\n\n\nTeam:\n- shared workspaces;\n- annotations;\n- live review;\n- role controls;\n- embeds;\n- team templates.\n\n\nEnterprise:\n- SSO and SCIM;\n- tenant audit export;\n- private plugin registry;\n- configurable retention;\n- private cloud or on-premises deployment;\n- support and service objectives;\n- optional data-residency commitments.\n\n\nUsage:\n- batch runs;\n- parameter sweeps;\n- high-volume API;\n- GPU-streamed sessions.\n\n\nImplement entitlements in a centralized service or policy layer.\nDo not scatter plan checks across visual components.\n\n\nEPIC: COMMUNITY\n\n\nBuild:\n- public scenario gallery;\n- contributor profiles;\n- reproducibility badges;\n- licenses;\n- version history;\n- forks;\n- moderation;\n- reporting;\n- plugin registry;\n- educational learning paths;\n- bounded weekly challenges;\n- expert walkthroughs.\n\n\nLeaderboards may reward:\n- proof-inspection completion;\n- identification of assumptions and defeaters;\n- justified abstention;\n- high-quality explanations;\n- reproducible scenario creation;\n- peer-review contributions;\n- plugin quality.\n\n\nLeaderboards must not reward:\n- unsafe reduction of margins;\n- increased authority;\n- aggressive operational performance;\n- bypassing proof conditions;\n- speed where speed compromises comprehension.\n\n\nMILESTONE PLAN\n\n\nMilestone A: Foundation and baseline, weeks 0–6\nDeliver:\n- architecture decision records;\n- current-behavior inventory;\n- golden proof and API tests;\n- schema v2 draft;\n- design tokens and workbench prototype;\n- analytics and privacy specification;\n- performance baseline;\n- accessibility test plan;\n- threat model;\n- Simulation Explorer beta.\n\n\nExit criteria:\n- all existing proof vectors run in CI;\n- no-JavaScript behavior is captured;\n- schema design is approved;\n- explorer prototype passes keyboard and performance checks;\n- one representative simulation is selected for migration.\n\n\nMilestone B: Unified workbench, weeks 7–16\nDeliver:\n- TypeScript application shell;\n- Babylon.js scene adapter;\n- capability preflight;\n- guided/explore/expert modes;\n- shared timeline;\n- proof inspector;\n- baseline-versus-variant comparison;\n- evidence export;\n- first two or three migrated simulations;\n- FastAPI sidecar and initial OpenAPI.\n\n\nExit criteria:\n- migrated scenes have authoritative parity;\n- all representations synchronize at every event index;\n- performance budgets pass;\n- required screen-reader journeys pass;\n- legacy route can be restored with a feature flag;\n- no critical/high security issue remains.\n\n\nMilestone C: Platform and collaboration, months 5–9\nDeliver:\n- all ten simulations in the shared workbench;\n- public API and SDKs;\n- user identity and workspaces;\n- annotations;\n- presenter-led collaboration;\n- embed kit;\n- authoring beta;\n- batch execution foundation;\n- product analytics dashboards.\n\n\nExit criteria:\n- anonymous public runs remain ephemeral;\n- tenant-isolation suite passes;\n- WebSocket soak test passes;\n- API documentation and generated SDKs are complete;\n- all ten simulations meet shared accessibility and performance gates;\n- workspace audit export is available.\n\n\nMilestone D: Ecosystem and enterprise, months 10–18\nDeliver:\n- signed plugin SDK and registry;\n- community gallery;\n- authoring general availability;\n- parameter sweeps;\n- marketplace billing;\n- SSO/SCIM;\n- private deployment;\n- assurance copilot beta;\n- optional GPU-streamed laboratory pilot.\n\n\nExit criteria:\n- plugin sandbox and revocation have passed external security review;\n- marketplace moderation and licensing workflows operate;\n- enterprise recovery and deployment runbooks are tested;\n- copilot outputs are grounded, cited, labeled, and non-authoritative;\n- GPU-streaming unit economics and accessibility alternatives are documented.\n\n\nREQUIRED ENGINEERING ARTIFACTS\n\n\nFor each epic, produce:\n- architecture decision record;\n- threat model;\n- data-flow diagram;\n- API and schema changes;\n- user stories;\n- acceptance tests;\n- accessibility considerations;\n- performance budget;\n- observability plan;\n- rollout and rollback strategy;\n- migration plan;\n- operational runbook;\n- documentation and changelog;\n- product analytics events;\n- privacy review.\n\n\nREQUIRED CI PIPELINE\n\n\nFast pull-request checks:\n- formatting;\n- linting;\n- type checking;\n- unit tests;\n- schema tests;\n- contract tests;\n- key component accessibility tests;\n- bundle budget;\n- software-composition analysis.\n\n\nProtected-branch checks:\n- full domain proof vectors;\n- API integration tests;\n- Playwright critical journeys;\n- no-JavaScript tests;\n- visual regression;\n- WebGL renderer tests;\n- WebGPU tests where runners support them;\n- security scanning;\n- infrastructure validation.\n\n\nScheduled tests:\n- multi-browser suite;\n- manual-accessibility rotation;\n- performance benchmarks;\n- memory and GPU-resource leak tests;\n- WebSocket soak;\n- API load;\n- batch saturation;\n- dependency failure and chaos tests;\n- backup restoration;\n- plugin sandbox tests;\n- DAST and fuzzing.\n\n\nDEFINITION OF DONE\n\n\nA feature is done only when:","source_sha256":"75a3b2a7f03b308d70cf338574c818441001622e6fa0b649cf38f705eda2e862"}