From d341e6df212787742b654a86e04d207697b34705 Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 30 Sep 2026 03:18:51 +0000 Subject: [PATCH 1/3] Record the task card for fix-empty-list-json --- .task/fix-empty-list-json.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .task/fix-empty-list-json.md diff --git a/.task/fix-empty-list-json.md b/.task/fix-empty-list-json.md new file mode 100644 index 00000000..20d26a83 --- /dev/null +++ b/.task/fix-empty-list-json.md @@ -0,0 +1,25 @@ +# fix/empty-list-json 任务卡 + +任务主记录:;状态:进行中;owner:weichen + +## 基线与授权 + +- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 923591feda367bc8ceaf809ed7c294e5245a3a3a +- 工作区:/home/weichen/projects/Agent-System-Dev-wt-fix-empty-list-json(worktree);分支:fix/empty-list-json +- 授权与交付终点:<本次允许的动作与终点;未授权事项写明> + +## 目标与非目标 + +<预期结果、受影响入口/模块/契约;明确不做什么。> + +## 同步记录 + +| 节点 | sync_base_sha | tested_head_sha | checked_at | +|---|---|---|---| +| 启动 | 923591feda367bc8ceaf809ed7c294e5245a3a3a | 923591feda367bc8ceaf809ed7c294e5245a3a3a | 2026-09-30T03:18:51Z | + +## 结果与验证(完成后填写) + +- 结果: +- 验证: +- 影响与剩余项: -- 2.54.0 From 3366148dcf660148c58dff8ec56e02d80604c7a0 Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 30 Sep 2026 03:22:48 +0000 Subject: [PATCH 2/3] Advance the backend gitlink with the empty-list serialization fix Why: the backend store List* functions encoded empty results as JSON null, which crashed the frontend nav (.map on null) on any newly created project. Evidence: backend go test all packages pass; store regression TestEmptyListsSerializeAsEmptyArrays asserts [] for empty lists. Impact: parent pins backend at the serialization fix plus the core-pin build-blocker advance. Refs: .task/fix-empty-list-json.md --- modules/backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backend b/modules/backend index 99fb59bd..72e6ce66 160000 --- a/modules/backend +++ b/modules/backend @@ -1 +1 @@ -Subproject commit 99fb59bdc26bfe725475262d6657504b7bac6f41 +Subproject commit 72e6ce66b4c6591dbf7c64b42808af5e0a4ea378 -- 2.54.0 From 4d380e5fb2307e7bf9bc7d2945cac2570ccd7bc1 Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 30 Sep 2026 03:23:31 +0000 Subject: [PATCH 3/3] Record the sync checkpoint --- .task/delivery-mechanism.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.task/delivery-mechanism.md b/.task/delivery-mechanism.md index 872a0790..bb02a572 100644 --- a/.task/delivery-mechanism.md +++ b/.task/delivery-mechanism.md @@ -23,3 +23,4 @@ - 验证:临时真实仓库正负例 19/19 PASS(precheck 三态/start 拒绝与建立/hook 三类拒绝与放行/sync/finish 回收与 abandon 双确认);完整输出见任务执行记录。 | 同步前验收 | 3092715bf68bc4cefb6515c157cd90cf9b5cba2e | f31fd5f62d3dd09780689e53f16c7da94215cbd1 | 2026-09-30T03:12:18Z | +| 同步前验收 | 923591feda367bc8ceaf809ed7c294e5245a3a3a | 3366148dcf660148c58dff8ec56e02d80604c7a0 | 2026-09-30T03:23:31Z | -- 2.54.0