Files
msh-system/msh_single_uniapp/.fixes/templates/FIX_TEMPLATE.md
scottpan 6122f94818 Add automated fix workflow for AI nutritionist page
- Create .fixes/ directory structure for tracking repairs
- Add FIX-001 to FIX-009 repair tasks based on Cursor review
- Add automation scripts (start-fix.sh, complete-fix.sh)
- Update HEARTBEAT.md with repair checklist
- Create AUTOMATION_PLAN.md with workflow documentation

Fixes address:
- Remove fake initial data
- Add clear chat button
- Split oversized component
- Optimize multi-image upload
- Fix scroll behavior
- Remove dead code
- Extract hardcoded config
2026-02-28 06:56:43 +08:00

86 lines
1.1 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.
# FIX-XXX: 任务标题
**状态**: 进行中
**创建时间**: YYYY-MM-DD
**优先级**: 高/中/低
**负责人**: msh-agent
---
## 问题描述
详细描述要修复的问题...
### 当前行为
...
### 预期行为
...
### 影响范围
...
---
## 修复方案
### 方案A推荐
...
### 方案B
...
---
## 实施步骤
- [ ] 1. 备份原文件
- [ ] 2. 创建测试用例
- [ ] 3. 实施修改
- [ ] 4. 本地测试
- [ ] 5. 多端测试(微信小程序/H5/App
- [ ] 6. 代码审查
- [ ] 7. 合并到主文件
- [ ] 8. 更新文档
---
## 文件变更
### 新增文件
- `components/xxx.vue`
- `utils/xxx.js`
### 修改文件
- `pages/tool/ai-nutritionist.vue` (行号 X-X)
---
## 测试记录
### 测试环境
- 平台: 微信小程序 / H5 / App
- 设备: iPhone / Android / 浏览器
### 测试结果
| 测试项 | 结果 | 备注 |
|--------|------|------|
| 功能测试 | ⬜ | |
| 边界测试 | ⬜ | |
| 性能测试 | ⬜ | |
---
## 回滚计划
如需回滚:
```bash
cp pages/tool/ai-nutritionist.vue.backup pages/tool/ai-nutritionist.vue
```
---
## 备注
...