Skip to content

Mac: keep LaunchAgent start-time stderr; follow the renamed overlay folders - #45

Merged
quolu merged 2 commits into
mainfrom
mac-launchagent-stderr
Nov 14, 2026
Merged

quolu merged 2 commits into
mainfrom
mac-launchagent-stderr

Conversation

@quolu

@quolu quolu commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Two Mac fixes, bundled into one release.

1. Keep the agents-update LaunchAgent's start-time stderr
launchd started com.kite.agents-update every night from 2026-10-30 to 11-14, but bash could not read the entry script. ~/Developer sat under the Nextcloud File Provider tree, which macOS denies to launchd jobs (cause found by the MacBook host owner). The plist had no StandardErrorPath, so seventeen failed starts left no trace.

  • install_launch_agent adds StandardErrorPath = launchd-stderr.log beside agents-update.log. Only stderr goes there: the main block already tees stdout and stderr to the update log.
  • The function map row in docs/feature-map/setup.md is updated. tests/install/setup-macos-factory.sh asserts the new key.

2. Community-overlay connector follows the renamed Mac folders
The agreed survivor names are ~/Developer/afkpilot-kitepon and ~/Developer/grok-build-desktop-kitepon. update-grok-community-overlay is a manual entry on the Mac PATH, so its defaults and docs/factory-grok-build-community-overlay.md follow 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

quolu and others added 2 commits November 14, 2026 22:51
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>
@quolu quolu changed the title Keep the Mac agents-update LaunchAgent's start-time stderr Mac: keep LaunchAgent start-time stderr; follow the renamed overlay folders Nov 14, 2026
@quolu
quolu merged commit 97b270a into main Nov 14, 2026
5 checks passed
@quolu
quolu deleted the mac-launchagent-stderr branch November 14, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant