Code behind https://getainative.com/one-page-spec-ai-can-follow/ Files (each is a plain file you can open at https://getainative.com/examples/duplicate-readings/): ignore.mjs, overwrite.mjs, allow.mjs, refuse.mjs four reasonable readings of "handle duplicates properly" duplicates.test.mjs one test written from the followable version of that line package.json npm scripts timing/fast.mjs, timing/slow.mjs, timing/timing.test.mjs a timing budget test and a deliberately slow version Run it (Node 22 or newer, no install). Save the files into one folder, keeping the timing/ subfolder, then: npm test # ignore, overwrite and allow fail; refuse passes npm run test:timing # fast passes, slow fails the 10 ms budget Expected: the duplicate test fails 3 times and passes once, and the timing test passes for fast and fails for slow. This is a demo written for the post. Do not deploy it.