Goal: 'archied update install' unpacks all host binaries from the verified zip, checks each reports the target version, pulls the agent image by the release.json digest, backs up the database in-process, stages binaries and hands off to 'archied update watchdog' in a separate process. The watchdog restarts units in release.json order via systemctl --user when systemd is present (otherwise stages and reports a manual restart is needed), requires archied healthy for 120s, and rolls back binaries, image policy and reports on failure; interrupted transactions recover on boot as today. Stop when: Install on Settings > Status updates a zip install end to end and a forced unhealthy candidate rolls back; archie-update-install, archie-update-watchdog, --from-source, CommandCatalog/CommandInstaller/SettingsCommands/ScriptCommands are deleted.
Acceptance criteria
A verified zip update completes end to end, confirms target versions, and rolls back after a forced unhealthy candidate; the legacy update scripts and installer commands are removed.
Notes
Implemented on feat/transactional-update, proven with fakes only. Open until an install from Settings > Status and a forced-unhealthy rollback run on a real host. Hosts on an older release cannot self-update to this one; the first upgrade goes through install.sh.
Imported from beads archie-core-wmvy.2 · GitHub #1526 · type task · priority P1 · created 2026-10-06
Goal: 'archied update install' unpacks all host binaries from the verified zip, checks each reports the target version, pulls the agent image by the release.json digest, backs up the database in-process, stages binaries and hands off to 'archied update watchdog' in a separate process. The watchdog restarts units in release.json order via systemctl --user when systemd is present (otherwise stages and reports a manual restart is needed), requires archied healthy for 120s, and rolls back binaries, image policy and reports on failure; interrupted transactions recover on boot as today. Stop when: Install on Settings > Status updates a zip install end to end and a forced unhealthy candidate rolls back; archie-update-install, archie-update-watchdog, --from-source, CommandCatalog/CommandInstaller/SettingsCommands/ScriptCommands are deleted.
### Acceptance criteria
A verified zip update completes end to end, confirms target versions, and rolls back after a forced unhealthy candidate; the legacy update scripts and installer commands are removed.
### Notes
Implemented on feat/transactional-update, proven with fakes only. Open until an install from Settings > Status and a forced-unhealthy rollback run on a real host. Hosts on an older release cannot self-update to this one; the first upgrade goes through install.sh.
---
_Imported from beads `archie-core-wmvy.2` · GitHub #1526 · type task · priority P1 · created 2026-10-06_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal: 'archied update install' unpacks all host binaries from the verified zip, checks each reports the target version, pulls the agent image by the release.json digest, backs up the database in-process, stages binaries and hands off to 'archied update watchdog' in a separate process. The watchdog restarts units in release.json order via systemctl --user when systemd is present (otherwise stages and reports a manual restart is needed), requires archied healthy for 120s, and rolls back binaries, image policy and reports on failure; interrupted transactions recover on boot as today. Stop when: Install on Settings > Status updates a zip install end to end and a forced unhealthy candidate rolls back; archie-update-install, archie-update-watchdog, --from-source, CommandCatalog/CommandInstaller/SettingsCommands/ScriptCommands are deleted.
Acceptance criteria
A verified zip update completes end to end, confirms target versions, and rolls back after a forced unhealthy candidate; the legacy update scripts and installer commands are removed.
Notes
Implemented on feat/transactional-update, proven with fakes only. Open until an install from Settings > Status and a forced-unhealthy rollback run on a real host. Hosts on an older release cannot self-update to this one; the first upgrade goes through install.sh.
Imported from beads
archie-core-wmvy.2· GitHub #1526 · type task · priority P1 · created 2026-10-06