knowledge_ingest
Ingest new knowledge into the Postgres knowledge base, checking for duplicates first to keep data clean.
Instructions
Add a knowledge atom to the Postgres knowledge base. Check for duplicates first.
subject_id (guardian-consent seam): name the person this atom is about when
it is not the owner. Opaque and local — never written to the KB, only checked.
Naming a non-owner subject requires a verified kb_promotion consent grant
(see docs/design/guardian-consent-seam.md); leave it empty for the owner's own
data. The successful write is logged to that subject's disclosure chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| app_id | Yes | ||
| domain | No | general | |
| source | No | ||
| content | Yes | ||
| subject_id | No |