Repository navigation
fix(macos): avoid self-named defaults suite - #117690
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 1, 2026, 9:47 PM ET / August 2, 2026, 01:47 UTC. ClawSweeper reviewWhat this changesAvoid creating a separate macOS defaults suite when the running app already uses Merge readiness⛔ Blocked until stronger real behavior proof is added - 4 items remain Keep this PR open: the source change is a focused, coherent repair that preserves the documented stable Nix defaults domain for renamed app bundles, but it still needs direct post-fix packaged-app launch evidence and completion of the exact-head macOS check before merge. Priority: P2 Review scores
Verification
How this fits togetherThe macOS app determines Nix mode during launch from environment variables and persisted defaults. That decision controls whether onboarding and configuration-writing paths become read-only for declarative Nix installations. flowchart LR
A[macOS app launch] --> B[Read bundle identifier]
B --> C{Matches stable defaults domain?}
C -->|Yes| D[Use standard defaults]
C -->|Renamed app| E[Read stable Nix defaults suite]
D --> F[Resolve Nix mode]
E --> F
F --> G[Configure onboarding and settings behavior]
Before merge
Agent review detailsSecurityNone. PR surfaceOther +33. Total +33 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the conditional suite selection only after a redacted signed packaged-app launch demonstrates both warning removal and preserved renamed-bundle Nix-mode behavior, with the current-head macOS check green. Do we have a high-confidence way to reproduce the issue? Yes—source establishes that the normal app bundle identifier and the stable suite identifier are both Is this the best way to solve the issue? Yes—the PR repairs the decision at the defaults-suite owner boundary instead of masking the warning downstream, and it retains the documented stable-suite behavior for renamed Nix bundles. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6a527b6e5531. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
* fix(macos): avoid self-named defaults suite * chore: keep changelog release-owned
…elf-release * commit '10a390ed7fa88d09da0d4523c3ed1e3550ece5c6': (4646 commits) fix(release): allow larger npm plugin artifacts (openclaw#117745) refactor(macos): consolidate gateway process fixtures (openclaw#117740) fix(ui): preserve complete persisted log messages (openclaw#117666) fix(ui): decode artifact previews as UTF-8 (openclaw#117657) fix(control-ui): restore sandbox media previews (openclaw#117689) fix(plugins): link host declared as direct dependency (openclaw#117738) fix(macos): avoid self-named defaults suite (openclaw#117690) fix(inference): preserve run ownership and completion delivery (openclaw#117731) test(talk): align browser E2E tool completion test: consolidate OpenClaw E2E fixtures (openclaw#117701) fix(release): ignore bundle fields in npm locks (openclaw#117730) fix(meeting-bot): keep configured host options internal refactor(line): remove dead card helpers (openclaw#117729) perf(cli): attribute command startup stages (openclaw#117720) refactor(whatsapp): deduplicate reply delivery test fixtures (openclaw#117710) docs(changelog): note bounded WebRTC tool calls docs(changelog): note meeting audio bounds fix(meeting-bot): preserve node host SDK surface test(talk): split WebRTC tool lifecycle coverage fix(meeting-bot): break node host import cycle ... # Conflicts: # package.json # src/agents/model-auth.ts
What Problem This Solves
Foundation emits a launch-time warning when the macOS app opens its own
ai.openclaw.macbundle identifier as a separate defaults suite. Reported by @onlinejourno in #88909.Why This Change Was Made
UserDefaults.standardalready owns the current bundle domain. Select the stable Nix suite only for renamed app bundles; preserve existing preference values and avoid migrations, writes, or new configuration.User Impact
Normal OpenClaw launches no longer trigger the nonsensical-suite Foundation warning, while renamed Nix-managed app bundles still read their existing stable defaults domain.
Evidence
/usr/bin/osascript -l JavaScriptreproduces the exact nonsensical-suite warning for its own bundle identifier; standard defaults emit no warning, and the distinctai.openclaw.macsuite initializes without warning.macos-swift,macos-node, andopenclaw/ci-gateon5ef245d86bb133c8c2f5ea31204e58d140ac47cd. Earlier exact-code run 30723598474 also passed the release app build, OpenClawKit, full Swift tests, and required CI gate.gpt-5.6-solxhigh autoreview exited zero with no accepted or actionable findings and 0.99 correctness confidence.Fixes #88909.