# --- Mima Production Guardrails ---

# 🛑 Environment & Secrets
.env
.env.local
.env.*.local
.mcp.json
certs/
*.pem
*.key

# 🛑 OS & Editor Gunk
.DS_Store
Thumbs.db
.vscode/
.idea/
*.swp
*.swo

# 🛑 Logs & Process IDs (Transient Data)
*.log
# Exception: FlexLM test fixture logs are checked in as test data
!tests/datasets/*.log
# Exception: agent-ui stub assets (rust-embed requires the folder to exist at compile time)
!apps/agent-ui/dist/
!apps/agent-ui/dist/index.html
!apps/agent-ui/dist/bundle.js
*.pid
agent_output.json
executed_tools*.txt
registry_tools*.txt
executor_tools*.txt

# 🛑 Dependency Management
node_modules/
/jspm_packages
/.pnp
.pnp.js
vendor/

# 🛑 Build & Binaries
bin/
release/
obj/
out/
dist/
build/
*.exe
*.dll
*.so
*.dylib
*.mat
matlab

# 🛑 Next.js / Frontend
/.next/
/out/
.vercel
.turbo

# 🛑 Go
pkg/
# Allow agent packaging assets (systemd unit, env template, debian scripts, WiX sources)
!apps/agent/pkg/
!apps/agent/wix/
go.work.sum

# 🛑 Rust
target/
**/*.rs.bk

# 🛑 Workspace & Tempoary
uploads/
tests_backup/
tmp/
apps/mima-calc/pkg/

# Terraform downloaded providers/modules
**/.terraform/
.terraform/
.aider*

# Content pipeline — sensitive runtime files
# reply-queue.json contains post IDs (direct handles to post on Mima's behalf)
# and raw comment text. Never commit to the repo.
tasks/reply-queue.json
tasks/pipeline-report.html

tasks/topics.json
apps/website/src/content/knowledge/_distribute-log.json
apps/website/src/content/knowledge/_manifest.json

# Python tooling artifacts
.pytest_cache/
.deepeval/
__pycache__/
*.pyc

# Python virtual environments
venv/
.venv/

# E2E test artifacts
apps/governance-dashboard/e2e-report/
apps/governance-dashboard/test-results/
