Files
nexus/wiki/concepts/LintWorkflow.md
2026-05-03 05:42:12 +08:00

42 lines
1.3 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.
---
title: "LintWorkflow"
type: concept
tags: [workflow, knowledge-management, llm, quality]
sources: [llm-wiki]
last_updated: 2026-05-02
---
## Overview
检查工作流Lint Workflow是 [[PersistentWiki]] 的定期健康检查机制——让 LLM 定期检查 Wiki 的质量,发现问题并提出改进建议。
## Standard Checks
### 1. 孤立页面Orphan Pages
没有任何其他页面通过 `[[wikilinks]]` 指向它的 Wiki 页面。
### 2. 断链Broken Links
`[[WikiLinks]]` 指向不存在的页面。
### 3. 内容冲突Contradictions
跨页面存在相互矛盾的论点。
### 4. 过时摘要Stale Summaries
有更新来源后未同步更新的页面。
### 5. 缺失 Entity 页面
在 3 个以上页面中被提及但没有独立页面的实体。
### 6. 数据缺口Data Gaps
Wiki 无法回答的问题,建议补充新来源。
## Trigger
触发方式:用户说 "lint"
## Output
输出检查报告,询问用户是否保存为 `wiki/lint-report.md`
## Design Principles
- **定期执行**:保持 Wiki 健康,防止问题积累
- **LLM 擅长发现**LLM 擅长提出新的研究问题和新的来源建议
- **自动化维护**:配合 [[IngestWorkflow]] 和 [[QueryWorkflow]],构成完整的 Wiki 生命周期管理