# State Update Rule

After EVERY phase completes, you MUST update state.yaml using the Write tool (full file overwrite):

1. Read: `~/.claude/config-audit/sessions/{session-id}/state.yaml`
2. Update these fields:
   - `current_phase`: the phase that just completed
   - `completed_phases`: add the phase to array
   - `next_phase`: the next phase in workflow
   - `updated_at`: current timestamp
3. Write the full file back

**DO NOT output the phase summary until state.yaml is updated.**

This ensures the workflow can resume correctly if interrupted.
