Ingest a new source article into this repository-backed wiki. Use when the user asks to "ingest", "录入", "添加一篇新文章", "收录文章", or wants a new source converted into persistent wiki pages. Read the repo AGENTS.md first, update wiki pages instead of answering transiently, maintain index/log/cross-links, and if an English article contains Chinese machine translation, correct the Chinese translation in articles/ while preserving the English original.
Read AGENTS.md in the repo root before making changes. Treat it as the local schema.
Identify the new source.
Search articles/ and git status --short to find newly added article files. Do not guess.
Read the source and inspect existing wiki coverage.
Open the article, wiki/index.md, wiki/log.md, and any obviously related pages before editing.
Extract durable knowledge. Prefer persistent concepts, entities, source summaries, and cross-source relationships over ephemeral chat answers.
Update articles/ only when the Chinese side needs correction.
If the article is English-first with Chinese translation:
Create or update wiki pages. Follow the page frontmatter and naming rules from . Use concise pages with durable facts, terminology in form on first mention, and Obsidian references.
AGENTS.md中文(English)[[wikilink]]Update repository indexes. Always update:
wiki/index.mdwiki/log.mdUpdate overview pages or related concept/entity pages when the new source materially changes them.
Create a source page when ingesting a new article.
Create concept/entity/overview pages only when they represent reusable knowledge. Avoid over-splitting tiny concepts into many weak pages.
A single ingest may legitimately touch 10-15 pages if the source is dense.
When Chinese text appears alongside English source text:
Examples of high-value fixes:
After edits, report:
articles/ was correctedIf you notice unrelated pre-existing gaps, mention them separately instead of folding them into the ingest unless the user asked for cleanup.