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

# Tooling caches
.pytest_cache/
.mypy_cache/
.ruff_cache/

# Artifacts and checkpoints
artifacts/
checkpoints/
outputs/
# Anchor to repo root so registry/models/ (the registry index) is NOT ignored.
/models/
datasets/
logs/

# System
.DS_Store

# Octoryn LLM (P0-01)
.env
.env.*
!.env.example
local-artifacts/
releases/local-runs/

# JS / Web
node_modules/
apps/*/dist/
apps/*/build/
apps/*/.next/
packages/*/dist/

# uv (lockfile is committed if generated; uncomment to ignore)
# uv.lock

# Editor / agent scratch
.claude/*
# Distribute the project-shared anti-destruction guardrail (committed so the
# Bash deny-hook auto-activates on every clone/machine, not just locally):
!.claude/settings.json
!.claude/hooks/
# Everything else under .claude/ stays ignored — esp. worktrees + per-user
# local settings + session scratch.
.claude/settings.local.json
.claude/worktrees/
.idea/
.vscode/
*.tsbuildinfo

# Terraform: providers and any state-bearing artifacts NEVER go to remote
**/.terraform/
*.tfplan
*.tfstate
*.tfstate.*
crash.log
crash.*.log
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Ad-hoc benchmark outputs
scripts/bench/reports/

# Generated PDF proof artifacts stay local; board/report points at paths.
output/pdf/

# Local config / scratch
*.local
.history/
.cache/
.playwright-cli/
/tmp/

# OS noise
Thumbs.db
Desktop.ini

# Never commit npm tokens or git credential blobs
.npmrc
!packages/sdk-ts/.npmrc.example
.netrc

# CLI release artifacts (built locally; published to GitHub Releases)
apps/cli/octoryn-darwin-*
apps/cli/octoryn-linux-*
apps/cli/octoryn-darwin-*.sha256
apps/cli/octoryn-linux-*.sha256
apps/cli/pkg-build/
apps/cli/release-assets/
apps/cli/dist/

# SQLite test/dev fixtures dropped at repo root
/billing-balance
/billing-balance-*
/chat-sessions-*
/scenes-*

# Android Studio / Gradle local artifacts
apps/android/.kotlin/
apps/android/.debug-screens/

# Backup directories produced by ad-hoc tooling
vendor/*.bak.*

# Tauri build output and generated platform scaffolding
apps/desktop/src-tauri/target/
apps/desktop/src-tauri/gen/

# Xcode derived data and SwiftPM checkouts
apps/ios/.deriveddata*/
apps/ios/**/xcuserdata/
apps/ios/**/*.xcuserstate
apps/ios/Pods/
apps/ios/build/
apps/ios/DerivedData/
apps/**/node_modules

# release script secrets
scripts/release/.env

# sqlite test artifacts (chat branch storage)
chat-branches-*
# sqlite test artifacts (reseller payout / commission + P4 creator cashout)
cashout-*
payout-*
commission-*

# Codex tool worktrees (not project code)
.codex/
