openspec-archive
Archive a completed change with `/opsx:archive`, merging delta specs into main specs and preserving the change for history. Use when the user says "archive the change", "finish up", "/opsx:archive", or "mark this change as done".
Archive a completed change with `/opsx:archive`, merging delta specs into main specs and preserving the change for history. Use when the user says "archive the change", "finish up", "/opsx:archive", or "mark this change as done".
Use /opsx:archive to finalize a completed change. Archives by merging delta specs into the main openspec/specs/ directory and moving the change folder to openspec/changes/archive/.
Run archive
/opsx:archive — archive the current/inferred change./opsx:archive <change-name> — archive a specific change.What happens
openspec/specs/ (ADDED / MODIFIED / REMOVED sections).openspec/changes/archive/YYYY-MM-DD-<name>/.All artifacts preserved
| Section | What happens |
|---------|--------------|
| ## ADDED Requirements | Appended to main spec |
| ## MODIFIED Requirements | Replaces existing requirement in main spec |
| ## REMOVED Requirements | Deleted from main spec |
openspec/specs/.openspec/changes/archive/YYYY-MM-DD-<name>/.确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。