#10744: fix: update stale MoltbotProtocol paths to OpenClawProtocol
stale
Cluster:
Cross-Platform Fixes
## Summary
Updates the exclude paths in `.swiftformat` and `.swiftlint.yml` to reflect the rebrand from MoltbotProtocol to OpenClawProtocol.
The generated `GatewayModels.swift` file is now located at:
`apps/macos/Sources/OpenClawProtocol/GatewayModels.swift`
## Changes
- `.swiftformat` line 51: Updated `--exclude` list
- `.swiftlint.yml` line 21: Updated excluded paths
## Testing
- [x] Verified that `apps/macos/Sources/OpenClawProtocol/` directory exists
- [ ] `swiftformat --lint apps/macos/Sources --config .swiftformat` should pass
## AI-Assisted
This PR was created with AI assistance (OpenClaw agent). The fix is straightforward and was tested locally.
Fixes #10727
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
- Updates SwiftFormat `--exclude` paths to exclude the renamed macOS protocol module directory (`apps/macos/Sources/OpenClawProtocol`).
- Updates SwiftLint `excluded` path for the generated `GatewayModels.swift` file to match the new location under `OpenClawProtocol`.
- Keeps lint/format tooling from referencing a now-missing `apps/macos/Sources/MoltbotProtocol` directory after the rebrand.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Changes are limited to config path updates in SwiftFormat/SwiftLint. The new paths match an existing `apps/macos/Sources/OpenClawProtocol/GatewayModels.swift`, and the old `MoltbotProtocol` directory appears to be absent, so this unblocks linting rather than altering runtime behavior.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#12121: Fix Swift formatting issues across codebase
by PythonUser42 · 2026-02-08
81.8%
#11602: fix(config): skip stale legacy config files when openclaw.json exists
by akoscz · 2026-02-08
78.5%
#8203: fix clawdbot references
by anton-roos · 2026-02-03
78.4%
#10182: fix: skip non-openclaw LaunchAgents in doctor gateway scan
by Yida-Dev · 2026-02-06
78.4%
#4432: docs: update molt.bot links in auto response
by felirami · 2026-01-30
77.4%
#3783: Fix/3038 cli name moltbot
by Shuimo03 · 2026-01-29
77.2%
#11415: Update package.json metadata for npm discoverability
by PythonUser42 · 2026-02-07
76.0%
#23757: docs: replace outdated legacy names and paths
by jainilDesai · 2026-02-22
76.0%
#11048: fix: address repository issues (env, author, CI comments, security ...
by cavula · 2026-02-07
75.5%
#16016: fix: update systemd unit version on gateway restart
by jbold · 2026-02-14
75.4%