원클릭으로
cleanup
// Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files.
// Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files.
Execute via @babysitter. Use this skill when asked to babysit a task, do anything that is structured process-driven (even a loop) or whenever it is called explicitly. (babysit, babysitter, with a process, orchestrate, orchestrate a run, workflow, loop until, etc.)
Pre-deploy gate that scans built JS chunks for forbidden substring markers (saga-era / obsolete code paths) listed in a project-local forbidden-markers.txt
Plan a babysitter run. use this command to plan a complex workflow, without actually running it.
Orchestrate a babysitter run. use this command to start babysitting a complex workflow in a non-interactive mode, without any user interaction or breakpoints in the run.
Launch the babysitter observer dashboard. Installs and runs the real-time observer UI that watches babysitter runs, displaying task progress, journal events, and orchestration state in your browser.
help and documentation for babysitter command usage, processes, skills, agents, and methodologies. use this command to understand how to use babysitter effectively.
| name | cleanup |
| description | Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files. |
Invoke the babysitter:babysit skill (using the Skill tool) and follow its instructions (SKILL.md).
Resolve the active process library with:
babysitter process-library:active --json
Read binding.dir from that JSON and create/run the cleanup process from cradle/cleanup-runs.js#process relative to that active library root. Do not use plugin-cache-relative cradle paths.
Implementation notes (for the process):
--dry-run flag (if present, set dryRun: true in inputs) and --keep-days N (default: 7)CRITICAL: The cleanup MUST follow this exact phase order. Do NOT delete any run before Phase 2 completes.
Phase 1 — Scan:
Phase 2 — Aggregate insights (BEFORE any deletion):
Phase 3 — Confirm removal:
Phase 4 — Remove: