knowledge_ingest
Stores verified knowledge atoms in Postgres, deduplicating entries and enforcing guardian-consent before writing non-owner subjects. Logs each write to the disclosure chain.
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 |