Skip to content

fix(daemon): refuse duplicate launchd gateway managers - #97285

Merged
steipete merged 4 commits into
openclaw:mainfrom
harjothkhara:codex/97178-launchdaemon-conflict-guard
Jul 29, 2026
Merged

steipete merged 4 commits into
openclaw:mainfrom
harjothkhara:codex/97178-launchdaemon-conflict-guard

Conversation

@harjothkhara

@harjothkhara harjothkhara commented Jun 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #97178

What problem this solves

On macOS, a custom system-domain LaunchDaemon and OpenClaw's user LaunchAgent could supervise the same gateway label and port at once. Their independent KeepAlive loops can repeatedly kill and respawn the gateway, disconnecting clients and making the gateway unusable.

What changed

This PR now has one fail-closed system-ownership boundary for the complete user LaunchAgent lifecycle:

  • install and stage check before any user-service filesystem mutation;
  • plist publication is atomic, rechecked, and rolled back byte-for-byte if ownership changes;
  • direct start, restart, bootstrap recovery, Doctor, and update recovery preserve the typed ownership failure;
  • detached in-service and update restart helpers repeat the ownership probe immediately before activation;
  • loaded jobs are queried through launchctl print system/<label>;
  • installed XML and binary plists are parsed structurally through native plutil, including noncanonical filenames;
  • unreadable or incomplete system plist scans fail closed;
  • gateway status reports a loaded system owner instead of telling the operator to install a user service;
  • gateway status --deep reports installed same-label LaunchDaemons;
  • --force never overrides system ownership.

OpenClaw still does not install, stop, restart, or uninstall system LaunchDaemons. Broader system-daemon lifecycle support remains in #14251 and #51860.

User impact and recovery

Operators now get a precise refusal instead of a second manager. They can keep the system LaunchDaemon as the sole owner and set OPENCLAW_SERVICE_REPAIR_POLICY=external for diagnostic-only Doctor runs, or unload/remove the custom system service before installing the supported user LaunchAgent. The Gateway and Doctor docs cover both paths.

Evidence

Exact rewritten head: d64074b00197723c2db373f7d3590c31c1c4e821.

  • 296 focused Vitest tests passed; 6 intentional skips.
  • Targeted oxfmt, oxlint, and git diff --check passed.
  • Final Codex autoreview: clean, no accepted/actionable findings.
  • Blacksmith Testbox dependency/dead-code trio passed with zero unused dependencies, files, or exports (30469888399).
  • Exact-head same-repository CI passed every selected gate, including docs, lint, dependencies, typechecks, build artifacts, QA smoke, and Node shards (30473951917).
  • Native macOS 27.0 (26A5368g):
    • loaded system owner was reported by status and refused install/start/restart;
    • installed-but-unloaded root plist was detected by its top-level label and refused install;
    • every refusal left no user plist and no gui-domain job;
    • conflict-free negative control installed and loaded the unique user LaunchAgent;
    • the control job and all temporary state were cleaned up.

Fork CI twice terminated the 32-vCPU lint lane on its 4-vCPU fallback with SIGTERM 143 and no lint finding. The exact same SHA passed full lint on Testbox and in the same-repository Blacksmith matrix above.

Release note

macOS: prevent duplicate system LaunchDaemon and user LaunchAgent gateway managers, with fail-closed recovery guidance. Thanks @harjothkhara for the original diagnosis and patch.

AI-assisted: yes. The maintainer rewrite was manually traced across all lifecycle callers, dependency/system contracts, tests, docs, and native behavior.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: S labels Jun 27, 2026
@clawsweeper

clawsweeper Bot commented Jun 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 29, 2026, 1:29 PM ET / 17:29 UTC.

ClawSweeper review

What this changes

The branch adds macOS system-LaunchDaemon ownership detection so OpenClaw refuses conflicting user LaunchAgent lifecycle actions and reports an actionable single-owner recovery path.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep this PR open for maintainer review. It is a well-proven, targeted fix for the duplicate-supervisor restart storm, but it deliberately changes the upgrade behavior of existing macOS operators who use a custom same-label system LaunchDaemon: user LaunchAgent install, start, restart, and Doctor recovery now refuse rather than proceed.

