-
Notifications
You must be signed in to change notification settings - Fork 15
[待开发]Workflow 后端 contract 与运行入口 #1188
Copy link
Copy link
Open
Labels
area:apiPublic API or protocol contract workPublic API or protocol contract workarea:backendBackend API, service, repository, or runtime workBackend API, service, repository, or runtime workarea:runtimeRuntime and execution behaviorRuntime and execution behaviorarea:workflowWorkflow authoring and orchestration UXWorkflow authoring and orchestration UXchild-issueChild implementation issueChild implementation issuecontractContract or API semantics changeContract or API semantics changegrade:g3Cross-domain decision or implementation workCross-domain decision or implementation worklevel:l2Epic / workstream issueEpic / workstream issueneeds-backendNeeds backend workNeeds backend workparent-issueParent tracking issueParent tracking issuephase:readyIssue is shaped and ready for implementationIssue is shaped and ready for implementationpriority:p1High priorityHigh priorityrisk:highHigh risk if implemented incorrectlyHigh risk if implemented incorrectlysize:lLarge implementation and review sizeLarge implementation and review sizetype:featureFeature or new capabilityFeature or new capability
Description
Metadata
Metadata
Assignees
Labels
area:apiPublic API or protocol contract workPublic API or protocol contract workarea:backendBackend API, service, repository, or runtime workBackend API, service, repository, or runtime workarea:runtimeRuntime and execution behaviorRuntime and execution behaviorarea:workflowWorkflow authoring and orchestration UXWorkflow authoring and orchestration UXchild-issueChild implementation issueChild implementation issuecontractContract or API semantics changeContract or API semantics changegrade:g3Cross-domain decision or implementation workCross-domain decision or implementation worklevel:l2Epic / workstream issueEpic / workstream issueneeds-backendNeeds backend workNeeds backend workparent-issueParent tracking issueParent tracking issuephase:readyIssue is shaped and ready for implementationIssue is shaped and ready for implementationpriority:p1High priorityHigh priorityrisk:highHigh risk if implemented incorrectlyHigh risk if implemented incorrectlysize:lLarge implementation and review sizeLarge implementation and review sizetype:featureFeature or new capabilityFeature or new capability
Type
Fields
No fields configured for issues without a type.
Issue 元数据
type:featurearea:backendarea:apiarea:runtimearea:workflowlevel:l2grade:g3priority:p1risk:highsize:lphase:readyneeds-backendcontractparent-issuechild-issue已确认事实
workflow_start/workflow_end专属节点、触发器配置、同步 / 异步运行、/api/ex/{slug}、定时触发和全局 OpenAPI 注册。/api/ex/{slug}全系统唯一,扩展接口触发器保存时需要验证冲突,已存在则失败。不可协商不变量
/api/ex/{slug}归属 application publish contract,不开放给 runtime plugin 任意注册系统接口。workflow_end明确声明的返回字段。workflow_start配置。待验证假设
workflow_start和workflow_end,而不改写 AgentFlow 既有start/answercontract。FlowRunStatus::Queued和 TaskQueue contract 足以支撑异步第一版和定时触发第一版。验收证据
workflow_start/workflow_end。/api/ex/{slug}dispatcher 能验证 slug、认证、发布状态、HTTP 方法、URL/path 参数、query 参数、form 参数、body 参数、响应 schema 和 run 归因。执行边界
api/crates/domain/src/flow、api/crates/domain/src/system_defaults/flow_document.rs、api/crates/orchestration-runtime、api/crates/control-plane/src/application_public_api、api/crates/control-plane/src/orchestration_runtime、api/apps/api-server/src/routes、api/apps/api-server/src/openapi*/ docs builder、Postgres repository mappers as needed。生命周期