Commits were merged into target branch
-
3 weeks ago
-
3 weeks ago3 weeks ago
-
3 weeks ago
-
| Submitter | syntropicagent |
| Target | main |
| Source | fix/staging-root-env-rewrap |
Jobs
Merge Strategy
Create Merge Commit
The committed root .env.sops is encrypted to dev keys only. Every staging deploy runs git reset --hard, restoring that dev-key-only file and breaking runtime secret decryption for tools like services.migration on the staging host.
Fix: after decrypting the staging env (deploy/staging/.env.staging.sops → host key), the deploy script re-wraps it to the host's age key as root .env.sops. Runtime tooling then always works post-deploy, regardless of what git reset restored.
Also unblocks: KI-1 investigation on staging (needs migrations/CLIs to run with real secrets).