archive ยท diff
git:20260404.90bdf6c to git:20260410.f5a5165
10 added, 8 removed. Audit A to A.
---
name: archive
description: Archive the active Maestro session while preserving the shared state layout
---
# Maestro Archive
- Read `${CLAUDE_PLUGIN_ROOT}/references/architecture.md` and `${CLAUDE_PLUGIN_ROOT}/templates/session-state.md`.
+ Call `get_skill_content` with resources: ["architecture"].
+
## Workflow
- 1. Resolve `docs/maestro` from `MAESTRO_STATE_DIR`.
- 2. Verify that an active session exists.
- 3. Move the active session file into `docs/maestro/state/archive/`.
- 4. Move the associated design and implementation plan files into `docs/maestro/plans/archive/`.
- 5. Verify that no active-session file remains and report the archived paths.
+ 1. Check for an active session; if none exists, inform the user there is nothing to archive
+ 2. Present a brief summary of what will be archived (session ID, task, phase progress)
+ 3. Ask the user to confirm archival (the session may have incomplete phases)
+ 4. Move the active session file into the state archive directory
+ 5. Move the associated design and implementation plan files into the plans archive directory
+ 6. Verify that no active-session file remains and report the archived paths
## Constraints
- - Do not delete plan or session history.
- - Preserve the existing archive directory structure.
+ - Do not delete plan or session history
+ - Preserve the existing archive directory structure