Archive Worklogs
Remain in this skill for follow-ups. Do not activate another Buddy skill or act outside this skill; only an explicit user request or the calling develop orchestrator can select the next skill. Move whole worklogs; delete none of their research, spec, plan, or trash contents.
- Run from the repository root with
python3 <skill-dir>/scripts/archive_worklogs.py --older-than <days>. - Review the dry-run with the user unless archival was already explicit.
- Add
--applyto move the listed worklogs into.ai/worklog/archive/<yyyy>/. - For an exact inclusive cutoff, replace
--older-thanwith--through YYYY-MM-DD. - Refuse collisions; skip and report malformed names or symlinks, never following them.
Age uses only the yyyyMMdd prefix. --older-than 7 means strictly before the local date seven days ago. Dry-run is always default.