Forge Home Base — always-on Remote Control session¶
A persistent Claude Code session lives on UDev under systemd so it always shows up in Justin's claude.ai/code session list. Open the URL on phone or desktop → instantly driving UDev (his forge, Finn SSH access, all the integrations) without spawning anything new.
How it runs¶
- systemd unit:
forge-home-base.service(Type=oneshot, RemainAfterExit=yes) - Wrapper script:
/home/justinwieb/forge/scripts/home-base-session.sh - tmux socket:
homebase(dedicated — does NOT share with the user's default tmux server) - Session name:
home-base_Sonnet46 - Model: Sonnet 4.6 (low-cost default for the always-on)
- Logs:
/home/justinwieb/forge/logs/home-base.log
Operations¶
| Action | Command |
|---|---|
| Status | systemctl status forge-home-base |
| Restart (refreshes the bridge URL) | sudo systemctl restart forge-home-base |
| Stop | sudo systemctl stop forge-home-base |
| Disable on boot | sudo systemctl disable forge-home-base |
| Attach in terminal | tmux -L homebase attach -t home-base_Sonnet46 |
| Get current URL | tmux -L homebase capture-pane -t home-base_Sonnet46 -p \| grep claude.ai/code |
| View logs | tail -f /home/justinwieb/forge/logs/home-base.log |
How Justin uses it¶
- Open https://claude.ai/code on phone or laptop
- The home-base session is listed (it's the long-lived one with no recent activity)
- Click → start chatting → he's now driving UDev
Caveats¶
- After a UDev reboot the bridgeSessionId changes — the URL is different. Always pull the current URL from the pane (see "Get current URL" above) or just open claude.ai/code and click the session entry.
- Lives on dedicated tmux socket
homebase, sotmux lswon't show it. Usetmux -L homebase ls. - If Justin wants to swap to Opus for the home base, set
HOMEBASE_MODELin the systemd unit's Environment block and restart.
Why this exists¶
Cowork has the "open the app, my session is right there" UX. Claude Code didn't, by default — every new claude.ai/code visit started a fresh cloud VM that can't reach UDev. This service makes the home base session always-on and always-listed.