Original Reddit post

My Python baseline for every new project from day one:

  1. Written contracts for important formats and state
  2. One canonical parser/reader/writer per format
  3. Fail-closed semantics with explicit UNKNOWN
  4. Ruff + Pyright + pytest behind one quality gate
  5. Hypothesis on parsers and state machines
  6. PEP 8 / 257 / 484 baseline
  7. Deterministic dispatch/state handling
  8. Frozen gate inputs + reproducible review artifacts
  9. Dual-MOA/adjudication wired in
  10. Provenance, evidence identity, and resumability
  11. Immutable logs from day one Much cheaper to start this way than retrofit it later. submitted by /u/Compilingthings

Originally posted by u/Compilingthings on r/ClaudeCode