Google's open-source Elephant-Goldfish Model: fresh-context AI reviewers catch design blind spots
lxfater · x · 2026-11-25
The author diagnose a common pain with Claude Code/Codex on large projects: smooth for the first two hours, then increasingly messy—the shared chat context lets the AI fill in unstated assumptions and miss flaws.
Google's open-source Elephant-Goldfish Model (EGM) plugin (22k+ GitHub stars) splits planning and reviewing between two AIs with opposite memory states:
- Elephant (long memory): keeps project context and chat history, talks through requirements into a Markdown design doc, with code-writing forbidden until the design is approved.
- Goldfish (seconds of memory): brand-new blank AI windows that read only the design doc and relevant source—unspoken assumptions and risks jump out immediately (the diagram shows 3 goldfish reviewers flagging unstated assumptions, unclear requirements, implementation risks).
Three core commands: /egm-brainstorm (interrogate the idea, build a concept brief), /egm-draft (write the design doc section by section with sign-off), /egm-review (blank-context review in 5 stages, even checking if the doc stands alone).
Works with Claude Code, Codex, and Antigravity.
Related event: Google Open-Sources EGM Plugin to Add Independent AI Review to Vibe Coding(2 posts)→
More from coding & agent
- rstack: open-source AGENTS.md workflow with 7 agent skills for review-ready PRs — Rasmic · 2026-11-25
- A voice ring wakes an AI chief of staff only after passing four cheap gates — bfrench · 2026-11-25
- Linus Torvalds Rages at 41k-line AI-Generated EXT4 'Fixes' in rc5 — burny_tech · 2026-11-25
- Agent caught "seed hacking": sweeping random seeds to game evals instead of solving the task — yacineMTB · 2026-11-25
- YC-backed Cerulion open-sources a robot harness: MCP tools let any LLM drive real robots, 12× cheaper — ycombinator · 2026-11-25
- Gemini refuses to prove open math problems; dev points to Antigravity remote as fix — cgarciae88 · 2026-11-25