Files
Agent-System-Dev/.task/archive/feature-store-pg-archived-literal.md
T
weichen 96d8ee3970
ci / test (pull_request) Successful in 1m55s
Close 1 merged task card(s) and archive them
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-store-pg-archived-literal.md(PR#194) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-05 03:24:02 +00:00

2.5 KiB
Raw Blame History

feature/store-pg-archived-literal 任务卡

任务主记录:PR #194 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/194;backend PR #65 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Backend/pulls/65;状态:已完成(回填);owner:weichen

基线与授权

  • 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 989ed378dd
  • 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-store-pg-archived-literal(worktree);分支:feature/store-pg-archived-literal
  • 授权与交付终点:修复 postgres 档 GET /api/conversations 500,推进 backend 与 Dev gitlink PR。合入与 dev 部署在 PR 就绪后执行。不改 schema,不处理登录前 401。

目标与非目标

  • 目标:ListTasks 默认未归档视图把 archived 绑成 Go bool,消除 PG boolean = integer(42883)。
  • 非目标:不改迁移(PG BOOLEAN / SQLite INTEGER 保持),不改认证 401。

同步记录

节点 sync_base_sha tested_head_sha checked_at
启动 989ed378dd 989ed378dd 2026-10-05T03:15:37Z

结果与验证

  • 结果:backend 8d82408 将 ListTasks 的 archived=0 改为 archived=? 绑定 false;openTestStore 兼容 URL 与键值对 DSN,search_path 保留 public。
  • 验证:修复前 pg1 上 TestConversationFlagsAndTaskList 报 SQLSTATE 42883。修复后 AGENT_PG_TEST_DSN=<pg1> go test ./internal/store -count=1 通过;backend go vet ./... && go test ./... -count=1 通过;Dev 仓 make test 通过(2026-10-05)。
  • 影响与剩余项:只推进 modules/backend gitlink。backend PR #65 与本仓 PR 待所有者合入;合入后重新部署 dev 并用 GET /api/conversations 验收。401 不在本次范围。 | 同步前验收 | 989ed378dd | e1ec73941e | 2026-10-05T03:20:05Z |

闭合记录(card-autoclose 回填)

  • 依据:merge 1a033b41a679f991f282c7aea0de30084df0b3e9(PR #194)已包含于 origin/main,分支成果已落盘;本段为合入后回填。
  • 合并主题:Merge pull request 'Pin the ListTasks archived boolean fix in the backend store' (#194) from feature/store-pg-archived-literal into main
  • 归档:随闭合移入 .task/archive/;任务执行期的过程证据见原任务记录与 PR。