Skip to content

docs(workflow): item 25A workflow runtime 文档 - #106

Merged
dahai80 merged 1 commit into
mainfrom
docs/workflow-runtime-item25a
Aug 20, 2026
Merged

docs(workflow): item 25A workflow runtime 文档#106
dahai80 merged 1 commit into
mainfrom
docs/workflow-runtime-item25a

Conversation

@dahai80

@dahai80 dahai80 commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

补 item 25A (PR #105, MERGED main 5d580d6) 配套文档 docs/workflow-runtime.md

PR #105 落地了最小 workflow 执行 runtime (runtime.ts + WorkflowTool.ts 双门禁 + build.ts feature-flag), 但 doc 文件在 PR 合并后才写完, 未进 PR。此 PR 单独补文档。

文档内容

  • 双门禁启用法 (bun run build:dev:full + FUSION_WORKFLOW_RUNTIME_ENABLED=1)
  • 脚本契约 (export const meta + 裸全局原语 + args 全局, 示例)
  • 原语表 (agent/parallel/pipeline/phase/log/workflow/budget/args)
  • DEFERRED v1 限制 (schema/nested-workflow/budget)
  • Eval 路径 (6 步: export→const meta → 包 async function → Bun.Transpiler 剥 TS → 拆包 → 抽 meta → new Function async IIFE)
  • 安全注意 (model-authored eval, 双门禁防护, 非完整沙箱)
  • runId 传播 (transcriptSubdir + emitPerfettoInstant + activeRuns 生命周期)
  • 关键文件列表

Test

文档 only, 无代码变更。

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

补 item 25A (PR #105) 配套文档 docs/workflow-runtime.md: 双门禁启用法、
脚本契约、原语表、DEFERRED v1 限制、eval 路径、安全注意、runId 传播、
关键文件。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@dahai80
dahai80 merged commit a86cdf9 into main Aug 20, 2026
1 check passed
@dahai80
dahai80 deleted the docs/workflow-runtime-item25a branch August 20, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant