fix(reconcile): bring main up to hardened production (ed47680) — end the security regression #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/1-reconcile-prod-to-main"
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?
Closes #1. Crown-jewel — reviewed PR only; human merges. Protect
mainafter merge (branch protection).What
Reconciles the diverged, security-regressed
mainup to the deployed/hardenedproduction(ed47680).mainwas missing production`s 3 hardening commits and carried only 2 stale tests:ed47680engine-owned registry + mutation API ·d75a145auth-bypass/branch-injection/silent-failure/hardcoded-IP fixes + ensure-checkout ·e33b1e9ensure-checkout + rollback to_refregistry-loader.test.js+sha-comparison.test.js— both assert the removed bind-mounted/app/deploy-registry.json;6a583a8s functionality is already represented in production.How
origin/productionintomainserver.js+docker-compose.ymlto the production versionsVerification (mechanical)
git rev-parse HEAD^{tree}==origin/production^{tree}==6314fc6e— mains application tree is **byte-identical toed47680`**. Zero functional delta from the deployed ref; this only removes the regression.Follow-ups
main(audit plan step 5).production; once this merges, main==production and #4 converges/rebases onto main.Adversarial review (Fable) — verdict SAFE-TO-MERGE.
ed47680(verified); true merge commit, so dropped tests stay recoverable in history.6a583a8is independently present inproduction:server.js(kvPrefix wrap ~852, stripSha ~863,GET /api/v1/apps/registry~1454, WEBHOOK_SECRET fatal→warn ~1897).d550824is only the 2 tests.deploy-registry.json:robind-mount, contradicting decision 0003).registry-loader.test.jsgenuinely stale (asserts the removed root bind-mount);sha-comparison.test.jsnot stale but tests a duplicated copy ofstripSha— OK to drop paired with the replacement below. Neither was wired (notestscript / CI), so no enforced coverage lost.Merge either order vs #4; only obligation is the ff-only forward-port noted on #4. Enable branch protection on
mainafter merge.