(value: AttestationV2)
| 266 | |
| 267 | impl From<AttestationV2> for Attestation { |
| 268 | fn from(value: AttestationV2) -> Self { |
| 269 | Self { |
| 270 | version: value.version, |
| 271 | timestamp: value.timestamp, |
| 272 | agent: value.agent, |
| 273 | session_id: value.session_id, |
| 274 | cost_usd: value.cost_usd, |
| 275 | duration_api_ms: value.duration_api_ms, |
| 276 | duration_wall_ms: value.duration_wall_ms, |
| 277 | code_changes: value.code_changes, |
| 278 | models: value.models, |
| 279 | changes_covered: value.changes_covered, |
| 280 | previous_attestation: value.previous_attestation, |
| 281 | notes: value.notes, |
| 282 | operations_covered: value.operations_covered, |
| 283 | signer: None, |
| 284 | signature: None, |
| 285 | turn_outcomes_root: None, |
| 286 | capture_root: None, |
| 287 | provenance_root: None, |
| 288 | } |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | /// MAC-signed attestation encoding (schema v3, review ATOM::aaron::8 R6). |
nothing calls this directly
no outgoing calls
no test coverage detected