Skip to content

2.1 second batch: unique RAW partner kept, faster free offer, Photos staging, version 2.1 - #313

Merged
Nishith merged 19 commits into
mainfrom
fix/release-2.1-second
Dec 1, 2026
Merged

Nishith merged 19 commits into
mainfrom
fix/release-2.1-second

Conversation

@Nishith

@Nishith Nishith commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

Second batch for the 2.1 release. Stacked on #312; retarget to main once that merges.

  • Dedupe (INV-14, product change approved by the owner): the copy that has a RAW or Live Photo video partner is the suggested keeper, and pair fan-out leaves a partner outside every cluster in place. A Live Photo video is never clustered, so it goes with its still only when a copy the plan keeps has its own video. INV-14 in AGENTS.md is updated.
  • Free removal offer: the batch is found by a prefix search over the lane-ordered groups (about 2 planner runs, was about 101). Every candidate is still a real planner result checked against the limit and the full plan.
  • Saved review: a dedupe commit that moved 0 files keeps the saved review. Quick Review "Accept the Rest" leaves groups skipped earlier unreviewed, and its count is the same list.
  • Photos import: a staged export survives launch cleanup and post-run cleanup while a pending copy job still reads from it (D-PIR-130). When the destination cannot be checked at launch it is kept for 30 days.
  • Shortcut: Organize Folder uses the stored verify, parallel-transfer and worker preferences.
  • Release: MARKETING_VERSION 2.1; draft 2.1 What's New in English and German in docs/APP_STORE_METADATA.md.
  • Docs: DECISIONS.md records the owner's answers, the agent's own calls (not yet reviewed), and the items left for a later release.

Verification

Run locally:

  • script/run_swift_test_suites.sh: exit 0, 2,814 passed, 0 failed
  • script/swift_meaningful_coverage.sh: exit 0, 96.19%
  • All 14 script/check_*.sh guards against origin/main: exit 0
  • Xcode Debug build: BUILD SUCCEEDED
  • script/check_german_localization.py: exit 0, zero missing German keys
  • git diff --check: exit 0

The suite, coverage and Xcode build ran before the branch was rebased onto a one-file test fix from #312; the Shortcut tests were re-run after. Not done: nothing was checked in the running app, and the Xcode UI-test suite was not run. The free-offer timing (127 ms at 10,000 groups, was 3,490 ms) came from a scratch release build on a loaded machine.

Safety Checklist

  • Source files remain read-only.
  • Destination collisions cannot overwrite existing files.
  • Destructive operations are receipt-backed and reversible where applicable.
  • User-facing errors remain plain and nontechnical.
  • Any new ui/Xcode/UITests/ file is registered in project.pbxproj (none added).
  • Tests or documented manual checks cover the changed behavior.

🤖 Generated with Claude Code

Nishith and others added 15 commits November 29, 2026 14:12
…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>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… preferences

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Launch cleanup and the post-run cleanup removed a finished export even
when the destination's pending copy jobs still read from it, so a copy
that was quit, stopped or failed could not be finished. The folder now
stays while a pending job references it. When the destination cannot be
checked at launch it is kept for 30 days.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…iew kept

- INV-14: the copy that has a RAW or Live Photo video partner is the
  suggested keeper, and pair fan-out leaves a partner outside every
  cluster in place. A Live Photo video, which is never clustered, goes
  only when a kept copy has its own video.
- The free removal batch is found by a prefix search (about 2 planner
  runs, was about 101); every candidate is still a checked planner result.
- A commit that moved nothing keeps the saved review.
- Quick Review Accept the Rest leaves groups skipped earlier unreviewed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T15:39:13.620728Z 511ec15 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Nishith and others added 2 commits December 1, 2026 00:06
Reorders the remaining next-half work for the press release, adds cards
B12 to B14 (Shortcuts and Finder actions, reviewer sample library,
technical post and press page), and records the owner's decisions.
docs/plan/release-2.1/PROGRESS.md tracks feature state, the 44 owner
checks still owed and the release gates.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The exclusive rename Chronoframe requires is not implemented by the
macOS SMB client, so copying into any SMB share is refused (D-NASP-130).
The owner kept ADR-NAS-03 and INV-28 as written (D-NASP-131): H1 now
expects the probe result recorded and the refusal proven by H-NASP-3.
FAQ and Troubleshooting say the limit is not a NAS setting.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Base automatically changed from fix/release-2.1-followups to main December 1, 2026 15:33
@Nishith
Nishith enabled auto-merge (squash) December 1, 2026 15:34
@Nishith
Nishith merged commit d3ad03f into main Dec 1, 2026
23 of 24 checks passed
@Nishith
Nishith deleted the fix/release-2.1-second branch December 1, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant