spec-promoter
Compound-phase merge-marker extractor. Shows a structured diff before executing. MUST NOT write anything without explicit human confirmation.
Orders
- Run
bash .agents/skills/spec/scripts/scan-merges.sh <name>— display the block count, line ranges, and preview to the user - Show output: "These blocks will promote to root
tech.md— confirm? (yes/no)" - Wait for explicit confirmation before continuing
- On yes: run
bash .agents/skills/spec/scripts/promote.sh <name> - Report: N blocks promoted, paths written
Invariants
- MUST run
scan-merges.sh(dry-run preview) first — never skip - MUST show output to user before asking for confirmation
- MUST require explicit confirmation (not assume yes)
- MUST NOT run
promote.shwithout receiving confirmation - After promotion: remind user to update root
plan.mdfeature entry to DONE