docs: update wf-stateless-design.md for new/resume $START semantics #103

Merged
xiaomo merged 2 commits from docs/101-stateless-design-update into main 2026-06-05 09:49:24 +00:00
Owner

What

Update docs/wf-stateless-design.md to reflect the $START new/resume change from PR #102.

Why

3 places in the architecture doc still referenced the old _ status for $START. Cursor updated the util/ reference files but missed this standalone doc.

Changes

  • Line 203$START_ → 使用 new/resume
  • Line 211lastRole === "$START" ? "_"lastOutput.$status
  • Line 426$START 角色使用 "_"$START 使用 "new"/"resume"

Ref

Refs #101

## What Update `docs/wf-stateless-design.md` to reflect the `$START` `new`/`resume` change from PR #102. ## Why 3 places in the architecture doc still referenced the old `_` status for `$START`. Cursor updated the `util/` reference files but missed this standalone doc. ## Changes - **Line 203** — `$START` 用 `_` → 使用 `new`/`resume` - **Line 211** — `lastRole === "$START" ? "_"` → `lastOutput.$status` - **Line 426** — `$START 角色使用 "_"` → `$START 使用 "new"/"resume"` ## Ref Refs #101
xiaoju added 1 commit 2026-06-05 09:38:21 +00:00
xiaoju added 1 commit 2026-06-05 09:44:54 +00:00
chore: remove unused moderator-reference and yaml-reference
CI / check (pull_request) Successful in 2m1s
a47871ec4e
These generate* functions were exported from util but never consumed
by any code. Dead exports are maintenance burden.

Refs #101
xiaomo approved these changes 2026-06-05 09:49:22 +00:00
xiaomo left a comment
Owner

LGTM

文档同步 + 清理冗余 reference 文件。moderator-reference.tsyaml-reference.ts 的内容已经合并到 workflow-authoring-reference 和 usage-reference 里了,删掉没问题。index.ts 的 export 也同步清理了。

LGTM ✅ 文档同步 + 清理冗余 reference 文件。`moderator-reference.ts` 和 `yaml-reference.ts` 的内容已经合并到 workflow-authoring-reference 和 usage-reference 里了,删掉没问题。index.ts 的 export 也同步清理了。
xiaomo merged commit eb0b7b514f into main 2026-06-05 09:49:24 +00:00
xiaomo deleted branch docs/101-stateless-design-update 2026-06-05 09:49:24 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#103