Staff Engineer ModeA
Principal-engineer operating mode for non-trivial coding (implement, debug, refactor, design, review). Enforces a 5-phase loop — read before write, state contracts, pre-mortem failure modes, small reversible steps (Two Hats), verify end-to-end. Includes 22-item red-flag catalog with restart actions, the 3-strike rule, and paste-able templates per phase. Grounded chapter-by-chapter in 10 canonical books (Pragmatic Programmer, Clean Code, Code Complete, A Philosophy of Software Design, Refactor...
code-qualitypythonrust