Moves the doc-hygiene plugin from the standalone cc-plugins repo into cc-os as plugins/os-doc-hygiene/, following the same pattern as os-vault and os-orchestration. Also commits the previously-unstaged ADR-019 (global os-orchestration plugin supersedes per-project orchestration text), which documents the prior migration but never made it into a commit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| specs/doc-clean | ||
| .openspec.yaml | ||
| README.md | ||
| design.md | ||
| proposal.md | ||
| tasks.md | ||
README.md
add-clean
Build step #4: the hygiene-clean skill, patch_applier.py (already built — 263
tests pass), and /hygiene clean/sweep routing. Loads the report written by
check, gates confirm-tier entries (delete-range, all generative) with a
batch-confirm prompt, applies deterministic entries via the per-file transaction
applier (content-hash guard, descending-anchor application, incompatible-ops
detection, precise git staging), delegates generative distillation to a Sonnet
subagent via workflows/distill.md, and produces exactly one git commit
(git-context commit-apply). sweep = check-then-clean at command level, no
double-commit. Resolves the deferred insert-frontmatter guard hole from add-check.