[RFC] v2 架构评审 — 从导演模式到集市模式 #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
v2 架构(
docs/v2_architecture.md)提出将编排模式从"导演模式"(Pipeline 调度 Agent)转变为"集市模式"(Actor 自主认领任务协作)。v2 设计文档已在
v2-architecture分支上。待评审的关键决策点
1. Actor 的
_run()循环归谁管?_run()循环,内部监听 Bus 事件我的倾向:方案 A,Actor 自治更彻底,但 Actor 需要持有 Bus 引用。
2. 竞争认领策略
我的倾向:方案 A,最简单,Actor 之间有"主动"激励。
3.
think()的输入输出格式(task_description: str, context: dict | None){"content": str, "messages": list[dict]}是否需要支持 streaming(SSE)?Phase 1 先不做。
4. Bazaar 的职责边界
depends_on,不自动调度)5. 确定性保障
我的倾向:后者,v2 定位就是不确定性协作,不要为了兼容确定性而引入复杂开关。
6. 桥接粒度
是否需要第三种:Cell Bridge(桥接到 bixiu 的 Cell/Tissue)?
评审方式
逐条回复此 issue 即可。有争议的决策点单独开子 issue 讨论。
相关文档
docs/v2_architecture.md