What this is

A procedural murder mystery with a provably-solvable solution. The generator picks a victim, 4-5 suspects with motives + alibis, a weapon, a location, a time. Then it plants clues: EXCLUDE clues for each innocent (a signed receipt placing them somewhere else at crime time), INCRIMINATE clues that point only to the guilty (a unique trace at the scene + a maid's diary entry). Then it RUNS a built-in solve() function to verify the puzzle yields exactly the guilty suspect — re-rolling with seed+1337 if not. Investigation: 5-7 locations to explore, evidence objects to click, witnesses to interview (innocents tell truth, guilty lies). Notebook accumulates clues and suspect cards. Accuse with suspect+weapon+location triple. Game shows the deduction trail: green checks for matching clues, red X's for misses.

Why this is mind-blowing

Generating fiction is easy. Generating SOLVABLE puzzle fiction is hard. This nails it with a generate-and-verify loop in 1325 lines from one paragraph. The same approach scales to procedural Sudoku, crossword, escape room — anything that needs a unique solution.