with one click
openmole-archive
mole:archive — 检查 change 完成度并归档至 openmole/changes/archive/
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
mole:archive — 检查 change 完成度并归档至 openmole/changes/archive/
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
mole:apply — 执行当前 change 下一个未完成的 B-Txx
mole:archive — 检查 change 完成度并归档至 openmole/changes/archive/
mole:explore — 创建/继续 change,扫描源码产出 badsmells.md
mole:plan — 从未清除/部分残余坏味道生成 tasks.md
mole:verify — 当前 change 内 badsmells 与 tasks 差分(A~F)
mole:apply — 执行当前 change 下一个未完成的 B-Txx
| name | openmole-archive |
| description | mole:archive — 检查 change 完成度并归档至 openmole/changes/archive/ |
用户运行 mole:archive,当前 change 重构周期结束或需封存。
openmole/config.yaml → current_change{change_dir} = openmole/changes/{change_name}/current_change → 停止,无活跃 change 可归档{change_dir}/badsmells.md §2.0 — 不得有 未清除 / 部分残余(除非用户确认豁免){change_dir}/tasks.md §3 — 不得有 [ ] 未完成任务若有未完成项 → 列出 BS-ID / B-Txx → 必须 询问用户是否仍归档。
mv openmole/changes/<name> openmole/changes/archive/$(date +%Y-%m-%d)-<name>/
.openmole-change.yaml → status: archivedopenmole/config.yaml 清空 current_change清晰性、一致性、可读性、复用性、可扩展性、健壮性、安全性、简洁性。
每次 mole:apply 仅处理一个未完成任务。
七字段 + §2.0 状态:未清除 / 已消除 / 部分残余。
升版时 提交版本 = git rev-parse HEAD,未提交填 —。
归档完成后,建议执行 mole:explore 开始新的重构周期。