Severity: High.
MobileModel.set reads config.toml with (try? String(contentsOf:)) ?? "" and writes the result (Sources/OrgstarMobile/MobileModel.swift:189-190), so a file that exists but cannot be read is replaced by one holding a single setting; the same pattern is in Sources/OrgApp/AgendaViews.swift:254 and Sources/OrgApp/EmacsImport.swift:1197, :1210, :1223, :1236, :1270. Writes with try? and no report: MobileModel.swift:176, Sources/OrgApp/ConfigSync.swift:57, :63, :169, EmacsImport.swift:1207, :1220, :1233, :1250, :1282 (the import summary still counts them), Sources/Orgstar/ClockViews.swift:262. Treat only "no such file" as empty, stop on other read errors, and report write errors.
From the performance review, docs/review-2026-11-21.md (#96).
Platforms: macOS, iOS.
closed by cmc in commit 9f33aea70f: Leave configuration files that can't be read and report failed writes
2026-11-22 12:26 UTC