Skip to content

feat(unity): Quest XR client module (M1-M5)#1

Open
Gauravzdre wants to merge 1 commit into
DreamLab-AI:mainfrom
Gauravzdre:feat/unity-xr-quest-module
Open

feat(unity): Quest XR client module (M1-M5)#1
Gauravzdre wants to merge 1 commit into
DreamLab-AI:mainfrom
Gauravzdre:feat/unity-xr-quest-module

Conversation

@Gauravzdre

Copy link
Copy Markdown

Summary

Adds the Unity 6000.4 / Meta Quest XR client for VisionFlow: live 3D knowledge graph from VisionClaw, Solid Pod provenance, Nostr governance (human-in-the-loop), and a spatial Nostr event feed.

.gitignore excludes Unity Library/, samples, and other generated/bulk assets (~4 GB locally) so the repo stays lean; restore packages via Unity Package Manager and scene objects via editor Bootstrap menus.

Milestones delivered

M1 — Crypto

  • Real BIP-340 Schnorr via NBitcoin.Secp256k1 (SchnorrHelper, NostrIdentity)
  • IL2CPP preserve rules (Assets/link.xml)
  • EditMode tests: SchnorrHelperTests

M2 — XR interaction

  • NodeInteractable (XRI select → NodeInspectorUI)
  • GraphRaycaster (NearFarInteractor left/right)
  • GraphRootGrab (reposition graph)
  • GestureMapper — hand-tracking pinch → raycast → select
  • Editor: Bootstrap, Wire Near-Far, XR Origin from samples

M3 — Governance

  • GovernanceRequestUI + GovernanceHUDBadge (queue, approve/reject)
  • Bridge routes kind 31402; publish 31403 decisions
  • NostrEvent / GovernanceRequest DTOs

M4 — Performance

  • NodePool (512 pre-allocated nodes)
  • EdgeBatcher (batched line mesh, jobs for 2k+ edges)
  • NodeView LOD (impostor / gaze cone), visibility culling
  • VisionFlowDebugHud — graph tick_rate_hz slider

M5 — Nostr feed

  • OnNostrEvent on MCPBridgeClient
  • EventFeedUI / EventFeedItem (kind colours; tap → highlight node)
  • nostr.subscribe for kinds 30001, 31402, 31403

Also included

  • docs/VisionFlow_XR_TDD.md — technical design & milestone plan
  • UnityProject/README.md — open project, Bootstrap, Quest build notes
  • scripts/dev-backends/ — local WS graph stub + Solid pod stub for dev (npm install in that folder)

Test plan

  • Open UnityProject/VisionFlow in Unity 6000.4.3f1
  • Import XR Interaction Toolkit Starter Assets sample (for XR Origin prefab path in editor menu)
  • GameObject → VisionFlow → Bootstrap + Wire Near-Far Interactors
  • Play with scripts/dev-backends or VisionClaw + Agentbox running
  • EditMode: Run VisionFlow.Tests.Editor (Schnorr, governance, Nostr tag parsing)
  • Quest: Android IL2CPP ARM64 build smoke test

Follow-ups (out of scope)

  • M6 hardening (Android Keystore, NTP, WS reassembly, Quest CI workflow)
  • NodeInspectorUI shows viewer DID, not node DID
  • Quest 90 Hz profiling at 5k nodes

Adds Unity 6000.4 VisionFlow XR project: real BIP-340 Schnorr (NBitcoin.Secp256k1), VisionClaw WebSocket graph stream, Solid Pod client, 3D graph visualizer with NodePool/EdgeBatcher/LOD, XRI NearFar + GestureMapper hand pinch, governance UI (31402/31403), Nostr event feed, editor bootstrap menus, EditMode tests, XR TDD doc, and local dev-backend stubs.

Excludes Library/, samples, and other generated/bulk Unity assets via .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant