DSH / Atlas
2026-10-29implementedsimplification

Team projection retains only tasks and mode

Team 投影仅保留任务与模式

The Team projection retained historical member, message, and delivery collections after subagent discovery and messaging replaced their runtime consumers. Its retired lifecycle and mailbox validators could still fail the current task board, while checkpoints retained message bodies with no current reader.

English

Problem

The Team projection retained historical member, message, and delivery collections after subagent discovery and messaging replaced their runtime consumers. Its retired lifecycle and mailbox validators could still fail the current task board, while checkpoints retained message bodies with no current reader.

Decision

Project only tasks, saved mode, and their recovery metadata. Ignore team/member and team/message/* payloads without rebuilding or validating their former state machines. This deliberately gives up historical teammate and mailbox state recovery and the associated validation failures. The user accepted that loss; task recovery remains required.

Checkpoint version 7 invalidates prior state, including failures caused by retired records. The registry rebuilds from the unchanged Session log. Historical event declarations, format migrations, message sources, and attachment export remain supported; no Session format bump or log conversion is needed.

This partially supersedes the projection and mailbox-validation decisions in Agent Teams. The subagent identity and inbox-only wait decisions remain active, as do task durability and shared-checkout semantics.

Alternatives considered

Retain decode-only roster and mailbox projections. No production consumer reads these collections. Keeping them preserves message history in checkpoints and lets obsolete validation stop current task operations.

Migrate or delete historical log events. The task board can ignore these records directly. Rewriting them adds migration work and would discard archival data that existing format readers and exports can still use.

Consequences

Old teammate and mailbox state is unavailable through Team projection. Original log records remain readable, but neither grant authority nor trigger delivery. Reintroducing recovery requires a concrete consumer and an explicit decision about its retained data and failure scope.

Tests cover ignored legacy payloads, version-6 checkpoint invalidation, current checkpoint suffix replay, JSONL restart with task mutation, stable view references, and a recorded headless profile accepting a task after retired lifecycle and mailbox records. Task and mode validation still fail visibly.

中文

Problem

子代理发现和通信替代运行时消费者后,Team 投影仍保留历史成员、消息与投递集合。已退役的生命周期和邮箱校验器仍可能使当前任务板失败,而检查点保留着没有当前读取方的消息正文。

Decision

仅投影任务、保存的模式及其恢复元数据。忽略 team/member 和 team/message/* 载荷,不再重建或校验原有状态机。这明确放弃历史队友与邮箱状态恢复,以及相应的校验失败行为。用户接受这一能力损失;任务恢复仍为必要能力。

检查点版本 7 使旧状态失效,包括退役记录导致的失败。注册表从未改写的 Session 日志重建状态。历史事件声明、格式迁移、消息来源和附件导出仍受支持;无需提升 Session 格式版本或转换日志。

本决策部分取代 Agent Teams 的投影与邮箱校验决策。子代理身份和仅等待收件箱决策仍有效,任务持久性与共享检出语义也保持有效。

Alternatives considered

保留仅供解码的名册与邮箱投影。 没有生产消费者读取这些集合。保留它们会在检查点中保存消息历史,并允许过时校验阻断当前任务操作。

迁移或删除历史日志事件。 任务板可以直接忽略这些记录。改写增加迁移工作,还会丢失现有格式读取器和导出功能仍可使用的归档数据。

Consequences

Team 投影不再提供旧队友与邮箱状态。原始日志记录仍可读取,但不授予权限,也不触发投递。重新引入恢复需要具体消费者,并明确决定保留的数据和失败影响范围。

测试覆盖忽略旧载荷、版本 6 检查点失效、当前检查点后缀重放、JSONL 重启后修改任务、稳定视图引用,以及录制的 headless profile 在退役生命周期与邮箱记录之后接受任务。任务和模式校验仍可见地报错。