# Ada Workspace Backup - Only track core identity/memory files
# Exclude everything, then allowlist what matters

# Exclude all nested repos and heavy dirs
substr8-labs/
repos/
openclaw-source/
tower-hq/
towerhq-ui/
node_modules/
.venv/
venv/
__pycache__/
*.pyc
.git/
!/.git

# Exclude large binaries
*.pack
*.so
*.abi3.so
*.whl
*.node

# Exclude node_modules everywhere (even inside allowlisted dirs)
**/node_modules/
**/.next/
**/artifacts/

# Exclude secrets (backed up separately)
secrets/

# === ALLOWLIST (tracked) ===
# Core identity
!AGENTS.md
!SOUL.md
!USER.md
!IDENTITY.md
!TOOLS.md
!MEMORY.md
!HEARTBEAT.md

# Memory files
!memory/
!memory/**

# Skills (our custom ones)
!skills/
!skills/**

# Docs
!docs/
!docs/**

# Tools we built
!tools/
!tools/**
skills/autoforge/test-output-real/
skills/autoforge/multipage-output/
fdaa-developer-test/
# Secrets - NEVER commit these
*.env
.env
auth-profiles.json
**/anthropic.env
**/*.key
**/secrets/


# Secrets - COMPREHENSIVE
**/.env
**/*.env
**/secrets/
**/*secret*
**/*-key.txt
**/*-token.txt
**/auth-profiles.json
**/.venv/
**/node_modules/
.env.local
*.pem
credentials.json
