Merge pull request 'Pin the pi durable review and the recovery fixes' (#159) from feature/pi-durable-borrow into main
ci / test (push) Successful in 2m2s
ci / test (push) Successful in 2m2s
Pin the pi durable review and the recovery fixes
This commit was merged in pull request #159.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# feature/pi-durable-borrow 任务卡
|
||||
|
||||
任务主记录:https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/159 ;状态:进行中;owner:weichen
|
||||
|
||||
## 基线与授权
|
||||
|
||||
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= a5c9fd338598a7969255dd751d1307360afb665d
|
||||
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-pi-durable-borrow(worktree);分支:feature/pi-durable-borrow
|
||||
- 授权与交付终点:写 Documents 调研记录;在 Backend 实施启动对账、输入准入(requestId)、终态原子提交、SSE 慢消费者收敛;Frontend 数据层携带 requestId;推进 documents/backend/frontend 三个 gitlink;开四个 PR。终点是四个 PR 已开、不合入。未授权:合入 main、改 Core 契约、改在审的 Documents PR #34、透明续跑、发版、改写历史、变更分支保护。
|
||||
- 启动自检(2026-10-03T14:18Z):`make precheck` verdict READY。head=a5c9fd3385,origin/main 同步,树干净,linked worktrees=0。必读 core/baseline.md、workflows/delivery.md §1 已读。
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
- 目标:把 pi Pico5(packages/durable)的评估写成调研记录;按“只观察已提交状态、输入先准入、终态一次提交、重开时对账”修四个已核实缺陷。复用现有词汇(`run.failed` 码 `run.interrupted`、HITL `cancelled`),requestId 只在 store 层。
|
||||
- 受影响:Documents 一份记录;Backend 迁移 v14、runmgr、store、server、bus、config;Frontend `api.ts` / `outbox.ts` / `store.ts`。
|
||||
- 非目标:不改 Core;不直接依赖 pi-durable 或 Chord;不做透明续跑、服务端 steer、部分输出恢复;不修改 agent-stack 提案。
|
||||
|
||||
## 同步记录
|
||||
|
||||
| 节点 | sync_base_sha | tested_head_sha | checked_at |
|
||||
|---|---|---|---|
|
||||
| 启动 | a5c9fd338598a7969255dd751d1307360afb665d | a5c9fd338598a7969255dd751d1307360afb665d | 2026-10-03T14:18:27Z |
|
||||
| 同步前验收 | a5c9fd338598a7969255dd751d1307360afb665d | 9e466059b99a040baae89b7a5b1daaeec79ee03f | 2026-10-03T14:39:19Z |
|
||||
| 请求审核前 | a5c9fd338598a7969255dd751d1307360afb665d | e8acda76ef14fdec566fe610314940af9674e79c | 2026-10-03T14:39:41Z |
|
||||
|
||||
## 结果与验证(完成后填写)
|
||||
|
||||
- 结果:Documents `63409005a73f3b38c8cf38749015f2817deaae57`([PR #35](https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Documents/pulls/35))。Backend `44aa764b5625a8d8ac7486dd1e782cdb9930da55`([PR #53](https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Backend/pulls/53))。Frontend `763c4b4804d90041607254bb3fef44306fb7f671`([PR #37](https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/37))。Dev 钉住这三枚指针,主记录 [PR #159](https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/159)。
|
||||
- 验证:
|
||||
- `make precheck`:verdict READY。`[repo] branch=main head=a5c9fd3385`,`[remote] origin/main=a5c9fd3385 ahead=0 behind=0`,`[tree] clean`,`[worktrees] linked=0`,`[R0] a5c9fd3385`。
|
||||
- Backend:`GOWORK=off go vet ./... && GOWORK=off go test -count=1 ./...` 通过。未设置 `AGENT_PG_TEST_DSN`,PostgreSQL 专属用例跳过;SQLite 档跑了启动对账、requestId、SettleRun 回滚和 SSE 重放。
|
||||
- Frontend:`vitest run` 13 文件 69 项通过。
|
||||
- Dev:`make test` 退出码 0(boundaries、pins、libs、core、backend、frontend 69、ui、agent-command)。`make build` 退出码 0,产出 `bin/agent-system`。
|
||||
- `make task-sync`(验收):`Already up to date.` `[synced] sync_base=a5c9fd3385 tested_head=9e466059b9 checked_at=2026-10-03T14:39:19Z`。
|
||||
- `make task-sync`(请求审核前):`Already up to date.` `[synced] sync_base=a5c9fd3385 tested_head=e8acda76ef checked_at=2026-10-03T14:39:41Z`。
|
||||
- 影响与剩余项:不改 Core。PostgreSQL 多实例对账的实库用例要在设置 `AGENT_PG_TEST_DSN` 后再跑一遍。库层试点只写在调研记录里,不改 agent-stack 提案正文。合入由所有者执行,合入后在本 worktree 运行 `make task-finish`。
|
||||
| 同步前验收 | a5c9fd338598a7969255dd751d1307360afb665d | c9f788d702a4564ab39dd9b959be67afd029c55f | 2026-10-03T14:44:26Z |
|
||||
+1
-1
Submodule modules/backend updated: 0a9a9776d6...44aa764b56
+1
-1
Submodule modules/documents updated: 233dfb54ea...63409005a7
+1
-1
Submodule modules/frontend updated: 794c3e1657...763c4b4804
Reference in New Issue
Block a user