Add linux support - #2
Merged
Merged
Conversation
The repo now treats macOS as one implementation rather than the whole thing, making room for a Linux one beside it. The root Makefile picks the platform directory by uname and forwards every target, so make, make install and make test keep working from the root. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A Go module in linux/ with the same make targets as macos/. The binary just prints "not implemented on Linux yet" and exits 1; the real behaviour lands incrementally on top. CI now builds and tests both platforms. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Will-Howard
force-pushed
the
linux-support
branch
from
July 28, 2026 13:59
0fc2e59 to
e627aee
Compare
* Add a curl-to-sh installer and tag-triggered Linux release install.sh fetches the static Linux binary for the host arch, verifies it against the release SHA256SUMS (an unfetchable SHA256SUMS asks for confirmation and aborts after 30s without input), installs it into the first writable of /usr/local/bin, ~/.local/bin, ~/bin and starts it from there. release.yml cross-builds amd64 and arm64 on a v* tag and publishes both binaries plus SHA256SUMS. Autostart onboarding no longer cares where the binary lives: the first daemon start records the wish and enables the unit from any location, and a unit pointing at a binary other than the running one is rewritten on start. uninstall stays the one command that forgets everything. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Tighten the user-facing copy per review settle becomes debounce, 'local only' is cut, the autostart help drops to two lines, doctor stops naming a key file and matches mac on the unset SSH_AUTH_SOCK line, and two autostart/start messages lose their tails. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Dump the daemon log and process list when the e2e test fails CI's TestDaemonEndToEnd timeout discards the daemon log, which is the one thing that says how far the daemon got. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Reconcile autostart only after every watcher is in place On a host with a live user bus (the CI runner; not this devbox), the systemd calls in reconcile take long enough that repo and config changes made during daemon startup landed before any inotify watch existed, and with no catch-up commit on start they were missed for good. Watch first, then reconcile. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Will-Howard
marked this pull request as ready for review
July 30, 2026 11:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When completed, this will add support for Linux alongside the existing MacOS support. This will be a long-standing feature branch, which I will make other PRs against