# =============================================================================
# .gitignore — hypermind-specs
# Organised by category. Keep entries alphabetised within each section.
# =============================================================================

# -----------------------------------------------------------------------------
# Secrets, credentials, certificates
# (NEVER commit these — even for tests, generate at runtime via fixtures)
# -----------------------------------------------------------------------------
*.crt
*.key
*.keystore
*.p12
*.pem
*.pfx
.env
.env.*
!.env.example
credentials.json
credentials.yaml
credentials.yml
secrets.json
secrets.yaml
secrets.yml

# -----------------------------------------------------------------------------
# Private working notes / internal-only directories
# Per CLAUDE.md: docs/expert-panel/ is internal review notes, never public.
# -----------------------------------------------------------------------------
docs/expert-panel/
notes/
private/
scratch/
.scratch/
TODO.private.md
*.private.md

# -----------------------------------------------------------------------------
# AI / agent / coding-assistant working dirs
# -----------------------------------------------------------------------------
.aider*
.claude/
.codebase/
.cursor/
.vibekit/
CLAUDE.local.md

# -----------------------------------------------------------------------------
# IDE / editor state
# -----------------------------------------------------------------------------
.idea/
.vscode/
*.swp
*.swo
*~

# -----------------------------------------------------------------------------
# OS metadata
# -----------------------------------------------------------------------------
.DS_Store
._*
Thumbs.db
desktop.ini

# -----------------------------------------------------------------------------
# Python — bytecode, caches, virtualenvs
# -----------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
.Python
.mypy_cache/
.pytest_cache/
.ruff_cache/
.tox/
.venv/
env/
venv/

# -----------------------------------------------------------------------------
# Python — build / distribution artefacts
# -----------------------------------------------------------------------------
*.egg
*.egg-info/
.eggs/
build/
dist/
pip-wheel-metadata/
wheels/
sdist/
share/python-wheels/

# -----------------------------------------------------------------------------
# Coverage / test reports
# -----------------------------------------------------------------------------
.coverage
.coverage.*
coverage.json
coverage.xml
htmlcov/
nosetests.xml
.hypothesis/

# -----------------------------------------------------------------------------
# Lock files (project policy: pip-compile locks regenerated locally, not tracked)
# -----------------------------------------------------------------------------
requirements-dev.lock
requirements.lock

# -----------------------------------------------------------------------------
# Logs, dumps, core files
# -----------------------------------------------------------------------------
*.dump
*.log
core.*

# -----------------------------------------------------------------------------
# Fuzzing corpora & crashes (corpora regenerated locally)
# -----------------------------------------------------------------------------
fuzz/corpus/
fuzz/crashes/
# AI context manifest
.codebase.json
.codebase.cache.json

# SimLab — Vue webui
webui/node_modules/
webui/dist/
# src/hypermind/simlab/ui/dist/  # ponytail: committed as pre-built artifact shipped with package

# Stray scenario artifacts (output goes to ~/.hypermind/sims/ now)
persona_audit.jsonl
persona_trace.json
.mcp.json
trace.json

# -----------------------------------------------------------------------------
# RelataDB local data (object store, WAL, custom_types.jsonl, flushed segments)
# Operator must supply RELATA_DATA_DIR pointing here; never commit server state
# -----------------------------------------------------------------------------
data/relata/

# Benchmark run artefacts (large raw traces). Slim traces + report.html kept locally.
experiments/output/

# Local scratch experiments (reports, benchmarks) — not shipped
experiments/

# mkdocs build output
site/

# Local MCP config (may contain secrets — edit deploy/mcp.example.toml instead)
config/mcp.toml
