revert fix(agentic): harden TODO workspace write Co-Authored-By: Virgil <virgil@lethean.io>
745 B
745 B
| name | description | tools | model | color |
|---|---|---|---|---|
| agent-task-clean-workspaces | Removes completed/failed/blocked agent workspaces. Use when workspaces are piling up, the user asks to "clean workspaces", or before starting a fresh sweep. | Bash | haiku | green |
Clean stale agent workspaces using the core-agent CLI.
Steps
- List current workspaces:
core-agent workspace/list
- Clean based on context:
# Remove all non-running (default)
core-agent workspace/clean all
# Or specific status
core-agent workspace/clean completed
core-agent workspace/clean failed
core-agent workspace/clean blocked
- Report what was removed.
Rules
- NEVER remove workspaces with status "running"
- Report the count and what was removed