Commit Graph
8 Commits
Author SHA1 Message Date
David YoungandClaude Opus 5.5 3282857a9f smoketest: wait for Superpanel's app to quit before opening it again
Opened again while the last one was still quitting, Launch Services
failed with -600 now and then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:52:30 -07:00
David YoungandClaude Opus 5.5 ad97e68db1 Let sandboxed agents use mktemp, and keep backups from waiting on prompts
macOS' mktemp uses the per-user temp folder in /var/folders, not TMPDIR,
so the sandbox now allows writing there. The sandbox's settings move out
of it, to Application Support, which the agent can't read or write.

Without Full Disk Access, reading Desktop, Documents, Downloads, other
apps' containers or Photos makes macOS ask, and restic waited for an
answer no one gives at night. The backup now leaves those out until it
has Full Disk Access, as configure backup already said it did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:19:21 -07:00
David YoungandClaude Opus 5.5 eab26c0888 Stop SSHFS hanging, and name the real reason Gatekeeper refuses an app
With macFUSE's FSKit extension off, sshfs waits forever and ignores TERM;
sftp_mount gives it 30 seconds, then stops it and says to turn macFUSE on.

On a Mac that allows only App Store apps, app_install said the download
"isn't notarized"; it now says the Mac only allows App Store apps, and where
to change that.

The vanilla image is like that and since macOS 15 only System Settings or
MDM can change it, so 70-apps checks the message and skips the installs
there. 85-sftp checks that add_sftp gives up while the extension is off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:01:03 -07:00
David YoungandClaude Opus 5.5 f2e6908dfd smoketest: show ssh's error, and hint at Local Network access
"No route to host" is what macOS gives when the terminal app hasn't been
allowed on the local network, which looked like the VM not starting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:18:18 -07:00
davidandClaude Opus 5.5 5fd4fa5a98 smoketest: Tart now installs from openai/tools
brew install cirruslabs/cli/tart no longer works; Tart's README now
says brew install openai/tools/tart. Its images are still published
under ghcr.io/cirruslabs, so the default image stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 10:07:02 -07:00
davidandClaude Opus 5.5 f92dbcb3bd Add an installer and update command
curl -fsSL https://federated.sh/mac | bash

install.sh checks the Mac (macOS 13+, not root, internet; warns if the
account isn't an administrator), then downloads the latest commit as an
archive from Gitea, as macOS has no git without the Command Line Tools.
It installs into ~/.local/share/federated-connector/connector, links
configure and update into ~/.local/bin and puts that on PATH at the top
of ~/.zprofile and ~/.bash_profile, then offers to run configure. Piped
into bash, it runs only once read in full, and asks from /dev/tty.

The folder never moves, so the backup and storage jobs and the Federated
Backup app (with its Full Disk Access) keep pointing at it. update shows
the commits since the installed one and swaps the new files in with two
renames.

If configure ran from another folder before, the installer says what
still runs from there; backup and storage now show as to do until
they're set up again from the installed copy.

smoketest: 05-install pipes install.sh into bash with the working copy,
runs update, then installs the published version from Gitea.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:21:17 -07:00
davidandClaude Opus 5.5 8e2a886215 Mount SFTP folders in network storage, as CoreDesktop does
configure storage now finds machines that announce SFTP as well as SMB
servers, and takes sftp://[user@]host[:port][/path] addresses. Folders
are mounted with SSHFS on macFUSE, as you, with your SSH keys
(Bitwarden's SSH agent while it runs one), and never ask for a
password. storage-mount mounts them again at login and when the
network changes, as it does SMB shares; each line of the list now
records its mount point.

macFUSE and SSHFS are offered for download, checked against their
Team ID (3T5GSNBU6W, read from the packages' signatures). On macOS 26
and later macFUSE mounts through FSKit, whose extension you turn on
once in System Settings. Earlier macOS needs its kernel extension,
which this uses if it's running but doesn't set up.

smoketest: 85-sftp installs both and mounts a folder from the VM
itself over SSH, if macFUSE's extension can be turned on there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:55:55 -07:00
davidandClaude Opus 5.5 08e6b2ee4f Set up a Mac for a Federated Core, like CoreDesktop's configure
A macOS counterpart of CoreDesktop's configure, with the same drop-in
items in configure.d/:

- core: Mail, Calendar and Contacts through a configuration profile,
  Superpanel as an app, Nextcloud files through the Nextcloud app, and
  Element; with test-and-fix, password change and removal
- tailscale: join the Core's network through headscale
- backup: restic to Nextcloud through rclone, run by launchd through an
  app that can be given Full Disk Access
- storage: SMB shares mounted the way Finder does, again at login and
  on network changes
- agents, claude, opencode, hermes, sandbox: install the agents and run
  them in Anthropic's sandbox runtime (Seatbelt on macOS)
- ai-servers: LLM servers on this Mac or the network, for the agents

Apps and tools macOS lacks are offered for download, checked against
their makers' Team IDs and notarization, or published SHA-256 sums.
Everything runs on macOS' bash 3.2 with only built-in tools.

smoketest/ runs scenarios in fresh macOS VMs with Tart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:34:42 -07:00