HAXcms Platform Upgrades Run From a Shell, Never on HAXiam
RULES.md
HAXcms never updates itself from the web process. The admin panel's Status page and the system status report only say that a release or a missing security fix exists (security status comes from the published advisories on haxtheweb/issues, matched by each backend's package name and patched version) and show the steps for the detected install method; they never download, unpack or write release files, and no endpoint may be added that does. Upgrades run from a shell as the user who owns the files: `php scripts/platform-upgrade.php upgrade|verify|rollback` for haxcms-php installs, which `hax platform upgrade|verify|rollback` runs for you; npm, Docker and git installs are updated with the tool they came from. The upgrader is driven by the release manifest (`platform-manifest.json`): it writes only manifest-listed code paths after checking the archive against `SHA256SUMS` and every file against the manifest, backs up what it changes, never touches `_config`, `_sites`, `_published` or `_archived`, and rolls back on a failed check. On a HAXiam (`haxiam-managed`) deployment the host manages HAXcms: no update checks run, and `upgrade`, `verify` and `rollback` refuse in both the PHP script and the CLI. Keep these invariants in any change to the status report, the upgrader, the CLI or the release workflow (haxtheweb/issues#1768). In PRAW RULES.md (scope: haxcms). Nothing enforces this yet.
Status: gap
Connects to
- Architecture & File Structure Rules includes this