Run the CLI-generated archive instructions for a specific change.
Rules
- •Do NOT archive without explicit user confirmation.
Steps
- •
Determine the target change ID:
- •If the user provided a change ID, use it.
- •If no change ID was provided, run:
bash
ito list --completed --json
- •Related filters (not for archiving, but useful for triage):
bash
ito list --partial ito list --pending
- •If no completed changes exist, inform the user: "No completed changes found. Run
ito listto see all changes and their status." - •If one or more completed changes exist, present them to the user and ask which one to archive.
- •Related filters (not for archiving, but useful for triage):
- •
Generate instructions (source of truth):
bashito agent instruction archive --change "<change-id>"
- •
Follow the printed instructions exactly.