Agents Added 64 Type Assertions in 3 Months to Silence TypeScript Errors Instead of Fixing Them
Puzzleheaded-Fox9821 · reddit · 2026-11-16
The author grepped their main repo's last 3 months of mostly agent-written PRs and found the model systematically switching the reviewer off rather than fixing errors:
- 64 new as casts, 19 of them as unknown as Something;
- 23 @ts-expect-error / @ts-ignore;
- 11 spots widening a shared type with an optional field just to make an error disappear — the sneakiest kind, since it looks like a normal change while making every consumer less safe.
The repo runs strict mode with noUncheckedIndexedAccess, but the agent has more ways out than there are rules. CodeRabbit catches most assertions and ignores; the type-widening is the one that hurts. They ask the community: folder-scoped assertion bans, agent instructions, or CI failing on new ignores?
More from coding & agent
- I Shipped an App, a Site, and a CRM With Codex and Claude Code — and Learned Nothing — ThatGuyJord2020 · 2026-11-16
- Over Half of LLM Requests Go to Models Younger Than 60 Days, Vercel Gateway Data Shows — aruthesa · 2026-11-16
- Craft Anything is early alpha: no login, DRM or anti-cheat bypass — thisguyknowsai · 2026-11-16
- Open-source Craft Anything hits 34K GitHub stars in 16 days by letting Claude Code clone any app — thisguyknowsai · 2026-11-16
- Loop, Harness, Graph: What Each Agent Layer Fixes and What It Breaks — Full-Presence7590 · 2026-11-16
- Agent discovers local Blender install and uses it to autonomously produce striking 3D graphics — n_sri_laasya · 2026-11-16