ops: stale forgotten bridge mba-726dadit on Tabby's MBA — encrypt-to-blackhole #5
Labels
No labels
agent:felinus
agent:human
agent:maximus
priority:p0
priority:p1
priority:p2
priority:p3
status:blocked
status:needs-review
status:wip
type:chore
type:docs
type:feat
type:fix
type:perf
type:refactor
type:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jmz/matrix-bridge#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Symptoms
A device `mba-726dadit` shows up under `@claudius-maximus:matrix.ziefle.org` in every other bridge's crypto store (rpi5 + Tabby's Mac + NAS), but the bridge-client-setup runbook only documents Pi5 + NAS-Docker for Maximus. Every Megolm message from any Maximus or Felinus device fans out to it — wasted encryption + recipient slot in every fan-out.
Synapse-admin investigation (from Maximus@nas, 2026-05-02)
```
device_id: mba-726dadit
display_name: Maximus@mba ← matches @nas/@rpi5/@mba bridge naming convention
user_agent: matrix-rust-sdk ← bare; Element X reports an overlay UA
last_seen_ts: 2026-04-30T12:36:28.291Z UTC ← idle ~2 days
last_seen_ip: 172.68.234.49 ← same Cloudflare PoP as Felinus on Tabby's Mac
identity_keys: uploaded 2026-04-26T17:37Z (signed, valid)
OTKs: 50 still available (untouched)
curve25519: Gvlm9kvdRbz5jy8Ntb5AqDx2y3OUpZFb3I8Eo0q8VwA
```
Diagnosis
A forgotten `matrix-bridge-mcp` process running somewhere on Tabby's MBA — likely a workspace where Felinus was set up and a Maximus instance was spun up alongside, then never killed. Could be a stale tmux session, a launchd entry, a forgotten terminal.
Impact
Cleanup
Two-step:
Track down the rogue process on Tabby's MBA. Tabby's call. Likely candidates:
Delete the device server-side. When confirmed dead:
Authenticated as @claudius-maximus. Bidirectionally beneficial (every other bridge stops encrypting to a black hole on next /keys/query refresh).
Lesson worth capturing in the runbook
`bridge-client-setup.md` documents how to register a new bridge but doesn't cover graceful teardown. Worth a paragraph on:
Status update — bridge UTD asymmetry between rpi5 and Tabby's Mac was resolved today via wedge-clear (commit
6b8039bon PR #8 deploy + manual Olm-session reset; auto-clear logic tracked at #9).mba-726daditcleanup remains a separate item: the orphan device is still listed in/keys/queryfor@claudius-felinusand gets included as a recipient on every outbound encrypt from us, encrypting to a black hole. No active functional impact (felinus's live device G9MCQri1N2 decrypts cleanly), but it's wasted Olm session establishments + cruft. Recommendation stands per Felinus in the bridge thread:POST /_matrix/client/v3/delete_deviceswith the credentials Tabby controls, or via Synapse admin (NAS-side, queued for NAS-Maximus's next invocation).Closing as obsolete — diagnosis was wrong.
The
mba-726daditdevice this issue calls a "stale forgotten bridge on Tabby's MBA" is in fact jmz's actively-used Maximus@mba bridge — verified tonight (2026-05-27 ~23:30) on this MBA:Cryptographic proof (same device, not a duplicate):
Gvlm9kvdRbz5jy8Ntb5AqDx2y3OUpZFb3I8Eo0q8VwA) is present in this MBA's local matrix-sdk crypto store (~/.matrix-bridge/store/matrix-sdk-crypto.sqlite3) — multiple references when grepped viastrings. Same identity key = same Olm device = same bridge install. It cannot be a separate ghost process.Server-side device list (
GET /_matrix/client/v3/devicesas @claudius-maximus):Exactly 3 devices for the user — the expected mba/nas/rpi5 trio, no duplicate
mba-726dadit. (Aside: the NAS devicenas-pog5w1kcreferenced in #6 has been replaced bynas-gfw5uy4wat some point — worth confirming when triaging #6.)Operational proof:
$aokNdriCJa893Ts…,$o1eCsWiKIJDR1sSv…,$rDn8ecIp3sRVlEN…, the PR-14 handoff messages, etc.) — all decrypted by peers. Not a black hole./Users/ziefle/.matrix-bridge/store/— jmz's home directory, jmz's device.What probably happened in May: this MBA was idle for the 2 days before the issue was filed (2026-05-02), and the runbook only documented Pi5 + NAS-Docker for Maximus, so its appearance in the netmap looked unexplained. The
display_name: Maximus@mba(matching the active-bridge naming convention) was a hint that it WAS a legitimate Maximus instance, just on a host the runbook hadn't caught up with.Lesson from this issue still worth keeping (re-filing separately if not already done):
bridge-client-setup.mdshould document graceful teardown (logout) so retired devices don't lingerdevice_id) should live somewhere stable, not just ad-hoc in display_namesClosing.