忽略本地截圖暫存檔

This commit is contained in:
OoO
2026-05-13 12:01:12 +08:00
parent 6313fdd293
commit d6e8a4ffc9
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -11,6 +11,7 @@
.claude/settings.local.json
.claude/worktrees/
.tmp_*
tmp_*.png
# Python
__pycache__/

View File

@@ -40,7 +40,7 @@
- CD migration 全範圍冪等已有回歸守門:`.gitea/workflows/cd.yaml` 必須維持 024-099 pattern、`sort | uniq``for m in $V5_MIGRATIONS` apply loop。
- CD Observability production smoke 已補 timeout 守門:`quick_review.sh --observability-smoke` 必須帶 `--timeout 12`
- 0-byte `database/momo*.db` 迷惑檔已不存在;真實 SQLite 僅在 `data/momo_database.db`
- `.gitignore` 已涵蓋 `.claude/worktrees/``.tmp_*``MOMO Pro/`、root/uploads/screenshots 與 `MOMO Pro` uploads/screenshots並由 `tests/test_gitignore_contracts.py` 守住。
- `.gitignore` 已涵蓋 `.claude/worktrees/``.tmp_*``tmp_*.png``MOMO Pro/`、root/uploads/screenshots 與 `MOMO Pro` uploads/screenshots並由 `tests/test_gitignore_contracts.py` 守住。
- `cache_service.py` 已成為 `cache_manager.py` 的相容 shim`_SALES_CACHE_TTL` 單一來源有測試鎖住。
- `aiops-core/requirements.txt` 已不存在,`aiops-core/README.md` 已標記此目錄只保留歷史 stub不應安裝或部署。
- V2 提到的「死依賴」不可整批刪:`beautifulsoup4` 用於多個 crawler、`google-api-python-client` 用於 Google Drive、`google-generativeai` 用於 Gemini paths、`python-pptx` 用於 PPT generator、`matplotlib` 用於 Telegram/圖表/PPT。

View File

@@ -10,6 +10,7 @@ def test_local_generated_artifacts_stay_ignored():
required_patterns = [
".claude/worktrees/",
".tmp_*",
"tmp_*.png",
"MOMO Pro/",
"MOMO Pro/uploads/",
"MOMO Pro/screenshots/",