Files
ld2420test/.cursor/rules/git-and-docs.mdc
DESKTOP-PUHFO60\dsx2016 d5cfc30b3b Initial CYD LD2420 radar dashboard with flashable firmware archive.
Presence uses ESPHome factory gates/timeout; OT1->GPIO22 RX->GPIO27; prebuilt bins under firmware/cyd_28r.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 21:53:26 +08:00

16 lines
732 B
Plaintext
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.
---
description: 每次改动必须提交 Git、更新文档,并刷新预编译固件
alwaysApply: true
---
# Git、文档与固件
对本项目做任何功能、行为或配置改动后,在结束本次任务前必须:
1. **更新文档**:至少更新 `README.md` 的「功能 / 硬件 / 变更记录」中受影响部分。
2. **刷新预编译固件**:运行 `.\firmware\export_from_build.ps1`(或 `-SkipBuild`),保证 `firmware/cyd_28r/` 随时可刷。
3. **提交 Git**:`git add` 相关文件后 `git commit`(含 `firmware/` 归档)。
4. **不要**在未提交的情况下声称任务已完成。
例外:用户明确说「先别提交」或「不要改文档」时,以用户当次指令为准。