| 68 | |
| 69 | impl std::fmt::Display for SessionIncompleteOrigin { |
| 70 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 71 | match self { |
| 72 | Self::UnknownPostCheckout => write!(f, "unknown post-checkout origin"), |
| 73 | Self::UnattributedGitOperation => write!(f, "unattributed Git operation"), |
| 74 | Self::ObservationUnavailable => write!(f, "boundary observation unavailable"), |
| 75 | Self::UnrecordedWork => write!(f, "turn work could not be recorded"), |
| 76 | Self::UnfinalizedAttestation => write!(f, "session attestation could not be finalized"), |
| 77 | Self::ManagedCaptureAwaitingReassembly => { |
| 78 | write!(f, "managed capture awaits exact reassembly (RFC §10.3.2)") |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | /// Durable refusal details for a managed agent session. |