Cycle Hooks and Blocking Severities
Run commands at stage boundaries and choose which findings block.
Goal: add deterministic hooks and set the blocking floor.
Prerequisites
tech/automation.md
Steps
- Add hooks
- In your assistant: under
## Cycle Hooksaddpre-<stage>,post-<stage>,pre-cycle,post-cycleoron-haltbullets. - With
/pair-assistant(optional, Claude Code): "add a pre-verify hook that runs the tests".
- In your assistant: under
- Check them
- With pair-cli:
node .claude/skills/pair-workflow-cycle/scripts/cycle-hooks.mjs load <file>.
- With pair-cli:
- Set the floor
- In your assistant:
## Blocking Severities:Critical,MajororMinor(defaultMinor), optionalmax-dispatches.
- In your assistant:
- Validate
- With pair-cli:
node .claude/skills/pair-workflow-cycle/scripts/blocking-severities.mjs read <file>.
- With pair-cli:
Verify
- Both scripts exit 0 and print the parsed values.