From 495857aebd38921fb68b5b7f9fc2a6dbfd45c9cc Mon Sep 17 00:00:00 2001 From: richblack Date: Sat, 30 May 2026 15:15:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(cypher-executor):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=B7=B2=E5=88=AA=20ai=5Ftransform=20=E7=9A=84=20service=20bin?= =?UTF-8?q?ding=EF=BC=88=E4=BF=AE=20deploy=20=E5=A4=B1=E6=95=97=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 2 刪了 ai_transform_compile/run 零件 + wrangler delete 對應 worker,但 cypher-executor wrangler.toml 仍有 SVC_AI_TRANSFORM_COMPILE/RUN service binding,導致 deploy 報 "referenced Worker not found"(code 10143),data-exfil-warning 的 A 一直沒生效。 - wrangler.toml 移除兩個失效 [[services]] - types.ts 移除對應 Bindings 型別宣告 deploy 成功後線上驗證:recipe push 無 consent → 403(A 生效);kbdb_get 回歸 200。 Co-Authored-By: Claude Opus 4.8 --- cypher-executor/wrangler.toml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cypher-executor/wrangler.toml b/cypher-executor/wrangler.toml index 04287e5..f845862 100644 --- a/cypher-executor/wrangler.toml +++ b/cypher-executor/wrangler.toml @@ -91,13 +91,9 @@ service = "arcrun-date-ops" binding = "SVC_VALIDATE_JSON" service = "arcrun-validate-json" -[[services]] -binding = "SVC_AI_TRANSFORM_COMPILE" -service = "arcrun-ai-transform-compile" - -[[services]] -binding = "SVC_AI_TRANSFORM_RUN" -service = "arcrun-ai-transform-run" +# ai_transform_compile / ai_transform_run 已於 Phase 2(2026-05-29)刪除 +# (Arcrun 是 AI 呼叫的工具,工作流不該內嵌 AI 節點)。對應 worker 已 wrangler delete, +# service binding 一併移除(否則 deploy 報 referenced Worker not found)。 [vars] ENVIRONMENT = "production"