64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
# 首席架構師 Review I1 (2026-04-05 Claude Code)
|
||
# 防止無關檔案射入 Docker build context,縮短 context 傳輸時間
|
||
# 並防止 .playwright-mcp/ PNG/HTML 等大檔案造成 layer hash 不必要失效
|
||
|
||
# Git
|
||
.git
|
||
.gitignore
|
||
|
||
# CI/CD
|
||
.gitea
|
||
.github
|
||
|
||
# 開發工具
|
||
.playwright-mcp
|
||
.vscode
|
||
.idea
|
||
*.log
|
||
*.tmp
|
||
|
||
# 文件與腳本(不需要進 image)
|
||
# 注意: docs/runbooks/, docs/adr/, .agents/skills/ 供 RAG 索引 (ADR-067 Phase 33)
|
||
# scripts/ 大部分不需要進 image,僅白名單 production runtime/ops 種子腳本
|
||
# 2026-04-12 ogt (ADR-073 P2-1): 白名單允許 cron_km_vectorize.py
|
||
# 2026-05-13 codex: 白名單 T16 auto-repair canary PlayBook seed script
|
||
# 2026-05-31 codex: MOMO backup Ansible playbook copies the backup script from
|
||
# the controller image; keep only this backup script in the runtime context.
|
||
scripts/**
|
||
!scripts/
|
||
!scripts/cron_km_vectorize.py
|
||
!scripts/backup/
|
||
!scripts/backup/backup-momo-188-pg.sh
|
||
!scripts/ops/
|
||
!scripts/ops/awooop-seed-auto-repair-canary-playbook.py
|
||
|
||
# Node 快取(monorepo 根目錄)
|
||
node_modules
|
||
|
||
# Python 快取
|
||
__pycache__
|
||
*.pyc
|
||
*.pyo
|
||
.venv
|
||
.pytest_cache
|
||
.mypy_cache
|
||
dist
|
||
*.egg-info
|
||
|
||
# 測試結果
|
||
test-results
|
||
coverage
|
||
.coverage
|
||
|
||
# 環境變數(絕對不能進 image)
|
||
.env
|
||
.env.*
|
||
apps/api/.env
|
||
apps/web/.env*
|
||
|
||
# memory/ADR(不影響 build)
|
||
memory
|
||
# 2026-05-02 trigger CI rebuild after runner restart
|
||
# 2026-06-12 Codex: trigger P2-403N production verification deploy, no runtime behavior change.
|
||
# 2026-06-12 Codex: retry P2-404 deploy after transient Harbor 502, no runtime behavior change.
|