record_provenance
Records W3C PROV-O provenance events with activity type, agent, entity hashes, and system details to document data changes for governance auditing.
Instructions
Record a provenance event as a W3C PROV-O record. Returns the PROV record content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_ref | No | URI reference for the agent. | |
| entity_id | No | ID of the entity (DM.instance_id). | |
| system_id | No | System that produced this record. | |
| agent_name | Yes | Name of the agent performing the action. | |
| description | No | Human-readable description. | |
| activity_type | Yes | W3C Activity Streams 2.0 type (Create, Update, Accept, etc.) | |
| entity_hash_after | No | SHA-256 hash after action. | |
| entity_hash_before | No | SHA-256 hash before action. |