From 6086f2e0f7b49a53e528f4eecd63b863a5bf73dc Mon Sep 17 00:00:00 2001 From: OoO Date: Tue, 19 May 2026 11:10:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B3=87=E6=96=99=E5=8D=94?= =?UTF-8?q?=E4=BD=9C=E5=85=A5=E5=8F=A3=E9=8C=AF=E7=AB=99=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO_NEXT_STEPS.txt | 2 +- config.py | 2 +- routes/system_public_routes.py | 2 +- tests/test_external_tool_entrypoints.py | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO_NEXT_STEPS.txt b/TODO_NEXT_STEPS.txt index 4ec6746..bbb3e9f 100644 --- a/TODO_NEXT_STEPS.txt +++ b/TODO_NEXT_STEPS.txt @@ -4,7 +4,7 @@ ================================================================================ 【已完成】 - - V10.241 修正 `/metabase`、`/grist` 外部工具入口:全域導覽固定回 momo-pro 內部橋接頁,避免資料協作錯連 AwoooI;入口頁補路由狀態、設定診斷與可用替代分析入口,降低空白頁誤判。 + - V10.242 修正 `/metabase`、`/grist` 外部工具入口:全域導覽固定回 momo-pro 內部橋接頁,避免資料協作錯連其他專案站;入口頁補路由狀態、設定診斷與可用替代分析入口,降低空白頁誤判。 - V10.221 補 `/observability/ppt_audit_history` AiderHeal 背景任務可見性:正在修復中的簡報會顯示於產線頁,並提供 JSON 狀態端點讓派工後即時刷新,避免重新整理後不知道是否已在修。 - V10.218 補 `/observability/ppt_audit_history` AiderHeal 去重鎖:同一份簡報已在背景修復時,再次點擊會回「已在執行中」,避免重複開 SSH / 模型 / git 修復流程。 - V10.217 讓 `/observability/ppt_audit_history` 的 AiderHeal 派工改為非阻塞背景任務:頁面立即回「已排入」,修復工作在背景執行,避免瀏覽器與 Gunicorn worker 等 SSH、模型與 git push 到超時。 diff --git a/config.py b/config.py index 0edf552..e8edfca 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.241" +SYSTEM_VERSION = "V10.242" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/routes/system_public_routes.py b/routes/system_public_routes.py index fdb71a7..409d429 100644 --- a/routes/system_public_routes.py +++ b/routes/system_public_routes.py @@ -88,7 +88,7 @@ def _external_tool_payload(kind): 'eyebrow': 'Data Collaboration', 'title': '資料協作入口', 'status_label': '錯鏈已攔截' if not launch_url else '可開啟', - 'summary': '資料協作入口已回到 momo-pro 內部,不會再連到 AwoooI 或其他專案站台。', + 'summary': '資料協作入口已回到 momo-pro 內部,不會再連到其他專案站台。', 'detail': 'Grist 的正式 momo-pro 專案隔離尚未接上 Gateway;在完成專屬服務前,本頁會提供資料作業入口與目前設定狀態。', 'launch_href': launch_url, 'launch_label': '開啟 Grist', diff --git a/tests/test_external_tool_entrypoints.py b/tests/test_external_tool_entrypoints.py index 2eed1ff..1006f32 100644 --- a/tests/test_external_tool_entrypoints.py +++ b/tests/test_external_tool_entrypoints.py @@ -31,6 +31,7 @@ def test_external_tool_bridge_pages_are_diagnostic_not_blank(): assert "external-tool-action-grid" in template assert "尚未接入 proxy" in route_source assert "已由入口攔截" in route_source + assert "AwoooI" not in route_source assert "--momo-accent-rust" not in css assert "--momo-accent-honey" not in css