# ==================== 外部/上游项目（不纳入本仓库版本管理） ====================
# 说明：这些目录属于 vendored / third-party 上游源码镜像，体积大且有各自的版本管理方式。
/OpenSpec/
/oh-my-opencode/
/vibe-coding-cn/
/learn-opencode/
/planning-with-files/
/ui-ux-pro-max-skill/

# ==================== 本仓库运行时目录（只保留骨架文件） ====================
# oh-my-opencode 编排运行目录：忽略运行产物，仅保留 README/.gitkeep
.sisyphus/**
!.sisyphus/
!.sisyphus/README.txt
!.sisyphus/plans/
!.sisyphus/plans/.gitkeep
!.sisyphus/drafts/
!.sisyphus/drafts/.gitkeep

# 规划/草稿输出目录（仓库母版通常不需要提交）
/drafts/

# 其他工作流运行目录
.spec-workflow/**

# ==================== OpenCode 工作目录（忽略依赖产物） ====================
.opencode/node_modules/

# ==================== planning-with-files 3-file 工作记忆（通常不提交） ====================
/task_plan.md
/findings.md
/progress.md

# ==================== Node / 前端依赖与构建产物 ====================
node_modules/
.pnpm-store/
.yarn/cache/
.yarn/unplugged/
.yarn/build-state.yml
.yarn/install-state.gz

/dist/
/build/
/coverage/

npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# ==================== Python / 测试产物 ====================
__pycache__/
*.py[cod]
*.pyo
.pytest_cache/
.mypy_cache/
.pyright/
.ruff_cache/

.venv/
.uv/

# ==================== 操作系统/编辑器产物 ====================
.DS_Store
Thumbs.db

.idea/
.vscode/
*.swp
*.swo

# ==================== 机密/本地配置（禁止提交） ====================
.env
.env.*
*.pem
*.key
credentials.json
**/secrets.*
