XR clinical skills exam platform • Evidence-gated encounter factory

OpenClinXR

OpenClinXR is a Step 2 CS-inspired XR clinical skills exam platform for building, reviewing, and running timed clinical encounters from blueprint to runtime. It includes an encounter factory, clinical asset commons, capability arenas, and local/offline plus connected Azure deployment modes. OpenClaw is the build operating model behind the platform.

OpenClinXR XR runtime posture evidence screen
Who it is for Simulation programs, clinical education teams, and platform builders

Scenario authors define encounters, learners run timed stations, faculty reviews trace/replay evidence, and admins manage review gates.

Current proof boundary Blueprint-to-runtime evidence gates

Current work is deterministic UI-XR runtime evidence consumer + peds/ED materialization. Gates remain false until committed artifacts prove more.

Trust boundary Not an exam-equivalence or clinical-validity claim

Evidence is scoped to the committed artifacts and current runtime gates. OpenClaw keeps the build process disciplined; it is not the product promise.

Platform overview

A production exam platform, encounter factory, asset commons, and capability arena.

Encounter Blueprint Factory

Reviewed encounter specifications (scenarios, actors, dialogue, emotion, traces, rubrics, asset needs) drive generated runtime, publication, launch selection, review packets, persistence, and evidence. Case definitions drive scenes; hand-built one-off rooms do not.

Clinical Asset Commons

Generated or approved assets such as rooms, floors, nurses, equipment, clothing, humanoids, animation clips, and provenance records can be reused across encounters instead of regenerated each time.

Capability Arena

Candidate technologies such as TTS, speech recognition, humanoid generation, IWSDK sidecars, and provider adapters compete in repeatable cage matches before production promotion.

Recent factory progress • Q1 + Q5

ED real garment from phenotype.garmentLayers (hospital_gown) — dual evidence in Model Vetting + UI-XR.

Blueprint → Real Garment Topology (Q1)

Case ed_chest_pain_priority_v2:patient_ed_chest_pain_v1 + phenotype.garmentLayers = ["hospital_gown"] now drives real garment region (324 faces, deformsWithBreathing, weighted to clavicle/upper_arm/chest/spine/neck, visibleDeformingSleeves, hasVisibleVolume, hasSeamFoldHints).

  • Embedded in rigging_report + provenance + cagematch reports (model-vetting-report.v1, report.json, registry.json) as ed_chest_pain_patient_real_garment_v1 candidate with promotionStatus + realismGrade B + notEvidenceFor list.
  • Branched 23 MB GLB + rigging + provenance in cagematch/anny-real-garment/ed-real-garment-phenotype-expansion-2026-06-07/.
  • Factory TS (generated-human-rigging-artifacts, cagematch-report-pages, generated-ed-station-runtime-bundle) updated for ED pheno + gown.

View MV report (ED candidate)Branched assets

Runtime Consumer + Evidence Surfaces (Q1 + Q5)

UI-XR now has first-class ed_anny_real_garment_patient (ed_chest_pain_priority_v* scenarios, ed bay framing):

  • Dedicated GLB resolve (no peds proxy): /cagematch/anny-real-garment/current/ed_chest_pain_patient_real_garment.glb (test expects it).
  • Gown-aware regex (gown|hospital.*gown|ed_gown + openclinxr_real_garment) + post-load traverse sets frustumCulled=false, visible, openClinXrSleeveDeformEvidence, cyan emissive, garmentGeometry.sleeveDeform, promotion userData.
  • Capture tooling extended (ED_BUNDLE, useEdForSlice, ed png outputs + ui-xr-ed-seed-inspection asserting garmentDeformEvidence + promotionSurfaces exercised).
  • Static tests green for ed_anny + ed glb path.

main.ts (ed_anny support ~6267, 6572, 7709)Capture (ED paths)

Promotion Metadata + Dual Delta (Q4 tie-in + Q5)

Promotion fields (promotionStatus, realismGrade, realAnnyWeightsUsed, notEvidenceFor, realGarmentRegionFromPhenotype with claimScope) wired into reports, rigging, provenance, UI-XR evidence types/userData.

Skeptic re-assess: visible in MV cagematch reports + code + ed-branch evidence (dual delta: MV can reference ED candidate/glb; UI-XR can traverse ed_anny for surfaces). Sizable 3-role collaborative vertical (skeptic + asset + xr).

