975 B
Executable File
975 B
Executable File
description, argument-hint
| description | argument-hint | |
|---|---|---|
| 把当前对话的洞察回写为 questions/ 知识页 |
|
把当前对话中有价值的问答/洞察沉淀成一页知识。$ARGUMENTS 是可选点题。
前置:question 是预留 type(meta/kb-contract.yaml 中 active: false)。若尚未激活:
- 提示用户"首次回写需激活 question type",征得同意后把契约里
question改成active: true并mkdir -p questions/。
执行:
- 读
meta/kb-contract.yaml确认 question 字段要求。 - 提炼本轮对话的问题 + 结论,写到
questions/<slug>.md:- frontmatter:
type: question、title、status(草稿→seed)、created/ingested=今天、related: [[...]]连到依据页。 - 正文:问题 / 结论 / 依据(挂 source_link)。
- frontmatter:
- 跑
python3 tools/kb-lint-fm.py questions/确认 exit 0。 - 简报路径。绝不把无据推测写成知识——只沉淀有出处的结论。