Commit Graph
140 Commits
Author SHA1 Message Date
Claude 758bcb162f feat(app): a card without saved settings imports with its camera's profile
BRIEF §13 camera profiles: the settings saved last by another card of the same
camera model; a card seen for the first time takes them once its first plan
names the camera. Remembered cards without settings start from the archive's
templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:35:00 +00:00
Claude d4f7396ac2 fix(app): an import keeps its result and resume when its card leaves and returns
Re-listing the devices no longer re-plans the card of a running, failed or
finished import, so a removed card can resume its job after re-insertion and
the verification result stays after ejecting. The source list and profile
edits are locked while an import runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:30:13 +00:00
Claude cb41fb69ee test(app): sample card, server quota, current archive and sample report checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:25:57 +00:00
Claude c6efccf4a9 test(app): smoke tests of every Import state and Archive view in both themes
The screen smoke host's SampleApp becomes internal so the Import and Archive
tests render the same scenes as --capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:24:11 +00:00
Claude a0e814885c feat(app): Import and Archive manager screens with capture scenes and resources
Import (cards and folders): the card pool with remembered profiles and the
nickname field for new cards, the form (destination, scan, sessions, names
with live preview and tokens, duplicates, after-import choices), the plan
panel with editable session titles, Show plan, the archive import job or
the folder/server run with progress, the verification result and the
after-import actions (dry run, delete, format through the Windows dialog,
eject, open in Library), card-insertion toasts, automatic import into the
archive and resume after re-insertion. Deep analysis after import is queued
with ProcessingJobs at background priority.

Archive manager: archive picker, tree with availability, figure tiles and
charts, mass operations on the selected set, scan/rebuild (dialog)/verify/
duplicates/orphans/adopt/maintenance as jobs, and the maintenance view with
index health, recent runs and the duplicate and orphan reports with safe
fixes.

--capture renders import-<state> and archive-<view> from a simulated card
and sample reports; en and it resources for both screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:20:10 +00:00
Claude f7affe7840 feat(app): import and archive manager logic (plans, card pool, card gate, server sink, tree, charts, reports)
Plain classes behind the Import and Archive screens: plan totals, session
rows and the Show plan listing; duplicate and title choices without a new
scan; folder and server destinations with the protocol client's chunked,
hash-verified uploads; the after-import gate that allows deleting or
formatting a card only after a verified archive import and a dry run; the
archive tree, chart aggregation, mass rename/retag and maintenance reports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 17:39:03 +00:00
Claude fee198f627 wip(processing): analysis and render job handlers, render node client (interrupted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 16:33:27 +00:00
Claude f4e2f285a9 fix(server): Windows startup test asks for PostgreSQL; TITANO_LOG_LEVEL
The connection-string test built options with the platform default,
which is SQLite on Windows, so it parsed a file path as a PostgreSQL
connection string. The server gains a log level setting
(TITANO_LOG_LEVEL, also in compose and the Unraid template); the test
servers log warnings only, which cuts the suite's output from 511 to 80
lines so failures stay findable in CI logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:20:03 +00:00
Claude ac9a150027 feat(server): run on the real archive engine
ArchiveModule registers the archive engine as the server's ingest, its
proxy/thumbnail locator and its job handlers (through the new
IJobHandlerProvider); Program.cs passes it to ServerHost.Build. The
server opens its archive through ArchiveService so archive.json always
exists. The server's path-safety helper is renamed ArchivePathGuard to
stop clashing with the archive layout's ArchivePaths, and the server
migration is renumbered 0003. An end-to-end test uploads a photo, finds
it in the layout and fetches the thumbnail built by the queued job.
CI's PostgreSQL jobs now run the server tests too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:00:38 +00:00
Claude 8f54bd8804 merge: full Titano Server (auth, users, uploads, sync, jobs, render nodes, events, admin panel, Windows service)
# Conflicts:
#	i18n/en/Server.resx
#	i18n/it/Server.it.resx
#	src/Titano.Data/Repositories/FrameRepository.cs
2026-10-02 12:54:14 +00:00
Claude 6ac27413a7 fix(jobs): claim only handled kinds and requeue numbered workers after a crash
An engine with no handlers (or a filter it could not serve) claimed every
job, so a host without a render handler would fail render-node work.
With several workers, jobs carry node ids such as pc#1, but crash
recovery only matched the bare node id and left them running forever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:49:15 +00:00
Claude b4f61e29b9 merge: desktop library, jobs, settings, server, welcome and about screens 2026-10-02 12:42:39 +00:00
Claude 8d4b00aceb test(app): screen smoke tests and thumbnail decoding on Windows
Every screen is rendered from the --capture sample data in an off-screen
main window in both themes; thumbnails are decoded from embedded previews
with orientation. The sign-in flow now stores the login token on every
IServerApi, and thumbnail pending loads include index lookups so capture
waits for them. A cancelled-load test no longer depends on scheduling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:40:57 +00:00
Claude 5a325ece60 refactor(core): keep a single thumbs.pack format
The decode workstream added a second pack writer and proxy builder that
wrote TTPK files with a different layout to the same path as the
archive's ThumbPack. The archive implementation is the one wired into
ingest, maintenance and the thumbnail jobs; the unused duplicates are
removed. The LRU ThumbnailCache stays for the UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:35:22 +00:00
Claude 9ee2d482b6 merge: RAW/DNG decoding, managed decoder provider, frame window and thumbnails
# Conflicts:
#	src/Titano.Tools/Program.cs
2026-10-02 12:32:14 +00:00
Claude e92568a7bb merge: archive layout, sidecars, scan/rebuild/verify, card import and ingest 2026-10-02 12:30:53 +00:00
Claude 1c19b00a00 feat(data): archive services, ingest and job handlers
ArchiveService facade over indexer (scan, adopt, rebuild), ArchiveIngest
(IArchiveIngest with per-sequence group commit, leases and a write-ahead
journal), verifier, maintenance (duplicates, orphans, cleanup), mass rename
with resumable journal, thumbnails/proxies and card import; job handlers for
scan, rebuild, verify, import, thumbs, proxies and maintenance with checkpoints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:15 +00:00
Claude 8cb9672520 feat(core): card import planning and verified copy engine
Card scanning (DCIM and flat), session splitting with test-shot merging and
user splits/merges, per-body import plans named by templates with archive
duplicate detection, hash-verified resumable copy with per-file errors, a
plain-folder destination and a verified card erase with dry run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:14 +00:00
Claude 55895e8474 feat(core): archive layout, sidecars, leases and thumbnail packs
archive.json and sequence.json with source-generated JSON, forward-compatible
reading (unknown fields kept, unknown enum names tolerated) and atomic writes;
lease files with expiry and stale takeover; thumbs.pack with index, crash-safe
append and random access; folder scanning, in-place adoption, reconcile,
verify, index snapshot, rename planning and thumbnail/proxy rendering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:14 +00:00
Claude 80b91d0585 test(server): auth, uploads, ranges, sync, jobs, render nodes, events
Covers bootstrap admin, sign-in failure, lockout and rate limit, token
revocation and expiry, 401 versus 403, CSRF on cookie sessions, the error
shape and API header, chunked upload happy path, resume, hash
short-circuit, damaged chunk, quota, Range on originals, thumbnails and
exports, path traversal, settings_version conflicts, job state
transitions with a fake handler, render node claim, heartbeat timeout and
reassignment, output upload, WebSocket progress events, the discovery
beacon, the Windows service command line and status rules, and a
PostgreSQL run (TITANO_TEST_PG).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:28:47 +00:00
Claude 248439956f test(raw): lossy-JPEG and floating-point DNGs, calibration and list-3 maps
Covers compression 34892 with a linearisation table (42.8 dB), Deflate
with the floating-point predictor for CFA and LinearRaw data,
CameraCalibration1 with AnalogBalance in the colour transform, and a
value-mapping opcode in OpcodeList3 applied to unbalanced values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:28:41 +00:00
Claude ffbea7cb74 feat(app): library, jobs, settings, server, welcome and about screens
Local-mode composition root (SQLite index, one JobEngine fed by a single
handler registration list), keyset-paged library with thumbnail cache and
hover scrub, live job list with throttled updates and the shell job bar,
settings with live template validation and encoder self-test, server
connection with trust-on-first-use and DPAPI token, first-run welcome,
About with update check, and --capture screenshots with synthetic data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:58 +00:00
Claude f78a76513c fix(core): tell value-type Auto settings without advice from an advised default
Auto<T>.Resolve returned default instead of the fallback for value types
because AutoValue cannot be null there. Auto<T> now records HasAdvice;
the render pipeline's ProjectValues workaround and the advisor's
ReasonKey heuristic are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:17 +00:00
Claude bcf0510a8e fix(raw): match LibRaw on RAF and unpacked NEF layouts; drop frame copies
Cross-checking synthetic files with LibRaw's dcraw_emu showed it reads
uncompressed RAF samples as little-endian words and unpacked data under
the Nikon compression tag as big-endian words shifted left by four; the
readers and test writers now do the same (CR2, lossless NEF, ARW2 and
PEF already decoded identically, ~86 dB). The default crop and the
final orientation step no longer copy a full frame when they change
nothing, lowering the 24 MP peak by two frame copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:43:45 +00:00
Claude 5774592c44 merge: render plan, pipeline, managed encoders and self-test
# Conflicts:
#	src/Titano.Tools/Program.cs
2026-10-02 11:36:35 +00:00
Claude a0c2b1b28c fix(render): report an unreadable playback rate instead of ignoring it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:33:43 +00:00
Claude 0f3fbfdad4 feat(tools): diagnose and fixtures commands with the CC0 RAW manifest
diagnose prints per file the format, managed decode tier (and why it is
not native), delivered size, camera and capture time with its source,
then a per-format summary; --formats prints the tier table. fixtures
downloads tests/fixtures/manifest.json into tests/fixtures/external with
HTTP range resume and SHA-256 verification, skipping verified files and
recording the hash of first downloads whose manifest hash is null.
External fixture tests (skipped when absent) check native decoding,
size and agreement with the embedded preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:32:59 +00:00
Claude 93be5853dc test(render): cover the target luminance curve and the decode-size cap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:32:58 +00:00
Claude c78747053e feat(server): API v1 with auth, uploads, sync, jobs, render nodes and events
- Security: PBKDF2-SHA512 (210,000 iterations) hashes, opaque bearer tokens
  stored as SHA-256 with sliding expiry and revocation, HttpOnly/Secure/
  SameSite=Strict admin cookie with a session-bound CSRF token, sign-in rate
  limit and lockout, role/permission metadata on every endpoint, audit log,
  first-run administrator bootstrap.
- Sequences with keyset paging, ETags and settings_version conflicts; sync
  manifest; frames, proxies, thumbnails and exports streamed with Range.
- Chunked resumable uploads with hash short-circuit, quota and disk checks,
  staging on the archive volume, SHA-256 verification and IArchiveIngest.
- Job engine host, jobs API, render nodes with heartbeat timeout and
  reassignment, WebSocket events, LAN discovery beacon, upload cleanup.
- Windows service host over advapi32 (--service, --install-service,
  --uninstall-service); fails fast without the archive module services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:32:19 +00:00
Claude e5026ca72e refactor(render): keep render remarks in the Export localisation area
Plan, render and encoder remarks now share the Export area with the
preset names; setups reject metadata that does not match the source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:30:10 +00:00
Claude 82f10a053e test(render): cover value-type Auto settings without advice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:28:19 +00:00
Claude 0bd19ebeb1 perf(video): encode image-sequence frames concurrently
Frames are independent, so up to one per core is encoded at once with
single-threaded codecs; PNG sequences no longer run Deflate on one core
(1080p PNG export 1.0 to 2.5 fps on 4 cores). Failures surface on a later
frame or on Complete, and discarding waits for every write first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:27:36 +00:00
Claude 555d17742c feat(imaging): frame window with read-ahead, budget and float32 spill
FrameWindow keeps frames from position-Behind to position+Ahead,
decodes ahead on background tasks within the memory budget, drops
frames that leave the window and spills in-window frames farthest from
the position to a delete-on-close temp file of float32 planes (renders
stay bit-identical under memory pressure). The budget check and load
start share one lock; leases pin frames; disposal waits for decodes,
releases every buffer and deletes the spill file even after
cancellation. Tests assert a hard three-frame bound for 40 and 400
frames and an identical spill-file size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:27:16 +00:00
Claude 56757f12d3 feat(imaging): thumbs.pack, thumbnail LRU cache and proxy builder
ThumbnailPack appends self-describing CRC-checked JPEG entries (320 px,
q80) and index records; a two-slot header flips to each new index, so
crashes and truncation lose only the damaged tail, and compaction
rewrites live entries through AtomicFile. Reads are positional and run
concurrently with the writer. ThumbnailCache is a byte-budget LRU that
coalesces concurrent loads. ProxyBuilder decodes at the policy long
edge with orientation applied and writes JPEG q92 with the source Exif
(capture time kept, orientation reset).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:21:58 +00:00
Claude 6a1eca0d6c fix(render): ignore excluded frames in cached series and exposure steps
An excluded test shot at another exposure created holy-grail steps, and
cached deep-analysis series still fed excluded frames into the fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:19:47 +00:00
Claude 15fe092614 feat(export): output path from a project's export folder and name template
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:19:47 +00:00
Claude 4a817340b8 feat(imaging): managed decoder provider, decoder chains and format tiers
ManagedDecoderProvider decodes JPEG/PNG/TIFF natively, DNG and the
supported RAWs through RawDecoder, and falls back to the largest
suitable embedded JPEG (oriented like the main image) for other RAWs,
CR3, HEIF and unsupported bodies. Requests use JPEG DCT scaling, CFA
binning when MaxLongEdge allows, bilinear demosaic for thumbnails and
analysis, and ForcePreview. DecoderFactory builds the client (WIC then
managed) and server chains and the per-format tier table; Probe gives
the per-file tier without decoding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:17:15 +00:00
Claude 2a9f93e414 feat(render): end-to-end self-test suite and Titano.Tools selftest
63 reusable checks (plan, export, encoder selection, codec round trips,
renders into every managed format decoded back, MP4 inspection when a
platform encoder is supplied, processing modules measured on rendered
frames, cancellation, failures, determinism, memory) shared by the CLI
and the desktop Settings page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:16:39 +00:00
Claude 7e157cbf72 feat(raw): native CR2, NEF, ARW, PEF and RAF decoders
Each container reader builds a RawFrame for the shared pipeline: CR2
sliced lossless JPEG with SensorInfo crop, masked-column black and
ColorData WB; NEF uncompressed and Nikon Huffman (lossy type 1,
lossless, lossy type 2 incl. split); ARW uncompressed and ARW2 cRAW
with tone curve; PEF uncompressed and Pentax Huffman; RAF uncompressed
Bayer and X-Trans with FujiIFD. Colour comes from a dcraw adobe_coeff
matrix table; bodies without an entry are reported unsupported so the
caller uses the embedded preview. Native RAWs detect the sensor's
saturation level for clipping only, never rescaling per frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:13:18 +00:00
Claude ea3de59c72 test(ui): host smoke-test visuals under a parent so their styles apply
WPF fetches implicit and theme styles only once an element is
initialized (EndInit, a visual parent, or a window root). The smoke
tests measured bare elements created in code, so templated controls had
no template: zero-size cards, no wrap panel in the card list, an empty
preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:09:30 +00:00
Claude 3780105f36 feat(render): preparation pass, render geometry and pipeline
RenderPreparation measures (or reuses cached) luminance, colour, region
and camera-path series and turns them into per-frame corrections.
RenderPipeline renders planned frames through exposure, one geometry
resample, flow synthesis, motion blur, stacking and the knee, overlapping
encoding with processing; cancellation and failures leave no output and
no unobserved exceptions. Batch renders share one preparation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:09:02 +00:00
Claude 52cde1419b refactor(core): name the advisor namespace Advice; record advisor decisions
The Advisor class shared its namespace's name, forcing an alias in every
Titano.Core caller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:07:02 +00:00
Claude b1f262653e merge: deep analysis, advisor and sequence presets 2026-10-02 11:04:28 +00:00
Claude 304ddf643d fix(data): never block the caller's thread and never lose a SQLite cancel
SQLite steps ran synchronously on the calling thread, so a repository
awaited on the WPF UI thread would freeze the window for the length of
the query. Blocking calls now continue on the thread pool.

A cancel that landed before sqlite3_step started the statement was lost
(SQLite clears the interrupt when no statement is running) and the query
ran to completion. Each connection now has a cancel flag polled by a
progress handler; it is cleared outside every interruptible operation so
a stale cancel cannot stop a later statement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:04:21 +00:00
Claude d40fdee35e test(raw): demosaic accuracy, zipper and X-Trans gates
AHD 48.2 dB and bilinear 44.1 dB PSNR on a photo-like scene (gates 38/32),
no zipper or fringe along sharp edges for AHD, X-Trans neighbourhood
interpolation 43.6 dB and third-size binning 39.1 dB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:57:55 +00:00
Claude 1b3a691f76 feat(raw): DNG development pipeline with AHD demosaic, opcodes and DNG colour
Reads CFA and LinearRaw DNGs (compression 1/7/8/34892), linearises with
LinearizationTable, BlackLevel (repeat + deltas) and WhiteLevel over the
ActiveArea, applies OpcodeList1-3 (GainMap, WarpRectilinear,
FixVignetteRadial, FixBadPixels*, TrimBounds, MapTable/MapPolynomial,
Delta/ScalePer*), solves white balance per DNG 1.6 chapter 6 (CCT
interpolation, ForwardMatrix, Bradford to D65), demosaics with AHD
(Hirakawa & Parks 2005), bilinear, a neighbourhood interpolation for
non-Bayer CFAs or binning, and reconstructs clipped highlights.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:56:34 +00:00
Claude f14994a2f7 test(data): measure query cancellation latency from the cancel signal
The test timed from before CancelAfter, so a thread-pool timer firing
late on a busy 4-core Windows runner (parallel tests block pool threads
in synchronous SQLite steps) counted as interrupt latency. A dedicated
thread now records the moment it cancels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:55:50 +00:00
Claude 16b00296bf test(analysis): cover empty and fully unreadable deep-analysis sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:55:38 +00:00
Claude d8d25f1877 feat(advisor): add recommendations, apply, optimise and sequence presets
Rules for timing, frame rate, motion blur, deflicker, regions, holy-grail
transitions, white balance, stabilisation, aspect, output size and export
preset, each with a localisable reason and confidence; Apply fills Auto
values without touching manual ones; Optimise takes per-section module
decisions and reports changes; content-driven presets round-trip as JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:52:08 +00:00
Claude f9c83af609 feat(export): encoder selection with hardware preference, fallbacks and level caps
Client renders prefer hardware Media Foundation encoders, fall back from
HEVC/AV1 to H.264, drop to 8-bit and cap size/bit rate with reason keys;
the server reports that MP4 codecs need a render node.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:48:34 +00:00