Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a09eca6
FRX WP-00: plan folder
Nishith Nov 29, 2026
aa56f84
FRX WP-00: supersede first-ten-minutes
Nishith Nov 29, 2026
f5f8d80
FRX WP-00: baseline
Nishith Nov 29, 2026
fb09f36
FRX WP-01: Render evidence harness
Nishith Nov 29, 2026
682f714
FRX WP-02: Core: accounting, free month, model fields
Nishith Nov 29, 2026
c1dee6f
FRX WP-03: AppCore: engine, offer, unlock presentation
Nishith Nov 29, 2026
5a0dc9d
FRX WP-04: App: preview shows the free limit and the free month
Nishith Nov 29, 2026
44ce018
FRX WP-05: App: accounted-for line, Undo, add another folder
Nishith Nov 29, 2026
1268aaf
FRX WP-06: strings and docs
Nishith Nov 29, 2026
f461bfe
FRX G1: gate
Nishith Nov 29, 2026
ef6dc69
FRX WP-10: Branch and baseline, M2
Nishith Nov 29, 2026
f559362
FRX WP-11: Core: review lane and free removal batch
Nishith Nov 29, 2026
89b21a8
FRX WP-12: AppCore: store lanes, accept by lane, free batch plan
Nishith Nov 29, 2026
e321445
FRX WP-13: App: three lanes, Quick Review scope, footer, free removal
Nishith Nov 29, 2026
b4a1774
FRX WP-14: strings and docs
Nishith Nov 29, 2026
0351db6
FRX G2: gate
Nishith Nov 29, 2026
2f8954f
Dedupe planner: a skipped group's members stay (INV-32)
Nishith Nov 29, 2026
bffbb27
Merge fix/dedupe-planner-rail-protects-fanout into feature/first-run-…
Nishith Nov 29, 2026
e08f408
FRX: record owner confirmations and the B-1 fix; docs state the skip …
Nishith Nov 29, 2026
3ca0e25
FRX: free-batch test premises follow INV-32
Nishith Nov 29, 2026
ae98f04
First run: unconfirmed purchases get no spent-trial UI; a requested m…
Nishith Nov 29, 2026
3f126b0
Merge feature/first-run-trust into feature/first-run-duplicates
Nishith Nov 29, 2026
2160346
First run: free removal resumes a paused review; menu Quick Review re…
Nishith Nov 29, 2026
56d5e15
Merge main into feature/first-run-duplicates
Nishith Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ The **History** tab keeps every run's reports and receipts. Reuse a past source,

![Deduplicate setup — a scan folder, recent folders with files removed and space saved, and detection presets.](docs/screenshots/dedupe-setup.jpg)

3. Review each group. Compare candidates side by side, choose what to **Keep**, and use **Accept & Next** to move through them. **Accept All Safe** clears the obvious exact copies for you.
3. Review each group. Compare candidates side by side, choose what to **Keep**, and use **Accept & Next** to move through them. **Accept Identical Copies** accepts, in one step, only the groups whose files are the same file byte for byte. Nearly identical groups go through **Quick Review**, and look-alikes are reviewed one by one.
4. Click **Move to Trash** to send the files you approved to the macOS Trash.

![Deduplicate review — two similar photos compared side by side, with keep and delete choices.](docs/screenshots/dedupe-compare.jpg)

Exact photo and video duplicates are matched by file content and can be accepted automatically. Similar-photo groups, bursts, RAW+JPEG pairs, and Live Photo pairs stay reviewable so you can make the final call. Visual matching for video transcodes and re-exports is available as an off-by-default option in **Settings → Deduplicate**; those video matches are always review-only. Before Trash, Chronoframe rechecks each planned file and preserves pair units when anything changed after the scan.
Exact photo and video duplicates are matched by file content, and groups of identical copies can be accepted in one step. Similar-photo groups, bursts, RAW+JPEG pairs, and Live Photo pairs stay reviewable so you can make the final call. Visual matching for video transcodes and re-exports is available as an off-by-default option in **Settings → Deduplicate**; those video matches are always review-only. Before Trash, Chronoframe rechecks each planned file and preserves pair units when anything changed after the scan.

