{
  "permissions": {
    "allow": [
      "Bash(npm view *)",
      "Bash(npm ls *)",
      "Bash(git -C /Users/raftaar1191/local-sites/wordpress-7-0/app/public/wp-content/plugins/acrossai-mcp-manager status)",
      "Bash(git -C /Users/raftaar1191/local-sites/wordpress-7-0/app/public/wp-content/plugins/acrossai-mcp-manager diff)",
      "Bash(git -C /Users/raftaar1191/local-sites/wordpress-7-0/app/public/wp-content/plugins/acrossai-mcp-manager add package.json)",
      "Bash(git -C /Users/raftaar1191/local-sites/wordpress-7-0/app/public/wp-content/plugins/acrossai-mcp-manager commit -m ' *)",
      "Bash(git *)",
      "Bash(.specify/extensions/git/scripts/bash/create-new-feature.sh *)",
      "Bash(mkdir -p specs/002-admin-ui/checklists)",
      "Bash(cp .specify/templates/spec-template.md specs/002-admin-ui/spec.md)",
      "Bash(.specify/scripts/bash/check-prerequisites.sh *)",
      "Bash(.specify/scripts/bash/setup-plan.sh *)",
      "Bash(.specify/scripts/bash/setup-tasks.sh *)",
      "Bash(grep -vE 'esc_url\\\\s*\\\\\\(\\\\s*admin_url|esc_url_raw\\\\s*\\\\\\(\\\\s*admin_url|wp_safe_redirect|\\\\$\\\\w+\\\\s*=\\\\s*add_query_arg')",
      "Bash(grep -nB1 -A1 'admin_url\\(' admin/Partials/Settings.php admin/Partials/MCPServerListTable.php)",
      "Bash(awk '{print \" \" $9}')",
      "Bash(php -l admin/Partials/ApplicationPasswords.php)",
      "Bash(php -l admin/Partials/CliAuthLogListTable.php)",
      "Bash(php -l admin/Partials/SettingsRenderer.php)",
      "Bash(php -l admin/Partials/Settings.php)",
      "Bash(php -l includes/Main.php)",
      "Bash(grep -cE '^\\\\s*\\\\$this->loader->\\(add_action|add_filter\\)' includes/Main.php)",
      "Bash(grep -nE '\\\\$this->loader->\\(add_action|add_filter\\)' includes/Main.php)",
      "Bash(node --check src/js/backend.js)",
      "Bash(grep -vE 'esc_url|esc_attr|wp_safe_redirect|\\\\$\\\\w+\\\\s*=\\\\s*add_query_arg')",
      "Bash(.specify/scripts/bash/detect-changed-files.sh --json)",
      "Bash(grep -E '\\\\.\\(php|js\\)$')",
      "Bash(grep -nB1 -A1 'permission_callback' admin/Partials/ApplicationPasswords.php)",
      "Bash(grep *)",
      "Bash(php -l includes/Database/MCPServer/Table.php)",
      "Bash(command -v gh)",
      "Bash(gh auth *)",
      "Bash(gh pr create --base feature/issue-3 --head 002-admin-ui --title 'feat\\(002\\): admin UI — Phase 2 implementation' --body ' *)",
      "Bash(GIT_BRANCH_NAME=004-mcp-clients .specify/extensions/git/scripts/bash/create-new-feature.sh *)",
      "Bash(vendor/bin/phpunit --version)",
      "Bash(vendor/bin/phpunit --list-tests)",
      "Bash(vendor/bin/phpunit tests/phpunit/MCPClients/AbstractMCPClientTest.php)",
      "Bash(php -r ' *)",
      "Bash(php -r 'require_once \"vendor/autoload.php\"; echo \"autoload ok\\\\n\"; $c = class_exists\\(\"AcrossAI_MCP_Manager\\\\\\\\Includes\\\\\\\\MCPClients\\\\\\\\ClaudeDesktopClient\"\\); echo \"exists: \" . \\($c ? \"yes\" : \"no\"\\) . \"\\\\n\";')",
      "Bash(echo \"exit: $?\")",
      "Bash(php tests/_generate_fixtures.php)",
      "Bash(vendor/bin/phpunit)",
      "Bash(php -r 'require_once \"vendor/autoload.php\"; if \\(!defined\\(\"ABSPATH\"\\)\\) define\\(\"ABSPATH\", __DIR__\\); $slugs = array_map\\(fn\\($c\\) => $c->get_client_slug\\(\\), \\\\AcrossAI_MCP_Manager\\\\Includes\\\\MCPClients\\\\AbstractMCPClient::get_all_clients\\(\\)\\); echo \"slugs: \" . implode\\(\", \", $slugs\\) . \"\\\\n\"; echo \"unique: \" . \\(count\\($slugs\\) === count\\(array_unique\\($slugs\\)\\) ? \"YES\" : \"NO\"\\) . \"\\\\n\";')",
      "Bash(php -r 'require_once \"vendor/autoload.php\"; if \\(!defined\\(\"ABSPATH\"\\)\\) define\\(\"ABSPATH\", __DIR__\\); $c = new \\\\AcrossAI_MCP_Manager\\\\Includes\\\\MCPClients\\\\ClaudeDesktopClient\\(\\); $out = $c->get_config_snippet\\(\"https://example.com/wp-json/mcp/test-server\", \"secret123\"\\); echo \"Top-level key: \" . array_key_first\\($out\\) . \"\\\\n\"; echo \"Inner key: \" . array_key_first\\($out[\"mcpServers\"]\\) . \"\\\\n\"; echo \"URL: \" . $out[\"mcpServers\"][\"test-server\"][\"env\"][\"WP_API_URL\"] . \"\\\\n\"; echo \"Token: \" . $out[\"mcpServers\"][\"test-server\"][\"env\"][\"WP_API_PASSWORD\"] . \"\\\\n\";')",
      "Bash(vendor/bin/phpcs includes/MCPClients/)",
      "Bash(vendor/bin/phpstan analyse *)",
      "Bash(vendor/bin/phpcs includes/MCPClients/AbstractMCPClient.php)",
      "Bash(vendor/bin/phpcbf includes/MCPClients/)",
      "Bash(perl -i -pe 's/^- \\\\[ \\\\] \\(T0\\\\d\\\\d\\)/- [x] $1/' specs/004-mcp-clients/tasks.md)",
      "Bash(GIT_BRANCH_NAME=005-oauth-connectors .specify/extensions/git/scripts/bash/create-new-feature.sh --json --short-name \"oauth-connectors\" \"OAuth / Claude Connectors Integration\")",
      "Bash(chmod +x bin/install-wp-tests.sh)",
      "Bash(echo \"Exit=$?\")",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/ includes/Database/OAuthToken/ includes/Database/OAuthAudit/)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/ includes/Database/OAuthToken/ includes/Database/OAuthAudit/ --report=summary)",
      "Bash(vendor/bin/phpcbf --standard=phpcs.xml.dist includes/OAuth/ includes/Database/OAuthToken/ includes/Database/OAuthAudit/)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/Database/CliAuthLog/ includes/Database/MCPServer/ --report=summary)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/MCPClients/ --report=summary)",
      "Bash(awk -F'|' '{print $2}')",
      "Bash(vendor/bin/phpunit --testsuite=mcpclients --no-coverage)",
      "Bash(vendor/bin/phpunit --list-tests --testsuite=oauth)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/Database/OAuthToken/Table.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/Database/OAuthAudit/Query.php includes/Database/OAuthToken/Query.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/AuditLog.php includes/OAuth/PKCE.php includes/OAuth/CliCommand.php includes/OAuth/BearerAuth.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/ClaudeConnectors.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/Storage.php includes/OAuth/TokenController.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/CliCommand.php)",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/OAuth/TokenController.php)",
      "Bash(awk -F: 'BEGIN{s=0} {s+=$2} END{print \"matches:\",s}')",
      "Bash(awk '{print \"matches:\",$1}')",
      "Bash(gh pr create --repo acrossai-co/acrossai-mcp-manager --base feature/issue-3 --head 005-oauth-connectors --title 'feat\\(005\\): OAuth / Claude Connectors — full RFC-conformant flow + SEC-001 atomic CAS' --body ' *)",
      "Bash(.specify/scripts/bash/create-new-feature.sh --short-name \"rest-cli-auth\" --json \"REST API CLI Authentication Controller\")",
      "Bash(awk -F'`' '{if \\(NF<2\\) print \"POSSIBLY MISSING PATH: \" $0}')",
      "Bash(vendor/bin/phpcs --standard=phpcs.xml.dist includes/REST/ public/Partials/ includes/Database/CliAuthLog/Recorder.php --report=summary)",
      "Bash(composer show *)",
      "Bash(composer require *)",
      "Read(//Users/raftaar1191/local-sites/wordpress-7-0/app/public/**)",
      "Bash(wp plugin *)",
      "Bash(mkdir -p specs/011-berlindb-migration/checklists)",
      "Bash(cp .specify/templates/spec-template.md specs/011-berlindb-migration/spec.md)"
    ]
  },
  "enabledMcpjsonServers": [
    "deepwiki",
    "mcp-local-wp"
  ]
}
