554 B
554 B
State Update Rule
After EVERY phase completes, you MUST update state.yaml using the Write tool (full file overwrite):
- Read:
~/.claude/config-audit/sessions/{session-id}/state.yaml - Update these fields:
current_phase: the phase that just completedcompleted_phases: add the phase to arraynext_phase: the next phase in workflowupdated_at: current timestamp
- 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.