--- title: Wiki Maintenance Loop created: 2026-06-28 updated: 2026-06-28 type: concept tags: [workflow, maintenance, wiki, agent] sources: [raw/articles/karpathy-llm-wiki-2026.md, raw/articles/hermes-research-llm-wiki-skill-2026.md, raw/articles/nashsu-llm-wiki-2026.md] confidence: medium --- # Wiki Maintenance Loop LLM Wiki の基本運用は ingest / query / lint のループ。 1. **Ingest**: raw source を保存し、既存の [[llm-wiki-pattern|wiki]] を読んで重複を避け、関連 entity/concept ページを作成・更新する。 2. **Query**: index と関連ページを読み、回答を synthesis する。価値のある回答は `queries/` や `comparisons/` に保存する。 3. **Lint**: broken links、orphan pages、古い主張、矛盾、frontmatter 不備、肥大化ページを点検する。 この loop によって、[[rag-vs-compiled-wiki|query-time retrieval]] だけでは残りにくい知識整理が継続的に蓄積される。[[obsidian]] の graph view や backlinks は、orphan や hub page を見つける補助になる。 ## Automation Notes Hermes の `llm-wiki` skill では、毎回 `SCHEMA.md`、`index.md`、recent `log.md` を読む orientation が必須になっている。これは自動 ingest が duplicate page creation や schema drift を起こさないための guardrail。新規 raw source には `source_url`、`ingested`、body hash を持たせ、wiki page の frontmatter、index、log を同時に更新する。 [[llm-wiki-app]] はこの loop をアプリ側の persistent ingest queue、folder auto-watch、source cleanup、graph/search、MCP/API に拡張している。つまり maintenance loop は単なる checklist ではなく、agent procedure と product feature のどちらにもなりうる。