← ClaudeAtlas

retirelisted

Moves a completed feature directory to .mumei/archive/<YYYY-MM>/<feature>/ once the feature reaches phase=done. Auto-detects the active vehicle by checking .mumei/specs/<feature>/ first, then .mumei/plans/<feature>/. Triggers when the user explicitly retires a feature or when /mumei:proceed or /mumei:examine finishes with verdict=PASS and the user confirms.
hir4ta/mumei · ★ 1 · Code & Development · score 73
Install: claude install-skill hir4ta/mumei
<!-- Role: Move a completed feature into archive/{YYYY-MM}/ Input: feature slug (spec vehicle compound key like REQ-9-foo, or plan vehicle bare slug like fix-login) Output: mv .mumei/{specs,plans}/<feature>/ -> .mumei/archive/<YYYY-MM>/<feature>/ Principle: Side-effect heavy, so disable-model-invocation: true (user-invoked only). Vehicle is auto-detected by directory existence. --> # Retire Move a completed feature out of the active workspace into the archive directory. This skill is **user-invocable only** (`disable-model-invocation: true`) — Claude will not auto-trigger retirement even if the workflow seems "done". ## When to use - The user explicitly invokes `/mumei:retire <feature>`. - A feature has `phase: done` and the user is ready to clean up the active workspace. ## Pre-flight checks Refuse with a clear error if any of these fail: 1. `<feature>` slug must exist as a directory under either `.mumei/specs/` (spec vehicle) or `.mumei/plans/` (plan vehicle). Try specs/ first, then plans/. Refuse if neither has the slug. 2. `state.json` must have `phase: "done"` (or `phase: "review"` with the latest review verdict `PASS`, with explicit confirmation). 3. Working tree must be clean for files within the feature's `_Files:_` scope (spec vehicle only — plan vehicle has no `_Files:_` meta and skips this check). 4. **`.mumei/current` is exclusively owned by this skill.** No other skill or hook may clear it. If `<feature>` is the active feature in `.mumei/current