# mucks

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Asad Ali](https://cerebralvalley.ai/u/asadwebdev)
- **GitHub:** https://github.com/1ewig/state-craft-meta-global-ai-hackathon
- **Demo video:** https://www.youtube.com/watch?v=l1lD0_mg7M4
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1839

StateCraft is a chaos contract-test runner for system design: sketch a distributed architecture on a whiteboard, and an autonomous agent turns it into a verified, failure-hardened state machine.

The agent — Muse, powered by Meta's Muse Spark Open via Baseten — reads the hand-drawn sketch with spatial vision, compiles it into a formal graph, writes domain-specific chaos contract tests (gateway timeouts, downstream declines, network partitions), and runs them against the unhealed design. Every failure comes with a mathematical trace from a deterministic TypeScript engine (<1ms), proving exactly where side effects get stuck — verdicts are never an LLM's guess.

Muse then repairs the graph — adding compensation and retry paths — re-runs the suite, and iterates (even refining its own test contracts when reality disagrees with them) until 100% green. The verified machine exports one-click to AWS Step Functions, Temporal, or XState.

The problem: every architecture diagram starts as a happy path; production kills you on the bad paths nobody drew. StateCraft makes the bad days executable, testable, and automatically repairable — test-driven development for infrastructure.

Repo: https://github.com/1ewig/state-craft-meta-global-ai-hackathon · Demo: https://state-craft-meta-global-ai-hackatho.vercel.app/

## More from Meta Global AI Developer Hackathon

- [Futurial](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1836)
- [BTECH VPSE-Rx // 3D VOLUMETRIC DOSING & COUNTERFEIT INTERLOCK](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1837)
- [Nikhil](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1838)
- [Gol](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1840)
- [Spark Gate](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1841)
- [WorldKit](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1842)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/1839. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
