[WIP] Container storage overhaul: single binary, containerized DB/KB storage (U1-U6) #697

Draft
weichen wants to merge 4 commits from feature/container-storage-plan into main
Owner

[WIP] L1 initiative:单一应用二进制与容器化数据库、知识库存储改造

  • 方案与实施计划:docs/superpowers/plans/2026-10-22-container-storage-plan.md(2026-10-22 审阅快照)
  • 章程:.task/feature-container-storage-plan.md(目标与非目标、测试策略、验收条件、领域规则)
  • 目标:一个完整应用服务二进制 + 两个 PG 容器(基座/RDM)+ 知识库 pgvector 容器 + 外置持久文件;prod/test/verify 独立环境;可验证的完整备份恢复与克隆隔离。

子任务登记

子任务 内容 状态
U1 环境与数据归属合同 未开始
U2 容器数据库与 svc 接线 未开始
U3 迁移与文件引用兼容 未开始
U4 组合备份与恢复新目标 未开始
U5 测试/验证克隆与环境选择 未开始
U6 单二进制与组合验收、运维交付 未开始

非目标:生产迁移执行(O1 另行授权)、高可用平台、零停机/PITR、删除旧 SQLite/原生 PG 路径。

## [WIP] L1 initiative:单一应用二进制与容器化数据库、知识库存储改造 - 方案与实施计划:`docs/superpowers/plans/2026-10-22-container-storage-plan.md`(2026-10-22 审阅快照) - 章程:`.task/feature-container-storage-plan.md`(目标与非目标、测试策略、验收条件、领域规则) - 目标:一个完整应用服务二进制 + 两个 PG 容器(基座/RDM)+ 知识库 pgvector 容器 + 外置持久文件;prod/test/verify 独立环境;可验证的完整备份恢复与克隆隔离。 ## 子任务登记 | 子任务 | 内容 | 状态 | |---|---|---| | U1 | 环境与数据归属合同 | 未开始 | | U2 | 容器数据库与 svc 接线 | 未开始 | | U3 | 迁移与文件引用兼容 | 未开始 | | U4 | 组合备份与恢复新目标 | 未开始 | | U5 | 测试/验证克隆与环境选择 | 未开始 | | U6 | 单二进制与组合验收、运维交付 | 未开始 | 非目标:生产迁移执行(O1 另行授权)、高可用平台、零停机/PITR、删除旧 SQLite/原生 PG 路径。
weichen added 2 commits 2026-10-22 09:11:45 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-container-storage-plan.md; R0=955a32de2bb49171348bad5f566cce935df19212.

Impact: task metadata only; the feature workspace starts at 955a32de2b.

Refs: .task/feature-container-storage-plan.md
Add container-storage initiative charter and reviewed plan
ci / svc-realcombo (pull_request) Successful in 2m47s
ci / test (pull_request) Successful in 8m54s
ci / test-pg (pull_request) Successful in 13m2s
b360bcb974
Why: register the L1 initiative for the single-binary + containerized
database/knowledge-storage overhaul (U1-U6) and land the reviewed plan
as the charter's authoritative reference.

Evidence: NOT_RUN (planning documents only; no product change)

Impact: docs and task card only; no runtime behavior change.

Refs: docs/superpowers/plans/2026-10-22-container-storage-plan.md
weichen added 1 commit 2026-10-23 00:52:08 +00:00
Record the Backend API-alignment external blocker in the charter
ci / svc-realcombo (pull_request) Successful in 2m34s
ci / test (pull_request) Successful in 9m8s
ci / test-pg (pull_request) Successful in 12m34s
5ae54c1cfb
Why: U1's CI gate and the initiative's pin consistency are blocked by
Backend compiling against the old dependency API generation while the
endpoint migration requires forward pins; documented as an external
precondition.

Evidence: NOT_RUN (reproduced in gitea-endpoint-migration task)

Impact: charter record only.
Author
Owner

外部前置阻塞(影响 #710 及本 PR CI)

Gitea 迁移后旧端点已死:本 initiative 及其子任务的 CI checkout 需要组件 pin 前移到迁移后的 main;但 Backend 编译依赖旧一代 deps API,pin 前移会让 Backend vet/build 失败(已在 gitea-endpoint-migration 任务实测:SideEffects/ProcessEvent 符号缺失)。

解除路径:先落地 Backend 依赖 API 升级集成任务 → 各仓 re-pin 到最新 main → #706(端点迁移)与 #710(U1)恢复 CI → 恢复 M1 合入门禁。在此之前 U2—U6 的分支实施可继续,合入门禁暂停。

另:Agent-Command/Intent/Native/Squad 存在 fix/gitea-endpoint-migration-compat 过渡分支(Backend 兼容用),集成完成后可删。

## 外部前置阻塞(影响 #710 及本 PR CI) Gitea 迁移后旧端点已死:本 initiative 及其子任务的 CI checkout 需要组件 pin 前移到迁移后的 main;但 Backend 编译依赖旧一代 deps API,pin 前移会让 Backend vet/build 失败(已在 gitea-endpoint-migration 任务实测:SideEffects/ProcessEvent 符号缺失)。 **解除路径**:先落地 Backend 依赖 API 升级集成任务 → 各仓 re-pin 到最新 main → #706(端点迁移)与 #710(U1)恢复 CI → 恢复 M1 合入门禁。在此之前 U2—U6 的分支实施可继续,合入门禁暂停。 另:Agent-Command/Intent/Native/Squad 存在 fix/gitea-endpoint-migration-compat 过渡分支(Backend 兼容用),集成完成后可删。
weichen added 1 commit 2026-10-23 05:59:37 +00:00
Update the charter blocker: Backend alignment landed, command lines remain
ci / svc-realcombo (pull_request) Successful in 3m13s
ci / test (pull_request) Successful in 9m2s
ci / test-pg (pull_request) Successful in 11m57s
0e26f260d8
Why: Backend PR #248 merged the dependency API alignment; the residual
blocker is the Agent-Command two-line semantic conflict requiring an
owner decision.

Evidence: NOT_RUN (see PR #706 blocker comment)

Impact: charter record only.
All checks were successful
ci / svc-realcombo (pull_request) Successful in 3m13s
Required
Details
ci / test (pull_request) Successful in 9m2s
Required
Details
ci / test-pg (pull_request) Successful in 11m57s
Required
Details
This pull request is blocked because it's outdated.
You are not authorized to merge this pull request.
This branch is out-of-date with the base branch
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/container-storage-plan:feature/container-storage-plan
git checkout feature/container-storage-plan
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#697