
The config merge your agent wrote lets a JSON body rewrite Object.prototype: a failing test table, a safe merge and a property test in TypeScript
Agents write deepMerge and setByPath helpers that treat every key as harmless. Here's the failing Vitest table first, a fix that survives a tidy-up refactor, and a fast-check property that keeps any agent honest. About 30 minutes, no accounts needed.
11 min read