Summary
Implement high-priority guardrail hooks missing from guardrail.ts (currently ~30% CC hook coverage).
Hooks to Implement
High Priority
Medium Priority
Low Priority
Implementation Approach
All hooks go into packages/guardrails/profile/plugins/guardrail.ts as additional checks in existing hook points (tool.execute.before, tool.execute.after).
Ref
Master Plan #51, Gap analysis report
Summary
Implement high-priority guardrail hooks missing from guardrail.ts (currently ~30% CC hook coverage).
Hooks to Implement
High Priority
block-merge-without-ci): Blockgh pr mergeunlessgh pr checksshows all green. Currently only review-gate exists.enforce-architecture-layers): Warn/block cross-layer imports (e.g., UI importing directly from DB layer)enforce-domain-naming): Advisory for naming violations in domain entitiesMedium Priority
post-deploy-verify): Aftergit push, remind to verify deploymentenforce-memory-update-on-commit): Advisory to update AGENTS.md/docs after significant commitsLow Priority
post-merge-close-issues): Auto-suggest closing related issues after mergeImplementation Approach
All hooks go into
packages/guardrails/profile/plugins/guardrail.tsas additional checks in existing hook points (tool.execute.before,tool.execute.after).Ref
Master Plan #51, Gap analysis report