fix(cypher-executor): 移除已刪 ai_transform 的 service binding(修 deploy 失敗)
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 <noreply@anthropic.com>
This commit is contained in:
@@ -91,13 +91,9 @@ service = "arcrun-date-ops"
|
|||||||
binding = "SVC_VALIDATE_JSON"
|
binding = "SVC_VALIDATE_JSON"
|
||||||
service = "arcrun-validate-json"
|
service = "arcrun-validate-json"
|
||||||
|
|
||||||
[[services]]
|
# ai_transform_compile / ai_transform_run 已於 Phase 2(2026-05-29)刪除
|
||||||
binding = "SVC_AI_TRANSFORM_COMPILE"
|
# (Arcrun 是 AI 呼叫的工具,工作流不該內嵌 AI 節點)。對應 worker 已 wrangler delete,
|
||||||
service = "arcrun-ai-transform-compile"
|
# service binding 一併移除(否則 deploy 報 referenced Worker not found)。
|
||||||
|
|
||||||
[[services]]
|
|
||||||
binding = "SVC_AI_TRANSFORM_RUN"
|
|
||||||
service = "arcrun-ai-transform-run"
|
|
||||||
|
|
||||||
[vars]
|
[vars]
|
||||||
ENVIRONMENT = "production"
|
ENVIRONMENT = "production"
|
||||||
|
|||||||
Reference in New Issue
Block a user