compute_action_ref
Compute a content-addressed request identity (SHA-256) from agent ID, action type, scope, and timestamp to uniquely identify and deduplicate agent requests.
Instructions
Compute content-addressed request identity (SHA-256 of agentId + actionType + scope + normalized timestamp). Two receipts with the same action_ref describe the same request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| timestamp | No | ISO 8601 timestamp; defaults to now | |
| action_type | Yes | ||
| scope_required | Yes |