node_modules/
.claude/
!.claude/commands/
!.claude/commands/**
!.claude/orchestration-cortextos-node/
# Include template .claude dirs (needed for agent settings.json)
!templates/**/.claude/
!templates/**/.claude/**
dist/
ecosystem.config.js

# User-created org data (not part of the framework)
orgs/
# But community subdirectories ARE part of the framework
!community/
!community/**

# Secrets
.env
!.env.example
templates/*/.env
.cortextos-env

# Agent runtime data
orgs/*/agents/*/memory/
agents/*/local/
agents/*/telegram-images/
agents/*/memory/

# macOS metadata
.DS_Store

# Test artifacts
test-results/
*.log
# Spurious directory created when ${APPDATA} env var unexpanded during npm link on Windows
${APPDATA}/

# Knowledge base
knowledge-base/venv/
knowledge-base/__pycache__/
knowledge-base/scripts/__pycache__/
knowledge-base/scripts/_test_clients/__pycache__/
tests/playwright/dashboard-ui.spec.ts

# Local ops docs are not tracked. docs/OPTIONAL-SKILL-PACKS.md is untracked too but
# ships in the attendee package from the working tree (docs/architecture/ does not).
docs/

# Internal developer/planning notes (not for public repo)
KNOWN-ISSUES.md
WINDOWS-IMPLEMENTATION-PLAN.md
WINDOWS-SUPPORT-INVESTIGATION.md
BRAINDUMP*.md
/AGENTS.md
dashboard/screenshots/
dashboard/test-*.py

# Public community agent templates may intentionally include their own docs,
# AGENTS.md, memory skill, and scaffold files.
!community/agents/research-agent/
!community/agents/research-agent/**

# Internal ops/dev reports — never public (2026-07-01 leak remediation, SEC-1 L4).
# docs/ is already ignored above; these cover root-level and phase-report globs
# so a dev artifact cannot re-track outside docs/. Real user docs live elsewhere.
WINDOWS_INSTALL_REPORT.md
*INSTALL_REPORT.md
/PHASE*-REPORT.md
docs/phase-reports/
coverage/
.env.local
secrets.env
