/** * apps/worker — RUN_AI_ACTION executor (TASK-0112 §2, STUB). * * Config is schema-validated (the UI can build these now); at runtime it * fails with the FATAL AI_ACTION_NOT_AVAILABLE (Phase 12) — the run is * recorded FAILED with that code in error.code. No AI call is made. */ import { FatalError } from "./classify.js"; import type { ActionExecutor, ActionResult } from "./types.js"; const executor: ActionExecutor = { type: "RUN_AI_ACTION", async execute(): Promise { throw new FatalError("AI_ACTION_NOT_AVAILABLE", "RUN_AI_ACTION requires the Phase-12 AI service"); } }; export default executor;