{
  "project_id": "LUMINA_WEBXR_PHOTOS",
  "name": "Lumina Spatial Gallery",
  "version": "1.0.0",
  "environment": "Google Antigravity",
  "features": [
    {
      "id": "webxr-three-boilerplate",
      "name": "WebXR Three.js Boilerplate",
      "status": "pending",
      "phase": "PHASE_1_FOUNDATION",
      "description": "Initialize Three.js r168 with WebXR enabled, 70 deg FOV, and foveation set to 0 for edge-to-edge clarity."
    },
    {
      "id": "depth-estimation-v3",
      "name": "DepthAnything V3 Integration",
      "status": "pending",
      "phase": "PHASE_2_VOLUMETRIC_ENGINE",
      "description": "Monocular Depth Estimation (MDE) using DepthAnything V3 student model to generate 16-bit depth maps."
    },
    {
      "id": "spatial-displacement-material",
      "name": "Spatial Displacement Material",
      "status": "pending",
      "phase": "PHASE_2_VOLUMETRIC_ENGINE",
      "description": "Custom SpatialMaterial extending MeshStandardMaterial to support vertex displacement via depth textures."
    },
    {
      "id": "skeletal-hand-tracking",
      "name": "Skeletal Hand Tracking",
      "status": "pending",
      "phase": "PHASE_3_SKELETAL_INTERACTION",
      "description": "Implement 25-joint hand tracking with pinch gesture detection and low-pass filtering for jitter removal."
    },
    {
      "id": "frosted-glass-ui",
      "name": "Frosted Glass (Glassmorphism) UI",
      "status": "pending",
      "phase": "PHASE_3_SKELETAL_INTERACTION",
      "description": "Floating menu panels with backdrop-blur, transmission, and thickness simulations to match visionOS aesthetic."
    },
    {
      "id": "feathered-edges-shader",
      "name": "Feathered Edges Fragment Shader",
      "status": "pending",
      "phase": "PHASE_4_IMMERSION_POLISHING",
      "description": "GLSL shader to reduce alpha at plane boundaries (0.95 to 1.0 UV range) for seamless immersion transitions."
    },
    {
      "id": "immersion-level-slider",
      "name": "Immersion Level Controller",
      "status": "pending",
      "phase": "PHASE_4_IMMERSION_POLISHING",
      "description": "Adjustable environmental opacity to transition from 'windowed' view to 'fully immersive' diorama."
    }
  ],
  "testing_phases": [
    {
      "id": "test-v1-rendering",
      "name": "Rendering Stability Test",
      "tasks": ["Verify XR session start", "Verify edge-to-edge clarity", "Validate 90FPS on target hardware"],
      "status": "todo"
    },
    {
      "id": "test-v2-depth-precision",
      "name": "Depth Fusion Accuracy Audit",
      "tasks": ["Validate 16-bit depth precision", "Audit vertex displacement against ground truth mesh", "Verify student model latency"],
      "status": "todo"
    },
    {
      "id": "test-v3-gesture-ux",
      "name": "Natural Interaction QA",
      "tasks": ["Test pinch registration success rates", "Validate low-pass filter responsiveness", "Measure palm-pinch avoidance"],
      "status": "todo"
    }
  ],
  "agent_orchestration": {
    "coordinator": {
      "responsibilities": ["Global state management", "Task decomposition", "Final verification audits"],
      "tools": ["Task", "TodoWrite", "Read"]
    },
    "graphics_engineer": {
      "responsibilities": ["Three.js scene architecture", "WebXR session management", "GLSL shader development"],
      "tools": ["Edit", "Write", "WebGL-Optimization"]
    },
    "ml_specialist": {
      "responsibilities": ["DepthAnything V3 pipeline", "ONNX implementation", "Data-pipelining for depth textures"],
      "tools": ["Python", "ONNX-Runtime"]
    },
    "qa_agent": {
      "responsibilities": ["Automated UI/UX testing", "Camera/Hand tracking simulation", "Performance profiling"],
      "tools": ["Browser-Actuation", "DOM-Inspection"]
    }
  },
  "sync_steps": [
    "Step 1: Setup Workspace Rules (Coordinator)",
    "Step 2: Initialize Rendering Context (Graphics Engineer)",
    "Step 3: Integrate Depth Pipeline (ML Specialist + Graphics Engineer)",
    "Step 4: Implement Interaction Logic (Graphics Engineer)",
    "Step 5: Full System Integration & Polish (All Agents)"
  ]
}