Priority: P1
Reviewed head: d64074b00197723c2db373f7d3590c31c1c4e821
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong native macOS evidence and broad focused coverage support a mergeable-quality patch, subject to a maintainer decision on the intentional compatibility boundary.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR supplies exact-head native macOS before/after evidence covering a real root-owned system plist, refusal before user plist creation, and a conflict-free LaunchAgent control; this directly demonstrates the intended service-lifecycle behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR supplies exact-head native macOS before/after evidence covering a real root-owned system plist, refusal before user plist creation, and a conflict-free LaunchAgent control; this directly demonstrates the intended service-lifecycle behavior.
Evidence reviewed 6 items Ownership boundary implementation: The proposed module models loaded, installed, and unverifiable same-label system LaunchDaemon states, and exposes a refusal helper used before user-service mutations.
Lifecycle integration: The branch wires the ownership check into the LaunchAgent lifecycle and adds tests for install, restart, handoff, recovery, update, status, and Doctor-facing behavior.
Operator documentation: Gateway and Doctor documentation describe the system-owner conflict, the fact that --force does not bypass it, and the diagnostic-only external-supervisor path.
Findings None None.
Security None None.

How this fits together

Gateway lifecycle commands manage OpenClaw’s per-user macOS LaunchAgent, while some operators run an independently managed system LaunchDaemon. The new ownership check sits before install, restart, recovery, status, and Doctor flows so those paths either activate the user service or stop with a recorded explanation instead of creating two competing gateway managers.

flowchart LR
  Command[Gateway command, update, or Doctor] --> Lifecycle[User LaunchAgent lifecycle]
  Lifecycle --> Probe[Check same-label system LaunchDaemon]
  Probe -->|No system owner| Activate[Install or restart user LaunchAgent]
  Probe -->|Loaded or installed owner| Refuse[Refuse mutation with recovery guidance]
  Probe -->|Cannot verify ownership| FailClosed[Stop safely and report probe failure]
  Refuse --> Status[Gateway status and Doctor output]
  FailClosed --> Status
Loading

Decision needed

Question Recommendation
Should OpenClaw deliberately fail closed for existing macOS hosts with a same-label custom system LaunchDaemon, requiring the operator to choose either that external supervisor or the supported user LaunchAgent before lifecycle commands proceed? Accept the single-owner boundary: Merge the fail-closed behavior and document the external-supervisor recovery path, preventing duplicate managers and restart storms.

Why: The implementation is mechanically coherent and has real macOS proof, but the compatibility tradeoff is product policy: it replaces a previously permissive, though unsafe, lifecycle path with an operator-visible refusal.

Before merge

  • Resolve merge risk (P1) - This intentionally changes established macOS behavior for operators with a custom same-label system LaunchDaemon: routine user LaunchAgent lifecycle commands now fail closed until the operator selects one supervisor.
  • Resolve merge risk (P1) - The branch base predates the supplied current-main SHA, so a fresh merge/rebase review should confirm that the current three-way result preserves the documented refusal and recovery behavior across all lifecycle callers.
  • Complete next step (P2) - The remaining blocker is an explicit maintainer choice about the compatibility policy, not a narrow mechanical repair.
Agent review details

Security

None.

PR surface

Source +474, Tests +729, Docs +15. Total +1218 across 25 files.

