KB Ingest
Use when new material lands in inbox/, raw/, references/, or
_agent/source-intake/ and should become durable, agent-readable knowledge.
AgentKB keeps Markdown as the canonical storage format. Load the smallest sufficient context first, and make every write reviewable with Git diff.
Context Order
- Read the relevant project
context-pack.md. - Read
_system/routing-rules.mdand_system/metadata-schema.md. - Read
_system/indexes/knowledge-index.md. - Prefer source-intake summaries and extracted Markdown under
_agent/source-intake/when present. - Read only the raw source and task-relevant canonical notes.
Do not scan the full vault.
Do not read personal/ or archive/ unless the user explicitly authorizes it.
Procedure
- Preserve raw sources; do not rewrite or delete them.
- Create or update a source summary with frontmatter. When
kb-importalready created one, preserve its provenance and review fields. - Extract durable facts, concepts, entities, comparisons, and open questions.
- Update
_system/indexes/knowledge-index.mdwhen navigation changes. - Append a concise entry to
knowledge/log.mdor the project log. - Put uncertain or high-impact edits in
proposed-changes/. - Review the final Git diff before reporting completion.
Output
- Source summary note
- Updated canonical notes or proposed changes
- Log entry
- Open questions when confidence is not high