# GenieGuard

- **Event:** [Gemini 3 ハッカソン 東京](https://cerebralvalley.ai/e/gemini-3-tokyo-hackathon)
- **When:** Sat, Feb 21 at 9:00 AM – 10:00 PM (GMT+9)
- **Where:** 東京都渋谷区渋谷 3 丁目 21 - 3 渋谷ストリーム 5F
- **Team:** [Koju Maruyama](https://cerebralvalley.ai/u/marubo)
- **GitHub:** https://github.com/maruyamakoju/genieguard
- **Demo video:** https://youtu.be/t4-RryFVlQg
- **Gallery:** https://cerebralvalley.ai/e/gemini-3-tokyo-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/gemini-3-tokyo-hackathon/hackathon/gallery/50

GenieGuard is a “World-Sim CI” pipeline that automatically audits and self-repairs physics in AI-generated games/simulators.
It injects physics bugs into a Matter.js world, collects telemetry + screenshots, and diagnoses issues with Gemini 3.1 Pro Preview using a multi-agent VLM workflow: a Vision Analyst (screenshots) and a Physics Analyst (telemetry/config) run in parallel, then a Repair Synthesizer cross-validates findings to output a safe JSON patch (config diffs only, no code generation).
Patches are gated by a sandbox (whitelist + value-range validation), applied to config.js, the sim auto-reloads, and the system re-verifies all invariants. If verification fails, GenieGuard runs a self-reflection loop to re-diagnose and retry.
Result: a closed-loop CI step that turns “physics hallucinations” into a deterministic, repeatable QA + repair workflow for game developers.

---

Markdown version of https://cerebralvalley.ai/e/gemini-3-tokyo-hackathon/hackathon/gallery/50. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
