Skip to content

docs(pipeline): 对齐执行语义并补充 JumpBack/Anchor 与 v5.9 变更内容#1216

Merged
MistEO merged 7 commits intomainfrom
docs/pipeline
Apr 5, 2026
Merged

docs(pipeline): 对齐执行语义并补充 JumpBack/Anchor 与 v5.9 变更内容#1216
MistEO merged 7 commits intomainfrom
docs/pipeline

Conversation

@Windsland52
Copy link
Copy Markdown
Member

@Windsland52 Windsland52 commented Mar 18, 2026

Sourcery 总结

阐明在节点识别、动作执行、错误处理和任务终止方面的流水线执行语义,并记录包括 JumpBack、Anchor 和 v5.9 更新在内的最近行为变化。

文档更新:

  • 扩展英文版流水线协议文档,详细说明节点生命周期、跨节点控制(Anchor、JumpBack、need_to_stop)以及主要的识别/动作循环。
  • 记录正常结束、主动停止和错误终止之间的区别,包括错误处理路径如何与 JumpBack 交互。
  • 添加一个专门示例和图示,展示在 next 分支和 on_error 分支之间进行动作失败路由的流程。
  • 明确 timeout、on_error、Anchor 更新、repeat 行为、StopTask 的影响、基于栈的 JumpBack 行为以及 Anchor 解析规则等语义。
  • 更新版本历史,描述 v5.9 的变更,包括基于 Anchor 的 ROI/目标引用,以及在不触发 JumpBack 的情况下,对动作失败进行一致性处理。
  • 将中文版流水线协议文档与英文版中引入的更新语义和行为描述对齐。
Original summary in English

Summary by Sourcery

Clarify pipeline execution semantics around node recognition, action execution, error handling, and task termination, and document recent behavior changes including JumpBack, Anchor, and v5.9 updates.

Documentation:

  • Expand the English pipeline protocol documentation to detail node lifecycle, cross-node controls (Anchor, JumpBack, need_to_stop), and the main recognition/action loop.
  • Document the distinction between normal end, active stop, and error termination, including how error-handling paths interact with JumpBack.
  • Add a dedicated example and diagram for action failure routing between next and on_error branches.
  • Clarify semantics for timeout, on_error, anchor updates, repeat behavior, StopTask effects, JumpBack stack-based behavior, and Anchor resolution rules.
  • Update the version history to describe v5.9 changes, including Anchor-based ROI/target references and consistent action-failure handling without triggering JumpBack.
  • Align the Chinese pipeline protocol documentation with the updated semantics and behavior descriptions introduced in the English version.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗨——我已经 review 了你的改动,一切看起来都很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的 review 有帮助,请考虑分享给更多人 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进之后的 review。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread docs/zh_cn/3.1-任务流水线协议.md Outdated
@MistEO
Copy link
Copy Markdown
Member

MistEO commented Apr 2, 2026

@Windsland52 看看

Comment thread docs/zh_cn/3.1-任务流水线协议.md Outdated
Comment thread docs/zh_cn/3.1-任务流水线协议.md Outdated
@Windsland52
Copy link
Copy Markdown
Member Author

@MistEO 康康

@MistEO
Copy link
Copy Markdown
Member

MistEO commented Apr 4, 2026

再看看? @Windsland52

@Windsland52
Copy link
Copy Markdown
Member Author

感觉行了

@MistEO MistEO merged commit 830ac42 into main Apr 5, 2026
1 check passed
@MistEO MistEO deleted the docs/pipeline branch April 5, 2026 17:25
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.

2 participants