node_modules
.git

# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/build
/dist
# Keep GitHub Action compiled output (required for GitHub Actions)
!action-dist/

# Local action testing
.actrc
event.json

# TypeDoc generated (regenerated on each build)
docs/api/_media/

# Test Output Files
/test-outputs/
verification-results-*.txt
feature-test-*.txt
performance-test-*.txt
test-results.json

# OS
.DS_Store
Thumbs.db

# Env
.env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Test Reports - Raw logs (keep only summaries)
test-reports/*-output.txt
test-reports/test-output.txt
test-reports/build-output.txt

# Development artifacts (prevent root clutter)
*-2025-*-*-*
!docs/visual-content/screenshots/cli-screenshots/*-2025-*.png
debug-output.txt
test-output.txt
demo-results.json
batch-results.json
demo-prompts.txt
test-prompts.txt

# Allow strategic documents
!*ROADMAP-2025-2026.md

# Archive working files
archive/working/

# Visual content working files
docs/visual-content/working/

# CLI recordings working files
docs/cli-recordings/working/

# Package artifacts (keep in dist)
*.tgz

# Temporary automation files
create-*.temp.js
cli-automation-*.temp.js

# Debug and temporary files (prevent future clutter)
debug-*.js
test-*.js
test-*.mjs
test-*.ts
final-*.js
validate-*.js
quick-test.js

# JSON output files
*-validation-*.json
test-output.json
*-success-report.json

# Package lock duplicates (use pnpm only)
package-lock.json

# Testing Infrastructure Output (generated by scripts/testing/)
test-executions/
test-results/
test-outputs/
*-test-results.json
*-test-output.json
*-execution-*.log
*-test-*.log
comprehensive-test-execution-*.log
batch-test-results.json
test-batch-*.json

# Testing artifact patterns
health-reports/
*-verification-*.json
*-parallel-*.json

# Temporary test files (generated during testing)
all-tests-output.txt
test-prompts-*.txt
simple-test.txt
file.txt
greeting.txt
poem.txt
.mcp-config-test.json
test-direct-tools-temp/
test-directTools-temp/
site/
_site/
quality-metrics.json

# Claude Code
.claude/
.claude/settings.local.json

# Security Files
*.key
*.pem
test-output/
