Expand description
Seed operations outside the cog lifecycle: pairing and firmware upgrade.
Firmware upgrade is a governed, backed-up operation (ADR-100 section 5):
a 0.10.x upgrade hit the witness-chain writes_gated state, recovered
with /api/v1/store/truncate-confirm after a backup. So:
SeedApiRuntime::backupsnapshots what the API exposes;SeedApiRuntime::upgrade_firmwarerefuses without a verified backup or while writes are gated, then applies;SeedApiRuntime::recover_writes_gatedruns the truncate-confirm recovery only when writes are gated and the backup still verifies.
Callers go through super::WorkloadHost, which gates each step as
workload.install with kind seed-firmware and chains the result.
Structs§
- Seed
Backup - A local backup of one Seed’s API-visible state, bound to that Seed.
Enums§
- Upgrade
Outcome - Result of an upgrade request.
Constants§
- KIND_
SEED_ FIRMWARE - Workload kind used to govern firmware operations.
- REQUIRED_
BACKUP_ FILES - Files every backup must hold.