{
  "permissions": {
    "allow": [
      "Bash(gh issue create:*)",
      "Bash(npm run build:*)",
      "Bash(gh pr checks:*)",
      "Bash(gh pr diff:*)",
      "Bash(gh pr view:*)",
      "Bash(git pull:*)",
      "Bash(gh pr list:*)",
      "Bash(gh issue list:*)",
      "Bash(gh issue view:*)",
      "Bash(gh issue close:*)",
      "Bash(npm run quality:*)",
      "Bash(npx eslint:*)",
      "Bash(gh label list:*)",
      "Bash(npx ts-node:*)",
      "Bash(node /tmp/record-correction.mjs:*)",
      "Bash(wc:*)",
      "Bash(sort:*)",
      "Bash(git add:*)",
      "Bash(git commit -m \"$\\(cat <<''EOF''\nfeat: implement CI/CD build & pipeline awareness service \\(Issue #16\\)\n\nAdd CIPipelineService with GitHub Actions integration:\n- Reads workflow status via gh CLI\n- Parses test failure logs to identify failing tests\n- Tracks build history and maps to changed files\n- Pre-validates changes against past CI failures\n- Records failure patterns for learning\n\nAdd CIPipelineHandler with 4 MCP tools:\n- ci-status: Get current build status \\(success rate, failing workflows\\)\n- ci-failures: Show failing tests with error messages and stack traces\n- ci-history: Build history for specific files\n- ci-validate: Pre-validate changes against CI failure history\n\nFeatures:\n- GitHub Actions integration via gh CLI\n- Test failure log parsing \\(Jest format\\)\n- Build history tracking with local storage\n- Failure pattern detection and learning\n- Risk assessment for file changes\n\nFiles created:\n- src/core/mcp/types/ci-pipeline.ts \\(types\\)\n- src/core/mcp/services/ci-pipeline-service.ts \\(service\\)\n- src/core/mcp/handlers/analysis/ci-pipeline-handler.ts \\(handler\\)\n\n🤖 Generated with [Claude Code]\\(https://claude.ai/code\\)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n\\)\")",
      "Bash(git push:*)",
      "Bash(node /tmp/test-security-scan-src.mjs:*)",
      "Bash(node /tmp/test-code-quality.mjs:*)",
      "Bash(node /tmp/test-architecture.mjs:*)",
      "Bash(node /tmp/test-performance.mjs:*)",
      "Bash(node /tmp/test-coverage-analyze.mjs:*)",
      "Bash(node /tmp/test-impact.mjs:*)",
      "Bash(npm test:*)",
      "Bash(npm run test:coverage:*)",
      "Bash(node /tmp/list-mcp-tools.mjs:*)"
    ]
  }
}
