/vouch-record
File "$ARGUMENTS" as a typed record: an entity plus a kind-validated page,
both as pending proposals. Requires the company-brain page kinds
(vouch init --template company-brain; check with vouch schema list).
Steps:
- Decide the record shape: person -> entity type
person+contactpage (frontmatter:role, optionalorg,email); organisation ->companyentity +orgpage; project ->projectentity +project-recordpage (frontmatter:record_status, optionalowner). - Call
kb_searchfirst — if the entity already exists, propose only the page update (pass the existing page id asslug_hint) instead of a duplicate. - Call
kb_propose_entity, thenkb_propose_pagewithpage_typeset to the record kind and the frontmatter inmetadata. Cite a registered source when the record distills one (register the conversation viakb_register_sourceif the user is dictating facts). - Link ownership or membership with
kb_propose_relationwhere it's clear. - Report every proposal id filed.
Never call kb_approve. One record per invocation; ask before batching.