Archive completed tasks to tasks/archive/
Moves completed task directories to archive and updates INDEX.md.
npx claudepluginhub cyotee/cyotee-claude-plugin-backlogMove completed task directories to tasks/archive/ and update INDEX.md.
Read tasks/INDEX.md and identify tasks with "Complete" status.
If no completed tasks:
No completed tasks to archive.
Tasks are marked Complete after:
1. Implementation finished (TASK_COMPLETE promise)
2. Code review passed (REVIEW_COMPLETE promise)
3. /backlog:complete merges to main
Use /backlog to see task statuses.
For each completed task:
a. Move task directory to archive:
mv tasks/${PREFIX}-${NNN}-${name}/ tasks/archive/
b. Update INDEX.md:
Commit changes:
git add tasks/
git commit -m "chore: archive completed tasks"
Show what was archived:
═══════════════════════════════════════════════════════════════════
TASKS ARCHIVED
═══════════════════════════════════════════════════════════════════
Archived {N} completed tasks:
| Task | Title | Completed |
|------|-------|-----------|
| {PREFIX}-001 | V3 Mainnet Fork Tests | 2026-01-05 |
| {PREFIX}-002 | Slipstream Utils | 2026-01-07 |
Moved to: tasks/archive/
Remaining active tasks: {PREFIX}-003, {PREFIX}-004, {PREFIX}-005
Committed: chore: archive completed tasks
═══════════════════════════════════════════════════════════════════
After archiving:
tasks/
├── INDEX.md # Active tasks only
├── TEMPLATE.md
├── {PREFIX}-003-active-task/ # Still active
├── {PREFIX}-004-another-task/ # Still active
└── archive/
├── {PREFIX}-001-completed/ # Archived
└── {PREFIX}-002-completed/ # Archived
Add to bottom of INDEX.md:
## Archived Tasks
| ID | Title | Completed | Location |
|----|-------|-----------|----------|
| {PREFIX}-001 | V3 Mainnet Fork Tests | 2026-01-05 | archive/{PREFIX}-001-v3-mainnet-fork-tests/ |
| {PREFIX}-002 | Slipstream Utils | 2026-01-07 | archive/{PREFIX}-002-slipstream-utils/ |
To archive only specific tasks (future enhancement):
/backlog:prune {PREFIX}-001 {PREFIX}-002
Currently archives ALL completed tasks.
/backlog:read with full path to read archived tasks/backlog - See all task statuses/backlog:complete - Mark task as complete/design:from-review - Create new tasks from review findings