How anvithdommata/crashvzn works
Sunhacks is an incident-reconstruction desktop application: footage is processed into a scene package, which users inspect and analyze in the viewer, optionally with an AI assistant. The graph emphasizes the documented reconstruction pipeline, scene-motion engine, and assistant tool path. The README gives no product workflow or feature details, and many UI, Electron, and pipeline modules were not sampled; unverified connections are therefore omitted rather than inferred.
Main entry points: build.py Package builder · session.ts Assistant session · ingest.py Footage ingest · kinematics.py Track kinematics
Components 21
Reconstruction pipeline
- Package builder
pipeline/src/reconstruct/build.py - Footage ingest
pipeline/src/reconstruct/steps/ingest.py - Detection and tracking
pipeline/src/reconstruct/steps/detect_track.py - Geometry model
pipeline/src/reconstruct/geometry.py - Track kinematics
pipeline/src/reconstruct/steps/kinematics.py - Scene package models
pipeline/src/reconstruct/models.py - Scene package output
pipeline/src/reconstruct/steps/package.py
Scene engine
- Scene construction
FrontEnd/app/src/gemini/engine.ts - Motion planning
FrontEnd/app/src/gemini/motion.ts - Incident specification
FrontEnd/app/src/gemini/spec.ts - Vehicle builder
FrontEnd/app/src/scene/cars.ts - Road specification
FrontEnd/app/src/road/spec.ts
Assistant tools
- Assistant session
packages/assistant/src/session.ts - MCP server
packages/assistant/src/mcp/server.ts - Tool registry
packages/assistant/src/tools/registry.ts - Scene controller
packages/assistant/src/controller.ts - AI provider
packages/assistant/src/providers/types.ts
Desktop experience
- Scene viewer
FrontEnd/app/src/SceneViewer.tsx - Product website
landing/src/App.tsx
Other components
- Incident analyst
- Mosaic footage
Connections 23
- Incident analyst → Mosaic footage: provides footage
- Mosaic footage → Package builder: processes footage
- Package builder → Footage ingest: runs ingest
pipeline/src/reconstruct/build.py - Package builder → Detection and tracking: runs tracking
pipeline/src/reconstruct/build.py - Package builder → Track kinematics: runs kinematics
pipeline/src/reconstruct/build.py - Package builder → Scene package output: writes package
pipeline/src/reconstruct/build.py - Footage ingest → Geometry model: uses geometry
pipeline/src/reconstruct/steps/ingest.py - Footage ingest → Scene package models: uses models
pipeline/src/reconstruct/steps/ingest.py - Track kinematics → Geometry model: uses geometry
pipeline/src/reconstruct/steps/kinematics.py - Track kinematics → Scene package models: uses models
pipeline/src/reconstruct/steps/kinematics.py - Package builder → Scene package models: builds records
pipeline/src/reconstruct/build.py - Scene construction → Vehicle builder: builds vehicles
FrontEnd/app/src/gemini/engine.ts - Scene construction → Road specification: resolves roads
FrontEnd/app/src/gemini/engine.ts - Motion planning → Incident specification: plans specification
FrontEnd/app/src/gemini/motion.ts - Scene viewer → Scene construction: uses scene engine
- Incident analyst → Scene viewer: inspects incident
- Assistant session → MCP server: starts server
packages/assistant/src/session.ts - Assistant session → Tool registry: runs fast-path tools
packages/assistant/src/session.ts - Assistant session → AI provider: selects provider
packages/assistant/src/session.ts - MCP server → Tool registry: dispatches tools
packages/assistant/src/mcp/server.ts - Tool registry → Scene controller: calls controller
packages/assistant/src/tools/registry.ts - Assistant session → Incident analyst: answers requests
- Product website → Incident analyst: introduces product