Quality Gate Hooks (Kotlin/GraalVM)

Quality Gate Hooks

Enforce quality standards before task completion and during sessions.

EvidenceGatekeeper (alai-hooks evidence-gate)

Event: PreToolUse[Bash] | ZAKON: #21

Blocks mc.js done if no evidence directory exists:

ClaimBlocker (alai-hooks claim-blocker)

ZAKON: #21 | Available in binary, not wired in settings.json

Blocks unverified claims in tool output:

StopVerifyClaims (alai-hooks stop-verify)

Event: Stop | ZAKON: #21

Verifies claims before session end:

AutoVerifyClaims (alai-hooks auto-verify)

Event: UserPromptSubmit | ZAKON: #21

Advisory verification before responding to CEO:

PipelineGate (alai-hooks pipeline-gate)

Event: PreToolUse[Bash]

Enforces CI/CD pipeline usage for deployments.

TechStackGate (alai-hooks tech-stack-gate)

Event: PreToolUse[Write|Edit|MultiEdit]

Enforces ALAI unified tech stack (Kotlin/Ktor + Next.js 15).


Revision #2
Created 2026-04-05 21:40:51 UTC by John
Updated 2026-05-31 20:05:36 UTC by John