← ClaudeAtlas

clean-artifactslisted

Audit + groom `.forsvn/artifacts/` — classify every file (KEEP/STALE/ORPHAN/LEGACY/EPHEMERAL), surface references + risk. On `--apply` archives candidates behind per-category confirmation (moves to dated archive, never deletes). Not for cleaning code (use clean-code) or machine state (use clean-machine).
hungv47/meta-skills · ★ 9 · AI & Automation · score 75
Install: claude install-skill hungv47/meta-skills
# Cleanup Artifacts — Orchestrator Single-agent — orchestrator IS the runner; critic in-procedure. Audit + groom `.forsvn/artifacts/`: classify every file, surface refs + risk, archive non-KEEP (MOVE to dated archive on `--apply`). **Never deletes.** Metadata: [`routing.yaml`](routing.yaml). Methodology / when-not-to-use: [`references/playbook.md`](references/playbook.md). **Core question:** load-bearing, or cruft from weeks ago? ## Critical Gates — load first 1. **MOVE, never delete.** `mv` into `.forsvn/artifacts/.archive/[YYYY-MM-DD]/`. `--purge-archive` (v1 out of scope) is the only deletion path. 2. **HARD-NEVER refused.** Canonical (`brand/`, `research/`, `architecture/`); VCS (`.git/`, `.gitmodules`, submodules); infra (`.forsvn/index/manifest.json`); append-only (`.forsvn/experience/`); anchors (`.forsvn/artifacts/meta/{roadmap,tasks}.md`). 3. **`--dry-run` default.** No move without `--apply` + per-category confirm. 4. **Critic gate non-negotiable.** Grep 5 random STALE/ORPHAN refs across `.forsvn/artifacts/`, `brand/`, `research/`, `architecture/`. Live ref → escalate (no prompt), refs surfaced. 5. **Manifest-sync after.** Re-run `bun scripts/manifest-sync.ts` after any move. ## Before Starting + Pre-Dispatch Apply [`_shared/before-starting-check.md`](references/_shared/before-starting-check.md) + [`pre-dispatch-protocol.md`](references/_shared/pre-dispatch-protocol.md) + [`mode-resolver.md`](references/_shared/mode-resolver.md). `budget: standard`; `--fast` b