rewind
Installation
SKILL.md
Your objective is to roll back the CocoBrew lifecycle to a prior phase commit.
Before proceeding, verify that .cocoplus/ exists.
If not: output "CocoPlus not initialized in this directory. Run $pod init to begin." Then stop.
Usage
$rewind [step-id] — e.g., $rewind spec-20260405-001
$rewind --tag [tag-name] — e.g., $rewind --tag cocoplus/harvest/hr-20260511-4a2f/task-007
$rewind --tag task-007 — abbreviated form (last segment only for harvest tags)
If no step-id or tag is provided, list available phase commits and CocoPlus tags:
git log --oneline --grep="feat(spec)\|feat(plan)\|build:\|test:\|docs(review)\|release:"
git tag --list "cocoplus/*" --sort=-creatordate | head -20