[14.4] REL-04
Выпуск и возврат предыдущей версии · Проверено
[14.4.1] Вход
REL-03
[14.4.2] Действие
Implement preflight Package/hash/state/assets/URL/sitemap/disk/permission/lock checks before staging.
[14.4.3] Файлы-владельцы
services/release/; contracts/; ops/; deploy/; test-fixtures/; docs/masterplan-execution/
[14.4.4] Результат
Pinned release item/manifest; staging assembler; serialized activation; smoke; rollback; IndexNow outbox; review/direct routes.
[14.4.5] Проверка
DONE: unsafe deploy fails before production mutation. Duplicate enqueue, stale approval, concurrent site activation, current is directory, missing asset, hash mismatch, full disk, failed staging smoke, kill during activation; preserve unrelated existing URLs/assets/redirects.
[14.4.6] При сбое и откат
Batch=full site snapshot or verified delta composition, не замена сайта одним article folder. Не применять os.replace поверх непустого current directory. HTTP cache может скрывать mixed release — проверять manifest-linked assets. В staging доказать exact previous release recovery и smoke. Production rollback делает тот же проверенный deployer с journal. Ни nginx reload, ни chmod -R не входят в обычный выпуск статьи.