View PR surface stats
Area Files Added Removed Net
Source 12 595 121 +474
Tests 10 762 33 +729
Docs 3 15 0 +15
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 25 1372 154 +1218

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: docs/gateway/doctor.md, migration/backfill/repair: docs/gateway/index.md, migration/backfill/repair: src/commands/doctor-gateway-daemon-flow.test.ts, migration/backfill/repair: src/commands/doctor-gateway-daemon-flow.ts, serialized state: src/cli/update-cli/restart-helper.launchd-system.test.ts, serialized state: src/cli/update-cli/restart-helper.test.ts, and 3 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #97178
Summary: This PR is a candidate fix for the duplicate-manager restart storm in the canonical bug report; the other linked issues concern broader system LaunchDaemon lifecycle support and remain distinct product work.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Accept the documented single-owner policy (recommended)
    Merge after a maintainer explicitly confirms that refusing conflicting user-service lifecycle actions is the intended upgrade behavior for custom system-daemon operators.
  2. Refresh against current main first
    Rebase or otherwise obtain a fresh three-way review, then confirm the merged result still protects install, restart, update recovery, Doctor, and status consistently.
  3. Pause for broader daemon ownership direction
    Hold this PR if maintainers want system LaunchDaemon management rather than the documented external-owner boundary to define the long-term product path.

Technical review

Best possible solution:

Adopt one explicit service-owner policy: retain OpenClaw’s supported user LaunchAgent path, detect custom same-label system ownership before every user-service mutation, and provide clear diagnostic-only or manual-removal recovery guidance without adding system-daemon lifecycle management in this PR.

Do we have a high-confidence way to reproduce the issue?

Yes, with high confidence from the reported macOS sequence and the branch’s native before/after proof: a same-label system LaunchDaemon exists, then user gateway install previously creates a competing gui LaunchAgent. The source changes target that exact lifecycle boundary, though this review did not execute macOS commands locally.

Is this the best way to solve the issue?

Yes, conditionally: checking ownership before mutating the user service is narrower and safer than adding partial system-daemon control, provided maintainers accept the intentional fail-closed upgrade behavior and its documented recovery path.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against c40a9b15b098.

Labels

Label justifications:

  • P1: The underlying defect can deterministically restart-loop a gateway and disconnect active clients on affected macOS hosts.
  • merge-risk: 🚨 compatibility: Existing custom system-LaunchDaemon setups change from permitting user LaunchAgent actions to requiring an explicit supervisor choice.
  • merge-risk: 🚨 availability: The changed paths control gateway installation, restart, recovery, and Doctor repair, so an incorrect ownership classification can prevent service activation.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR supplies exact-head native macOS before/after evidence covering a real root-owned system plist, refusal before user plist creation, and a conflict-free LaunchAgent control; this directly demonstrates the intended service-lifecycle behavior.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR supplies exact-head native macOS before/after evidence covering a real root-owned system plist, refusal before user plist creation, and a conflict-free LaunchAgent control; this directly demonstrates the intended service-lifecycle behavior.

Evidence

What I checked:

  • Ownership boundary implementation: The proposed module models loaded, installed, and unverifiable same-label system LaunchDaemon states, and exposes a refusal helper used before user-service mutations. (src/daemon/launchd-system.ts:1, d64074b00197)
  • Lifecycle integration: The branch wires the ownership check into the LaunchAgent lifecycle and adds tests for install, restart, handoff, recovery, update, status, and Doctor-facing behavior. (src/daemon/launchd.ts:1, d64074b00197)
  • Operator documentation: Gateway and Doctor documentation describe the system-owner conflict, the fact that --force does not bypass it, and the diagnostic-only external-supervisor path. Public docs: docs/gateway/index.md. (docs/gateway/index.md:205, d64074b00197)
  • Exact-head validation provenance: The PR’s final four commits are authored by steipete; the head refresh commit documents the gateway-map update after the main implementation and validation work. Public docs: docs/docs_map.md. (docs/docs_map.md:3714, d64074b00197)
  • Real behavior evidence: The PR body and follow-up comments describe native macOS proof against a real root-owned /Library/LaunchDaemons plist: the patched branch refuses before writing a user LaunchAgent, while the reported pre-fix behavior created one. (d64074b00197)
  • Related bug scope: The linked canonical report describes the same failure mode: a system-domain daemon and a gui-domain LaunchAgent supervise the same gateway and restart-loop it. The branch is a candidate fix rather than a substitute for broader system-daemon lifecycle ownership work.

