Merge ID-only Team base into agent teamwork UI polish

This commit is contained in:
Dudu-0223 committed 2026-10-30 14:32:55 +08:00
commit 5a052d6767
321 files changed
+1771 -4966

No files matched your search

@@ -1,28 +0,0 @@
# Bilingual-pair consistency record for 2026-10-25-subagent-tool-names.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/persistence-changes/2026-10-25-subagent-tool-names.md
/:
en: 3d5a424ae7d7e46b
zh: c22a8e4a62d8cc1a
/2026-10-25-subagent-tool-names:
en: 74dd331220011a1b
zh: 008acdd3c41a03f4
/2026-10-25-subagent-tool-names/summary:
en: bb91739791e437e2
zh: a75903b7a3d1c437
/2026-10-25-subagent-tool-names/table-of-contents:
en: 6cf314a069ceb451
zh: 9adff678e9ecab3b
/2026-10-25-subagent-tool-names/declaration:
en: 6907136f28e48c90
zh: 02f8298485f3d8e7
/2026-10-25-subagent-tool-names/compatibility:
en: e50cc33503dc233f
zh: 3e08289200786f8b
/2026-10-25-subagent-tool-names/verification:
en: 5e801f6794f1bdee
zh: c3313150883bf75e
/2026-10-25-subagent-tool-names/dev-note:
en: b75c8458928b72b9
zh: 003ba4e17b4b5269
@@ -1,48 +0,0 @@
---
description: "Records a persistence type transition and its compatibility acknowledgement."
kind: persistence-change
---
# 2026-10-25-subagent-tool-names
English | [中文](2026-10-25-subagent-tool-names.zh.md)
## Summary
Adds the root-Session-owned subagent-name/bound event for persistent name-to-id bindings.
## Table of Contents
- [Declaration](#declaration)
- [Compatibility](#compatibility)
- [Verification](#verification)
- [Dev Note](#dev-note)
<a id="declaration"></a>
## Declaration
```yaml persistence-change
schemaVersion: 1
id: 2026-10-25-subagent-tool-names
baseline: false
changes:
- root: "event:subagent-name/bound"
previous: null
after: "2073e98f0c214cc431b1a9a027efe75d22190a8ed8fed2791b47c2b52dd32a57"
decision: same-version
```
<a id="compatibility"></a>
## Compatibility
Existing V4 Sessions remain readable and unnamed catalog children retain their Session ids. The new event has a distinct discriminator and does not change subagent/catalog. Older readers without this required event in their vocabulary refuse a Session containing it before adoption; they do not silently discard names or misinterpret another event. The writer format remains V4.
<a id="verification"></a>
## Verification
The subagent-names package tests cover binding replay, inherited-fork exclusion, checkpoint recovery, and conflicting binding rejection. The storage-contract.spec.ts and V4 codec.spec.ts tests cover refusal of unknown required events before adoption.
<a id="dev-note"></a>
## Dev Note
None.
@@ -1,16 +0,0 @@
{
"formatVersion": 2,
"roots": [
{"key":"event:subagent-name/bound","kind":"event","event":"subagent-name/bound","surface":false,"digest":"2073e98f0c214cc431b1a9a027efe75d22190a8ed8fed2791b47c2b52dd32a57"}
],
"types": [],
"nodes": {
"0657d3ca5ac4e7bf": {"kind":"primitive","type":"number"},
"2073e98f0c214cc4": {"kind":"object","properties":[{"name":"data","type":"671fc8cbd3a92496","optional":false},{"name":"ignorable","type":"dacf3d5f3e4ff619","optional":true},{"name":"seq","type":"0657d3ca5ac4e7bf","optional":false},{"name":"time","type":"0657d3ca5ac4e7bf","optional":false},{"name":"type","type":"5cc512378245b2df","optional":false}],"indices":[]},
"4cd48f3e5108bd6e": {"kind":"primitive","type":"string"},
"5cc512378245b2df": {"kind":"literal","value":"subagent-name/bound"},
"671fc8cbd3a92496": {"kind":"object","properties":[{"name":"childId","type":"4cd48f3e5108bd6e","optional":false},{"name":"name","type":"4cd48f3e5108bd6e","optional":false},{"name":"version","type":"f88f1b7b6bb733f6","optional":false}],"indices":[]},
"dacf3d5f3e4ff619": {"kind":"literal","value":true},
"f88f1b7b6bb733f6": {"kind":"literal","value":1}
}
}
@@ -1,48 +0,0 @@
---
description: "记录持久化类型更改及其兼容性确认。"
kind: persistence-change
---
# 2026-10-25-subagent-tool-names
[English](2026-10-25-subagent-tool-names.md) | 中文
## 概述
增加由根 Session 持有的 subagent-name/bound 事件,持久保存名字到 ID 的绑定。
## 目录
- [声明](#declaration)
- [兼容性](#compatibility)
- [验证](#verification)
- [开发备注](#dev-note)
<a id="declaration"></a>
## 声明
```yaml persistence-change
schemaVersion: 1
id: 2026-10-25-subagent-tool-names
baseline: false
changes:
- root: "event:subagent-name/bound"
previous: null
after: "2073e98f0c214cc431b1a9a027efe75d22190a8ed8fed2791b47c2b52dd32a57"
decision: same-version
```
<a id="compatibility"></a>
## 兼容性
已有 V4 Session 仍可读取,未命名的 catalog 子节点保留其 Session id。新事件使用独立判别符,不改变 subagent/catalog。事件词汇表中没有这一必读事件的旧读取器会在接管前拒绝包含它的 Session,不会静默丢弃名字或将其误解为其他事件。写入格式仍为 V4。
<a id="verification"></a>
## 验证
subagent-names 包测试覆盖绑定回放、排除 fork 继承事件、checkpoint 恢复及拒绝冲突绑定。storage-contract.spec.ts 与 V4 codec.spec.ts 测试覆盖在接管前拒绝未知必读事件。
<a id="dev-note"></a>
## 开发备注
无。