bootstrap
Adom Hydrogen (macOS / Lima)
Public Made by Adomby adom
The macOS platform layer for Adom Hydrogen.
← Commit history
install.sh+28@@ -222,6 +222,34 @@ for s in sorted(skills): for p in ('~/.claude/skills/adom-desktop', '~/.codex/skills/adom-desktop'): if rm(os.path.expanduser(p)): purged.append('adom-desktop')+# (d) windows-content docs with no mac fork — they teach \\wsl$ paths and+# WSL2 forwarding that actively mislead on this platform (Kyle's+# 2026-08-26 audit; the long fix is mac forks upstream). Plus the+# pre-rename hydrogen-embedded-ad (now hydrogen-embedded-bridge).+for s_ in ('hydrogen-file-transfer', 'hydrogen-desktop-sse', 'hydrogen-embedded-ad'):+ if rm(os.path.join(SK, s_)):+ purged.append(s_)+# (e) re-assert THIS package's own skills: several are same-NAME overrides of+# base-layer docs (hydrogen-ports, hydrogen-setup-steps, ...), and a+# base-layer re-delivery silently clobbers them back to the windows+# flavor (observed live 2026-08-26). Byte-compare against the pkg store+# payload and re-copy on drift.+import filecmp+pay = os.path.expanduser('~/project/adom_modules/adom/hydrogen-mac-bootstrap/skills')+reasserted = []+if os.path.isdir(pay):+ for name in os.listdir(pay):+ src = os.path.join(pay, name, 'SKILL.md')+ dst_dir = os.path.join(SK, name)+ dst = os.path.join(dst_dir, 'SKILL.md')+ if not os.path.isfile(src):+ continue+ if not os.path.isfile(dst) or not filecmp.cmp(src, dst, shallow=False):+ os.makedirs(dst_dir, exist_ok=True)+ shutil.copyfile(src, dst)+ reasserted.append(name)+if reasserted:+ print('[mac-platform-hygiene] re-asserted %d mac skill override(s): %s' % (len(reasserted), ', '.join(reasserted))) if purged: print('[mac-platform-hygiene] purged %d windows-line skill(s): %s' % (len(purged), ', '.join(purged))) PY
package.json+1−1@@ -4,7 +4,7 @@ "type": "bootstrap", "title": "Adom Hydrogen (macOS / Lima)", "brief": "The macOS platform layer for Adom Hydrogen.",- "version": "0.1.25",+ "version": "0.1.26", "description": "The macOS platform layer for Adom Hydrogen, where the workspace runs in a Lima Ubuntu VM hosting the Adom-Workspace systemd-nspawn machine. Depends on adom/hydrogen-bootstrap (the platform-generic Hydrogen layer) and adds everything specific to the Lima/nspawn runtime: the container/networking/ports/setup/topology/volume/workspace-lifecycle hydrogen-* skills (the macOS-runtime bucket), the in-machine workspace-updater daemon, and the macOS code-server workbench seed. Sibling layers adom/hydrogen-windows-bootstrap (WSL2) and adom/hydrogen-ubuntu-bootstrap depend on the same adom/hydrogen-bootstrap. This is the package the golden Lima image installs.", "org": "adom", "tags": [
page.json+1−1@@ -4,7 +4,7 @@ "slug": "hydrogen-mac-bootstrap", "title": "Adom Hydrogen (macOS / Lima)", "brief": "The macOS platform layer for Adom Hydrogen.",- "version": "0.1.25",+ "version": "0.1.26", "license": "proprietary", "visibility": "public", "metadata": {