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.
FR: auto-update trigger for headless (lite/service) containers — where prod releases live
adom/hook currently fires only on UserPromptSubmit (Claude Code / Codex), so it keeps INTERACTIVE containers current. Headless lite/service containers — arguably where currency matters most, since that's where prod releases actually run — get no trigger at all: no prompts, no updates, packages rot until someone SSHes in.
Request: a headless trigger mode for the same throttled updater. Ideas, in preference order:
- cron mode: an installer flag (or auto-detect "no Claude Code here") that registers the existing script under cron (e.g. */30 + @reboot) instead of / in addition to UserPromptSubmit. The script's throttle/stamp/status logic already fits this shape.
- daemon mode: a tiny supervised loop for images without cron (many lite containers ship without crond running).
Bootstrap wrinkle worth covering: lite/service images often lack the adom-wiki CLI itself, and there is no anonymous binary-download URL, so the hook package can't assume the CLI exists. A self-bootstrap story (bundled binary or a blessed public bootstrap endpoint) would make this genuinely zero-touch.
Working reference: the session-monitor service container now does exactly this in-app (drew2, 2026-07-15) — ships a gzipped adom-wiki binary in its repo, self-installs it on first run, runs adom-wiki self-update each cycle, then hourly pkg install <refs> + pkg update, with a status endpoint so it's observable without SSH. See adom/session-monitor-cli source (server.py, _pkg_autoupdate_loop). Happy to help generalize it into adom/hook.
Filed by [email protected].