Rename `runtime_artifacts` to `lifecycle_artifacts`
Intent: Make the field name explicitly convey that these paths (status, events, result) track the guest's lifecycle rather than being generic runtime paths.
Affected files: crates/pika-cloud/src/lib.rs, crates/pika-server/src/managed_openclaw_guest.rs
@@ -315,19 +315,59 @@
- pub runtime_artifacts: RuntimeArtifactPaths,
+ pub lifecycle_artifacts: RuntimeArtifactPaths,
@@ -337,8 +377,8 @@
- runtime_artifacts: RuntimeArtifactPaths::default(),
+ lifecycle_artifacts: RuntimeArtifactPaths::default(),
@@ -363,7 +393,9 @@
- self.runtime_artifacts
+ self.lifecycle_artifacts
.validate_canonical_paths("artifacts")?;
The runtime_artifacts field on GuestStartupArtifacts is renamed to lifecycle_artifacts. This field holds a RuntimeArtifactPaths value containing status_path, events_path, and result_path — all of which describe the guest's lifecycle state machine. The rename clarifies that these paths are specifically about lifecycle tracking, distinguishing them from the newly introduced service artifacts.
Because #[serde(flatten)] is used, the serialized JSON representation is unchanged; only the Rust field name changes. The validation call in GuestStartupArtifacts::validate_canonical_paths is updated accordingly:
self.lifecycle_artifacts
.validate_canonical_paths("artifacts")?;