Files
yuegong/.learnings/ERRORS.md
T
klarkxy 280b2897b8 ♻️ refactor(结构): 取消"节"层级并统一1.1章节编号
- 移除"节"层级,结构由 卷/篇/节/章 调整为 卷/篇/章。
- 将 1.1 标题从《建立信任》更名为《坠毁后的第一夜》,同步更新大纲、人物卡、AGENTS.md 及参考资料中的引用。
- 重组正文目录至 正文/1 弃船/1.1 坠毁后的第一夜/,章节编号由 第XX章-标题.md 改为 00X 标题.md。
- 更新 AGENTS.md 中的接手清单、剧情断点、文件维护规则,反映新结构与最新正文进度。
- 修正 资料-异星工厂科技分层.md 中科技计数的乘号写法(* → ×)。
- 追加 .learnings/ERRORS.md 中"节"层级取消后的目录调整说明。
2026-07-04 22:30:27 +08:00

17 lines
873 B
Markdown

# Errors
Command failures and integration errors.
---
## [ERR-20260703-001] LM Studio output directory mistaken for file
**Logged**: 2026-07-03T22:03:00+08:00
**Priority**: medium
When `lmstudio_polish.py` receives a single input file and an output path such as `.../1.1.1-坠毁后的第一夜`, `Path.suffix` treats `.1-坠毁后的第一夜` as a file suffix. The script then writes multiple chapter outputs into the same path instead of appending each source filename.
Fix: only treat `--out` as a direct output file when its suffix is `.md`; otherwise treat it as a directory.
**Update 2026-07-04**: Project structure has since dropped the "节" level and renamed the directory to `正文/1 弃船/1.1 坠毁后的第一夜/`. The suffix issue described above no longer applies to current paths, but the fix remains valid for any future dotted directory names.