Document state machines and fix reachable bugs
Reachable invalid states need evidence, documentation, and regression-tested fixes.
- Posted by
- @trevin
- Added
- Scope
- State machines and semantics · runs in a repo
- 2.7Klikes
- 32replies
- 112shares
- 115.4Kviews
prompt
Find the app’s explicit and implicit state machines and document their states, invariants, and transition tables in one file. Identify invalid states or transitions the code can actually reach, with evidence, including through retries and concurrency. Prioritize confirmed bugs by impact, group related fixes into issues, then fix them with regression tests and keep the document updated.
verified·fix it on github
