{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "startup|resume|clear",
        "hooks": [
          {
            "type": "command",
            "command": "cd .claude && bash hooks/cfn-pre-execution/session-start-context.sh",
            "description": "Load project context from CLAUDE.md at session start"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "cd \"$CLAUDE_PROJECT_DIR\" && node src/hooks/enhanced-hooks-cli.js post-edit \"$FILE_PATH\" --memory-key \"swarm/$AGENT_ID/$STEP\" --minimum-coverage 80 --structured",
            "description": "Enhanced TDD post-edit hook with validation, testing, and coverage analysis"
          }
        ]
      }
    ]
  },
  "memory": {
    "enabled": true,
    "persistence": "local",
    "namespace": "claude-flow-novice"
  }
}