Files
16gagent/memory/daily/2026-05-30.md
T
2026-06-06 10:40:48 +08:00

27 lines
987 B
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.
# 2026-05-30 / 2026-05-31(跨夜)
## 今晚做了什么
- Git 远程仓库 `HomeM16/dotfiles` 初始化并推送
- **Google Chrome 正式版** 安装并接入 OpenClaw 浏览器工具
- **Claude Code 2.1.158** 通过 npm + 原生 binary 安装
- **Claude Code 泄漏源码** 备份至 Gitea `HomeM16/claudecode`master 分支)
- **源码架构分析**:从 claude-code 提炼 10 类可迁移工程模式
- **第一次自我进化**:重构工作空间结构,创建 rules/tools/scripts/ 体系
## 学到的重要模式
1. Fast-Path 入口模式(cli.tsx
2. 工具即定义工厂(buildTool<T>
3. 错误三分类(可重试/不可重试/用户取消)
4. 构建时特性标记(feature() + DCE
5. comment 写 WHY 不写 WHAT
6. 状态守卫模式(isTerminalTaskStatus
7. 目录即模块(命令/工具文件夹)
## 待办
- [ ] AIHubMix 买 Key 配 Claude 4.8
- [ ] Claude Code VPN 下登录
- [ ] 查看 `rules/``tools/` 是否合理,迭代