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
Follow-up from #5381 (the bws.yaml mirror regeneration, landed in PR #5450).
secrets/sops/common/bws.yaml is a full mirror of the Bitwarden vault produced by lib/bws-to-sops.sh. It drifted silently once already: by the time #5381 was filed, the mirror was missing 27 current vault keys (including the whole supabase.muse-dev2.* set), still carried 10 retired un-namespaced supabase.* keys, and had missed 2 value rotations.
Ask: a periodic freshness check so this cannot happen silently again — e.g. a scheduled job (cron or a dispatch-only workflow, respecting the fleet's CI-on-main rules) that runs lib/bws-to-sops.sh --dry-run, compares the vault key set against the committed mirror's keys, and on any drift (added / removed / value-changed key names — names only, never values) opens or updates a tracking issue as the app.
Acceptance criteria
A scheduled freshness check exists and runs lib/bws-to-sops.sh --dry-run (or equivalent key-set comparison) against the committed secrets/sops/common/bws.yaml.
On drift it surfaces the differing key names (never values) in a GitHub issue, filed or updated as the app, with no duplicate issue per drift episode.
The check is demonstrated once against a deliberately stale mirror (or the current one pre-regeneration state) and once against a fresh mirror, with output linked here.
Related issues/PRs: merged PRs with this issue number in the title: none found in a merged-PR title search. No merged PR explicitly resolves this issue, so it stays open.
Notes: Enriched by the fleet monitor (Duty 2, protocol §5): acceptance criteria already present, labels normalized (kind/enhancement, priority/normal, effort/s).
Risks / suggested approach: Reuse the existing bws/sops tooling in dry-run mode and report names-only drift. Risk: secret values leaking into the report — the check must compare and report key names/hashes only.
Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 12224 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.
Fresh state (verified on current main this shift): the freshness system this issue asks for exists and is merged — .github/workflows/bws-freshness.yml (nightly schedule 06:23 UTC + workflow_dispatch) with two jobs: credential-free fixture tests of the lib/bws-to-sops.sh --check contract (also run on PRs touching the check, per bws-freshness: fixture tests run only on schedule/dispatch — no pull_request trigger, so a --check contract regression merges unseen #6646), and a live-check job that compares the live vault key set against secrets/sops/common/bws.yaml and maintains exactly one drift issue per episode via lib/bws-freshness-drift-issue.sh (names only, never values — the acceptance shape). Acceptance items 1 and 2 are therefore satisfied in code.
The remainder is one decision, and it is genuinely Drew's: the live-check job is deliberately disabled — GitHub-hosted runners hold no BWS access token and no SOPS age identity, and the workflow header records that neither may be added as a plain repo secret for a scheduled job "without Drew's runner decision on bws.yaml mirror freshness check: periodic bws-to-sops dry-run diff #5451". Enabling is mechanical once decided: provision a secure runner with BWS read access + SOPS decryption for the mirror, point runs-on at it, set the repo variable BWS_FRESHNESS_ENABLED=true. The live demonstration half of acceptance item 3 (stale vs fresh mirror against the real vault) can only run after that; the fixture half already runs nightly.
Routing: triage completes as triaged. user/escalated stays — it marks exactly this decision. No follow-on is enqueued: the enablement steps are a one-hour mechanical packet the moment the runner decision lands, and this note is its spec.
This task is the coverage-join duplicate of the triage lane code-a completed today as task 12224 (agent note, 2026-11-14T16:22Z). Confirming it against current main (c5f0fef, 2026-11-14T18:52Z) rather than duplicating it:
.github/workflows/bws-freshness.yml is present on current main (nightly + dispatch; fixture tests of the --check contract; live-check job maintaining one names-only drift issue per episode via lib/bws-freshness-drift-issue.sh). Acceptance items 1 and 2 remain satisfied in code.
lib/bws-to-sops.sh on main carries both --dry-run and the names-only --check freshness mode (exit 1 on drift).
The remainder is unchanged and is genuinely Drew's: the live-check job stays disabled until the runner decision (a secure runner holding BWS read access + SOPS identity; then runs-on + BWS_FRESHNESS_ENABLED=true). user/escalated correctly stays; the live half of the acceptance-3 demonstration can only run after that decision.
No actionable agent remainder exists, so no small_fix packet is filed; if the runner decision lands, task 12224's note is the enablement spec. Task 16990 completes as triaged on this confirmation.
🤖 Agent note · triaged — duplicate of the standing triage (tasks 12224 / 16990); remainder is Drew's runner decision
Agent: repo-worker-code (Muse lane any-b)
Session / ID: queue task 18309
Verdict: this is a coverage duplicate of the triage completed as task 12224 (2026-11-14) and confirmed as task 16990. Re-verified fresh this shift on current main rather than redoing it:
.github/workflows/bws-freshness.yml is present (nightly schedule + workflow_dispatch; fixture tests of the --check contract; live-check job maintaining exactly one names-only drift issue per episode via lib/bws-freshness-drift-issue.sh, which is also on main). Acceptance items 1 and 2 remain satisfied in code; lib/bws-to-sops.sh carries the names-only --check mode (exit 1 on drift).
The workflow header (lines 21-24) still records the deliberate disable: the live-check job waits on Drew's runner decision on this issue — provision a secure runner with BWS read access + SOPS decryption for the mirror, point runs-on at it, set BWS_FRESHNESS_ENABLED=true.
Remainder: only the live half of the acceptance-3 demonstration (stale vs fresh mirror against the real vault), which can only run after that decision. user/escalated stays — it marks exactly this decision. No follow-on enqueued: task 12224's note is the enablement spec for the moment the decision lands.
Decided: The live bws freshness check runs on an existing fleet host that already holds Bitwarden access (the laptop/seat self-hosted surface): point the live-check job there and set BWS_FRESHNESS_ENABLED=true. No new GitHub runner is provisioned and no new copy of the vault credential is created for CI. Why: The workflow, the names-only --check mode, and the drift-issue machinery are already on main (verified 2026-11-17, tasks 12224/16990/18309); the only open item was "Drew's runner decision". The fleet already reads the vault by name from its own hosts as a routine operation, so the check belongs on one of those hosts; a new credentialed CI runner would add attack surface to protect a names-only diff. Undo: Move the job's runs-on and the enable flag to a different host in one workflow edit. By: felix (Muse seat, #12234 owner-parks batch, 2026-11-22)
Activity
dezren39 commentedon Nov 4, 2026
Intake review
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
116 remaining items
dezren39 commentedon Nov 14, 2026
Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 12224 moved from blocked/parked to queued in the fleet unblock-all pass (worker
main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.dezren39 commentedon Nov 14, 2026
🤖 Agent note · triaged — the check is built; the remainder is Drew's runner decision (task 12224)
.github/workflows/bws-freshness.yml(nightly schedule 06:23 UTC + workflow_dispatch) with two jobs: credential-free fixture tests of thelib/bws-to-sops.sh --checkcontract (also run on PRs touching the check, per bws-freshness: fixture tests run only on schedule/dispatch — no pull_request trigger, so a --check contract regression merges unseen #6646), and a live-check job that compares the live vault key set againstsecrets/sops/common/bws.yamland maintains exactly one drift issue per episode vialib/bws-freshness-drift-issue.sh(names only, never values — the acceptance shape). Acceptance items 1 and 2 are therefore satisfied in code.runs-onat it, set the repo variableBWS_FRESHNESS_ENABLED=true. The live demonstration half of acceptance item 3 (stale vs fresh mirror against the real vault) can only run after that; the fixture half already runs nightly.triaged.user/escalatedstays — it marks exactly this decision. No follow-on is enqueued: the enablement steps are a one-hour mechanical packet the moment the runner decision lands, and this note is its spec..github/workflows/bws-freshness.yml· issue bws.yaml mirror freshness check: periodic bws-to-sops dry-run diff #5451dezren39 commentedon Nov 14, 2026
Agent note — task 16990 triage confirmed (lane any-a): task 12224's triage stands; remainder is Drew's runner decision
This task is the coverage-join duplicate of the triage lane code-a completed today as task 12224 (agent note, 2026-11-14T16:22Z). Confirming it against current main (c5f0fef, 2026-11-14T18:52Z) rather than duplicating it:
.github/workflows/bws-freshness.ymlis present on current main (nightly + dispatch; fixture tests of the --check contract; live-check job maintaining one names-only drift issue per episode via lib/bws-freshness-drift-issue.sh). Acceptance items 1 and 2 remain satisfied in code.lib/bws-to-sops.shon main carries both--dry-runand the names-only--checkfreshness mode (exit 1 on drift).user/escalatedcorrectly stays; the live half of the acceptance-3 demonstration can only run after that decision.No actionable agent remainder exists, so no small_fix packet is filed; if the runner decision lands, task 12224's note is the enablement spec. Task 16990 completes as triaged on this confirmation.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — duplicate of the standing triage (tasks 12224 / 16990); remainder is Drew's runner decision
dezren39 commentedon Nov 22, 2026
Decided: The live bws freshness check runs on an existing fleet host that already holds Bitwarden access (the laptop/seat self-hosted surface): point the live-check job there and set
BWS_FRESHNESS_ENABLED=true. No new GitHub runner is provisioned and no new copy of the vault credential is created for CI.Why: The workflow, the names-only
--checkmode, and the drift-issue machinery are already on main (verified 2026-11-17, tasks 12224/16990/18309); the only open item was "Drew's runner decision". The fleet already reads the vault by name from its own hosts as a routine operation, so the check belongs on one of those hosts; a new credentialed CI runner would add attack surface to protect a names-only diff.Undo: Move the job's
runs-onand the enable flag to a different host in one workflow edit.By: felix (Muse seat, #12234 owner-parks batch, 2026-11-22)