Integrate exact production recovery before cold start

This commit is contained in:
ms2k 2026-07-17 06:15:18 +09:00
commit f21a847991
2 changed files with 1537 additions and 167 deletions

View file

@ -19,9 +19,9 @@ use super::{
SessionClose, SessionExit, SessionExitOutcome, SessionRegistrationRequest,
SessionRegistrationResponse, SessionRequestCapability, SessionTerminal, SessionTerminalEvent,
SessionTerminalMessage, SessionTerminalState, SignedProtocolRecord, StagedProcessOwnership,
StateAnchorOwnership, StorageCatalog, StoreMetadata, TerminalInput, TerminalOutput,
TerminalResize, TerminalSignal, TerminalSignalKind, TlsCredential, TlsRole, TrustManifest,
TrustedHostConfigurationV1,
StateAnchorOwnership, StateAnchorReleaseEvidence, StorageCatalog, StoreMetadata, TerminalInput,
TerminalOutput, TerminalResize, TerminalSignal, TerminalSignalKind, TlsCredential, TlsRole,
TrustManifest, TrustedHostConfigurationV1,
};
pub trait SchemaType {
@ -107,6 +107,7 @@ schema_types!(
"NamespaceIdentity" => NamespaceIdentity,
"MountIdentity" => MountIdentity,
"PreparedLowerOwnership" => PreparedLowerOwnership,
"StateAnchorReleaseEvidence" => StateAnchorReleaseEvidence,
"StateAnchorOwnership" => StateAnchorOwnership,
"GitRoutingOwnership" => GitRoutingOwnership,
"NetworkOwnership" => NetworkOwnership,

View file

@ -95,6 +95,18 @@ fn every_schema_shape_round_trips_and_rejects_malformed_or_unknown_versions() {
ParticipantOwnership::Network(Box::new(network_ownership())),
&mut seen,
);
verify_shape(
StateAnchorReleaseEvidence {
daemon: process(72),
user_namespace: namespace(),
mount_namespace: NamespaceIdentity {
device: DeviceId::new(73),
inode: InodeId::new(74),
},
mount: mount(),
},
&mut seen,
);
verify_shape(session.clone(), &mut seen);
verify_shape(terminal.clone(), &mut seen);
verify_shape(SessionTerminalState::ReleaseIntent, &mut seen);