Files
watchman/docs/tasks/M01.md
T
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

28 lines
1.5 KiB
Markdown
Raw 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.
# M01 搭建基础框架和开发环境
一个会话聚焦本模块。实现切片见 `.task/2026-11-17/m01-foundation/implementation-plan.md`。
## 内部步骤(主 Agent 根据现有代码安排)
- [x] 明确边界、依赖和复用方案。口径见 D12–D18。
- [x] S1–S7 实现与 critic 缺口补齐。
- [x] 独立 review(PASS_WITH_WARNINGS)及必改/顺带项修复。
- [x] 受影响部分复审:`.task/2026-11-17/m01-foundation/reviews/reviewer-m01-fixup.md`(W1 openapi 已补)。
- [x] 主 Agent 最终验收与用户确认(2026-11-17 finalApproval + commit)。
当前恢复点:DONE_LOCAL。下一模块默认 M02。
## 目标与边界
- 阶段/需求编号:M01。
- 依赖及当前状态:本机 Postgres + RabbitMQ Compose。
- 必须已确认的决策:D01、D04、D12–D18。
- 明确不做:登录、业务模块、vben5、Redis、微服务、生产部署。
## 证据与结论(主 Agent 汇总)
- Review:`reviewer-m01.md` → PASS_WITH_WARNINGS;`reviewer-m01-fixup.md` → 必改全关。
- 后端:`uv run pytest services/watchman/tests -q` → **23 passed**
- 前端 unit:`pnpm test:unit` → **8 passed**
- Playwright:`pnpm test:e2e` → **3 passed**;截图见 `docs/evidence/M01/ui/`
- typecheck:通过
- 顺带落地:Tailwind v4、element-theme、信封去 timestamp、41000/42000/503 测试、commit 后租户重绑、非 JSON BusinessError、Dockerfile 非 root、许可证预检、openapi 收口
- 结论:**DONE_LOCAL**(非真实生产联调验收)