DSH / Atlas
2026-10-19implementedarchitecture

Team task boards share ordinary subagent waits

Team 任务板复用普通 subagent 等待

The subagent tree already supplies identity, discovery, routing, and lifecycle. A second Team roster can grant assignment authority from stale history and duplicates member navigation. Team-wide status waits observe unrelated activity and miss input already pending for the caller. Persisting task-board wakeups as messages adds unread state and message schemas even though the task journal already owns the state to ins

English

Problem

The subagent tree already supplies identity, discovery, routing, and lifecycle. A second Team roster can grant assignment authority from stale history and duplicates member navigation. Team-wide status waits observe unrelated activity and miss input already pending for the caller. Persisting task-board wakeups as messages adds unread state and message schemas even though the task journal already owns the state to inspect.

Decision

The subagent tree is the Team. Ordinary controls own required identity, communication, discovery, interruption, and wait_agent, independently of the optional task board. Team tools own task policy, without adding it to ordinary subagent compositions. Team owns task storage, dependencies, and compare-and-set commands. Assignment accepts the root or any discovered continuable descendant. Historical roster records grant no authority; the Team panel shows tasks and ordinary navigation owns members.

The wait-signal decision is superseded by inbox-only Agent waits. Tree ownership, task durability, and historical non-authority remain unchanged.

Task state remains in the existing journal. Ordinary tool results record what the waiting model observes. Historical roster, mailbox, and task generations remain readable and unchanged. This partially supersedes the roster and wait decisions in Agent Teams and subagent teammates. Their task durability and single-identity rationale remain active; required runtime identity owns retention.

Alternatives considered

Keep Team membership and a separate wait tool. This duplicates tree authority and wait lifecycle, allowing stale roster rows or unrelated activity to affect current work.

Persist task-board notices in every inbox. The task journal already preserves every revision. Durable notices add message types, unread state, coalescing, and delivery-failure recovery solely to interrupt a current wait.

Poll Agent status or start every idle task owner. Activity does not identify useful input, and task readiness does not authorize a new turn. Explicit messages continue idle work when needed.

Consequences

Task completion, inbox availability, current waiting, and Agent lifetime remain separate. Task updates do not end waits; callers inspect current tasks when deciding what to do. The task journal retains committed revisions without storing redundant notifications in recipient Sessions.

Verification distinguishes pending inbox input from task commits, isolates callers, excludes next-turn input and status changes, and covers wait cleanup and task persistence. Assignment coverage retains arbitrary depth and historical non-authority.

中文

问题

subagent 树已经提供身份、发现、路由和生命周期。第二份 Team 名册可能根据过期历史授予分配权限,并重复成员导航。Team 范围状态等待会观察无关活动,却漏掉调用者已有的待处理输入。任务日志已经拥有待查询状态,将任务板唤醒持久化为消息仍会增加未读状态和消息 schema。

决策

subagent 树就是 Team。普通控制工具独立于可选任务板,负责必需身份、通信、发现、中断和 wait_agent。Team 工具负责任务策略,不向普通 subagent 组合添加该策略。Team 负责任务存储、依赖和比较并交换命令。分配接受根或任意已发现的可继续执行后代。历史名册不授予权限;Team 面板显示任务,普通导航负责成员。

等待信号决策已由仅等待收件箱的 Agent 等待取代。树归属、任务持久性和历史记录不授予权限的决策保持不变。

任务状态保留在现有日志中。普通工具结果记录等待中的模型所观察到的结果。历史名册、邮箱和任务代次保持可读且不变。这部分取代 Agent Teams 和 subagent 队友 中的名册与等待决策。其任务持久性和单一身份理由继续生效;必需运行时身份负责保留规则。

考虑过的替代方案

保留 Team 成员关系与独立等待工具。 这会重复树权限和等待生命周期,让过期名册行或无关活动影响当前工作。

将任务板通知持久化到每个收件箱。 任务日志已保留每个修订。持久通知仅为打断当前等待,就增加消息类型、未读状态、合并和投递失败恢复。

轮询 Agent 状态或启动每个空闲任务所有者。 活动状态不能标识有用输入,任务就绪也不授权新轮次。需要时通过显式消息继续空闲成员的工作。

后果

任务完成、收件箱可用性、当前等待和 Agent 生命周期保持独立。任务更新不会结束等待;调用者在决定下一步工作时查询当前任务。任务日志保留已提交修订,不在接收者 Session 中存储重复通知。

验证区分已有收件箱输入和任务提交,隔离调用者,排除下一轮输入及状态变化,并覆盖等待清理和任务持久性。分配验证保留任意深度和历史记录无权限场景。