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:

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?

Original post →

More from coding & agent

coding & agent channel →