# Never Twice

- **Event:** [AIE Code Summit 2026 Hackathon](https://cerebralvalley.ai/e/aie-code-2026-hackathon)
- **When:** Sat, Nov 7 at 9:00 AM – 10:00 PM (PST)
- **Where:** San Francisco, CA
- **Team:** [Randy Fong](https://cerebralvalley.ai/u/techdudesf)
- **GitHub:** https://github.com/randyfong/NeverTwice
- **Demo video:** https://youtu.be/LgZjc50tdc0
- **Gallery:** https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/15

NeverTwice is a self-evolving pre-merge referee and episodic memory engine that stops autonomous AI coding agents from shipping buggy code and repeating past mistakes. Sitting between coding agents and production, it reconstructs behavioral contracts from messy crash logs, stress-tests candidate fixes against an adversarial sandbox judge, and writes verified failure lessons into a shared MongoDB memory bank so subsequent runs automatically retrieve the rule and succeed on the first try.

## More from AIE Code Summit 2026 Hackathon

- [Merge Guard](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/12)
- [STRATA.](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/13)
- [Trust Issues](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/14)
- [amk](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/16)
- [Theseus](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/17)
- [Dojo](https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/18)

---

Markdown version of https://cerebralvalley.ai/e/aie-code-2026-hackathon/hackathon/gallery/15. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
