Project Archive
For completing a project (approve/archive), use Project_Complete first.
When to Use
When a completed project needs to be archived or an archived project needs to be restored.
Context Boundary
Read only the Phase document and sidebar configuration.
Prerequisites
- Project must have already been completed via Project_Complete (Phase:
Complete_Completed).
Procedure — Archive
- Update
{Project}_Phase.md: setPhase: Complete_Started - Build, commit, push
- Set
status: archivedon all.mdfiles in the project - Move project directory to
{Dept}/Archived/usinggit mv - Update sidebar paths from
projects/toarchived/in.internal/astro.config.mjs - Move the sidebar group from Projects to Archived section
- Update or create
{Dept}/Archived/index.md - Clear Learnings file
- Update sidebar by spawning the Page Manager bot via
spawnAgentwith{ botGroup: 'forge', botHandle: 'page-manager' } - Build, commit, push
- Present the result to the user for review
- Iterate until the user approves
- Update
{Project}_Phase.md: setPhase: Complete_Completed - Build, commit, push
Procedure — Unarchive
To restore an archived project back to approved:
-
Move the directory back:
-
Set status to
approvedon every.mdfile in the project: -
Update sidebar — reverse the changes from the archive:
- Replace
dept_lower/archived/project_lower/withdept_lower/projects/project_lower/inastro.config.mjs - Move the project group from the
Archivedsidebar section back toProjects - If the
Archivedsection is now empty, remove it
- Replace
-
Remove from
DEPT/Archived/index.md— delete the project’s line. If the index is now empty (no projects left), delete the file. -
Commit and push:
Relationship to Project_Complete
Project_Complete is the lifecycle phase that closes a project. It handles both approve and archive outcomes. Project_Archive is a utility skill for restoring an archived project. Use Project_Complete to close a project; use Project_Archive to unarchive one.
Rules
- Always use
git mv— notmv— to preserve history - Every
Archived/directory must have anindex.mdlisting its projects