Record verification and name the Agent-Native submodule by its deps path.
ci / vet-and-test (push) Failing after 2s
ci / docker-checkout-hostgateway (push) Failing after 4s

The working tree tests passed, and the note states that a fresh remote clone still cannot fetch the unpushed Agent-Native commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-29 14:30:57 +00:00
co-authored by Cursor
parent 7ddcb2180d
commit 850bbeb0a0
2 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
[submodule "Agent-Native"]
[submodule "deps/agent-native"]
path = deps/agent-native
url = ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-Native.git
[submodule "deps/development-guidelines"]
+20
View File
@@ -0,0 +1,20 @@
# 验证记录
- 范围/主任务:规范入口、把 Agent-Native 迁到 `deps/agent-native`,并让 HTTP 错误使用规范码信封和 `X-Trace-Id`。
- 被测版本:功能测试针对 `7ddcb2180dedd080c9e2c6856e4b679c221b4e55`。Agent-Native gitlink `e65c6ba604c9079e1176d9449e295e0d09bedfd3`。`.gitmodules` 里的子模块逻辑名与本记录一起提交,不改变任何 gitlink。
- 目标仓/分支与共同起点:Agent-Squad `main`,起点 `6a10c4272f6fec7dc86e0c47bf5b95cde0db21d5`。
- 最新同步与测试对象:2026-09-29。本仓与 `deps/agent-native/deps/` 中的规范、错误码库、日志库都是同一组 SHA:规范 `26b562d2e34fbc560711296a309c91c74ffc55b1`,错误码库 `b67696d393e7abfbdd16fdde1064c07f5ecd2f72`,日志库 `7f5972007bdcb6047ce7f95ee891f53e0af9d136`。
- 环境:本机 Go 1.27,`GOWORK=off`,无模型端点。
- 实际命令:`GOWORK=off go test -count=1 ./...`;`scripts/submodule-consistency.sh`;`git clone --recurse-submodules /home/weichen/projects/Agent-Squad /tmp/dg-verify/Agent-Squad`。
| 预期用例/场景 | 实际是否执行 | 结果 | 证据/缺项 |
|---|---|---|---|
| 工作区全模块测试,含错误信封与 trace | 是 | PASS | `server.TestErrorEnvelopeAndTrace` 与其余包 |
| 嵌套副本 SHA 一致 | 是 | PASS | `scripts/submodule-consistency.sh` |
| 工作区三层子模块已检出 | 是 | PASS | `git submodule status --recursive` |
| 从本机父仓按远端 URL 递归克隆 | 是 | FAIL | 批准远端没有 `e65c6ba604c9079e1176d9449e295e0d09bedfd3`:`upload-pack: not our ref` |
| 真实模型与浏览器 | 否 | N/A | 测试使用脚本后端 |
首轮失败与重试:无测试失败。克隆失败是因为依赖提交还在本机。
结论与限制:工作区组合可测,还不是可从批准远端完整克隆的发布组合。
剩余项/责任人:先推送 Agent-Native 的 `e65c6ba`,再推送本仓。推送前不要把这个 gitlink 交给只从远端克隆的环境。