Documentation

pai-hooks

70 hooks across 22 groups.

March 2026 70 hooks 22 groups
22
Groups
70
Hooks
Groups

All Hook Groups

📁

AgentLifecycle

3 hooks

Agent spawn, stop, and permission management

📁

AlgorithmTracking

2 hooks

PAI Algorithm phase detection

📁

ArchitectureEscalation

2 hooks

Failure escalation and model delegation

📁

CanaryHook

1 hooks

Debug canary for verifying hook propagation

📁

CodeQualityPipeline

3 hooks

3 hooks

📁

CodingStandards

6 hooks

TypeScript quality enforcement hooks

📁

CronStatusLine

5 hooks

Cron job scheduling and status line management

📁

DuplicationDetection

2 hooks

Detect and prevent code duplication using SWC-based function analysis

📁

ExecutionEvidence

1 hooks

Execution evidence verification from tool results

📁

GitSafety

7 hooks

Git safety, branch protection, and worktree verification

📁

IdentityBranding

3 hooks

Maple identity branding and usage analytics

📁

KoordDaemon

6 hooks

Koord agent-to-agent daemon lifecycle hooks

📁

LastResponseCache

1 hooks

Last response caching for reference

📁

LearningFeedback

3 hooks

Learning signal capture and relationship memory

📁

ObligationStateMachines

9 hooks

Documentation, test, citation, and hook-doc obligations

📁

QuestionAnswered

1 hooks

User question response tracking

📁

SecurityValidator

2 hooks

Protected file write prevention

📁

SessionFraming

4 hooks

Session initialization, context loading, and branch awareness

📁

SkillGuard

1 hooks

Skill invocation validation

📁

StopOrchestrator

1 hooks

Stop event coordination

📁

VoiceGate

1 hooks

Voice notification routing control

📁

WorkLifecycle

6 hooks

Session work tracking, summaries, and content generation