Lab Knowledge Intake
- Call the
agent-knowledgeMCP toolknowledge_intakefirst. - Treat its response as the sole current source of the vault location, schema, page routing, exclusions, approval rules, and synchronization workflow. When available, also read
knowledge_schemaimmediately before drafting and use its active machine contract for required fields and enums. - Search and inspect existing knowledge before drafting. For every updated target, read the exact current page; for a new page, inspect a current valid page of the same type. Deduplicate before deciding whether to create or update.
- Draft complete target-file contents, then call
knowledge_propose_changes; the gateway runs the exact candidate tree through its full preflight before it creates a pending proposal:- Preserve the page type's required
status,retrieval_scope, required fields and allowed enum values. Do not put business lifecycle words such aspaused,failedorcompletedinto genericstatus. Use optionalproject_statusfor Project lifecycle (active,paused,completed,cancelled,archived) when the active contract supports it; otherwise record that state in the Project body and evidence metadata. - Frontmatter lists may use YAML flow form (inline lists such as
[]) or ordinary block form (- item). Generic YAML validity is not enough: stay within the strict subset reported by the gateway and do not emit unsupported mappings, anchors, or tags. Do not change content semantics merely to satisfy formatting. - Treat
agent_priorityas retrieval priority andmaturityas evidence strength. They are independent; a high-priority seed remains limited to seed-safe uses. - Keep every Source
derived_pageslink and Resultevidencelink reciprocal in the same proposal, including relationships to existing pages. - Preserve current facts and unrelated content; a proposal must contain the complete intended files, not fragments or patches.
- Preserve the page type's required
- Only present a proposal after
knowledge_propose_changesreturns success. Show the exact files and substantive changes, then wait for explicit approval before applying it. - If proposal preflight fails, state that no pending proposal was created and state that no knowledge write occurred; use the returned
error_code,stageand validator output, then correct the candidate. If approved apply later fails, state that no successful apply occurred and inspect the returned receipt. Approval of the rejected proposal never transfers to the replacement. - Never write knowledge files directly or invent another destination.
If agent-knowledge or knowledge_intake is unavailable, state that the shared
knowledge gateway is unavailable. Do not guess the format or fall back to an
unmanaged Markdown file.