# Vendor assets (minified libraries)
assets/vendor/
server/assets/vendor/
*.min.js
*.min.css
*.min.mjs
*-min.js
*-min.css

# Exception: demo assets required for compilation (include_bytes!)
!assets/demo/style.min.css
!assets/demo/app.min.js

# Rust
/target
/target/
**/target/
**/*.rs.bk
*.pdb
dhat-heap*.json
# Cargo.lock - TRACKED for binary crates (reproducible builds)
# Cargo Lambda
.aws-sam/
samconfig.toml

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

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

# OS
Thumbs.db

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Testing
/coverage/
coverage*.json
*.lcov
lcov.info
.coverage
htmlcov/
.pytest_cache/
junit.xml
*.profraw
*.profdata

# Build artifacts
dist/
build/
*.egg-info/
__pycache__/
*.pyc
*.pyo

# Release artifacts
*.tar.gz
*.tar
*.gz

# Temporary files
*.tmp
*.temp
.cache/
tmp/

# AWS
.aws/
aws-exports.js

# Documentation
site/
_site/
.jekyll-cache/

# Backup files
*.bak
*.backup

# Editor directories
.vim/
.emacs.d/

# Node (if ever needed)
node_modules/
npm-debug.log
yarn-error.log
coverage_deno

# Python
*.py[cod]
*$py.class
.Python
.venv/
venv/
ENV/
env/
.mypy_cache/
.ruff_cache/

# Terraform (if used for AWS deployment)
*.tfstate
*.tfstate.*
.terraform/
.terraform.lock.hcl

# Local development
.local/
scratch/

# Generated analysis files
deep_context.md
deep_context_*.md
/*.mmd
/test-dag*.mmd
/server/dependency_graph.mmd
/server/*.mmd
/artifacts/mermaid/test_output/

# Coverage artifacts
coverage_demo/
coverage_profile/
coverage_deno/
target/llvm-cov*
target/llvm-cov-target/
*.profraw
*.profdata

# Temporary installation testing
test-install/

# JSON artifacts from analysis
dogfood-*.json
*-analysis.json
*-dead-code*.json
baseline-*.json
post-*.json
kaizen-metrics.json
outdated-deps.json
/server/baseline-*.json
/server/post-*.json
/server/kaizen-metrics.json
/server/outdated-deps.json
/artifacts/kaizen/*.json
/server/.build-info.json

# Dogfooding artifacts with potential naming issues
artifacts/dogfooding/deep-context-*.json
artifacts/dogfooding/summary-*.json
artifacts/dogfooding/combined-metrics-*.json

# Temporary files and test artifacts
test_*.md
**/test_context*.md
**/test_output.md
**/test_regex.rs
*-platform.tar.gz
nonexistent-*

# Archive directory
archive/

# Additional cleanup patterns
defect-report-*.txt
defect-report-*.json
defect-report-*.csv
defect-report-*.md
quality_report_*.md
.pmat-cache/
proptest-regressions/
*.profraw
*.profdata

# Mutation testing output
mutants.out/
mutants.out.old/
mutants-out/
mutation_results/
mutation_test_results/
mutants-run.log
mutants-skip.log
mutation_test_output.txt
*.deb

# Generated analysis reports
complexity_report*.json
dead_code_report*.json
satd_report*.json
hallucination_report*.json
hallucination_junit.xml

# Session, sprint, and issue tracking docs (use GitHub issues/PRs instead)
SESSION_SUMMARY*.md
SESSION-*.md
SESSION_*.md
SPRINT-*.md
SPRINT[0-9]*.md
ISSUE-*.md
DOGFOODING_RESULTS*.md
AST_REPLACEMENT_RESULTS.md
FIVE_WHYS_ANALYSIS.md
HANDOFF.md
MUTATION_FIX_SUMMARY.md
MUTATION_TESTING_STATUS.md
P2_ANALYSIS*.md
PFORGE_BENCHMARK_RESULTS.md
PYTHON-PARSER-EVALUATION.md
SDL_FIX_RESULTS.md
SDL_RETURN_VALUE_FIX.md
SECURITY-AUDIT.md
TICKET-*.md
WASM_VERIFICATION.md
RELEASE_v*.md
RELEASE-v*.md
RELEASE-VERIFICATION.md
RELEASE_NOTES*.md
ROADMAP-UPDATE-*.md
CLAUDE_INTEGRATION_STATUS.md

# Temporal status/planning docs (use GitHub issues/milestones instead)
NEXT-STEPS.md
WHATS_NEXT.md
QUALITY_STATUS.md
RELEASE_READINESS.md
ROADMAP_STATUS.md
*-STATUS.md
*-READINESS.md

# Miscellaneous cruft
Makefile.backup
json
text
server.json

# Build artifacts
pmat_*.deb
pmat-*.tar.gz
*-x86_64-unknown-linux-gnu.tar.gz
*-aarch64-unknown-linux-gnu.tar.gz
*-x86_64-pc-windows-gnu.tar.gz
*-x86_64-apple-darwin.tar.gz
*-aarch64-apple-darwin.tar.gz
/.pmat-metrics/
**/.pmat-metrics/

# PMAT artifacts (machine-generated, auto-rebuilt) — recursive for subcrates
**/.pmat/
.pmat-qa/
.pmat-work/
.pmat-work.toml
.pmat-baseline.json
algorithm-competition-corpus/

# Claude Code worktrees (ephemeral, auto-managed)
.claude/worktrees/

# Generated reports
satd-report.json
golden_traces/*
!golden_traces/baseline/
/.cargo/*
!/.cargo/audit.toml
.pv/
