docs(ops): record protected release guardrail

This commit is contained in:
Xiaoxia AI
2026-06-25 01:58:53 +08:00
parent 12b2eeb050
commit 554c503a3f
+7
View File
@@ -66,3 +66,10 @@ Recover host first, stop residual build/runner tasks, verify production/staging
- Error: sh/bash command not found in the PowerShell runtime.
- Fix: run POSIX shell syntax checks via an available Linux host/container, e.g. scp to xiaoxia-server and run sh -n on a temporary file.
## 2026-06-25 - Protected main release must not be direct-merged locally
- Failed action: attempted local develop->main merge and tag push for v0.1.51.
- Errors: main branch is protected from direct push; local main had divergence/conflicts; tag v0.1.51 was pushed from the wrong local main HEAD and then removed.
- Fix: never tag production before protected main has accepted the release commit. Use PR/approved merge path or Gitea API merge, then tag the actual merged main commit.