{
  "enabled": true,
  "version": "2.0.0",
  "pipeline": "dist/hooks/post-edit-pipeline.js",
  "triggerOn": ["Edit", "Write", "MultiEdit"],
  "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".json", ".md", ".sh", ".bash", ".py", ".rs"],
  "blocking": false,
  "exitCodes": {
    "0": "SUCCESS",
    "1": "ERROR",
    "2": "SYNTAX_ERROR",
    "9": "BASH_VALIDATOR_ERROR",
    "10": "BASH_VALIDATOR_WARNING",
    "11": "CREDENTIAL_DETECTED"
  },
  "redis": {
    "enabled": true,
    "publishChannel": "swarm:hooks:post-edit",
    "memoryKeyPattern": "swarm/{agentId}/hook-results"
  },
  "logging": {
    "enabled": true,
    "logFile": ".artifacts/logs/post-edit-pipeline.log",
    "includeTimestamp": true,
    "verbose": false
  },
  "validation": {
    "typescript": {
      "enabled": true,
      "noEmit": true,
      "skipLibCheck": true
    },
    "bash": {
      "enabled": true,
      "validators": ["pipe-safety", "dependency-checker", "line-endings"],
      "timeout": 5000
    },
    "credentials": {
      "enabled": true,
      "validator": ".claude/hooks/validators/credential-scanner.sh",
      "blocking": true,
      "timeout": 10000
    }
  },
  "feedback": {
    "provideSuggestions": true,
    "autoFixable": ["LINT_ISSUES"],
    "nonBlocking": ["TYPE_WARNING", "LINT_ISSUES", "BASH_VALIDATOR_WARNING"],
    "blocking": ["SYNTAX_ERROR", "BASH_VALIDATOR_ERROR", "CREDENTIAL_DETECTED"]
  }
}
