Skip to content

fix(gemini): isolate background loop launchd plist to dedicated workspace#5363

Merged
AceHack merged 2 commits into
mainfrom
lior/isolate-background-loop-plist
May 27, 2026
Merged

fix(gemini): isolate background loop launchd plist to dedicated workspace#5363
AceHack merged 2 commits into
mainfrom
lior/isolate-background-loop-plist

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 27, 2026

Summary

Migrates Lior's background loop runner launchd daemon from Aaron's contested primary checkout to the isolated clone directory (/Users/acehack/.local/share/zeta-lior-loop/Zeta), aligning with Codex and Riven isolated agent loop architecture (B-0751).

Changes

  • .gemini/launchd/com.zeta.lior-loop.plist: Point ProgramArguments and WorkingDirectory to the isolated clone directory instead of the shared primary checkout.

Co-Authored-By: Gemini noreply@google.com

…d workspace

Why: To migrate Lior's background loop runner launchd daemon from Aaron's
contested primary checkout to the isolated clone directory
(/Users/acehack/.local/share/zeta-lior-loop/Zeta), aligning with Codex and
Riven isolated agent loop architecture (B-0751).

- .gemini/launchd/com.zeta.lior-loop.plist — Point ProgramArguments and WorkingDirectory to the isolated clone.

Co-Authored-By: Gemini <noreply@google.com>
Copilot AI review requested due to automatic review settings May 27, 2026 00:15
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@AceHack AceHack enabled auto-merge (squash) May 27, 2026 00:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Gemini “Lior loop” launchd configuration to run from an isolated per-agent clone rather than the shared primary checkout, aligning the background loop runner with the isolated-workspace architecture described in B-0751.

Changes:

  • Point ProgramArguments at the tick script inside ~/.local/share/zeta-lior-loop/Zeta instead of the primary checkout.
  • Add WorkingDirectory to the isolated clone root to ensure the job executes from that repo.
  • Add an explicit PATH environment variable for the launchd job.

Comment thread .gemini/launchd/com.zeta.lior-loop.plist
…list convention

Resolves Copilot P1/maintainability finding on PR #5363: the new
.gemini/launchd/com.zeta.lior-loop.plist hardcodes machine-specific
absolute paths (/Users/acehack, /opt/homebrew, the per-agent clone
under ~/.local/share/zeta-lior-loop/Zeta) but lacks the
'Maintainer-only artifact' header comment present in the sibling
plists (com.zeta.backlog-ready-notifier.plist,
com.zeta.missed-substrate-detector.plist).

Adds the same convention-shaped comment after the <key>Label></string>
line so readers don't assume the file is a team-wide usable service file
and try to `launchctl load` it unchanged.

No behavioral change — comment-only edit.

Landed via REST git-data API per .claude/rules/blocked-green-ci-investigate-threads.md
B-0615 push-hang workaround (single-file change; no worktree contention).
@AceHack AceHack merged commit 33ff554 into main May 27, 2026
28 checks passed
@AceHack AceHack deleted the lior/isolate-background-loop-plist branch May 27, 2026 01:18
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.

2 participants