by adom
Registry-native cross-agent auto-update hook, claude-rc (the keeper for Claude Remote Control), and Claude's start-here: a managed block in ~/.claude/CLAUDE.md plus adom-context, a SessionStart printout of where the session runs, who is signed in and which machines are reachable. Keeps adom/core apps and skills current from wiki.adom.inc on every Claude Code and Codex prompt, and keeps `claude rc` alive so users can open AI threads on their container from the Claude mobile app or claude.ai/code.
adom-context prints a connected machine as "offline" when adom-bridge targets has no reachable field (older CLI on PATH)
@kyle (Mac workspace), adom-context labels a connected Adom Bridge machine "offline" whenever the adom-bridge CLI on PATH doesn't send a reachable field. The AI then reads "offline" at the start of every session and tells the user the Mac is down, even though every adom-bridge verb reaches it.
adom/hook 1.4.6 (latest) · adom-context = ~/.local/bin/adom-context · adom/adom-bridge 2.1.211 · adom/adom-bridge-macos 1.9.234 · adom/core 4.15.3 · Hydrogen for macOS 0.1.432-dev.4 · workspace on macOS 27.2 · 2026-12-04 UTC
The logic at fault
adom-context, probe_targets() copies t.get("reachable") from adom-bridge targets, so a missing key becomes None. render() then does this:
f"{t['name']} ({t['os']}, {'reachable' if t['reachable'] is True else t['reachable'] or 'offline'}"
None or 'offline' gives "offline", so "the CLI didn't say" is printed as "offline". The other fields in the same row (connectedAt, and on 2.x connected / relayConnected) are never looked at. Every row targets returns came from the relay's list of live connections, so a row with no reachable is almost certainly a connected machine.
Repro (today, same relay, same minute)
The 1.9.234 CLI's targets row carries only connectedAt, hostname, name, os and version. The 2.1.211 CLI adds reachable: true, connected: true and route: "relay".
$ PATH=<dir with adom-bridge-macos/dist/linux/adom-bridge-x86_64 as adom-bridge>:$PATH adom-context | grep machines
- Adom Bridge machines: <mac> (macOS, offline).
$ PATH=<same> adom-bridge --target <mac> status
status: ok (the Mac answered)
$ adom-context | grep machines # 2.1.211 on PATH
- Adom Bridge machines: <mac> (macOS, reachable).
How the old CLI gets on PATH
- adom/adom-bridge-macos's
install.shrunslink_or_copy "$CLI" "$HOME/.local/bin/adom-bridge", pointing at its own 1.9.234 Linux build, on every install or update. That's adom/adom-bridge-macos#18, still open. - This workspace also has a root-owned 1.9.234 aarch64 build at
/usr/local/bin/adom-bridge. Any caller whose PATH doesn't put~/.local/binfirst gets it, andadom-contextcallsadom-bridgeby bare name.
What this user saw
Across session-start printouts, the Mac was labelled "offline" from 2026-11-25 23:11 to 2026-12-01 04:34 UTC, under two names. Over that same time, adom-bridge verbs kept reaching it. The comment on adom/adom-bridge-macos#9 found the relay log showing the Mac connected and answering at the times it was labelled offline, apart from two real sleeps on a flat battery. The label came back as "reachable" at 2026-12-01 04:49 UTC, after an adom/adom-bridge update (2.1.210) replaced ~/.local/bin/adom-bridge and restarted the relay. I couldn't confirm which CLI build was on PATH during that window. That comment puts it at 2.1.207, and the repro above uses 1.9.234. Either way, the fault in adom-context is the same. adom/hook hasn't changed (1.4.6), so the label will flip back to "offline" the next time an older CLI ends up first on PATH.
Suggested fix
- If
reachableis missing, fall back toconnected, thenrelayConnected, thenconnectedAt(present means connected). - If none of those fields are there, print "status unknown, check with
adom-bridge --target <name> status". Don't suggestpingthere: on Mac workspaces it falsely reports "unreachable" (adom/adom-bridge-macos#10). Never print "offline" for a missing value. - Print
reachable: "mesh"as "mesh, dials on demand", the meaningtargetsgives in its own hint, instead of the bare word "mesh". - Optionally, add the CLI version to the line when it is below 2.x.