Files
jsc-marketplace/docs/ingest-walkthrough.md
T

13 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.
# 範例章節完整流程(人工跑一次)
範例章節:`docs/fixtures/sample-chapter.md`(原創內容)。於 2026-10-12 以記憶體檔案系統跑完以下步驟,結果如下。
1. 抽取:地點「星見學院圖書室」、環境「春天、傍晚、櫻花」;人物小葵(main,tsundere,A 型、栗色短髮、身高 unknown)、小綠(minor)。
2. `planMerge`:首次無疑似同一人,主要角色小葵排在路人小綠之前。
3. 決定:兩者皆「新建」,`applyParseResult` 寫入 `world/places.json`、`world/environment.json`、`characters/<id>/core.json`、`canon/episodic.json`、`canon/lines.json`,無衝突;身高 `unknown` 不寫入。
4. 重跑同一章(小葵選合併):回報 `alreadyApplied: ["小葵"]`,檔案內容不變(冪等)。
5. 口癖:語尾「喔」、稱呼「先輩」(重複出現 ≥2 次才採用)。
6. 個性:tsundere 先驗 A=35;模型推論 A=90 附對白證據,被限制為 55(先驗 +20)。
結論:流程可走通;口頭禪歸納目前只能抓到語尾與稱呼,「才、才不是…」這類口頭禪仍須由 skill 中的模型判斷後補入。