Archive Merged Changes
Organizes and retires completed change folders by verifying git merges and moving them to a dated archive.
The Archive skill is a specialized component of the SpecWright engineering workflow designed to handle the final stage of a code change's lifecycle. Once a maintainer has merged a branch, this skill validates the merge status directly through git—ensuring the branch tip is an ancestor of the default branch—and then moves the associated change folder to a historical archive directory with the correct shipping date. It provides a host-agnostic way to maintain a clean working directory while preserving an immutable record of engineering decisions without manual file manipulation or manual status tracking.
Key Features
01Host-agnostic merge verification using git ancestor checks
02Standardized date-prefixed folder naming based on shipping metadata
03Batch processing capabilities for archiving multiple changes in one pass
043 GitHub stars
05Automated organization of 'shipped' change folders into a dedicated archive
06Atomic git commits for each individual archival move
Use Cases
01Automating the transition of local change folders from active development to permanent storage
02Cleaning up a project workspace after a successful feature release or hotfix merge
03Maintaining a historical audit trail of engineering changes and design decisions