Repository navigation
Description
During the 2026-10-30 cutover from muse-dev (nltgxorqwxhgfzseiirt, down in WAL recovery) to muse-dev2 (keihfchslgjetkmnmzra), flipping the canonical Bitwarden supabase.* pointers was NOT sufficient: two fleet tools hardcoded the old project and would have kept hitting the dead instance (supabase-exec returned 403 with the new scoped token against the old ref):
~/tools/supabase-exec.py—REF_DEFAULT = "nltgxorqwxhgfzseiirt"(fixed 2026-10-30: now resolves Bitwardensupabase.project-ref)~/tools/repo-queue.py—PROJECT_URL = "https://nltgxorqwxhgfzseiirt.supabase.co"(fixed 2026-10-30: now resolves Bitwardensupabase.project-url, new URL kept as fallback)
Related drift found the same day: the Supabase backup config's schemas list omitted engineering (the laptop pg_dump was empirically full-database so no data was lost, but the api transport would have silently skipped that schema).
Ask: audit the remaining fleet tooling (mirror scripts, idea mirror, fleet job bodies, laptop tools) for other hardcoded project refs/URLs or stale schema lists, and convert them to the canonical Bitwarden pointers (supabase.project-ref, supabase.project-url, supabase.service-role-key, supabase.access-token-muse-cli) so the next project move is config-only. Context: code#2767 (fleet queue unreachable during the outage).
Acceptance criteria
- A repo-wide audit of fleet tooling (mirror scripts, idea mirror, fleet job bodies, laptop tools) finds every remaining hardcoded old Supabase project ref/URL or stale schema list; each find is either fixed in place or listed on this issue with an owner.
- All converted tools resolve the canonical Bitwarden pointers (
supabase.project-ref,supabase.project-url,supabase.service-role-key,supabase.access-token-muse-cli) instead of embedded project values. - The two known fixed tools (
~/tools/supabase-exec.py,~/tools/repo-queue.py) are re-verified working against muse-dev2 after the audit.
Activity
dezren39 commentedon Oct 30, 2026
Cutover-day progress: the audit also found
laptop/tools/supabase-mirror/sync_agent_to_turso.pyhardcoding the old ref — fixed the same day (now resolves Bitwardensupabase.project-ref; committed in hatch-personal, live laptop copy updated). Remaining audit scope from the issue still stands for other tooling and job bodies.dezren39 commentedon Oct 30, 2026
Intake review
Fleet monitor intake pass (2026-10-30).
nltgxorqwxhgfzseiirt) and forsupabase.coliterals; disposition each hit (convert / intentional-fallback / dead code) on this issue.developing-today commentedon Nov 3, 2026
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7363 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: picked_up
Found via: OpenChamber scheduled lane
Task: 7363 (repo-health-code-pilot)
Worker: repo-worker-code
Lane: 8ac61616-3815-4e7b-b33d-840a3829154a
Session: ses_e5e5c374d17ffezowNmwt2RE2W
Next: Audit the old Supabase project ref/URL and stale schema lists across fleet tooling, then verify remaining known tools against muse-dev2.
140 remaining items
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — audit re-verified complete; the merged fix landed; only owner-side items remain (task 18237, queue repo-health-code-pilot, lane code-a)
nltgxorqwxhgfzseiirt— 0 hits. The current refkeihfchslgjetkmnmzra— 0 hits: no project ref is hardcoded anywhere in the repo at all. Every consumer (pm-stack/aggregator,pkgs/fleet/supabase-exec.py,pm-stack/shared-schema/orchestration-writer.py, the fleet-feed collector) builds its URL from a resolvedrefagainstapi.supabase.com— the canonical-pointer pattern the audit asked for. Remainingsupabase.cohits are the generic API host, a pooler hostname default with an env override (pm-dashboard-backup.sh), and test fixtures — none is a project hardcode.supabase.*pointers; the in-repo half is now proven by the search above); (2) the Drew-owned backup config pin from the 2026-11-13 release note. Neither is fleet-clearable from a queue lane, and neither needs a packet.dezren39 commentedon Nov 23, 2026
🤖 Agent note · picked up — Lane HB (archer), 2026-11-23
~/tools/supabase-exec.py,~/tools/repo-queue.py) against muse-dev2 in the authenticated laptop environment. Prior lanes named this as the closing step but were blocked by the laptop route being down; the route is up this shift.dezren39 commentedon Nov 23, 2026
🤖 Agent note · criterion-3 live re-verification — Lane HB (archer), 2026-11-23
Ran the closing verification prior lanes were blocked on (laptop route down in their shifts). Result: the audit itself fully re-verifies — no hardcodes remain anywhere — but criterion 3's live leg FAILS on a credential-scope problem, filed as #12986. #2796 stays open on that one item.
Re-verified clean this shift:
git grepon current main): old refnltgxorqwxhgfzseiirt— 0 hits; current ref — 0 hits. No project ref is hardcoded anywhere in developing-today/code. (Reconfirms the 2026-11-17 audit.)~/tools/*.py,~/tools/*.sh,~/tools/supabase-backup/*: 0 old-ref hits. Sandbox~/tools/*.py,~/tools/*.sh: 0 hits.~/tools/supabase-exec.py(the live copy): contains no ref/URL at all — ref resolves from BWSsupabase.muse-dev2.project-ref(verified resolving to the muse-dev2 ref), token fromsupabase.muse-dev2.access-token-muse-cli.~/tools/repo-queue.py: gone as a standalone file — superseded by the fleet binary's queue surface (the queue itself cut over to Turso; see doc/fleet/queue-turso-cutover.md). Its oldPROJECT_URLhardcode died with the file. The installed laptop binary's help surface was verified working earlier tonight (Lane GI, repo-queue CLI has no discoverable usage: every --help is rejected and bare list hides actionable work #10838 close-out).~/tools/supabase-backup/config.jsonpoints at muse-dev2, credentials resolve via BWS names, and theschemaslist now includesengineeringplus every fleet-owned schema, with the api-vs-pgdump behavior documented inschemas_note. The cutover-day omission is fixed.The one failure — #12986: supabase-exec's live run against muse-dev2 returns HTTP 404 "Resource has been removed": the canonical management token authenticates (GET /v1/projects → 200) but lists zero projects — muse-dev2 is outside its scope. The tool is correctly converted; the token is the stale layer. Fix is a Supabase-account action (owner: Drew): re-scope/re-mint the token into the same BWS name, no code change.
Remaining on #2796: only #12986. When it closes, criterion 3 passes and this issue can close — every other criterion is verified above.
dezren39 commentedon Nov 23, 2026
Picked up by
any-o— working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live whileany-oposts progress markers; after 30 minutes of silence any other worker may pick this up.)dezren39 commentedon Nov 23, 2026
OpenChamber lane any-o (2026-11-23): rechecked the criterion-3 live-verification slice. The repository remains clean:
git grepfinds 0 hits for retired refnltgxorqwxhgfzseiirt, 0 hits for current refkeihfchslgjetkmnmzra, and the onlysupabase.coliteral is a test fixture. This workspace does not contain~/tools/supabase-exec.pyor the superseded~/tools/repo-queue.py;fleet shell targetsreports the laptop unreachable, so I could not rerun the authenticated laptop checks. The known remaining blocker is still #12986: the management token needs to be re-scoped/re-minted into BWS by the account holder beforesupabase-exec.pycan pass a live read-only query. No code change or verification pass is claimed. Releasing this fallback claim free for the next laptop-reachable lane; next slice: rerun the two known tools against muse-dev2 after #12986 is resolved.