Repository navigation
Mac: keep LaunchAgent start-time stderr; follow the renamed overlay folders - #45
Merged
Merged
Conversation
From 2026-10-30 to 11-14 launchd started agents-update every night, but bash could not read the entry (it sat under the Nextcloud File Provider tree, denied to launchd jobs). The plist had no StandardErrorPath, so seventeen failed starts left no trace. StandardErrorPath now points at launchd-stderr.log beside the update log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The agreed Mac folder names are afkpilot-kitepon and grok-build-desktop-kitepon. ~/.local/bin/update-grok-community-overlay is a manual entry on the Mac PATH, so its defaults follow the move. GROK_COMMUNITY_DESKTOP/AFK still override them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Two Mac fixes, bundled into one release.
1. Keep the agents-update LaunchAgent's start-time stderr
launchd started
com.kite.agents-updateevery night from 2026-10-30 to 11-14, but bash could not read the entry script.~/Developersat under the Nextcloud File Provider tree, which macOS denies to launchd jobs (cause found by the MacBook host owner). The plist had noStandardErrorPath, so seventeen failed starts left no trace.install_launch_agentaddsStandardErrorPath=launchd-stderr.logbesideagents-update.log. Only stderr goes there: the main block already tees stdout and stderr to the update log.docs/feature-map/setup.mdis updated.tests/install/setup-macos-factory.shasserts the new key.2. Community-overlay connector follows the renamed Mac folders
The agreed survivor names are
~/Developer/afkpilot-kiteponand~/Developer/grok-build-desktop-kitepon.update-grok-community-overlayis a manual entry on the Mac PATH, so its defaults anddocs/factory-grok-build-community-overlay.mdfollow the move. The env overrides are unchanged.Local: setup-macos-factory install test OK, wire-v6 8/8, shellcheck clean, lint-md clean.
Deploy: after merge, the Mac self-sync brings in the source. The plist gets the new key in place (bootout, rewrite, bootstrap, then a read-back). agents-update is not run by hand.
🤖 Generated with Claude Code