style: normalize Swift formatting #41

Merged
wmc merged 1 commit from codex/swift-format-normalization into main 2026-06-23 10:11:05 +00:00
Owner

Summary

  • Normalize all first-party Swift app and test sources with Xcode-bundled swift-format.
  • Add strict whole-repo swift-format lint to scripts/verify.sh before Xcode test/build/analyze.
  • Update README and TODO so strict formatting lint is now the documented merge gate, and advance TODO to the next backlog item.

Verification

  • DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcrun swift-format lint --strict --recursive --parallel CodexModelSwitcher CodexModelSwitcherTests
  • git diff --check
  • DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer scripts/verify.sh

Review

  • Subagent exploration confirmed the Swift roots are first-party and no generated/vendor Swift files need exclusion.
  • Subagent code review found one TODO workflow mismatch; fixed and re-reviewed as ready to merge.
## Summary - Normalize all first-party Swift app and test sources with Xcode-bundled swift-format. - Add strict whole-repo swift-format lint to scripts/verify.sh before Xcode test/build/analyze. - Update README and TODO so strict formatting lint is now the documented merge gate, and advance TODO to the next backlog item. ## Verification - DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer xcrun swift-format lint --strict --recursive --parallel CodexModelSwitcher CodexModelSwitcherTests - git diff --check - DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer scripts/verify.sh ## Review - Subagent exploration confirmed the Swift roots are first-party and no generated/vendor Swift files need exclusion. - Subagent code review found one TODO workflow mismatch; fixed and re-reviewed as ready to merge.
wmc merged commit b4dafab8b3 into main 2026-06-23 10:11:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
wmc/CodexModelSwitcher!41
No description provided.