style(13-03): apply Prettier formatting across repo

Mechanical reformat — no logic changes. 398 files changed, 19125
insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc
(singleQuote:true, semi:true, tabWidth:2, trailingComma:all,
printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
Lucas Berger
2026-06-11 20:35:18 -04:00
parent 4bc0445173
commit 982438dc10
398 changed files with 19050 additions and 16382 deletions
@@ -16,6 +16,7 @@ status: partial
**Iteration:** 1
**Summary:**
- Findings in scope: 14 (fix_scope: all — Critical + Warning + Info)
- Fixed: 13
- Skipped: 1
@@ -44,8 +45,8 @@ are gitignored and were never committed. Every fix was Tier-2 verified (full
**Applied fix:** Both the PATCH `/:uid/edit` and DELETE `/:uid` lookups now scope the
`calendarEvents``calendars` join to the acting member's writable set
(`or(calendars.userId = currentUserId, calendars.isShared)`), add
`orderBy(sql\`(calendars.userId = currentUserId) desc\`)` so the user's own row ranks
ahead of a shared/other copy, and `limit(1)` for determinism. This stops `[0]` from
`orderBy(sql\`(calendars.userId = currentUserId) desc\`)`so the user's own row ranks
ahead of a shared/other copy, and`limit(1)`for determinism. This stops`[0]` from
resolving to another member's calendar row for a shared-account uid (D-16).
### CR-02: Outbox WR-02 "freshest etag" re-read also queries uid-only
@@ -77,6 +78,7 @@ twice, assert the span is stable). Not added — flagged for the developer.
**Commit:** 02aa407
**Status:** fixed: requires human verification (data-loss-prevention logic)
**Applied fix:** Coordinated change so an edit no longer strips a recurring series:
- `vevent.ts`: new `extractRruleString()` parses the existing RRULE from a stored VEVENT.
- `outboxWorker.ts` (update path): when the payload carries no explicit `recurrence`, the
freshest-etag query also reads `rawVevent` and preserves the existing RRULE; an explicit