Evidence branches: .openclinxr/evidence/ed-seed-humanoid-case-def/2026-06-08-ed-real-garment-seed-v1/ (ed_real_garment_sleeve_deform pngs + inspection) + cagematch ed- subdir. Full canonical dual volume + actual pheno gown geo targeted in next slice.

Honest posture: Latest internal dev evidence from closed ed-real-garment-phenotype-expansion (Q1+Q5). Reports claim hospital_gown + 324f deforms; current branched GLB still uses prior tshirt geometry (synthetic in reports). Full skeptic-visible 3D gown volume/motion in both MV cagematch visuals and UI-XR ed bay (with updated report captureEvidence + canonical paths) is the target of the in-flight ed-gown-geo-reorchestrate slice. No overclaims.

WebXR Sample Scene Evidence (ED real garment patient in UI-XR runtime)

Captured from the UI-XR sample scene (ed_chest_pain_priority_v2 + ed_anny_real_garment_patient comparator). The code extensions (gown-aware detection, post-load garment traverse for cyan emissive deforming volume, garmentGeometry.sleeveDeform, openClinXr* userData, frustumCulled=false, ed bay framing, adaptive capture) are exercised. These images + the ui-xr-ed-seed-inspection.json (asserting garmentDeformEvidence surfaces + promotion for the ed_anny load) provide the WebXR runtime scene evidence for the phenotype-driven real garment.

UI-XR WebXR sample scene: ED real garment patient (ed_anny_real_garment_patient) front view with hospital_gown real garment from phenotype
UI-XR sample: ed_chest_pain patient real garment (front) — code support for deforming gown sleeves and evidence surfaces active in the running WebXR scene.
UI-XR WebXR sample scene: ED real garment patient three-quarter view
UI-XR sample: ed_chest_pain patient real garment (three-quarter) — same runtime load with gown handling and visual evidence surfaces.

View full ui-xr-ed-seed-inspection.json (confirms ed_anny_real_garment_patient traverse exercised cyan/frustumCulled=false/openClinXrSleeveDeformEvidence/garmentGeometry + promotion + ed bay + real garment loaded). To run live: start pnpm --filter ui-xr dev, load with ?openclinxrScenarioId=ed_chest_pain_priority_v2&humanoidSourceComparator=ed_anny_real_garment_patient&capture=mouth-gaze-pose-body-motion-garment-sleeve-deform (once ED glb in current/ for full demo).

Evidence gates

Every capability carries its own proof boundary.

Full evidence + current snapshots (UI-XR consumer, peds materialization, 05-28) in docs/openclinxr/. Run pnpm pages:sync-evidence-links and pnpm pages:validate to keep snapshots current. Rehydrate via snapshots in state files.

Deployment modes

Local/offline first, connected when useful, Azure-ready for the production app surface.

Local/offline mode is the default development and validation path, using deterministic providers and preconfigured assets wherever possible. Connected mode can use approved provider/API adapters behind explicit gates. Azure is a target for API, orchestration, review, and deployment surfaces, while heavy local generation and capability cage matches stay separate until promoted.

Current: blueprint factory (case-def drives runtime/review/persist/assets). See snapshots in PROJECT/AUTONOMOUS/worker-backlog for active lanes.

How we build it

OpenClaw-style agentic execution keeps the product direction from drifting.

Repo-native OpenClaw is the build operating model, not an external daemon and not the product itself. It supports long-running, token-efficient autonomous work. Persistent indexed memory in agents/** + .agent-factory/. Snapshots + Efficiency Quick Refs in state files for low-token rehydration. Lease, drift/alignment guards, focused verification. Full iteration loop reserved for plateau/synthesis. Live subagents or local role consultation. Always record in canonical state only.

Live snapshots

Current evidence posts (including 05-28 peds/UI-XR consumer) are committed under one folder.

Current evidence in docs/openclinxr/ (05-28 peds/UI-XR). Active in root snapshots + Efficiency Quick Ref. Run pnpm pages:sync-evidence-links && pnpm pages:validate.

Current posture

Early product and factory tooling, deliberately gated and honest about current proof.

Current (per snapshots): UI-XR consumer (operator-selectable to guarded + projections) + materialization for peds_asthma_parent_anxiety_v1 and an ED seed. All gates false; raw hidden; M1 Max 64GB target; Quest evidence requires a disconnected-headset re-run. No overclaims and no exam-equivalence or clinical-validity claim.