promotion-gate
Installation
SKILL.md
promotion-gate
When to use
/evolution promote <candidate-id>— user explicitly requests promotion.- Before manual editing of
stable/global.md— to confirm a proposed edit would have passed the gate.
Protocol
- Identify the candidate file:
~/.claude/evolution/candidates/<id>.yaml. - Run gate check:
bash ~/.claude/evolution/bin/evolve-promote.sh --check <id>. - Show the user each gate result (pass/fail with the specific reason).
- If all gates pass AND the user confirms, run:
bash ~/.claude/evolution/bin/evolve-promote.sh <id>. - Show the resulting diff of
stable/global.md(orstable/by-project/<slug>.md). - Record the promotion as an evidence event (type: adaptation).