You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
secrets/sops/common/bws.yaml mirror is stale: retired supabase.* keys, missing namespaced sets — needs a full bws-to-sops regeneration pass #5381
The Bitwarden → SOPS mirror at secrets/sops/common/bws.yaml has drifted from the vault:
On 2026-11-04 the un-namespaced Bitwarden trio was renamed in place to supabase.legacy-muse-dev.project-ref / .project-url / .service-role-key (Drew's ruling: "one url muse dev2 everywhere"; consumers rewired to supabase.muse-dev2.*, see PR fix(pm-stack): point supabase-export at muse-dev2, retire legacy project ref #5379). The committed mirror still keys those entries by the retired names.
The mirror also lacks the entire supabase.muse-dev2.* and supabase.muse-dev.* sets — it holds only the un-namespaced supabase entries.
Hand-renaming keys inside the sops file breaks its MAC (verified 2026-11-04: sops -d fails after a key rename), so the fix is a regeneration, not an edit.
lib/bws-to-sops.sh --dry-run confirms a regeneration produces the current key set — but a full sync also changes ~20 unrelated entries (e.g. github-app.backup-*, restic.*, baseten.api-key, neon.api-key-muse-cli, oci.developing-today-admin, pm-aggregator.* that the committed mirror lacks), so the drift is broader than the supabase names.
Ask: run the regeneration as its own reviewed change; audit the unrelated additions (confirm each is an intended mirror resident before landing); and consider a freshness check (e.g. a periodic dry-run diff) so the mirror cannot silently drift from the vault again.
Deliberately excluded from PR #5379 to keep that change scoped.
Acceptance criteria
lib/bws-to-sops.sh regeneration lands as its own reviewed PR; secrets/sops/common/bws.yaml keys match the current vault set, including supabase.muse-dev2.* and supabase.muse-dev.*, with no retired un-namespaced supabase.* keys.
Every unrelated entry the regeneration adds or changes (~20, e.g. github-app.backup-*, restic.*, pm-aggregator.*) is audited and confirmed an intended mirror resident before merge.
sops -d succeeds on the regenerated file (no hand-renamed keys; MAC intact).
A freshness check (e.g. periodic dry-run diff against the vault) exists or is filed as a follow-up issue, so the mirror cannot silently drift again.
Related: PR #5379 (consumer rewire to supabase.muse-dev2.*) deliberately excluded this regeneration to stay scoped. Filed by Drew 2026-11-04; no merged PR resolves it — verified live at intake (the committed mirror still keys the retired un-namespaced names).
Notes: The root constraint is mechanical: hand-renaming keys inside a sops file breaks its MAC, so this must be a regeneration via lib/bws-to-sops.sh, never an in-place edit. The dry-run already proves the tool produces the current key set.
Risks: The full sync touches ~20 unrelated entries; landing it unaudited could mirror a secret that was never meant to be a sops resident. The audit step in the acceptance criteria is the real work — the regeneration itself is one command.
Suggested approach: run the regeneration on a branch, diff key names (not values) against the committed mirror, confirm each delta with its owning line, then land. Follow with the freshness check so this is the last manual catch.
Vault side is now canonical-only (2026-11-04, Drew's ruling: "either get rid of the secret or use dev2 naming — nothing about original needs to be kept").
Bitwarden Secrets Manager (project "developing today") now holds Supabase entries ONLY under supabase.muse-dev2.* — 10 entries: access-token-muse-cli, anon-key, db-host, db-password, github-webhook-secret, project-ref, project-url, publishable-key, secret-key, service-role-key.
Deleted from the vault (18):
The whole supabase.muse-dev.* set (9) — the deleted legacy project's actual material (JWT refs verified = nltgxorqwxhgfzseiirt for the key entries, ref/host strings for the rest; zero live consumers across sandbox tools, hatch-personal live files, and laptop tool copies).
The supabase.legacy-muse-dev.* trio (3) — hash-verified duplicates of the muse-dev2 canonical entries.
The remaining unprefixed duplicates (6): supabase.anon-key, supabase.db-host, supabase.db-password, supabase.publishable-key, supabase.secret-key (each hash-identical to its muse-dev2 twin; the one live consumer of the bare db-password name — the laptop supabase-backup tool — was rewired to supabase.muse-dev2.db-password in the same pass), and supabase.access-token-muse-cli-dev2 (hash-identical duplicate of the Management API token entry, no consumers).
Renamed into the namespace (2 distinct credentials, consumers rewired in the same pass):
Post-state proofs: vault listing shows only supabase.muse-dev2.*; supabase-exec.py trivial SELECT → HTTP 201; repo-queue health on sandbox + laptop both resolve keihfchslgjetkmnmzra via Bitwarden; pm-dispatch /health ok (SOPS-based, untouched).
Consequence for this issue: the vault no longer contains any of the retired key names, so when the lib/bws-to-sops.sh regeneration of secrets/sops/common/bws.yaml runs, the mirror will produce only namespaced supabase.muse-dev2.* keys — the stale unprefixed keys in the current committed mirror have no vault source left.
Material change since filing (recorded on this issue 2026-11-04 by developing-today): the vault is now canonical-only — Bitwarden holds Supabase entries ONLY under supabase.muse-dev2.* (10 entries); the whole supabase.muse-dev.* set, the supabase.legacy-muse-dev.* trio, and the unprefixed duplicates were deleted from the vault.
Triage verdict — fix path scoped, one acceptance item superseded:
Regeneration target is now simpler than filed: lib/bws-to-sops.sh regeneration will produce ONLY namespaced supabase.muse-dev2.* keys. The acceptance line expecting the mirror to include a supabase.muse-dev.* set is SUPERSEDED by Drew's canonical-only vault ruling — do not re-add muse-dev keys.
The real work remains the audit: a full sync also changes ~20 unrelated entries (github-app.backup-*, restic.*, baseten.api-key, neon.api-key-muse-cli, oci.developing-today-admin, pm-aggregator.*, …). Each delta must be confirmed an intended mirror resident before merge — key names only in review, never values in comments/PR text.
Mechanical constraints stand: never hand-rename keys inside the sops file (breaks the MAC); regeneration only, as its own reviewed PR; verify sops -d succeeds on the regenerated file.
Freshness check (periodic dry-run diff) remains an open acceptance item — land it with the regeneration PR or file it as a follow-up issue in the same pass.
This triage task (task 9483) completes as triaged; the regeneration + audit is implementation work for a follow-up task.
PR:#5450 (merged by the app, merge commit 2e5588002d5a590327ff0082691e618b98da1325; main's secrets/sops/common/bws.yaml blob verified byte-identical to the regenerated file). The file was regenerated with the repo's own lib/bws-to-sops.sh in a clean worktree — no hand edits — and sops -d succeeds on the result (MAC intact).
Audit of the full diff (97 → 114 keys; every change explained):
Added (27):supabase.muse-dev2.* (10 — including the renamed access-token-muse-cli and github-webhook-secret), github-app.backup-* (7), restic.* (3), pm-aggregator.* (2), baseten.api-key, neon.api-key-muse-cli, oci.developing-today-admin, chrome-remote-desktop.amd-pin, github.developing-today-code-automation. All are current vault residents, confirmed against bws secret list output.
Removed (10): the retired un-namespaced supabase.* keys — the vault cleanup deleted the duplicates and renamed the survivors into the muse-dev2 namespace, so none of them exist in the vault anymore.
Value-changed (2):commandcode.api-key, opencode.server-password — vault-side rotations since the last sync (verified by decrypted-hash comparison, key names only).
One acceptance-text note: this issue expected the regenerated mirror to include the supabase.muse-dev.* set, but that set was deleted from the vault in the 2026-11-04 cleanup (Drew's ruling: nothing of the original muse-dev needs to be kept). The mirror correctly reflects the current vault: exactly the 10 supabase.muse-dev2.* entries and no legacy or un-namespaced supabase.* keys.
Freshness check: filed as follow-up #5451 (periodic bws-to-sops --dry-run key-set diff that files/updates an issue on drift).
Activity
dezren39 commentedon Nov 4, 2026
Intake review — fleet monitor, 2026-11-04.
Related: PR #5379 (consumer rewire to
supabase.muse-dev2.*) deliberately excluded this regeneration to stay scoped. Filed by Drew 2026-11-04; no merged PR resolves it — verified live at intake (the committed mirror still keys the retired un-namespaced names).Notes: The root constraint is mechanical: hand-renaming keys inside a sops file breaks its MAC, so this must be a regeneration via
lib/bws-to-sops.sh, never an in-place edit. The dry-run already proves the tool produces the current key set.Risks: The full sync touches ~20 unrelated entries; landing it unaudited could mirror a secret that was never meant to be a sops resident. The audit step in the acceptance criteria is the real work — the regeneration itself is one command.
Suggested approach: run the regeneration on a branch, diff key names (not values) against the committed mirror, confirm each delta with its owning line, then land. Follow with the freshness check so this is the last manual catch.
developing-today commentedon Nov 4, 2026
Vault side is now canonical-only (2026-11-04, Drew's ruling: "either get rid of the secret or use dev2 naming — nothing about original needs to be kept").
Bitwarden Secrets Manager (project "developing today") now holds Supabase entries ONLY under
supabase.muse-dev2.*— 10 entries: access-token-muse-cli, anon-key, db-host, db-password, github-webhook-secret, project-ref, project-url, publishable-key, secret-key, service-role-key.Deleted from the vault (18):
supabase.muse-dev.*set (9) — the deleted legacy project's actual material (JWT refs verified =nltgxorqwxhgfzseiirtfor the key entries, ref/host strings for the rest; zero live consumers across sandbox tools, hatch-personal live files, and laptop tool copies).supabase.legacy-muse-dev.*trio (3) — hash-verified duplicates of the muse-dev2 canonical entries.supabase.anon-key,supabase.db-host,supabase.db-password,supabase.publishable-key,supabase.secret-key(each hash-identical to its muse-dev2 twin; the one live consumer of the bare db-password name — the laptop supabase-backup tool — was rewired tosupabase.muse-dev2.db-passwordin the same pass), andsupabase.access-token-muse-cli-dev2(hash-identical duplicate of the Management API token entry, no consumers).Renamed into the namespace (2 distinct credentials, consumers rewired in the same pass):
supabase.access-token-muse-cli→supabase.muse-dev2.access-token-muse-cli(supabase-exec.py on sandbox + laptop, supabase-mirror sync tool, supabase-backup config, connector doc).supabase.github-webhook-secret→supabase.muse-dev2.github-webhook-secret(connector doc).Post-state proofs: vault listing shows only
supabase.muse-dev2.*;supabase-exec.pytrivial SELECT → HTTP 201; repo-queue health on sandbox + laptop both resolvekeihfchslgjetkmnmzravia Bitwarden; pm-dispatch /health ok (SOPS-based, untouched).Consequence for this issue: the vault no longer contains any of the retired key names, so when the
lib/bws-to-sops.shregeneration ofsecrets/sops/common/bws.yamlruns, the mirror will produce only namespacedsupabase.muse-dev2.*keys — the stale unprefixed keys in the current committed mirror have no vault source left.dezren39 commentedon Nov 4, 2026
Triage — repo queue worker lane K (task 9483), 2026-11-04.
Verified fresh this shift:
held,user/owned,do-not-merge,do-not-auto-edit).supabase.muse-dev2.*) is MERGED. No open or competing PR for the regeneration was found in a fresh PR search (bws-to-sops/bws.yaml/ secrets/sops/common/bws.yaml mirror is stale: retired supabase.* keys, missing namespaced sets — needs a full bws-to-sops regeneration pass #5381).Material change since filing (recorded on this issue 2026-11-04 by developing-today): the vault is now canonical-only — Bitwarden holds Supabase entries ONLY under
supabase.muse-dev2.*(10 entries); the wholesupabase.muse-dev.*set, thesupabase.legacy-muse-dev.*trio, and the unprefixed duplicates were deleted from the vault.Triage verdict — fix path scoped, one acceptance item superseded:
lib/bws-to-sops.shregeneration will produce ONLY namespacedsupabase.muse-dev2.*keys. The acceptance line expecting the mirror to include asupabase.muse-dev.*set is SUPERSEDED by Drew's canonical-only vault ruling — do not re-add muse-dev keys.github-app.backup-*,restic.*,baseten.api-key,neon.api-key-muse-cli,oci.developing-today-admin,pm-aggregator.*, …). Each delta must be confirmed an intended mirror resident before merge — key names only in review, never values in comments/PR text.sops -dsucceeds on the regenerated file.This triage task (task 9483) completes as
triaged; the regeneration + audit is implementation work for a follow-up task.developing-today commentedon Nov 4, 2026
Resolved — regeneration landed in PR #5450
PR: #5450 (merged by the app, merge commit
2e5588002d5a590327ff0082691e618b98da1325; main'ssecrets/sops/common/bws.yamlblob verified byte-identical to the regenerated file). The file was regenerated with the repo's ownlib/bws-to-sops.shin a clean worktree — no hand edits — andsops -dsucceeds on the result (MAC intact).Audit of the full diff (97 → 114 keys; every change explained):
supabase.muse-dev2.*(10 — including the renamedaccess-token-muse-cliandgithub-webhook-secret),github-app.backup-*(7),restic.*(3),pm-aggregator.*(2),baseten.api-key,neon.api-key-muse-cli,oci.developing-today-admin,chrome-remote-desktop.amd-pin,github.developing-today-code-automation. All are current vault residents, confirmed againstbws secret listoutput.supabase.*keys — the vault cleanup deleted the duplicates and renamed the survivors into themuse-dev2namespace, so none of them exist in the vault anymore.commandcode.api-key,opencode.server-password— vault-side rotations since the last sync (verified by decrypted-hash comparison, key names only).One acceptance-text note: this issue expected the regenerated mirror to include the
supabase.muse-dev.*set, but that set was deleted from the vault in the 2026-11-04 cleanup (Drew's ruling: nothing of the original muse-dev needs to be kept). The mirror correctly reflects the current vault: exactly the 10supabase.muse-dev2.*entries and no legacy or un-namespacedsupabase.*keys.Freshness check: filed as follow-up #5451 (periodic
bws-to-sops --dry-runkey-set diff that files/updates an issue on drift).Closing as resolved.
dezren39 commentedon Nov 4, 2026
🤖 Agent note · done