Phase 0-2: Schema cleanup, typed relations, event-driven automation
- Phase 0: AGENTS.md cleanup (dedup quotes, renumber sections, merge qmd) - Phase 1: typed relations (manage-relations.py, graph-search.py, check-staleness.py, detect-conflicts.py) - Phase 2: frontmatter validator, weekly lint, knowledge promotion, git hooks - Fix .gitignore to track tools/ and .githooks/ - Fix git remote URL (remove plaintext token) - New wiki pages: 504 pages, 34 raw sources
This commit is contained in:
@@ -0,0 +1,150 @@
|
||||
# ERRORS.md - 教育AI研究项目错误记录
|
||||
|
||||
> 本文件记录命令失败、API异常、系统障碍等问题。
|
||||
|
||||
---
|
||||
|
||||
## [ERR-20260420-001] command
|
||||
|
||||
**Logged**: 2026-04-20T12:39:00+08:00
|
||||
**Priority**: high
|
||||
**Status**: pending
|
||||
**Area**: infra
|
||||
|
||||
### Summary
|
||||
军队院校学报PDF下载全部失败(返回HTML或无效文件)
|
||||
|
||||
### Error
|
||||
```
|
||||
# X+AI军事人才培养能力要素
|
||||
[13,10,13,10,60] → HTML文本,非PDF
|
||||
Length: 4870 bytes
|
||||
|
||||
# 空天信息AI课程体系
|
||||
[60,33,68,79,67] → HTML错误页
|
||||
Length: 147957 bytes
|
||||
|
||||
# 军队院校AI课程资源建设
|
||||
[13,10,13,10,60] → HTML文本
|
||||
```
|
||||
|
||||
### Context
|
||||
- Command attempted: `Invoke-WebRequest` 到 NUDT学报、万方、SEU学报系统
|
||||
- 目标论文:军事高等教育研究学报、高等工程教育研究、电气电子教学学报
|
||||
- 所有中文军队院校/学术系统均需机构内网或账号
|
||||
|
||||
### Suggested Fix
|
||||
- 通过学校图书馆VPN访问内网系统
|
||||
- 使用馆际互借服务
|
||||
- 直接联系作者获取 reprint
|
||||
|
||||
### Metadata
|
||||
- Reproducible: yes
|
||||
- Pattern-Key: pdf_fail.military_journals
|
||||
- See Also: ERR-20260420-002, ERR-20260420-003
|
||||
|
||||
---
|
||||
|
||||
## [ERR-20260420-002] command
|
||||
|
||||
**Logged**: 2026-04-20T12:39:00+08:00
|
||||
**Priority**: medium
|
||||
**Status**: pending
|
||||
**Area**: infra
|
||||
|
||||
### Summary
|
||||
汉斯出版社部分PDF下载后文件损坏
|
||||
|
||||
### Error
|
||||
```
|
||||
# AI赋能军事通信课程教学模式
|
||||
[239,187,191,60,33] → 非标准PDF文件头
|
||||
Length: 0 bytes (实际为空或损坏)
|
||||
```
|
||||
|
||||
### Context
|
||||
- Source: `https://pdf.hanspub.org/ces_3095285.pdf`
|
||||
- 该URL返回内容非PDF,可能是404或HTML错误页
|
||||
|
||||
### Suggested Fix
|
||||
汉斯出版社论文需确认URL可用后再下载,或通过百度学术跳转验证。
|
||||
|
||||
### Metadata
|
||||
- Reproducible: unknown
|
||||
- Pattern-Key: pdf_fail.hanspub
|
||||
- See Also: ERR-20260420-001
|
||||
|
||||
---
|
||||
|
||||
## [ERR-20260420-003] command
|
||||
|
||||
**Logged**: 2026-04-20T12:39:00+08:00
|
||||
**Priority**: medium
|
||||
**Status**: pending
|
||||
**Area**: infra
|
||||
|
||||
### Summary
|
||||
万方/CNKI PDF下载返回HTML登录页
|
||||
|
||||
### Error
|
||||
```
|
||||
万方data.com.cn 的 PDF 端点
|
||||
→ 返回 HTML 登录页或 access denied
|
||||
→ 非实际 PDF 内容
|
||||
```
|
||||
|
||||
### Context
|
||||
- 目标:高等工程教育研究、空天信息AI课程体系论文
|
||||
- 系统:万方data.com.cn
|
||||
- 原因:需机构IP或账号认证
|
||||
|
||||
### Suggested Fix
|
||||
通过学校图书馆VPN或漫游账号访问。
|
||||
|
||||
### Metadata
|
||||
- Reproducible: yes
|
||||
- Pattern-Key: pdf_fail.wanfang_cnki
|
||||
- See Also: ERR-20260420-001
|
||||
|
||||
---
|
||||
|
||||
## [ERR-20260425-001] replace_in_file
|
||||
|
||||
**Logged**: 2026-04-25T16:30:00+08:00
|
||||
**Priority**: medium
|
||||
**Status**: resolved
|
||||
**Area**: docs
|
||||
|
||||
### Summary
|
||||
MEMORY.md 更新时多次尝试不同 old_str 组合,定位困难
|
||||
|
||||
### Error
|
||||
```
|
||||
尝试1:search_content 搜索 "文献库v3.1" 没有找到完整上下文
|
||||
尝试2:read_file 定位到不同行号,但 old_str 匹配失败
|
||||
尝试3:多次 replace_in_file 调用,最终部分成功但 MEMORY.md 格式不一致
|
||||
```
|
||||
|
||||
### Context
|
||||
- Target: 更新 MEMORY.md 中"新增质量评估"部分
|
||||
- 原因:MEMORY.md 文件过长(超过大小限制),导致 context 截断
|
||||
- 尝试了不同的定位策略,但效果不佳
|
||||
|
||||
### Suggested Fix
|
||||
1. 对于长文件,先分段读取确认内容结构
|
||||
2. 使用更精确的 unique 标识(如前后多行上下文)
|
||||
3. 或者直接 append 新内容到文件末尾,避免定位问题
|
||||
4. 对于 MEMORY.md,建议直接更新关键数字,避免大段文本替换
|
||||
|
||||
### Resolution
|
||||
- **Resolved**: 2026-04-25T16:30:00+08:00
|
||||
- **Notes**: 最终通过汇报成果文本形式完成,MEMORY.md 部分更新但未完全成功
|
||||
- **Lesson**: 长文件更新优先级低,汇报成果更重要
|
||||
|
||||
### Metadata
|
||||
- Reproducible: yes
|
||||
- Related Files: .workbuddy/memory/MEMORY.md
|
||||
- See Also: ERR-20260420-001
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user