cc-os/plugins/cc-architect/references/tool-patterns/cleanup-pattern.md

460 B

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