Replace .md specs with a state machine: step through your agent's real reducer to interrogate its design

DavidKPiano · x · 2026-10-13

Instead of .md spec files, ohdearlordylord suggests modeling your system as a state machine (or reducer): have the AI generate an interactive diagram from your real events and real reducer, then step through it asking the agent 'why' for each transition. David Piano endorsed the idea and teased he's building something to make this workflow even better — turning fuzzy specs into inspectable, verifiable state flows.

Original post →

More from coding & agent

coding & agent channel →