# Teams app package zip (built artifact — regenerate with build.ps1 / build.sh)
teams/*.zip

# .NET / C#
bin/
obj/
dataprotection-keys/
*.user
*.suo
.vs/
_ReSharper*/
*.DotSettings.user
TestResults/
*.nupkg
*.snupkg
project.lock.json
project.fragment.lock.json
artifacts/
# User secrets (dotnet user-secrets)
*/secrets.json

# .NET publish output
publish/
out/

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg-info/
*.egg
dist/
build/
.eggs/
*.whl

# Virtual environments
.venv/
venv/
env/

# Node / web build
node_modules/

# IDE
.idea/
.vscode/
*.swp
*.swo

# Testing
.coverage
htmlcov/
.pytest_cache/
.mypy_cache/

# Environment
.env
.env.local
.env.*.local

# Logs
*.log
logs/

# OS
.DS_Store
Thumbs.db

# Claude Code local settings
settings.local.json

# WorkPilot data
.workpilot/
!workpilot/

# WorkPilot local config overrides
*.local.yaml
*.local.yml

# Secrets
*.pem
*.key

# SQLite
*.db
*.db-journal
deploy.zip
deploy-linux.zip
deploy_linux.zip
publish-linux/
publish_linux/
applog/
applog.zip
/MEMORY.md
/HISTORY.md
USER.md
system-prompt-preview.md
last-prompt.md

# Cloud Gateway wwwroot — static symlink is tracked; build output is not
cloud_gateway/src/CloudGateway/wwwroot/*
!cloud_gateway/src/CloudGateway/wwwroot/static

# E2E test artifacts
tests/e2e_*_results.json
tests/e2e_*_log.txt

# Scratch / one-off verification scripts — local-only; results live in
# design docs, scripts themselves don't need version control.
scratch/
.tmp_*
tmp/*

# ─────────────────────────────────────────────────────────────────────────────
# Local scratch & temporary artifacts (2026-06-17)
# Throwaway analysis files, screenshots, review diffs and one-off probe scripts.
# These stay on disk but are kept out of git. Real doc assets
# (docs/images/**) and real tests (tests/**) are intentionally NOT ignored.
# ─────────────────────────────────────────────────────────────────────────────

# Review / diff / patch scratch
.review-*
.review_*
.tmp-*
*.patch
*.diff
*svc_diff.txt

# Worktrees, local tool dirs & browser profiles
.github/worktrees/
.superpowers/
edge-cdp-locdbg-profile/

# Root-level screenshots, captures & exported docs
/*.png
/*.pdf
display-screenshots/
/reports/

# Random downloaded / scratch JS & editor scratch
/I9Zn5WkSacHc.js
/KwetkPWEU-sS.js
/Untitled-*.json

# SPOF analysis data dumps & reports
/spof_*
*.b64

# PR / Teams / Graph scratch data dumps
/thread_*.json
/update_comment_*.json
/pr_screenshots_comment*.json
/uploaded_attachment_urls*.txt
/workpilot-openid-*
teams/????????-????-????-????-????????????.png

# Cloud Gateway versioned deploy/publish artifacts
cloud_gateway/*.zip
cloud_gateway/publish-*/

# Root one-off helper / analysis scripts
/_*.py
/tmp_*.py
/run_spof_*.py
/cdp_capture.py
/make_p1_redacted_report.py
/print_single_top.py
/summarize_single_window.py

# Local experiment / probe / verify scripts under scripts/
# (tracked scripts share prefixes like probe_/test_/teams_*_probe, so the
# untracked experiment ones are enumerated explicitly rather than globbed)
scripts/add_scope_via_ge.py
scripts/capture_llm_drift.py
scripts/e2e_graph_full.py
scripts/e2e_graph_tool.py
scripts/exp_drift_ab.py
scripts/exp_drift_replay.py
scripts/exp_mcp_drift_scope.py
scripts/exp_probe_llm.py
scripts/mcp_review_audit.py
scripts/probe_all.py
scripts/probe_chat_api.py
scripts/probe_compaction_480.py
scripts/probe_ge_app_scope.py
scripts/probe_graph_scope_coverage.py
scripts/probe_mail_teams.py
scripts/repro_404_with_debug.py
scripts/repro_mcp_drift_guard.py
scripts/scan_fabric.py
scripts/teams_attachment_reference_probe.py
scripts/teams_empty_text_attachment_probe.py
scripts/teams_inline_data_uri_probe.py
scripts/teams_inline_real_image_probe.py
scripts/teams_partial_sentinel_probe.py
scripts/teams_response_path_attachment_probe.py
scripts/test_firstparty_wam.py
scripts/test_firstparty_wam_broad.py
scripts/test_firstparty_wam_gaps.py
scripts/test_graph_explorer_token.py
scripts/test_pwsh_ge_appid.ps1
scripts/test_wam_bundles.py
scripts/test_wam_consent_14d82eec.py
scripts/test_wam_gapfill_verify.py
scripts/test_wam_office_uwp.py
scripts/test_wam_other_resources.py
scripts/verify_agent_migration.py
scripts/verify_readonly.py
scripts/verify_routing_scenarios.py
scripts/verify_sharepoint_onedrive_url.py

# Local research backups & translations
research/*.backup-*.md
research/*.zh.md

# Local superpowers plans & specs (scratch; the one tracked plan stays tracked)
docs/superpowers/plans/
docs/superpowers/specs/
cloud_gateway/applogs