ponystack
Boil the lake to understand it. Don't pour it into your code.
Think expensive. Write cheap.
Garry Tan's gstack bloats your code. On purpose. Here is the quote.
gstack (Garry Tan's personal open-source Claude Code setup; he is president & CEO of Y Combinator) is a genuinely great
process framework: it decomposes, plans, reviews, ships. Its founding principle
is "Boil the Lake," and it says this, verbatim, in its own ETHOS.md:
AI-assisted coding makes the marginal cost of completeness near-zero. When
the complete implementation costs minutes more than the shortcut - do the
complete thing. Every time.
Completeness is cheap. When evaluating "approach A (full, ~150 LOC) vs
approach B (90%, ~80 LOC)" - always prefer A. The 70-line delta costs seconds
with AI coding.
Anti-pattern: "Choose B - it covers 90% with less code." (If A is 70 lines
more, choose A.)
Source: gstack's own ETHOS.md, section "1. Boil the Lake"
(github.com/garrytan/gstack).
Tan's "boil the ocean" essay is the
philosophical framing gstack links to; the +70-LOC rule itself lives in ETHOS.md.
Read it again. The rule is literally "prefer the version with 70 more lines of
code, every time." That is policy, not an accident. And it is a bug in exactly
one line.
The bug
gstack conflates two different costs:
- The cost of thinking is near-zero. Spend it freely. gstack is right.
- The cost of code is never zero. Every line is bug surface, a tax on every
future reader, and a thing someone deletes at 3am. gstack is blind here.
"Boil the lake" is the correct instinct applied to the wrong tank. Boil the lake
of understanding. Do not boil it into your codebase. gstack pours the steam
straight into your diff, and you pay for it in bugs and review time forever.
The turn
What if you kept gstack's expensive brain, and put a membrane in front of its
hands?
That membrane already exists as a second framework:
ponytail (Dietrich Gebert, MIT) -
a lazy senior dev that refuses to write a line that doesn't earn its place:
YAGNI, then stdlib, then a native feature, then a dep you already have, then one
line, then the minimum that works.
gstack is the generator. ponytail is the critic. Apart, each is half a brain:
gstack without a critic bloats; ponytail without a process is shallow. ponystack
is the membrane that joins them.
How it works: one router, three seams
A small always-on hook reads the work phase every turn and gives the right
parent the wheel. This is the whole trick - it dissolves the contradiction by
letting each framework rule only where it is right:
| Phase | What you are doing | The lazy senior is |
|---|
| understand / plan / design / research | decompose, research, weigh trade-offs | silent - boil the lake (gstack) |
| implement | write the code | at max - the ladder, YAGNI (ponytail) |
| review | check the diff | both - bugs + a delete-list |
It detects the phase from the gstack command you ran (/plan-*, /spec,
/investigate, /design-* -> understand; /review, /qa, /code-review ->
review; /ship -> implement) plus plain-language cues. A plan review stays in
understand; the lazy senior never deletes a plan.
Three seams hold it together:
- Phase router (above) - the core. Generator and critic stop shouting over
each other.
- Expand -> contract - any wide pass ends with a mandatory gate
(
/ponystack-contract) that cuts breadth to the minimum that works. Producer
and critic in one pipeline, ending with net: -N lines possible.
- Thinking-to-diff ratio (
/ponystack-ratio) - reasoning spent divided by
net code shipped. High is the champion. 9,000 tokens of thought -> 11 lines
is the goal, and the screenshot.
What it never cuts: trust-boundary validation, error handling that prevents data
loss, security, accessibility. That floor is inherited from both parents.
The proof