Cognition SWE-2 fixes a bug by deleting all its code — and that's the right answer
silasalberti · x · 2026-09-23
- A user tested Cognition's SWE-2 on autonomous bug fixing: the agent wrote a batch of code, was pushed back for a more elegant solution, then deleted everything it wrote — plus some other stuff — and that was the proper fix.
- A memorable showcase of an agent arriving at the counterintuitive decision that removal beats addition, at $20/mo.
More from coding & agent
- Running wandb dashboards in the terminal with `uv run wandb leet` — wandb · 2026-09-23
- Claude Code prompt-audit command strips anti-patterns hobbling Opus 5.5 — RLanceMartin · 2026-09-23
- Combos CLI launches: AI agents generate game assets and publish H5 games — lxfater · 2026-09-23
- Dev builds online 3D ski game with GPT-6 Sol, all assets and backend via Combos CLI — lxfater · 2026-09-23
- The first Muse UI element ever designed was the agent status pill — alexandr_wang · 2026-09-23
- Claude Opus 5.5 writes 35.5x kernel on KernelBench-Mega, beating GPT-6 Astra's 24.8x — scaling01 · 2026-09-23