The ProvActivityInput as the versioned bundle JSON (schema "atomic.prov.input.v1") — the CLI deserializes the same shape.
(input: &atomic_canonical::prov::ProvActivityInput)
| 5268 | /// The ProvActivityInput as the versioned bundle JSON (schema |
| 5269 | /// "atomic.prov.input.v1") — the CLI deserializes the same shape. |
| 5270 | fn prov_input_bundle(input: &atomic_canonical::prov::ProvActivityInput) -> Vec<u8> { |
| 5271 | serde_json::json!({ |
| 5272 | "change_id_base32": input.change_id_base32, |
| 5273 | "activity_id": input.activity_id, |
| 5274 | "started_at": input.started_at, |
| 5275 | "ended_at": input.ended_at, |
| 5276 | "agent_slug": input.agent_slug, |
| 5277 | "agent_display_name": input.agent_display_name, |
| 5278 | "agent_vendor": input.agent_vendor, |
| 5279 | "person_did": input.person_did, |
| 5280 | "generated": input.generated, |
| 5281 | "used": input.used, |
| 5282 | "turn_parent": input.turn_parent, |
| 5283 | }) |
| 5284 | .to_string() |
| 5285 | .into_bytes() |
| 5286 | } |
| 5287 | |
| 5288 | /// The ExportProvenance domain: resolve the target (URN/prefix/hash with |
| 5289 | /// the CLI resolver's exact semantics), load the explaining graphs (the |
no outgoing calls
no test coverage detected