0-Error Compute - Quick Reference
0-Error Compute - Quick Reference Card
Print this. Keep it visible. Use it for every task.
The Core Rule (5 SECONDS)
THINK β VERIFY β CODE
Donβt skip steps. Donβt think fast. Think completely, verify completely, then code.
Before Every File Edit (6 STEPS - 5 MINUTES)
- Read PRE_ACTION_CHECKLIST.md
- Know what youβre building
- Map all 0,1 states
- Verify logic while thinking
- Mark all unknowns (INCOMPLETE/UNVERIFIED)
- Code only after all verified
The 8 Phases (IN ORDER)
| Phase | What | Time | Done? |
|---|---|---|---|
| 1 | Understand requirement | 5-10 min | β |
| 2 | Load frameworks | 5-10 min | β |
| 3 | Think + verify logic | 15-45 min | β |
| 4 | Verification checklist | 10-20 min | β |
| 5 | Plan implementation | 5-10 min | β |
| 6 | Execute (write code) | 10-30 min | β |
| 7 | Test all paths | 10-20 min | β |
| 8 | Document | 5-10 min | β |
Verification Checklist (BEFORE CODING)
β Binary Completeness β All states mapped?
β Transition Coverage β Every state has exits?
β Input Handling β All inputs covered?
β Output Correctness β Output follows from input+state?
β Gap Identification β Unknowns marked?
β Assumption Logging β Decisions documented?
If ANY are unchecked β GO BACK TO PHASE 3
7 Error Prevention Rules
- Donβt skip thinking β Partial thinking = bugs
- Donβt assume β Mark unknowns explicitly
- Donβt code half-logic β Complete thinking first
- Donβt skip verification β Check while thinking
- Donβt ignore contradictions β Resolve them now
- Donβt test assumptions β Verify them first
- Donβt update assumptions later β Define them upfront
Decision Logging Format
When you make a decision:
DECISION: [What decision]
REASON: [Why you chose this]
ALTERNATIVES: [Other options considered]
VERIFIED: [How you verified this works]
TIMESTAMP: [When decided]
What to Do If You Get Stuck
Stuck on thinking?
- Return to Phase 1 β Do you understand the requirement?
- Write down unknowns explicitly
- Break problem into smaller pieces
- Start with simplest case first
Stuck on verification?
- Draw a state diagram
- Trace through one example input completely
- Check: Did it reach output? Yes/No
- If no β Missing transition (go back to thinking)
Code doesnβt work?
- Reread Phase 3 thinking
- Compare code to thinking
- Is there a mismatch? Yes/No
- If yes β Thinking was incomplete (go back to Phase 3)
Success Criteria
β
Requirement understood fully
β
All 0,1 states mapped
β
All transitions verified
β
All unknowns marked
β
Verification checklist all checked
β
Code written per plan
β
All tests pass
β
Documentation complete
If all are checked: TASK COMPLETE
Links to Full Frameworks
- Universal Mandate β Complete requirements
- Task Template β Full 8-phase details
- Pre-Action Checklist β 6-step gate details
Use this card. Every task. No exceptions.