# Brainstorming session state (visual companion mockups, not deliverables)
.superpowers/
docs/superpowers/

# Python
__pycache__/
*.pyc
*.pyd
*.pyo
.Python/
build/
dist/
*.egg-info/
.mypy_cache/
.pytest_cache/
.venv/
virtualenv/
env/
venv/
*.pem

# Node.js (for Gatekeeper and extensions)
node_modules/

# TypeScript incremental build state — a local artifact of `tsc -b`.
# frontend/.gitignore already ignores these; admin/ had no .gitignore at all, so
# running a type-check there staged them (BIZSUPP-760).
*.tsbuildinfo
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# Java/Spring Boot (for Gatekeeper)
target/
*.class
*.jar
*.war
.gradle/
.mvn/
mvnw
mvnw.cmd

# IDEs
.vscode/
.idea/
*.iml
*.swp
*.swo
*~

# OS files
.DS_Store
.DS_Store?
._*
Thumbs.db
Desktop.ini

# Database
*.db
*.sqlite
*.sqlite3

# Docker
docker-compose.override.yml

# Environment files (all ignored except templates and test defaults)
*.env
*.env.*
!.env.example
!**/.env.defaults
!scripts/dr/dr-oauth-clients.env.example
override.json
token.json
credentials.json
service_account_credentials.json
setup_environment.config
environment_ids.json
app/scripts/.venv/
attachments/
plugin_code/
tokens/
.sonar-token.local
email_attachments/
plugin_env/
plugin_envs/
logs/
credentials/

# Testing
coverage/
!app/components/sources/coverage/
coverage.xml

# Local test document groups (may contain real business documents)
test-group/
.coverage
htmlcov/
.tox/
*.cover

# Temporary files
*.tmp
*.temp
*.bak
*.swp

# Chrome extension specific
*.crx
*.zip
.cache
.parcel-cache

# Video / large media artifacts (demo recordings live in GCS / Drive)
*.mp4
*.mov
*.avi
scripts/demo/output/

# ClaudeCognitive
attn_state.json
attention_history.jsonl
context_injection.log

# Sprint local state (per-developer, per-branch)
Sprints/.sprint-state.local

# Claude Code temp files
tmpclaude-*
grafana-monitoring-key.json
grafana-monitoring-key-prod.json
.claude/scheduled_tasks.lock

*.local

# Local SonarQube API export caches (ad-hoc, not part of the codebase)
.sonar-cache/
.sonar-cache-fresh/

# Per-session handover (transient, do not commit)
.claude/SESSION-HANDOVER.md
.claude/archive/

# Planning/working docs (local only, not shipped)
.claude/docs/

# graphify - graph.json is deliberately NOT committed. It is a ~1.7M-line
# generated artifact, and carrying it in a develop -> qual promotion diff
# pushed GitHub's GraphQL pullRequest.files past its limit (it returned
# null), which broke code-review.yml and documentation-audit.yml. Regenerate
# it locally with `graphify update .` (AST-only, free). manifest.json,
# GRAPH_REPORT.md and cost.json stay committed - they are small.
graphify-out/graph.json

# graphify - machine-specific and ephemeral files (manifest.json, GRAPH_REPORT.md
# and cost.json are committed; graph.json and everything below is not)
graphify-out/.graphify_python
graphify-out/.graphify_root
graphify-out/.graphify_uncached.txt
graphify-out/.graphify_semantic_files.txt
graphify-out/.graphify_chunk_*.json
graphify-out/.graphify_detect.json
graphify-out/.graphify_extract.json
graphify-out/.graphify_ast.json
graphify-out/.graphify_semantic.json
graphify-out/.graphify_semantic_new.json
graphify-out/.graphify_cached.json
graphify-out/.graphify_analysis.json
graphify-out/.graphify_chunks_info.json
graphify-out/.pending_changes
graphify-out/.rebuild.lock
graphify-out/cache/
graphify-out/wiki/

# graphify - dated snapshot dirs (e.g. graphify-out/2026-07-16/) must never be
# committed — ~400MB of these accumulated undocumented before BIZSUPP-720.
graphify-out/[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]/

# Session handover notes (local-only)
.claude/SESSION-HANDOVER.md
.claude/archive/

# Connector runtime state (certs, keys, tenant/fingerprint) — local only, per-install.
connector/state/
# Same contents, but where a Connector run from the repo root puts them. The `credential`
# file inside is the long-lived bearer secret the enrolment issues once and bizSupply
# only ever stores a hash of, so committing it would leak something unrecoverable.
connector-state/
# `./state` is what the install playbook tells an operator to bind-mount on a host with
# no ambient identity, so following the guide from a repo checkout lands the credential
# here; `state-local/` is the same thing pointed at a local stack. Root-anchored so this
# only covers the repo root, not any module that happens to own a `state` directory.
#
# Ignoring them is not only about `git add`. `git stash --include-untracked` sweeps
# untracked files through git's object store and restores them with default permissions,
# which silently widened the credential from 0600 to 0644 during this feature's testing.
# Stash skips ignored paths, so this closes that too.
/state/
/state-local/

# Generated locally / by CI scripts — never committed.
# vault report: written by scripts/vault_alignment_check.py --report-out
# sdk lock: the SDK is a published library; only app/uv.lock is tracked (sdk/CLAUDE.md)
vault-alignment-report.md
sdk/uv.lock

# Screenshots pasted into the repo root while working. Untracked ones showed up
# in every `git status` and rode along in `git stash --include-untracked`.
# Root-anchored and name-specific so a screenshot a doc genuinely references
# (docs/**, frontend/**) is still tracked normally.
/Captura de ecr[aã]*.png
/Screenshot*.png
/Screen Shot*.png
