{
  "env": {
    "FLOWX_AUTO_COMMIT": "false",
    "FLOWX_AUTO_PUSH": "false",
    "FLOWX_HOOKS_ENABLED": "true",
    "FLOWX_TELEMETRY_ENABLED": "true",
    "FLOWX_REMOTE_EXECUTION": "true",
    "FLOWX_GITHUB_INTEGRATION": "true"
  },
  "permissions": {
    "allow": [
      "Bash(./cli.js *)",
      "Bash(node cli.js *)",
      "Bash(npm run lint)",
      "Bash(npm run test:*)",
      "Bash(npm test *)",
      "Bash(git status)",
      "Bash(git diff *)",
      "Bash(git log *)",
      "Bash(git add *)",
      "Bash(git commit *)",
      "Bash(git push)",
      "Bash(git config *)",
      "Bash(gh *)",
      "Bash(node *)",
      "Bash(which *)",
      "Bash(pwd)",
      "Bash(ls *)"
    ],
    "deny": [
      "Bash(rm -rf /)",
      "Bash(curl * | bash)",
      "Bash(wget * | sh)",
      "Bash(eval *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node cli.js hooks pre-edit --file $CLAUDE_EDITED_FILE --auto-assign-agents true --load-context true"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node cli.js hooks pre-command --command $CLAUDE_COMMAND --validate-safety true --prepare-resources true"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node cli.js hooks post-edit --file $CLAUDE_EDITED_FILE --format true --update-memory true --train-neural true"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node cli.js hooks post-command --command $CLAUDE_COMMAND --track-metrics true --store-results true"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node cli.js hooks session-end --generate-summary true --persist-state true --export-metrics true"
          }
        ]
      }
    ]
  },
  "mcpServers": {
    "flowx": {
      "command": "node",
      "args": [
        "cli.js",
        "mcp",
        "serve",
        "--transport",
        "stdio",
        "--log-level",
        "info"
      ],
      "env": {
        "NODE_ENV": "production",
        "FLOWX_ENV": "mcp",
        "FLOWX_DATA_PATH": "./.flowx",
        "FLOWX_HOOKS_ENABLED": "true",
        "FLOWX_TELEMETRY_ENABLED": "true",
        "FLOWX_REMOTE_READY": "true",
        "FLOWX_GITHUB_INTEGRATION": "true"
      }
    }
  },
  "includeCoAuthoredBy": true,
  "features": {
    "autoTopologySelection": true,
    "parallelExecution": true,
    "neuralTraining": true,
    "bottleneckAnalysis": true,
    "smartAutoSpawning": true,
    "selfHealingWorkflows": true,
    "crossSessionMemory": true,
    "githubIntegration": true
  },
  "performance": {
    "maxAgents": 10,
    "defaultTopology": "hierarchical",
    "executionStrategy": "parallel",
    "tokenOptimization": true,
    "cacheEnabled": true,
    "telemetryLevel": "detailed"
  }
}