0-Error Compute - Task Template
0-Error Task Template: 8-Phase Execution Framework
The 8 Phases (In Order)
PHASE 1: Understand (5-10 min)
Goal: Know exactly what youβre building
What to do:
- Read the requirement completely
- Identify inputs and outputs
- Know what success looks like
- Note any unknowns
Verify:
- β Can you explain requirement in 2 sentences?
- β Do you know ALL inputs?
- β Do you know ALL outputs?
- β Do you know success criteria?
PHASE 2: Context (5-10 min)
Goal: Load all relevant frameworks
What to do:
- Read Universal Mandate
- Read Pre-Action Checklist
- Review Quick Reference
- Know your tools
Verify:
- β Have you read current frameworks?
- β Do you know your error prevention rules?
- β Are you aware of similar past tasks?
PHASE 3: Think (15-45 min)
Goal: Complete binary logic mapping
What to do:
- Map all possible states (0,1 combinations)
- Define all state transitions
- Verify every input path
- Check for contradictions
- Identify gaps (mark INCOMPLETE)
- Document assumptions
Verify While Thinking:
- β Can you enumerate all states?
- β Does every transition exist?
- β Are all inputs handled?
- β Are there contradictions?
- β Is logic coherent?
PHASE 4: Verify (10-20 min)
Goal: Find verification gaps BEFORE coding
Verification Checklist:
- β Binary Completeness β All 0,1 states mapped?
- β Transition Coverage β Every state has valid exits?
- β Input Handling β All input types covered?
- β Output Correctness β Does output follow from input+state?
- β Gap Identification β All unknowns marked?
- β Assumption Logging β All decisions documented?
If ANY answer is NO:
- β STOP β Do not proceed to coding
- β Return to thinking phase
- β Complete the gap
- β Re-verify
PHASE 5: Plan (5-10 min)
Goal: Know exactly what code to write
What to do:
- List files to create/modify
- Define functions/classes needed
- Identify integration points
- Plan testing approach
Verify:
- β Can you list every code change?
- β Do you know what each change does?
- β Have you planned error handling?
PHASE 6: Execute (10-30 min)
Goal: Write the code (should be trivial)
What to do:
- Create/modify files per plan
- Implement verified logic
- Add error handling
- Add logging/tracing
Verify During Coding:
- β Does code match thinking?
- β Are all branches implemented?
- β Is error handling complete?
- β Are comments clear?
PHASE 7: Test (10-20 min)
Goal: Verify code matches logic
What to test:
- Happy path (normal inputs)
- Edge cases (boundary values)
- Error paths (invalid inputs)
- Integration (all components together)
Verify:
- β Did happy path work?
- β Did all edge cases work?
- β Did error paths work?
- β Did integration work?
PHASE 8: Document (5-10 min)
Goal: Record what was built and why
What to do:
- Write/update README
- Document design decisions
- Log assumptions for future
- Note any known limitations
- Record verification results
Total Time
- Thinking-heavy tasks: 1-2 hours (long Phase 3)
- Implementation-heavy tasks: 2-4 hours (long Phase 6)
- Simple tasks: 30 minutes (all phases)
The longer you think, the faster coding goes.
What This Prevents
- β Half-thinking before coding
- β Unverified assumptions
- β Skipped error handling
- β Missing edge cases
- β Code that doesnβt match requirements
Success Criteria
β
All 8 phases completed
β
All verification checkpoints passed
β
Code works first try
β
No debugging needed
β
All requirements met
β
Documentation complete