P2: reconcile diverged production→main (prepare REVIEWED PR only — human merges; do NOT deploy) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Crown-jewel deploy engine. Handoff:
~/audits/HANDOFF-kua-security-fixes-20260710.md; report:~/audits/kua-deploy-security-audit-20260710.md. SOL-planned, Terra-reviewed.Context:
production@ed47680= HARDENED, deployed.main@d550824= security-REGRESSED (it reintroduces the removed registry bind-mount + loses hardened behavior). Divergence: main ahead 2, production ahead 3. main's functional commit6a583a8is already represented in production. The repo was archived while main was left regressed — until this lands, main must NEVER be deployed. (Just unarchived to do this work; do NOT re-archive after — see task 5.)Deliverable: ONE reviewed PR into
main. Do NOT merge, push to main/production, deploy, or roll out — a human merges + a human deploys.Procedure (SOL + Terra corrected — follow precisely)
origin/productioninto a branch offmainwith a merge commit.server.jsanddocker-compose.ymlconflicts to the PRODUCTION versions (production wins — main reintroduces the registry bind-mount, which is wrong).ed47680. Rungit diff --exit-code ed47680 -- . ':(exclude)test/*'(or list the app files explicitly: server.js, docker-compose.yml, package*.json, source) — it must be empty. Do NOT claim an "identical git tree" while the test files differ. Paste the diff proof in the PR.test/registry-loader.test.jsassumes the removed bind-mounted/app/deploy-registry.json(rewrite for the engine-owned registry at/app/data/registry.json);test/sha-comparison.test.jsduplicates prod logic instead of importing it (rewrite to import). Do NOT carry them unchanged.mainmust be BRANCH-PROTECTED before it's deployable again (operator action) — this + the reconcile is what prevents a regressed deploy recurring. Recommend protect-not-re-archive.Guardrails
ed47680, STOP and report — do not guess on the control plane.--all; verify againsted47680out-of-band. Conventional commits;Closes #<this>;forgejo-printomain.