22 lines
460 B
Markdown
22 lines
460 B
Markdown
|
|
# Cleanup Pattern
|
||
|
|
|
||
|
|
Systematic removal of temporary artifacts after workflow completion.
|
||
|
|
|
||
|
|
## When to Use
|
||
|
|
- After audit workflows complete
|
||
|
|
- After creation workflows succeed
|
||
|
|
- After any workflow with scratch files
|
||
|
|
|
||
|
|
## Model Selection
|
||
|
|
Always Haiku - cleanup is mechanical.
|
||
|
|
|
||
|
|
## What to Clean
|
||
|
|
- scratch/ workspace files
|
||
|
|
- Intermediate task file sections
|
||
|
|
- Temporary validation outputs
|
||
|
|
|
||
|
|
## What to Keep
|
||
|
|
- Final reports
|
||
|
|
- Decision records
|
||
|
|
- Task file Summary section
|