Phase 8: Archive working documents
Archives temporary working files to preserve development history after feature completion. Use this after Phase 7 to clean up the ai_working directory while keeping all documentation for future reference.
/plugin marketplace add kenotron-ms/amplifier-setup/plugin install dev-kit@amplifier-setupnew-feature/Archive temporary working files to preserve feature development history.
ai_working/<feature>-<date>/progress.mdUpdate TodoWrite:
- [ ] User confirmed changes committed (recommended)
- [ ] Working directory archived
- [ ] Progress updated
Recommended: Commit before archiving to preserve clean state.
Present to user:
Feature development complete! Ready to archive working documents.
Recommended: Commit all changes before archiving.
Have you committed?
1. Yes, committed - proceed with archiving
2. Let me commit now (use /git:commit)
3. Skip commit, just archive
4. Skip archiving entirely
If option 2, suggest /git:commit, then return here.
Archive the working directory to preserve development history:
# Create archive directory if doesn't exist
mkdir -p ai_archive
# Archive the working directory
WORK_DIR="ai_working/<feature>-<date>"
ARCHIVE_DIR="ai_archive/<feature>-<date>"
# Move to archive (preserves all files)
mv "$WORK_DIR" "$ARCHIVE_DIR"
echo "ā Archived: $ARCHIVE_DIR"
What's preserved:
Benefits of archiving:
Update ai_archive/<feature>-<date>/progress.md:
[ā]100%### Session X (YYYY-MM-DD) - Feature Complete
- Archived working documents to ai_archive/
- Feature fully implemented, tested, and documented
- **Final Status**: 100% Complete
ai_archive/<feature>-<date>/š Feature development complete!
Working documents archived to: ai_archive/<feature>-<date>/
Next steps (if not done):
- Final commit: /git:commit
- Create PR: /git:submit-pr
Feature is fully implemented, tested, and documented.