# Claude Code configuration directory (except repo-tracked settings)
.claude/*
!.claude/settings.json

# Local overlay directory (private/org-specific customizations)
.local/
!.local/.gitkeep

# Development history (contains project-specific data)
.dev-history/

# Architecture Decision Records (internal development artifacts)
adr/

# Retrospective notes (internal development artifacts)
/retro/

# Environment files (NEVER commit credentials)
.env
.env.*
!.env.example

# SQLite databases (learning system, usage tracking)
*.db
*.db-journal
*.db-wal
*.db-shm

# Python cache
__pycache__/
*.pyc
*.pyo
*.egg-info/
dist/
build/
.venv/
venv/

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Editor files
.vscode/
.idea/
*.swp
*.swo
*~

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
cron-logs/

# Task plans (ephemeral, per-session)
task_plan.md
plan/

# Internal migration/development docs (not for public release)
MIGRATION_CHECKLIST_V2.md

# Development artifacts (generated content, research outputs)
/content/
/research/

# AB test output directories (raw trial outputs, not committed)
ab-test-results/
ab-test-results-r2/
benchmark/

# ADR session state (ephemeral, per-session, not committed)
.adr-session.json
.adr-session.json.stale

# Credentials and secrets
*.pem
*.key
*.crt
*.p12
service-account*.json

# Reddit moderation local data (per-subreddit context, audit logs)
reddit-data/

# Private components (personal skills, agents, hooks not for public repo)
private-skills/
private-agents/
private-hooks/
private-voices/
skills/shared-patterns/anti-rhetorical-pivot.md
skills/shared-patterns/wabi-sabi-authenticity.md
skills/shared-patterns/voice-first-writing.md
agents/wrestlejoy-*
skills/wrestlejoy-*
skills/voice-*
!skills/voice-writer/
!skills/voice-validator/
!skills/voice-shared/
!skills/voice-shared-references/
skills/voice
skills/gemini-wrestlejoy-*

# Generated index artifacts — derived from SKILL.md/agent frontmatter.
# Regenerated at install/CI/runtime (ADR untrack-generated-indexes). Never tracked.
skills/INDEX.json
agents/INDEX.json
# Local-only (private-inclusive) index targets, not committed
skills/INDEX.local.json
agents/INDEX.local.json

# Draft articles (work in progress, not committed)
drafts/
draft-*.md

# Scratch notes and one-off research files (session working files, not committed)
scratch/
research-*.md

# Working artifacts (verifier reports, scratch notes, bake-offs)
tmp/

# Eval workspaces (A/B/C test outputs, generated code, grading artifacts)
# These are ephemeral experiment data — not committed
*-workspace/
evals/*
# But track A/B test design files (cases, rubrics, methodology)
!evals/README.md
!evals/new-skills-ab-test/

# Evolution reports (weekly toolkit-evolution cycle output)
evolution-reports/

# Feature state (ephemeral, per-session feature lifecycle)
.feature/

.audit/
