Skip to content

[待开发]后端 runtime 与 compiler 支持挂载 LLM tool_mode #930

@JAVA-LW

Description

@JAVA-LW

Parent issue: #929
Root issue: #928

Issue 元数据

已确认事实

目标

让后端 compiler/runtime 能识别并执行挂载 LLM 的两种模式:智能接管继续保持既有 callback/resume 能力;Fusion 评审关闭外部工具和外部 callback,并支持 panel 到普通 LLM judge 的受控并行 fan-in。

范围

  • 范围内:compiler policy materialization、runtime policy enforcement、Fusion panel bounded parallel、普通 LLM judge fan-in、tool_result 返回。
  • 范围外:全局 DAG 并发、服务端内置工具 allowlist、历史 draft migration、新 judge 节点类型。

验收证据

  • 直接 L3 子 issue 均完成并回填测试 / QA 证据。
  • Agent 模式既有 visible_internal_llm_tools callback/resume 行为不回退。
  • Fusion 模式能阻断外部工具与外部 callback,并完成 panel -> 普通 judge -> tool_result。

执行边界

  • 主要文件 / 模块:api/crates/orchestration-runtime/src/compiler/*, api/crates/orchestration-runtime/src/execution_engine/visible_internal_llm_tools*, api/crates/orchestration-runtime/src/execution_engine/*callbacks*
  • 停止 / 升级条件:需要全局 DAG executor 并发、历史数据迁移、服务端内置工具 allowlist 或新节点类型时,停止并回到 [待开发]挂载 LLM 工具模式 contract ADR #929 / 新 ADR。

生命周期

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:backendBackend API, service, repository, or runtime workarea:runtimeRuntime and execution behaviorarea:workflowWorkflow authoring and orchestration UXchild-issueChild implementation issuecontractContract or API semantics changegrade:g3Cross-domain decision or implementation worklevel:l2Epic / workstream issueneeds-backendNeeds backend workneeds-qaNeeds QA or acceptance validationparent-issueParent tracking issuephase:readyIssue is shaped and ready for implementationpriority:p2Medium priorityrisk:highHigh risk if implemented incorrectlysize:mMedium implementation and review sizetype:featureFeature or new capability

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions