Repository navigation
Description
Phase: 4 | Priority: P0
Make app versions, data and ownership recoverable and define the safe transition from built-in features.
Scope
-
Extend existing supported backup/restore to capture exact active packages/digests, data versions, app DB/files, grants and protected recovery material.
-
Add compatibility preflight for platform/engine upgrades and a durable, idempotent legacy-feature handoff framework.
-
Plan source-to-app configuration, encrypted credential and history transfer with only one productive worker owner.
-
Keep recovery available when optional apps or normal web startup fail.
-
Preserve the last-verified catalog snapshot, exact approval/package identities and required local assets in the supported recovery design. Separate cached signed trust evidence from current freshness/revocation policy and from optional Marketplace user/statistics data.
Dependencies
These are implementation prerequisites; app-to-app delivery gates do not create runtime dependencies.
Acceptance criteria
- An isolated restore recreates the exact compatible package/data/grant set, including when remote package hosting is unavailable.
- Database and app-file consistency is maintained; missing keys/packages, incompatible formats or partial artifacts fail safely.
- An upgrade preview identifies configured legacy features, required app packages, active references and incompatible combinations before cutover.
- Interrupted handoff can resume without double jobs, repeated destructive migrations or loss of user settings/history/credentials.
- A failed app restoration or incompatible image downgrade leaves a usable maintenance/recovery path rather than reinitializing data.
- Each extraction can plug its own migration into this framework; no direct edits to generated migration outputs or production data operations are implied by this planning issue.
- Restore/startup works with Marketplace services stopped and package hosting unreachable when the required verified package bytes and protected recovery material are in the backup; no Marketplace login or statistics acknowledgement is needed.
Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.
Activity
feat(apps): add a durable handoff journal for built-in features (#560)
feat(contracts): add legacy feature handoff operations to App API v1
fix(apps): close review gaps in the legacy feature handoff journal (#561
feat(contracts): add legacy feature handoff operations to App API v1 (#…
feat(apps): guard startup against newer databases and handed-off doma…
fix(backups): check app rows, generations and handoff parts against t…
feat: preview apps and built-in features before an image update (#571)
RentnerKev commentedon Nov 25, 2026
All acceptance criteria are covered by merged changes and tests:
Not done, and optional as noted in #564: sealing downloaded backups the way off-host copies are sealed.
Closing as completed.