2026-09-23·by Sijie Wang#standmeet#architecture#design

three-tier-corpus-promotion

三层语料库:晋升制

父级:corpus

raw → wiki → output:草稿 → 精选 → 打磨。条目是被晋升的,不是被复制的——自从三层折进一张 corpus_notes 表(d925d9081,2026-07-09),来源关系归成一列 source_ids(上游 id:wiki←raw、output←wiki——原来的 source_raw_ids / source_wiki_ids 归一),外加 raw 行上的 promoted_tobackend/db/schema.sql:186-187:246),所以不可能悄悄地把同一份 raw 素材当成两个不同的来源来引用。语义上:output 表示"可以在对话中直接逐字引用",wiki 是精选的中间层,raw 是松散的摄入收件箱——但 raw 不再是没标题、扁平的了:它是同一棵树里的一个体裁,有标题、有 parent_id 文件夹节点和 inbox_* 分拣列(sync-k-raw-tree.spec.ts;管理端自 9cdb70f48(2026-09-06)起按名字显示 raw 文件夹节点)。

这正是本知识库中 raw/ → wiki/ 目录结构所对应的模型。

about this entry

One of sijie's wiki entries. The AI on this site is grounded in the same corpus and answers in sijie's voice, with citations back to entries like this one — answering costs sijie money, so it waits behind a code: enter an access code →

three-tier-corpus-promotion