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

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 [email protected]

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

Co-Authored-By: Claude Fable 5 <[email protected]>
@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
dahai80 added a commit that referenced this pull request Aug 22, 2026
Patch release bundling 17 commits since v0.4.23:
- item 15(a) MLX OOM auto-recovery gc+retry (#129)
- #7 one-click diagnostic fixAction framework (#131)
- 维度5 background-default spawn FUSION_SUBAGENT_DEFAULT_BACKGROUND (#127)
- #4 proactive MLX OOM detection via /v1/health (#125)
- item 17 fullscreen pre-compact history + :598 synthetic decouple (#123)
- item 25B workflow stagger fan-out (#122)
- item 21 auto-mode local rule classifier test coverage (#120)
- item 23 archive plugin source + SHA-256 lock (#118)
- item 24 marketplace command source (#116)
- item 6 transcript disk trimming + crash-safe checkpoint (#114)
- item 5 normalizeMessages secondary normalize cache (#112)
- item 19 screen-reader plaintext render (#110)
- item 16 compact retry countdown + stall hint (#108)
- item 25A workflow execution runtime docs (#106)
- item 25A minimal workflow execution runtime (#105)
- item 12 subagent auto-background threshold (#103)
- item 20 vimInsertModeRemaps dual-key INSERT sequence (#101)

Co-Authored-By: Claude Fable 5 <[email protected]>
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