pub fn content_id(payload: &Value) -> String
Compute the content id for a payload.
The input is the payload field of a .agentlog envelope — NOT the whole envelope. See SPEC §6.1 for why the envelope is excluded.
payload
.agentlog