Repository navigation
2.1 follow-ups: dedupe fan-out guard, companion fixes, German gaps, sweep fixes - #312
Merged
Merged
Conversation
…with their photo Edit preservation B-2, items 1 and 2. - TransferExecutor's temp-file pattern now accepts one second extension before the UUID, so a crash mid-copy of `…_007.jpg.xmp` no longer leaves `…_007.jpg.xmp.<UUID>.tmp` behind. The UUID and .tmp requirements are unchanged. - ReorganizeExecutor.parseFileBucket buckets `<managed name>.<media ext>.xmp|.aae` with its photo instead of counting it unrecognized. The move goes through the existing receipted, no-overwrite path. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Edit preservation B-3. The list, detail and Quick Review panes fell back to Delete for any member with no explicit decision, so a protected edited variant (INV-31) could read "Suggested for removal" while the plan kept it. They now read one shared DedupeDecisions.effectiveDecision, the rule keepersForCluster already used. In a group the planner will not auto-select, members with no decision now show Keep, which is what the plan does. What reaches the Trash is unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…layout - When the unlock sheet offers a free copy or free removal, that button is the Return-key default. Buy is the default only when nothing free is offered. UnlockSheetModel.defaultAction decides; the view reads it. - The Organize Folder Shortcut hard-coded Year/Month/Day. It now reads the folder layout from PreferencesStore, so a Shortcut run and the app write the same layout into a library. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… and grouped counts Text that bypassed the catalog and so showed English in German: - "Chronoframe Needs Attention" alert messages set by the Setup, Run, History and Source Watch coordinators are looked up when set. - The setup safety card and the History reconnect body are %@ templates filled after lookup; the folder name is shown verbatim, not as Markdown. Formatting: - Deduplicate match reasons use the locale's decimal separator; English output is unchanged. - Deduplicate and contact-sheet counts use grouping separators. Singular forms for a count of 1: "1 was skipped", "Unlock to Remove 1 Duplicate", the contact-sheet empty message, and the Library shape accessibility label. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… discarded INV-14. The commit plan is built from reviewed groups only, so a RAW or Live Photo partner that belongs to a group the person has not reviewed had no decision in the plan and was added by pair fan-out, while its own group still showed it as kept. The planner takes fanoutProtectedPaths and skips those partners; the store passes the members of unreviewed groups for the reviewed plan, the free removal batch and the lane summaries. Planning over all groups is unchanged, and the change only ever removes items from a plan. Undo closures captured one scan's decisions and group IDs but survived Scan Again, so an Undo could wipe a restored review and delete its saved file. The store now discards its own undo actions when a scan starts, on reset, and when a commit completes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…idecar CompanionResolver.resolve compared every sidecar with every media file in its folder, so a flat folder of N photos and N sidecars cost N² name comparisons on every preview. Each folder's media is now indexed once by stem, full name and IMG_ digits. Results are unchanged: a seeded equivalence test compares the index with the previous per-pair logic, and 20,000 photos with 20,000 sidecars resolve in about 0.2 s. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A copy request clears the session before the engine can refuse it, so closing the free-month or unlock sheet left the Run page without the preview the person had just read. The store now keeps the finished preview when a copy is requested from it and restores it if the refusal is dismissed. A run that starts, a retry and any new request drop it. The destination lease is still released before the sheet. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…-up status Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merged
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-ups and bug-sweep fixes for the 2.1 release.
AGENTS.md.…jpg.xmp.<uuid>.tmp) are cleaned up; Reorganize movesphoto.jpg.xmpwith its photo (edit preservation B-2, items 1–2). Owner lookup is indexed per folder instead of scanning the folder for each sidecar.DECISIONS.mdrecords the sweep decisions; the edit-preservationBLOCKED.mdrecords what is still open (B-2 item 3, skipping a companion whose owner failed verification, is not built).Verification
Run locally on the branch:
script/run_swift_test_suites.sh: exit 0, 2,783 passed, 0 failed, 9 skippedscript/swift_meaningful_coverage.sh: exit 0, 96.14%script/check_*.shguards againstorigin/main: exit 0script/check_german_localization.py: exit 0, zero missing German keysgit diff --check: exit 0Not done: nothing was checked in the running app, and the Xcode UI-test suite was not run.
Safety Checklist
ui/Xcode/UITests/file is registered inproject.pbxproj(none added).🤖 Generated with Claude Code