Repository navigation
LR-IMP-FORMATS: folder import finds Sony SR2 and SRF files - #1165
Conversation
d255d6f to
a8f0db1
Compare
|
Rebased onto batch 32. The only conflict was #1254's change to the extension list in |
1a8915a to
4c9b818
Compare
|
Rebased onto main a4b53b2 (batch 35). The only conflicts were in |
Reuse the engine's import extensions in MCP and CLI discovery. Add recursive, case-insensitive discovery tests and record that DSC-F828 SRF import remains preview-only. Co-Authored-By: Codex <noreply@openai.com>
4c9b818 to
484215f
Compare
|
The coverage and tracker conflicts now keep main's camera evidence and add only the SR2/SRF discovery changes. Both copies of main's F828 evidence row now classify it as preview-only, and the coverage generator check passes. Rebased onto main |
…files Thanks @AlexChambers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…th one separator, so the SR2/SRF discovery test passes on Windows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # crates/mcp/src/headless.rs # docs/gaps.md # docs/parity-checklist.md # docs/raw-parity.md
…(94 / 43 / 10 / 2)
… today docs/rightkit-port/cut-list.md: every crate, app and support tree with a verdict (keep, replace, drop, later), line counts that partition the Rust tree exactly (331,735 src / 20,679 other), the reason and the evidence. The twelve drop rows are #259-#270 for Adrian's call; nothing is deleted for them. docs/rightkit-port/new-packages.md: N1-N11 with surface, consumers, class and sync path; D1, N7, N10 and A14 are bogusyogi/rightkit#1158-storytold#1161. Ported (owner API read first, copy deleted): - open_url: apps/lightcraft-desktop/src/services.rs calls rightkit_child_process::open_url (launch.rs:15, 0.5.6); the https-only rule stays at the call site; the opener helper and constants are gone (-23 lines). - crates/mcp: base64 encode/decode and ct_eq come from rightkit-crypto 0.1.0 (lib.rs:107,218,223); base64.rs (60 lines) and the local ct_eq are deleted and the crate re-exports the owner's names. Adds blake3 and constant_time_eq to the lock (blake3 builds C and assembly by default; `ring` is already in the lock). Read and not ported, with a ledger entry, an issue and an expiry each: - rightkit-sidecar length_prefixed (A5): refuses a zero-length frame, which the remote SAM protocol sends for a click-only request (storytold#1163). - rightkit-mcp ServerHost (X115): synchronous Server API driven by the crate's tests and e2e; needs a host run (storytold#283). - rightkit-models (A6): bearer token scope and cross-file progress (storytold#1164). - rightkit-job-queue (A2) storytold#1162, rk_logs (A20) storytold#1027, video sidecar (A9) storytold#1015, ONNX bind (A10) storytold#1165, static-check CSP (A21) storytold#1136, egui i18n/theme (A22) storytold#960, fetch http adapter #256, segmask base64 #257, photo-ai #258. The ledger now has 30 entries, each with `issue` and `expires` 2026-11-30. Claude-Session: https://claude.ai/code/session_01K2MsXFDhGU3dPG949WGWAa
…ver-width UI-1146: compact Color Overlay Settings popover
Folder import skipped Sony
.SR2and.SRFfiles, though opening one of those files directly worked. Found while triaging the open Sony issues: direct catalog queries opened a DSC-R1 SR2 from sensor data and a DSC-F828 SRF as preview-only, but importing the folder holding them found neither. So the problem was discovery, not decoding. Follows up #702: since #774 the F828 SRF opens again when chosen directly, butcoverage.tsvstill recorded it as "SRF not in the import list".Rebased onto main
0da998f2after integration batch 40. This branch inherits main'sLOOK_VERSION9 andRENDER_CACHE_VERSION64.Overlap: the MCP change (reusing the engine's list) also fixes #1080, as #1119 and #1175 do. If either lands first I'll drop that hunk; what only this PR adds is
sr2/srfin the engine list, its tests, and the coverage corrections.What was wrong
lightcraft_engine::import::EXTENSIONS(used by folder import, the file pickers, Local browsing, folder sync and the CLI'simport) had nosr2orsrf. The MCP server kept its ownPHOTO_EXTENSIONS, which also lacked them and had drifted further: it had nonrw,heicorheifeither.Fix
sr2andsrfare added toEXTENSIONS. Its doc comment now says the list includes preview-only raws, since the probe decides whether sensor decoding is available.mcp::headless::PHOTO_EXTENSIONSnow re-exports the engine list, andexpand_pathsuseslightcraft_engine::import::is_supported, so the two can't drift again. MCP folder expansion therefore also picks up NRW, HEIC and HEIF. A HEIC in a build without theheiffeature is reported as failed with its reason, as in the app.raw-parity.md: a note that an extension is not a promise of sensor decoding.raw/evidence.tsv: DSC-F828 is now recorded as preview-only, measured with the release CLI on raw.pixls.usDSC06227.SRF.raw/coverage.pygets an explicit SRF rule, so SRF bodies without evidence (DSC-V3) stay unsupported, with a reason that no longer says "not in the import list".coverage.tsvand the counts are regenerated: preview-only 233 → 234, unsupported 36 → 35.gaps.mdgap 10 and theLR-IMP-FORMATSrow are updated. Statuses and readiness scores are unchanged.Verification
recursive_discovery_includes_sony_sr2_and_srf_case_insensitively: nested folders, mixed-case extensions (.SR2,.Sr2,.SrF), a JPEG control and a.txtthat must be skipped. Folder and direct discovery must agree. It fails onmain.folder_discovery_matches_engine_extensions: every engine extension, in lower and upper case and in a nested folder, is found byexpand_paths, and the.txtis not.cargo xtask ci: fmt, clippy and the HEIC checks pass. Test results are the same asmain76b5377: the 11 known engine failures plus the known UI dialog failure, and nothing new. Parity, layers, assets, WASM and the coverage--checkpass.DSC-V3 (also SRF) was not checked; no sample was at hand.
🤖 Generated with Claude Code