Skip to content

Lint 与评审

知识包会漂移。已评审知识包 SHOULD 有 lint 流程。

如果你正在搭最小闭环,先看 知识库工程闭环 中的健康检查部分。

检查项

linter SHOULD 检测:

  • 缺失 frontmatter。
  • 文件引用断裂。
  • 孤立 wiki 页面。
  • 重复实体。
  • 过期 claim。
  • required grounding 下缺少来源。
  • compiled/wiki/ 冲突。
  • 原始来源被直接复制进运行时视图。
  • 来源中存在 prompt injection 或密钥。

报告

text
runs/
└── lint-2026-05-01.md

Agent MAY 提出修改,但状态变更 SHOULD 显式:

yaml
status: ready
trust: user-confirmed

Draft companion standard for source-grounded knowledge assets in the Agent Skills ecosystem.