1445043649
44f84800e9
docs(impl): PR4 implementation note + STATUS update
...
Records the 14-task PR4 delivery (T4.1-T4.14), final test baseline
(3136 passed / 26 skipped), key design decisions that diverged from
the plan draft (TokenPayload optional fields, ensure_default_workspace
helper shape, slug walker treating blacklist as taken), follow-up
items, and a copy-paste live smoke command list for the user to
verify make-dev end-to-end.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 22:43:04 +08:00
1445043649
d98498b705
docs(impl): T4.1 — confirm alembic baseline is not needed
...
alembic heads/history both empty, versions/ dir empty: 0001 can be the
first revision with down_revision=None. alembic_version table will be
auto-created on first upgrade head. doctor.py needs no new check.
Also records T4 preparation grep findings on _ensure_admin_user current
behavior (open issue #3 resolved).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 22:07:34 +08:00
1445043649
c70c6594de
docs(impl): STATUS — record LOCK sign-off and origin push
...
Two unblocking events on 2026-05-12: team signed off all 7 irreversible
schema decisions, and docs branch was finally pushed to origin (38 commits,
via SSH-over-443 to bypass local proxy). PR4 is now unblocked.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 22:02:33 +08:00
1445043649
a592319e3c
docs(impl): STATUS update after PR3 merge
...
PR3 ✅ merged 进 docs branch(7 commits, T3.1-T3.10)+ RDS live 验证通过
(11 张表含 workspaces/workspace_memberships,partial unique on owner 索引
建出来)。测试基线 3134 passed + 25 skipped + 0 failed。
下一个 PR4(auth 改造)plan 推荐 Inline 模式(跨 jwt.py/auth_middleware.py/
routers/auth.py 多文件耦合紧)。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 21:34:05 +08:00
1445043649
dda8264057
docs(impl): PR3 implementation note + acceptance checklist
...
记录 Stage 0 PR3 的实施落点、LOCK 决策、跟进项与 6 commit 列表。
验收:3134 passed + 25 skipped + 0 failed(PR2 末 3087 + 47 新 ws_context/
ws_repo/membership_repo 测试 + 2 PG-only skipped)。RDS live 验证通过:
workspaces / workspace_memberships 表 + partial unique on owner 都建出来。
T3.6 (membership ORM) 提前到 T3.4-T3.5 (workspace repo) 之前,因为
WorkspaceRepository.get/list_by_user 会 JOIN memberships。
Stage 0 PR3 T3.10. PR3 完成。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 21:18:19 +08:00
1445043649
cbbb83a706
docs(impl): STATUS update after PR2 live verification on RDS
...
PR1 + PR2 已 live 验证:远程 Aliyun RDS (PostgreSQL 17.9) 上 9 张表
(DeerFlow 5 + LangGraph 4) 全部 create_all 成功。
记 3 个 PR2 follow-up commits(不在原 plan task list 但 live 必需):
- testcontainers image 16→17 对齐 RDS 大版本
- serve.sh auto-add --extra postgres 防 uv sync 卸 asyncpg
- async_provider 剥 +asyncpg dialect 前缀让 LangGraph saver 能解析 URL
更新"一句话状态" + 标 PG live 验证(区分 testcontainers 路径仍未实跑)。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-11 18:01:22 +08:00
1445043649
7f17cb8fee
chore(test): bump testcontainers Postgres to 17-alpine
...
\`make doctor\` 实测远程 Aliyun RDS = PostgreSQL 17.9。把
backend/tests/fixtures/postgres.py 的 testcontainers 镜像从
postgres:16-alpine 调到 postgres:17-alpine,与生产对齐。
同步把 STATUS.md "RDS 大版本对齐" 项标 done。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-11 17:29:16 +08:00
1445043649
ad22242ecc
docs(impl): add Stage 0 progress dashboard (STATUS.md)
...
新增 docs/multi-tenant-redesign/03-impl/STATUS.md 作为 Stage 0 唯一的"现在
到哪了"权威来源:
- 8 PR 状态表(PR0-PR2 ✅ merged,PR3-PR8 🟡 pending)
- 用户必须跟进的事(live PG 实跑 / RDS 大版本对齐 / push origin / LOCK
review / 远程 RDS 密码轮换)
- 跳过/推迟的子任务(T1.10 docker-pending、T2.7 acked、T2.8 optional
skipped、T2.9 backend/CLAUDE.md 待补)
- 即将遇到的开放问题(PR4 alembic baseline / _ensure_admin_user 现状 /
PG 大版本)
- PR3 模式选择 trade-off(Inline vs Subagent-Driven)
- 维护规则:完成 PR 后必更新;新 session 首先读本文件
填补 plan/impl notes 之外的空白:plan 是静态的,impl notes 是 per-PR
快照;STATUS 是跨 PR 的执行状态视图。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-11 16:44:09 +08:00
1445043649
1112a1971b
docs(impl): PR2 implementation note + acceptance checklist
...
记录 Stage 0 PR2 的实施落点、关键 LOCK 决策、跟进项与 7 commit 列表。
验收:3087 passed + 23 skipped + 0 failed(vs PR1 基线 3085 + 2 新
default-backend 测试)。
Stage 0 PR2 T2.10. PR2 完成。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-11 09:23:16 +08:00
1445043649
85a14f4c05
docs(impl): PR1 implementation note + acceptance checklist
...
记录 Stage 0 PR1 的实施落点、关键 LOCK 决策、fixture 用法示例、跟进项与
10 commit 列表。验收:3085 passed + 23 skipped + 0 failed(无 regression),
PG smoke 在 docker daemon 起来后实跑(CI workflow 已配)。
Stage 0 PR1 T1.10. PR1 完成。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-10 22:58:21 +08:00