Likely related people:

  • steipete: All four commits at the reviewed head are authored by steipete, including the main launchd ownership implementation commit and follow-up validation cleanup. (role: recent area contributor and branch integrator; confidence: high; commits: b3ac0fc8bdf6, 91368fb68014, 2240a0698062; files: src/daemon/launchd.ts, src/daemon/launchd-system.ts, src/commands/doctor-gateway-daemon-flow.ts)
  • harjothkhara: The PR discussion supplies the original diagnosis and native macOS before/after evidence; the primary integration commit records Harjoth Khara as co-author. (role: original diagnosis and co-author of the proposed repair; confidence: medium; commits: b3ac0fc8bdf6; files: src/daemon/launchd-system.ts, src/daemon/launchd.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain explicit maintainer confirmation that fail-closed ownership detection is the desired upgrade policy.
  • Refresh the branch against current main and verify the three-way result before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (15 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-12T21:52:45.362Z sha 752d49090262ec0c4ca95c6fcb88b6006e8b9584 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-12T22:02:25.947Z sha 752d49090262ec0c4ca95c6fcb88b6006e8b9584 :: needs changes before merge. :: [P3] Format the changed launchd recovery test | [P3] Format the expanded launchd test file
  • reviewed 2026-07-17T03:10:44.721Z sha 5a92b6e4d5489b275022b3cc0f4f73213a14a33a :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T03:52:03.342Z sha 5a92b6e4d5489b275022b3cc0f4f73213a14a33a :: needs maintainer review before merge. :: none
  • reviewed 2026-07-18T00:31:39.146Z sha c26d199b51c73cdac1488e114e3f16477e09edc7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-29T15:44:14.374Z sha b3ac0fc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-29T16:25:37.087Z sha 2240a06 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-29T16:35:48.925Z sha d64074b :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jun 27, 2026
@harjothkhara harjothkhara changed the title fix(daemon): refuse duplicate launchd gateway managers [AI-assisted] fix(daemon): refuse duplicate launchd gateway managers Jun 29, 2026
@harjothkhara
harjothkhara marked this pull request as ready for review June 29, 2026 21:30
@harjothkhara

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added captured runtime before/after proof to the PR body (negative-control harness, macOS, Node 22): on unfixed main, with a same-label system LaunchDaemon present, gateway install writes a second gui LaunchAgent anyway; on this branch it refuses with recovery guidance and writes no plist. Drives the real installLaunchAgent path; only the launchctl binary is mocked via a PATH shim.

@clawsweeper

clawsweeper Bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@harjothkhara

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added branch-(b) proof addressing the "mock-backed" note: re-ran on macOS against a REAL root-owned /Library/LaunchDaemons/ai.openclaw.gateway.plist (not the PATH-shim). With launchctl print reporting not-loaded, the real on-disk system plist is the only conflict signal — the PR branch refuses install citing that exact path and writes no LaunchAgent (exit 0); main writes the LaunchAgent anyway (exit 1). The genuine /Library/LaunchDaemons filesystem check is now exercised end-to-end.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jun 30, 2026
@harjothkhara
harjothkhara force-pushed the codex/97178-launchdaemon-conflict-guard branch from 9f0f82d to 25a712c Compare July 4, 2026 02:07
@harjothkhara

Copy link
Copy Markdown
Contributor Author

QA Smoke CI failure is unrelated to this change.

On the current head, the QA smoke run completes every scenario successfully — [qa-suite] run complete: passed=25 failed=0 total=25 — and writes its report/evidence/scorecard, then the wrapper process exits 1 in a post-run step. The identical failure reproduces on other open PRs whose diffs don't touch this code path, and the repo has an active qa-smoke-flake branch, so this looks like a known QA-harness flake on main rather than something introduced here.

This PR is rebased onto latest main and its own surface is green: src/daemon/launchd.test.ts passes 92/92 locally, and the PR-relevant CI lanes pass — Real behavior proof, Select Critical Quality shards, and all Security High boundaries. QA Smoke CI is the only red check.

Could a maintainer re-run the QA Smoke CI job? I don't have permission to retrigger workflows on a fork PR.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@steipete
steipete force-pushed the codex/97178-launchdaemon-conflict-guard branch from 7437f7f to b3ac0fc Compare July 29, 2026 15:38
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL and removed size: L labels Jul 29, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. and removed P2 Normal backlog priority with limited blast radius. labels Jul 29, 2026
@steipete

Copy link
Copy Markdown
Contributor

Maintainer decision: accepted the documented fail-closed single-owner policy. A same-label external system LaunchDaemon must remain the sole lifecycle owner or be removed before OpenClaw manages the supported user LaunchAgent; --force does not bypass that boundary.

The ClawSweeper rank-up moves are addressed:

Native macOS proof, focused tests, Testbox type/build/dead-code/full-lint proof, docs, and final clean autoreview are recorded in the PR body. Ready to merge.

@steipete
steipete merged commit 895b691 into openclaw:main Jul 29, 2026
382 of 399 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit to ZengWen-DT/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (446 commits)
  fix(daemon): refuse duplicate launchd gateway managers (openclaw#97285)
  fix(memory-lancedb): share the recall cooldown with the auto-recall prompt-build hook (openclaw#112927)
  fix(test): isolate plugin install fixtures (openclaw#116008)
  fix(feishu): guard Object.assign against prototype pollution in webhook payload merge (openclaw#111729)
  fix(sms): isolate validated webhook quotas per sender (openclaw#104862)
  fix(sessions): recover deleted chats without endless retries (openclaw#115974)
  fix(restart): log errors from restart hook callbacks instead of swallowing (openclaw#108847)
  feat(ui): enable tool-loop detection from Labs (openclaw#115983)
  fix(telegram): catch unhandled rejections in webhook and ingress worker shutdown (openclaw#100998)
  fix(memory): keep rollbacks compatible after recall metadata upgrade (openclaw#116003)
  fix(ui): derive cron timezone suggestions (openclaw#115973)
  fix(scripts): bound dependency pin git lookups (openclaw#110570)
  fix(skills): preserve configless workshop apply upgrades (openclaw#115982)
  fix(gateway): cancel unread cron webhook bodies before SSRF release (openclaw#111236)
  fix(voice-call): pin Twilio webhook verification to the configured public path (openclaw#112800)
  fix(memory): make legacy session backfill rollback re-applicable (openclaw#116004)
  fix(security): fence external hook job name in isolated-agent prompts (openclaw#112501)
  fix(channels): mark durable webhook acceptance on Zalo, Google Chat, SMS, Feishu, Nextcloud Talk, and Synology Chat (openclaw#115586)
  fix(test): restore stdin TTY descriptors (openclaw#115985)
  fix(plugins): remove incorrect modifying hook timeout fallback in getClaimingHookTimeoutMs (openclaw#107996)
  ...

# Conflicts:
#	extensions/openai/realtime-quicksilver-wire.ts
vincentkoc added a commit to nvtoroy/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (683 commits)
  fix(discord): bound webhook send body reads (openclaw#109076)
  fix(ui): preserve initials for missing user avatars (openclaw#115976)
  feat(ui): add provider icons to coding catalogs (openclaw#115956)
  fix(daemon): refuse duplicate launchd gateway managers (openclaw#97285)
  fix(memory-lancedb): share the recall cooldown with the auto-recall prompt-build hook (openclaw#112927)
  fix(test): isolate plugin install fixtures (openclaw#116008)
  fix(feishu): guard Object.assign against prototype pollution in webhook payload merge (openclaw#111729)
  fix(sms): isolate validated webhook quotas per sender (openclaw#104862)
  fix(sessions): recover deleted chats without endless retries (openclaw#115974)
  fix(restart): log errors from restart hook callbacks instead of swallowing (openclaw#108847)
  feat(ui): enable tool-loop detection from Labs (openclaw#115983)
  fix(telegram): catch unhandled rejections in webhook and ingress worker shutdown (openclaw#100998)
  fix(memory): keep rollbacks compatible after recall metadata upgrade (openclaw#116003)
  fix(ui): derive cron timezone suggestions (openclaw#115973)
  fix(scripts): bound dependency pin git lookups (openclaw#110570)
  fix(skills): preserve configless workshop apply upgrades (openclaw#115982)
  fix(gateway): cancel unread cron webhook bodies before SSRF release (openclaw#111236)
  fix(voice-call): pin Twilio webhook verification to the configured public path (openclaw#112800)
  fix(memory): make legacy session backfill rollback re-applicable (openclaw#116004)
  fix(security): fence external hook job name in isolated-agent prompts (openclaw#112501)
  ...

# Conflicts:
#	CHANGELOG.md
#	src/agents/tool-search-catalog.ts
#	src/agents/tool-search.test-support.ts
#	src/agents/tool-search.ts
vincentkoc added a commit to ryanrhughes/openclaw that referenced this pull request Jul 29, 2026
* commit 'e80fe942c8dae4b264acb2b501466224e842aa61':
  fix(gateway): stop start-time repair from retargeting managed services (openclaw#115935)
  fix(plugins): scope Codex relay with tool matchers (openclaw#109603)
  fix(discord): bound webhook send body reads (openclaw#109076)
  fix(ui): preserve initials for missing user avatars (openclaw#115976)
  feat(ui): add provider icons to coding catalogs (openclaw#115956)
  fix(daemon): refuse duplicate launchd gateway managers (openclaw#97285)
  fix(memory-lancedb): share the recall cooldown with the auto-recall prompt-build hook (openclaw#112927)
  fix(test): isolate plugin install fixtures (openclaw#116008)
  fix(feishu): guard Object.assign against prototype pollution in webhook payload merge (openclaw#111729)
  fix(sms): isolate validated webhook quotas per sender (openclaw#104862)
  fix(sessions): recover deleted chats without endless retries (openclaw#115974)
  fix(restart): log errors from restart hook callbacks instead of swallowing (openclaw#108847)
  feat(ui): enable tool-loop detection from Labs (openclaw#115983)
  fix(telegram): catch unhandled rejections in webhook and ingress worker shutdown (openclaw#100998)
  fix(memory): keep rollbacks compatible after recall metadata upgrade (openclaw#116003)
vincentkoc added a commit to sunlit-deng/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (823 commits)
  fix(memory): return early for blank searches (openclaw#116034)
  fix(tool-search): long-lived gateways leak heap from finished embedded runs (openclaw#114767)
  feat(harness): report copilot code-mode engagement on the attempt result (openclaw#115913)
  fix(ui): compact the macOS gateway picker menu (openclaw#115977)
  perf(codex): stream large CLI session JSONL scans (openclaw#115997)
  cron: reject webhook URLs with embedded credentials (openclaw#51822)
  refactor(agents): remove retired Codex CLI parser (openclaw#116017)
  feat(mac): hand off gateway-owned settings panes to the dashboard (openclaw#115999)
  fix(gateway): declare viewer presence explicitly instead of deriving it from subscriptions (openclaw#116001)
  test(plugins): include dreaming sidecar in startup expectation (openclaw#116018)
  fix(openai): prevent GPT-Live errors from stalling (openclaw#115582)
  fix(gateway): stop start-time repair from retargeting managed services (openclaw#115935)
  fix(plugins): scope Codex relay with tool matchers (openclaw#109603)
  fix(discord): bound webhook send body reads (openclaw#109076)
  fix(ui): preserve initials for missing user avatars (openclaw#115976)
  feat(ui): add provider icons to coding catalogs (openclaw#115956)
  fix(daemon): refuse duplicate launchd gateway managers (openclaw#97285)
  fix(memory-lancedb): share the recall cooldown with the auto-recall prompt-build hook (openclaw#112927)
  fix(test): isolate plugin install fixtures (openclaw#116008)
  fix(feishu): guard Object.assign against prototype pollution in webhook payload merge (openclaw#111729)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
* fix(daemon): block duplicate launchd owners

Co-authored-by: Harjoth Khara <[email protected]>

* fix(ci): satisfy launchd docs and lint gates

* fix(ci): remove unused launchd exports

* docs: refresh gateway map

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL stale Marked as stale due to inactivity status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: openclaw gateway install adds a duplicate gui-domain LaunchAgent over an existing system LaunchDaemon (restart storm)

3 participants