State machine · Diagram Design
CodeWiki-Plus 笔记生命周期
CodeWiki-Plus 笔记生命周期
笔记从 draft 经 confirm_note 进入 stable,draft 与 stable 均可经 reject_note 转入 deprecated,stable 可通过追加证据把置信从 weak 升为 strong,deprecated 默认不再被检索。
ingest_note
confirm_note
否决 · 取代
reject_note
追加证据 weak → strong
默认不再被检索
STATE
草稿态
draft · unconfirmed
STATE
稳定态
stable · confirmed
STATE
已弃用
deprecated · shadow
LEGEND
确认后的正式语料
未确认
已淘汰
确认闸门
状态迁移
confidence 是与 status 分开存储的独立字段:weak · strong · shadow(shadow 默认被 query_wiki 过滤)