Files
unknownandCursor 8fb16f4a4a feat(infra): 落地 M01 基础框架与本机开发环境
交付 FastAPI/Celery/Vue 薄壳、FORCE RLS、Compose 回环与 review 修复证据,关闭 M01 DONE_LOCAL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 15:00:39 +08:00

41 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 交接 2026-11-17-002
## 当前任务
M01 基础框架。实现切片 S1–S7 已完成,等待最终确认与独立 review。
## 已完成
- uv + `web/` 工作区,Python 3.12.16
- FastAPI 数值信封与 `/health`
- 本机 Postgres 库 `watchman` + 强制 RLS + 幂等写入
- `deploy/compose.dev.yml` RabbitMQ(127.0.0.1:56729 / 15679)
- Celery `watchman.probe.ping` 经 broker 执行成功,审计表行数不变
- 控制台薄壳与四语言目录
- `docs/runbook.md`;API 镜像 `docker compose ... --profile app build api` 通过
## 验证
- `uv run pytest services/watchman/tests -q` → 10 passed
- `pnpm --filter @watchman/console typecheck` → 通过
- RabbitMQ healthy;worker 日志显示 probe succeeded
## 未完成
- 正式独立 code review
- 浏览器健康三态截图/断言归档
- Git commit(用户未要求)
- M02 登录与权限
## 恢复点
1. 确认 `.env.local` 仍在本机且未入库
2. `docker compose -f deploy/compose.dev.yml --env-file .env.local up -d rabbitmq`
3. `uv run python -m watchman api` / `worker`
4. 用户最终确认后可标 M01 进入 review/DONE_LOCAL 流程
## 不要重复的副作用
- 不要再次对已应用的 `20261117_0001` 迁移做 destructive reset,除非用户明确要求
- 不要把 `.env.local` 提交进 Git