# =========================
# IDEs and Editors
# =========================
.idea/
.vscode/
*.iml
*.swp

# =========================
# Node.js / TypeScript Projects
# =========================
node_modules/
dist/
out/
*.vsix
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock

# =========================
# Android / Gradle
# =========================
.gradle/
local.properties
/yyds-android/app/build/
/yyds-android/build/
.cxx/
captures/
*.apk
*.ap_

# =========================
# Python
# =========================
__pycache__/
*.py[cod]
*$py.class
*.so
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/
.venv/
venv/
ENV/
env.bak/
venv.bak/

# =========================
# Rust
# =========================
target/
**/*.rs.bk

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


# Internal / Private
yyds-con/
private/
private-yyds-project/

# Git worktrees / Goal aside snapshots / editor overlay
.worktrees/
.goal-aside-*/
.grok/

# Agent scratch — dumps, shots, one-off scripts live only here
.scratch/*
!.scratch/README.md
**/.scratch/*
!.scratch/README.md
**/_scratch/
_scratch/

# Leak nets if an agent still ignores Scratch (canonical dir is .scratch/)
/tmp/
/yctl_logs/
**/.codex-artifacts/

# Legacy/root dumps if an agent still drops them next to source
/screenshot_*.jpg
/_cargo_*.txt
/@AutomationLog.txt
yyds-android/.codex-artifacts/
_dump_*.xml
_live_*.xml
_shot_*.jpg
/_*.xml
/_*.jpg
/_*.py
yyds-desktop/_*.py
yyds-desktop/_*.txt
*.7z
tauri_build.*
build_*.log
build_*.out
build_*.err
build_*.pid
yyds-desktop/*.log
yyds-android/*.log
yyds-android/*.pid

# CPython toolchain trees (NDK, intermediate build, upstream tarball unpack)
CPython-android/android-ndk/
CPython-android/build/
CPython-android/cpython-src/

# The Python section's `lib/` pattern above is unscoped and also matches
# yyds-desktop's legitimate TypeScript source directory of the same name —
# un-ignore it explicitly so it isn't silently dropped from `git add`.
!yyds-desktop/src/lib/
!yyds-desktop/src/lib/**
