← Back to PRs

#10744: fix: update stale MoltbotProtocol paths to OpenClawProtocol

by marezgui open 2026-02-06 22:49 View on GitHub →
stale
## 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