Cramer: annotate interface constraints in comments or agents will stomp over them
zeeg · x · 2026-10-14
Sentry founder David Cramer laid out his rule: a constrained, well-articulated public interface must be captured in the code somehow — comments, deterministic rules, anything — or the next agent session will stomp all over it.
- Comments should declare intent when it can't be obviously inferred; never annotate the obvious
- Second use case: annotate wrong patterns as wrong so agents follow the right one
- He suggests this belongs in an "are agents actually good at code yet" benchmark, and isn't optimizing for token cost
More from coding & agent
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29