# WordPress Core Framework (Keep git focused on custom business theme/scripts)
/wp-admin/
/wp-includes/
/wp-*.php
/xmlrpc.php
!wp-config-sample.php

# WordPress Runtime Assets (except custom theme)
/wp-content/uploads/
/wp-content/languages/
/wp-content/plugins/
/wp-content/mu-plugins/
/wp-content/object-cache.php
/wp-content/index.php
/wp-content/themes/index.php

# Credentials, Keys & Secrets (12-Factor Compliance)
wp-config.php
.env
.env.*
*.env
!.env.example
*.pem
*.key
/config/*
!/config/app_config.json
!/config/cr_auth.json.sample
!/config/gbp_profile_target.sample.json
config/cr_auth.json

# Database & Logs
*.log
*.sql
/tmp/
__pycache__/
*.pyc
*.swp

# Backup files
*.bak
*.bak.*
*.old
*.save
*~
backup_optimize_*

# Archives & Temporary Artifacts
*.tar.gz
*.tar
*.zip
deploy_*
/*.pdf

# Node.js & Frontend Build Artifacts
node_modules/
*/node_modules/
.next/
*/.next/
_backup*
node_modules

# MCP Secrets, Scratch Scripts & Subproject Local Secrets
mcp-server/mcp_key.txt
mcp-server/*.hex
mcp-server/.mcp*
/tools/
/scratch/
/tmp_scripts/
portal-app/.env
portal-app/.env.*
!portal-app/.env.example
config/gsc_credentials.json
config/gbp_oauth_client.json
config/gbp_token.json
config/gbp_profile_target.json
*gbp_oauth*.json
*gbp_token*.json
*credentials*.json
*.key
backups/
