Skip to content

Upstream intake 2026-11-08 bundle 3: 12 PRs - #911

Merged
emmertex merged 19 commits into
mainfrom
upstream-intake-2026-11-08-b3code
Nov 8, 2026
Merged

emmertex merged 19 commits into
mainfrom
upstream-intake-2026-11-08-b3code

Conversation

@emmertex

@emmertex emmertex commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Upstream intake 2026-11-08, bundle 3: 12 adopted PRs

Third port pass over the round's LEARN rows (decisions are in the merged ledger PR #905; this PR also updates the rows it ports). Every item was hand-ported in the fork's structure.

Upstream What Checked
#2649 catalog folder/name index (nothing calls it yet; fork has no Delete from Disk plan) catalog index tests
#1124 Synchronize Folder scan stays current across ratings/keywords (engine half) engine tests_sync
#2464 a panicking folder listing no longer stays "running" ui-egui regression test
#3761 photo.allMetadata returns the catalog's saved values engine test
#3781 the decoded in-file lens correction is recorded (no catalog format change) engine test
#3624 View > Hide Rejected Photos (Filter.flags, library.hideRejected; no shortcut) 2 engine tests
#3403 files waiting for a library wait for a running import ui test
#3325 Move Folder To… no longer freezes the window ui test
#3688 restored selection names each photo once (engine part) engine test
#3594 call-time MCP policy (part 1; control token already existed) mcp server tests, brand/notes checks
#3143 exFAT/archive write failure is a named warning; index folder link probe 3 tests
#3286 faces: look-alikes scored with person_score, rayon equivalence test vs rank_top

Fast CI (cargo xtask ci --fast) passed locally; no full test run. No render, process-version or catalog-format changes; no new dependencies. Not taken: #3142, #3332, #3716, #3330, #2757 (not small / format bump / UI-only).

Sources: upstream storytold/lightcraft PRs above (hand-ported).

🤖 Generated with Claude Code

emmertex and others added 19 commits November 8, 2026 12:06
Catalog::photos_in_folder_any_case and photos_named_any_case answer from two
lazily built, never saved maps kept current by AddPhoto, RemovePhoto, Relink
and SetFile (inverses and rolled-back batches included). No caller yet; the
Delete from Disk plan will use them.

Sources: upstream storytold/lightcraft #2649 (own port into the fork's index.rs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…once

Only the engine/library.rs part; the toast UI is in owned ui-egui.

Sources: upstream #3688 (own port)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… flags)

Sources: upstream PR #3624 read; own design on the fork's catalog Filter (flags beside labels).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
<PREFIX>_MCP_SAFE / DENY / ALLOW_TOOLS / EXPORT_ROOT, enforced on every tools/call
route (helpers, run_command, command_run, command_batch, cmd_*) and on resource reads.
Part 2 (control token) already exists in crates/engine/src/control_auth.rs.

Sources: upstream #3594 policy.rs (MIT), env names through lcc_brand.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… failed Lightroom import

Only the missing piece (publish already uses safe_file::publish_new): stage_archive turns a
store error into a first-position warning, and the import index folder is checked up front
and again on write so a linked folder never receives it.

Sources: upstream #3143 (own port)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sources: upstream PR #3403 read; own design (fork LccApp.waiting_import, retried each frame).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…zing the window

Sources: upstream PR #3325 read; own design on the fork's pick::ask.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
matching::person_score (the mean of the best N faces, as rank_top gives, without names or
allocation), a lane-summed dot product, and similar() scoring candidates with rayon. Honours
the user's top-faces setting (upstream has a fixed count).

Sources: upstream #3286 (own port)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… #3688

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… keywords and edits

Engine half only (the Continue in Background dialog and notice are fork-owned UI).
take_folder_changes compares files, not the person's work, except for photos whose
sidecar the scan found news in; virtual copies made meanwhile don't count unless the
scan acts on their master. Relinking re-hashes the file at the new path and skips it
when the content is no longer the one the scan read.

Sources: upstream storytold/lightcraft #1124 (own port into the fork's sync.rs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fs_cached settles its running flag and count in a drop guard, so a panicking
listing (or a failed thread spawn) cannot leave Headless::busy waiting for ever
and the check can be asked again. Only this idea is taken from the PR.

Sources: upstream storytold/lightcraft #2464.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds a catalog group to the reply and still answers (with a note) when the original
file can't be read. The fill-view UI half of the PR is not taken.

Sources: upstream storytold/lightcraft #3761 (query.rs hunk).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…alog

A raw's decode that read its lens from the file (not a database profile matched by
name) records it with a system SetEmbeddedLens op when the catalog holds another, so
the Optics panel and crop read the lens the render uses. SourceInfo carries a
lens_from_file flag for it; a lens the user picked is left alone. No catalog format
change.

Sources: upstream storytold/lightcraft #3781 (own design in the fork's media.rs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/upstream-pr-reviews/ledger.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@emmertex
emmertex enabled auto-merge November 8, 2026 01:29
@emmertex
emmertex merged commit 399563a into main Nov 8, 2026
5 checks passed
@emmertex
emmertex deleted the upstream-intake-2026-11-08-b3code branch November 8, 2026 01:33
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