# Hindsight

- **Event:** [The IDE Reimagined: JetBrains Codex Hackathon](https://cerebralvalley.ai/e/jetbrains-x-openai-hack)
- **When:** Apr 18 at 9:00 AM – Apr 19 at 5:00 PM (PDT)
- **Where:** Shack15, San Francisco, CA
- **Team:** [Shazil Farukh](https://cerebralvalley.ai/u/Shazil), [Carl Okpala](https://cerebralvalley.ai/u/Carldtytan), [Elbion Redenica](https://cerebralvalley.ai/u/elbion)
- **GitHub:** https://github.com/elbionredenica/hindsight
- **Demo video:** https://www.loom.com/share/cfae1d0054d7421aa7d6ffb3baaa831f
- **Gallery:** https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery/14

Hindsight is a local-first memory layer for AI coding. It tracks coding attempts inside JetBrains, including edits, test runs, failures, and reverts, then turns them into a structured attempt history. Through our MCP integration, agents can also query prior attempts before trying a new fix, helping them avoid repeating the same dead ends. We sync attempts to Supabase and surface them in a dashboard so teams can inspect failures, recoveries, and task history across projects. This directly tackles Problem Statement Two, "Testing & Debugging Code", by shrinking the gap between 'something failed' and 'here’s what was already tried.' It also supports Problem Statement One, "Writing & Generating Code", by giving coding agents memory of prior failed and successful approaches so their generated changes are more context-aware and less disposable. Long term, we think this can become a core layer for AI-assisted software development: a shared memory system for individuals and teams that makes agents more reliable, reduces duplicated debugging effort, and preserves high-value engineering knowledge that would otherwise be lost.

---

Markdown version of https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery/14. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
