Relate two artifacts
Useregistry__relate_artifact to record a typed relationship.
- Required inputs:
artifact_id,subject_id, andrel_type. - Optional inputs:
attributes,session_id, and Gateway’srationale. - Effect: write; idempotent.
registry__get_kind_schema.