# Changelog

## Score

- CAI 62 → 59 (-3.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 77 → 74 (-2.8)
- Architecture 89 → 100 (+10.7)
- Maturity 64 → 64 (-0.2)
- Readiness 54 → 52 (-1.9)
- Security 74 → 57 (-17.2)
- Domain Modelling 64 → 64 (+0.0)
- Performance 100 → 100 (+0.0)

## Resolved (11)

- Duplicated block (11 lines × 2) (Examples/CloudKitDemo/CloudKitDemoApp.swift)
- Duplicated block (16 lines × 2) (Sources/SQLiteData/CloudKit/CloudKitSharing.swift)
- Duplicated block (6 lines × 2) (Examples/Reminders/RemindersDetail.swift)
- Duplicated block (6 lines × 2) (Sources/SQLiteData/Fetch.swift)
- Duplicated block (7–8 lines × 2) (Sources/SQLiteData/CloudKit/SyncEngine.swift)
- Off-boarding risk: anonymized user #1
- Outdated: swift-issue-reporting
- Projects may be oversized for their cohesion
- SyncEngine.nextRecordZoneChangeBatch (cognitive 23) (Sources/SQLiteData/CloudKit/SyncEngine.swift)
- SyncEngine.nextRecordZoneChangeBatch (cyclomatic 23) (Sources/SQLiteData/CloudKit/SyncEngine.swift)
- TodoComment (Sources/SQLiteData/CloudKit/SyncEngine.swift)

## New (63)

- Duplicated block (11 lines × 2) (Examples/CloudKitDemo/CloudKitDemoApp.swift)
- Duplicated block (16 lines × 2) (Sources/SQLiteData/CloudKit/CloudKitSharing.swift)
- Duplicated block (5 lines × 2) (Sources/SQLiteData/Fetch.swift)
- Duplicated block (6 lines × 2) (Examples/Reminders/RemindersDetail.swift)
- Duplicated block (6 lines × 2) (Sources/SQLiteData/Fetch.swift)
- Duplicated block (9 lines × 2) (Sources/SQLiteData/CloudKit/CloudKit+StructuredQueries.swift)
- Edited copies of one member (3 members, 10+ corresponding lines) (Examples/CloudKitDemo/CountersListFeature.swift)
- Edited copies of one member (3 members, 12+ corresponding lines) (Sources/SQLiteData/Fetch.swift)
- Edited copies of one member (3 members, 12+ corresponding lines) (Sources/SQLiteData/FetchOne.swift)
- Edited copies of one member (3 members, 14+ corresponding lines) (Sources/SQLiteData/FetchAll+Sections.swift)
- Edited copies of one member (3 members, 14+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (3 members, 14+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (3 members, 17+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (3 members, 20+ corresponding lines) (Sources/SQLiteData/FetchAll+Sections.swift)
- Edited copies of one member (3 members, 6+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (4 members, 13+ corresponding lines) (Sources/SQLiteData/FetchOne.swift)
- Edited copies of one member (4 members, 15+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (4 members, 19+ corresponding lines) (Sources/SQLiteData/FetchAll.swift)
- Edited copies of one member (5 members, 24+ corresponding lines) (Sources/SQLiteData/FetchAll+Sections.swift)
- Edited copies of one member (5 members, 26+ corresponding lines) (Sources/SQLiteData/FetchAll+Sections.swift)
- …and 43 more

## Changes since last survey

- 10 commits — 7 feature/other, 3 fixes

## By area

- Tests/SQLiteDataTests — 5 commits
- Sources/SQLiteData — 4 commits
- (root) — 1 commit

## Notable commits

- fix: Fix RateLimitingTests initializer.
- fix: Fix sorting of records when processing batches. (#571)
- fix: ID `@Fetch*.load` events to fix cancel race (#536)
- change: Add failing test to demonstrate delete-then-reinsert issue #418 (#575)
- change: Always enqueue pending record changes when preparing batches (#576)
- change: Cache unsynced records (#567)
- change: Handle 'quotaExceeded' errors (#335)
- change: Handle CloudKit rate limiting (#569)
- change: Properly track modificationDate in mock database (#574)
- change: Support rate limiting in mock database. (#564)
