The ProvActivityInput as the versioned bundle JSON (schema "atomic.prov.input.v1") — the CLI deserializes the same shape.
(input: &atomic_canonical::prov::ProvActivityInput)
| 5216 | /// The ProvActivityInput as the versioned bundle JSON (schema |
| 5217 | /// "atomic.prov.input.v1") — the CLI deserializes the same shape. |
| 5218 | fn prov_input_bundle(input: &atomic_canonical::prov::ProvActivityInput) -> Vec<u8> { |
| 5219 | serde_json::json!({ |
| 5220 | "change_id_base32": input.change_id_base32, |
| 5221 | "activity_id": input.activity_id, |
| 5222 | "started_at": input.started_at, |
| 5223 | "ended_at": input.ended_at, |
| 5224 | "agent_slug": input.agent_slug, |
| 5225 | "agent_display_name": input.agent_display_name, |
| 5226 | "agent_vendor": input.agent_vendor, |
| 5227 | "person_did": input.person_did, |
| 5228 | "generated": input.generated, |
| 5229 | "used": input.used, |
| 5230 | "turn_parent": input.turn_parent, |
| 5231 | }) |
| 5232 | .to_string() |
| 5233 | .into_bytes() |
| 5234 | } |
| 5235 | |
| 5236 | /// The ExportProvenance domain: resolve the target (URN/prefix/hash with |
| 5237 | /// the CLI resolver's exact semantics), load the explaining graphs (the |
no outgoing calls
no test coverage detected