# GhostShift

- **Event:** [Agents in Context Toronto: a MongoDB Hackathon](https://cerebralvalley.ai/e/mongodb-toronto-hackathon)
- **When:** Sat, Nov 14 at 9:00 AM – 9:00 PM (EST)
- **Where:** Toronto, Canada
- **Team:** [Arav Kansal](https://cerebralvalley.ai/u/aravk2005), [Shivani Tiwari](https://cerebralvalley.ai/u/Shivani18), [Enes Durak](https://cerebralvalley.ai/u/Enes_Durak), [Rhea Parmar](https://cerebralvalley.ai/u/rheaparmar)
- **GitHub:** https://github.com/s34tiwar/GhostShift
- **Demo video:** https://drive.google.com/file/d/1xNEFm7_i02L1EDu8Fnh3zeit7ROlbYLL/view?usp=sharing
- **Gallery:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/63

AI agents that take real actions can fail in two ways: they crash halfway and repeat or lose the action, or they propose something dangerous and nothing stops them. In a factory, both are expensive.

GhostShift is a self-healing factory agent that fixes broken machines safely. The agent only proposes a fix. A separate governance layer checks it against policy, records the intent in a MongoDB ledger, and verifies the result by reading the machine's state back.

We demo three cases on a simulated factory:
1. Fix: a broken sync is repaired using a past procedure found with Atlas Vector Search.
2. Crash: we kill the worker mid-repair, and a new worker finishes without repeating the fix.
3. Unsafe action: a simulated shutdown request is denied by policy before anything is touched.

Our claim is effectively-once execution through idempotent operations, independent verification, and a single worker with a lease.

## More from Agents in Context Toronto: a MongoDB Hackathon

- [Recall.IQ](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/60)
- [ProofGate](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/61)
- [Membrane](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/62)
- [Mandela Logan](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/64)
- [StopLine](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/65)
- [MemoryBank](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/66)

---

Markdown version of https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/63. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
