Commit Graph

3 Commits

Author SHA1 Message Date
Matrix Music Bot Dev 17eb51e215 chore: 初始化 Cargo 项目骨架与构建验证
工具链:rustup + stable-x86_64-pc-windows-gnu + MinGW gcc 链接器

包含内容:
- Cargo.toml(edition 2024,name=matrix-music-bot)
- Cargo.lock(dev profile 验证通过)
- src/main.rs(hello world 占位,已 cargo build 通过)
- .cargo/config.toml(项目级 cargo 配置,指定 MinGW gcc 为链接器)
- .gitignore 增补:排除项目根的 plan 副本(正式版在 ~/.claude/plans/)

构建验证:cargo build 在 MinGW gcc 链接器下成功完成(1.56s)

后续 M1.2 将添加:clap(CLI 解析)+ serde/toml(配置文件)+ thiserror/anyhow
+ tracing(日志)+ tokio(async)+ matrix-sdk(含 E2EE crypto 与 UI timeline)
2026-07-02 01:25:33 +08:00
Matrix Music Bot Dev 5c4b8d8b82 docs: 添加 CLAUDE.md 项目协作规范
包含两条核心规则:

1. 技术决策流程:必须列出 2+ 方案 + 解释优缺点 + 用户拍板;
   不得自行默认选择。详见 CLAUDE.md 第 1 节。

2. Git 实时提交规范:禁止积累大批改动后一次性提交;
   每个逻辑单元完成后立即提交(单文件/单函数/milestone 边界);
   中文 commit message + Conventional Commits 风格;
   提交前必须 cargo build/check 通过。
   详见 CLAUDE.md 第 2 节。
2026-07-02 01:09:01 +08:00
Matrix Music Bot Dev 3426acbb77 chore: 初始化仓库结构(.gitignore + data/ 占位)
- 排除 /target、/data、secret.bin、.env 等敏感与构建产物
- 保留 data/.gitkeep 占位以便运行时生成 bot.db / crypto.db
2026-07-02 01:08:45 +08:00