Chronoframe always suggests keeping one photo in every group. If a group you have accepted has every photo marked Delete, the screen says so and skips that group until you mark one Keep. Its photos stay even when their RAW+JPEG or Live Photo partners are being removed in another group. In the Mac App Store build, [what the free allowance covers in Deduplicate](docs/QUICK_START.md#if-your-reviewed-groups-are-more-than-the-free-allowance) is described in the Quick Start.

## Helpful Guides

Expand Down
10 changes: 10 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ A: Yes. Use the **Deduplicate** workspace:

Visual video matching is off by default. Enable it in **Settings → Deduplicate** with the Balanced or Similar Shots preset. These groups are always review-only and never accepted automatically.

The lanes bar at the top of review starts with identical copies. **Accept Identical Copies** accepts, in one step, only groups whose files are the same file byte for byte. Nearly identical groups, still labelled Safe, go through **Quick Review**, where **Accept the Rest (N)** appears after the first group. Look-alikes and less certain groups are looked at one by one. Accepting only marks files; nothing moves to the Trash until you confirm **Move to Trash**.

**Q: Does Deduplicate guarantee that a photo is kept from every group?**

A: Yes. Chronoframe always suggests keeping one photo in every group. If a group you have accepted has every photo marked Delete, the screen shows a notice and skips that group until you mark one Keep. Its photos stay even when their RAW+JPEG or Live Photo partners are being removed in another group. Check the file count in the confirmation before you move anything to the Trash.

**Q: What can I remove free in Deduplicate in the Mac App Store build?**

A: When your reviewed groups hold more files than the free allowance has left, the footer says so. If at least one whole group fits, **Move N Files to Trash Free** moves whole groups, up to the limit, after the usual confirmation, and **Unlock to Remove All N** opens the unlock sheet. Your choices for the groups still waiting are saved and come back after the next scan, only for files that haven't changed. Restored choices are only a starting point. Nothing moves to the Trash until you confirm.

**Q: Will Deduplicate remove the edited versions Photos import saved?**

A: No. An edited version is saved as `<name>-edited.<ext>` beside the original, and Deduplicate never selects it on its own. It stays when its original is deleted, and the commit footer says how many edited versions were kept. It moves to the Trash only if you mark that exact file Delete. A file you named that way yourself, beside one with the same name, is protected too.
Expand Down
18 changes: 17 additions & 1 deletion docs/QUICK_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,28 @@ Use this when you want Chronoframe to find exact photo and video copies plus sim
2. Click **Choose Folder…** to pick the folder to scan, or reuse a recent one
3. Pick a **Detection** preset (**Exact copies**, **Balanced**, or **Similar shots**) and click **Start Scan**
4. Review each group — compare candidates side by side and choose what to keep
5. Click **Accept All Safe** to accept every group Chronoframe marks as a safe match, then click **Move to Trash** to remove the files you approved
5. Click **Accept Identical Copies** to accept the groups whose files are the same file, byte for byte, then click **Move to Trash** to remove the files you approved

Review sorts the groups into three lanes:

- **Identical copies.** Every file in the group is the same file, byte for byte. **Accept Identical Copies** accepts all of these groups in one step.
- **Nearly identical.** These groups are still labelled Safe, but the files are not the same byte for byte. **Quick Review** walks you through them one at a time. After the first group, **Accept the Rest (N)** appears, and it accepts every nearly identical group you have not reviewed yet.
- **Look-alikes and less certain groups.** You look at these one by one; **Quick Review** opens them too.

Accepting only marks the files. Nothing moves to the Trash until you click **Move to Trash** and confirm.

Chronoframe always suggests keeping one photo in every group. If a group you have accepted has every photo marked Delete, the screen says so and skips that group until you mark one photo Keep. Its photos stay even when their RAW+JPEG or Live Photo partners are being removed in another group.

Chronoframe does not permanently delete files from Deduplicate. It sends selected files to the macOS Trash. Similar-photo, burst, RAW+JPEG, and Live Photo analysis applies to photos. Exact video copies are always detected, and an off-by-default setting can surface visually similar transcodes and re-exports for review; visual video matches are never auto-accepted.

The commit summary and executor use the same content-verified plan. If a planned file or pair changes after the scan, Chronoframe leaves it untouched and asks you to scan again.

### If your reviewed groups are more than the free allowance

This applies to the Mac App Store build while its free allowance is in use. When the groups you reviewed hold more files than the free allowance has left, the footer says how many duplicates you can remove free and how many your reviewed groups hold. If at least one whole group fits, **Move N Files to Trash Free** moves whole groups, up to the limit, after the usual confirmation, and **Unlock to Remove All N** opens the unlock sheet. When no free removals are left, the footer says so.

After a free removal, the choices you made for the groups still waiting are saved. Scan the same folder again and they come back, only for files that have not changed. Restored choices are only a starting point, and nothing moves to the Trash until you confirm.

## Tips

- **Edit uncertain dates.** If a photo has an unknown date, fix it in Review and Chronoframe will use your correction.
Expand Down
36 changes: 33 additions & 3 deletions docs/SAFETY_AND_RECOVERY.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ folder. Deduplicate treats any file with that name beside a file with the same
name (ignoring upper and lower case, and whatever the other file's extension is)
as an edited version and protects it:

- It is never selected for the Trash by a group's suggestion or by Accept All,
and never pulled in because a RAW+JPEG or Live Photo partner, a sidecar, or its
- It is never selected for the Trash by a group's suggestion or by any of the
accept buttons, and never pulled in because a RAW+JPEG or Live Photo partner, a sidecar, or its
original is being deleted.
- Deleting the original leaves the edited version in place. The commit footer
says how many edited versions stay (for example "2 edited versions kept").
Expand Down Expand Up @@ -248,14 +248,44 @@ expected content before anything moves to the Trash, exactly as described
above. A restored choice is only a starting point.

**When it is removed.** After a Deduplicate commit finishes for that folder,
its saved review is removed. Reverting a commit does not remove it, and
its saved review is removed, except after a free removal (see Free removal
below), which keeps it. Reverting a commit does not remove it, and
choosing a different folder leaves each folder's save alone. To discard one
yourself, open the Deduplicate start screen for that folder and choose
**Discard Saved Review** on the "Pick up where you left off" card. The card
appears when no paused review is open in the current session, and it also offers
**Scan and Restore Review**. Discarding deletes only Chronoframe's saved review file; your photos
are not touched.

### Review lanes, the keep suggestion and free removal

Review sorts groups into three lanes. **Accept Identical Copies** accepts only
groups whose files are the same file, byte for byte, judged from the content
identities recorded in the scan; if the scan has no identity for a file, the
group is not treated as identical. Nearly identical groups, still labelled Safe,
go through **Quick Review**, where **Accept the Rest (N)** appears after the
first group. Look-alikes and less certain groups are looked at one by one.
Accepting only marks files; the plan, the confirmation and the content check
before anything moves to the Trash are unchanged.

Chronoframe always suggests keeping one photo in every group. When every photo
in a reviewed group is marked Delete, the footer shows a notice and the planner
skips that group until one is marked Keep. The members of a skipped group stay
whichever route would remove them: pair expansion from another group does not
add them, and neither does a second group that lists the same files (INV-32).
Check the file count in the confirmation before you confirm.

**Free removal (Mac App Store build).** When the reviewed groups hold more
files than the free allowance has left, the footer says how many duplicates can
be removed free. If at least one whole group fits, **Move N Files to Trash
Free** moves whole groups, up to the limit.
It uses the same planner, the same confirmation and the same executor as any
other commit, and it removes nothing the full reviewed plan would not.
**Unlock to Remove All N** opens the unlock sheet instead. After a free removal
the saved review is kept, so the choices for the groups still waiting come back
after the next scan under the rules above, only for files that have not
changed.

## Library Guardian: Scrub, Mirror, Restore

Library Guardian protects an already-organized library from silent bit rot. It
Expand Down
2 changes: 1 addition & 1 deletion docs/TECHNICAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ mobile_backup:
| `Cmd+,` | Open Settings |
| `Cmd+?` | Open Chronoframe Help |

In the Deduplicate review, `←`/`→` move between photos in a group, `Return` confirms the group, `C` compares candidates, and `Space` opens Rapid Triage.
In the Deduplicate review, `←`/`→` move between photos in a group, `Return` confirms the group, `C` compares candidates, and `Space` previews the focused photo.

## Build From Source

Expand Down
2 changes: 1 addition & 1 deletion docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ If the app or Mac stopped unexpectedly, reconnect the destination drive before r

**Solution:**
- Make sure you've **selected keep/delete choices** for at least one group
- Click a group on the left and choose which items to keep and which to delete (or use **Accept All Safe** for the groups marked as safe matches)
- Click a group on the left and choose which items to keep and which to delete (or use **Accept Identical Copies** for groups of identical copies)
- The **Move to Trash** button activates once at least one file is marked for removal

### Deduplicate says a file changed after the scan
Expand Down
8 changes: 4 additions & 4 deletions docs/plan/first-run-experience/ACCEPTANCE_MATRIX.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# First-run experience — acceptance matrix

Status: M1 rows pass-auto at gate G1 (2026-11-28); M2 and M3 rows not built. Auto status values: todo, pass-auto, blocked. Owner status values: todo-owner, pass-owner, fail-owner, n/a.
Status: M1 rows pass-auto at gate G1 (2026-11-28); M2 rows pass-auto at gate G2 (2026-11-28); M3 rows not built. Auto status values: todo, pass-auto, blocked. Owner status values: todo-owner, pass-owner, fail-owner, n/a.

| ID | Requirement (recommendation) | Automated coverage | Owner row | Auto status | Owner status |
|---|---|---|---|---|---|
Expand All @@ -9,9 +9,9 @@ Status: M1 rows pass-auto at gate G1 (2026-11-28); M2 and M3 rows not built. Aut
| A-FRX-03 | The free limit is stated on the preview before any click, and the copy button is replaced by a free step and an unlock button when the plan is larger (rec 3) | RunWorkspaceModelTests (7 free-copy tests); AppStateTests/testRequestUnlockForPlanPresentsOrganizeRefusal, testDismissUnlockSheetClearsRequestedRefusal, testRetryAfterUnlockWithRequestedRefusalStartsNothing | H-FRX-2 | pass-auto | todo-owner |
| A-FRX-04 | The unlock sheet names the person's outcome and says one-time, no subscription; the price is StoreKit's only (rec 3) | UnlockPresentationTests (6 new in WP-03); UnlockSheetLayoutTests/testPurchaseTermsLineIsShown; script/check_storekit_config_matches_policy.sh | H-FRX-2 | pass-auto | todo-owner |
| A-FRX-05 | The free organize copy is one whole month of new photos, never exact copies, never more than the allowance, and is listed and confirmed before it runs (rec 5) | ChronoframeCoreFreeMonthBatchPlannerTests/*; FreeTestBatchPlannerTests (4 new); FreeMonthBatchOfferTests/*; SwiftOrganizerEngineIntegrationTests/testMonthRequestCopiesNothingAndReservesNothing, testConfirmedMonthBatchCopiesOnlyTheListedFiles, testConfirmedMonthBatchStillRefusedWhenAllowanceTooSmall; AppStateTests/testStartFreeMonthCopyRequestsAProposalForThatMonth | H-FRX-2 | pass-auto | todo-owner |
| A-FRX-06 | One click accepts only byte-identical groups; nearly identical groups go through Quick Review (rec 4) | ChronoframeCoreDeduplicateReviewLaneTests/*; DeduplicateSessionStoreTests (accept-by-lane, 5 new); DeduplicateReviewLanesTests (4 new); DeduplicateReviewViewsTests/testQuickReviewScopeIsUnreviewedGroupsOfLane, testAcceptTheRestOnlyForNearlyIdenticalAfterFirstGroup, testFooterAcceptCallsIdenticalLaneOnly | H-FRX-3 | todo | todo-owner |
| A-FRX-07 | The screen says Chronoframe always suggests keeping one photo per group, and tells the person when a fully marked group is being skipped (rec 4) | DeduplicateTests/testPlannerRefusesAllDelete (existing); DeduplicationPlannerPropertyTests/testPropertyNoClusterIsCompletelyEmptiedByThePlan (existing); DeduplicateSessionStoreTests/testFullyMarkedClusterIDs; DeduplicateReviewViewsTests/testFullyMarkedNoticeText | H-FRX-3 | todo | todo-owner |
| A-FRX-08 | Duplicates can be removed free in whole groups up to the allowance, through the normal planner and confirmation (rec 3) | ChronoframeCoreFreeDedupeBatchPlannerTests/*; DeduplicateSessionStoreTests (7 free-batch tests); UnlockPresentationTests (2 new in WP-13); AppStateTests (3 new); DeduplicateReviewViewsTests/testFreeRemovalLineAndButtonTitles, testConfirmationCountUsesPreparedPlan | H-FRX-4 | todo | todo-owner |
| A-FRX-06 | One click accepts only byte-identical groups; nearly identical groups go through Quick Review (rec 4) | ChronoframeCoreDeduplicateReviewLaneTests/*; DeduplicateSessionStoreTests (accept-by-lane, 5 new); DeduplicateReviewLanesTests (4 new); DeduplicateReviewViewsTests/testQuickReviewScopeIsUnreviewedGroupsOfLane, testAcceptTheRestOnlyForNearlyIdenticalAfterFirstGroup, testFooterAcceptCallsIdenticalLaneOnly | H-FRX-3 | pass-auto | todo-owner |
| A-FRX-07 | The screen says Chronoframe always suggests keeping one photo per group, and tells the person when a fully marked group is being skipped (rec 4) | DeduplicateTests/testPlannerRefusesAllDelete (existing); DeduplicationPlannerPropertyTests/testPropertyNoClusterIsCompletelyEmptiedByThePlan (existing); DeduplicateSessionStoreTests/testFullyMarkedClusterIDs; DeduplicateReviewViewsTests/testFullyMarkedNoticeText | H-FRX-3 | pass-auto | todo-owner |
| A-FRX-08 | Duplicates can be removed free in whole groups up to the allowance, through the normal planner and confirmation (rec 3) | ChronoframeCoreFreeDedupeBatchPlannerTests/*; DeduplicateSessionStoreTests (7 free-batch tests); UnlockPresentationTests (2 new in WP-13); AppStateTests (3 new); DeduplicateReviewViewsTests/testFreeRemovalLineAndButtonTitles, testConfirmationCountUsesPreparedPlan | H-FRX-4 | pass-auto | todo-owner |
| A-FRX-09 | A person with nothing configured answers two questions and reaches the preview; everyone else keeps the full screen (rec 1) | GuidedSetupModelTests/*; AppStateTests/testGuidedSetupEligibleDefaultsTrue, testEveryExistingScenarioDisablesGuidedSetup; folder-access tests (4 new); SetupCoordinatorTests (2 new) | H-FRX-5 | todo | todo-owner |
| A-FRX-10 | The destination step shows the folder's size against free space, labeled as an estimate, and never blocks (rec 1) | ChronoframeCoreFolderSizeEstimatorTests/*; GuidedSetupModelTests/testMeasureLineStates, testSpaceLineWarnsButNeverBlocks, testSpaceLineSaysEstimate | H-FRX-5 | todo | todo-owner |
| A-FRX-11 | New people get Year/Month; anyone with prior use keeps their layout (rec 6, D-FRX-06) | PreferencesStoreTests (4 new) | H-FRX-7 | todo | todo-owner |
Expand Down
Loading
Loading