# Change history This records the implemented application features. Versions before 1.10.0 were deployed snapshots and are not published Git tags. Changes merged since the last release are listed under Unreleased below and as fragments in [changelog.d/](changelog.d/README.md); `npm run changelog` prints both together. A release moves them under its version heading. ## Unreleased ## 2.6.1 — 2026-11-01 ### Before updating - **Expect former reboot alarms to clear.** After the update, cases blocked only because a reboot renumbered their files (for example "Approved replacement changed") continue at Recovery's next check, and quarantine retention may delete originals whose seven days have already passed. Approvals made before this version have no content sample and are recognised by size and modification time alone. ### Changes - **Keep the current copy** now also reaches older Recovery cases that recorded only Radarr's path of the imported replacement: the replacement is the file Radarr names in the film's own folder. See the [user guide](docs/USER-GUIDE.md#assess-an-installed-copy). - Review and Recovery recognise an unchanged film file after a reboot of the Unraid server, which gives every file on the user share a new device and inode number: quarantine retention, the record of a deleted quarantine file, the manual replacement of a confirmed original and the checks of an imported replacement accept the file when its size and modification time are unchanged and, where one was recorded, its content sample matches. A changed review item offers **Znovu ověřit soubory** after such a reboot. New approvals record a content sample of the installed copy ([ADR 0002](docs/adr/0002-file-identity-after-remount.md)). - Review lists sources that a flow refused to encode (Matroska container crop, non-square pixels) under **Better release recommended**, from a `.tdarr-advisory.json` marker the flow leaves in the Review folder. Such an entry cannot be approved: it offers only a Radarr replacement request (the original stays in quarantine) or **Keep**, which records the decision for that exact original ([user guide](docs/USER-GUIDE.md#better-release-recommended)). - The A/V preview of a Dolby Vision profile 7 original with an enhancement layer (for example a dual-layer UHD remux) no longer fails on the FFmpeg message "PPS changed between slices" printed after seeking. The message is tolerated only for such an original, only after a successful decoder exit and a valid preview; any other diagnostic still fails ([A/V comparison](docs/AV-COMPARISON.md)). ## 2.6.0 — 2026-11-01 ### Before updating - **Keep TV Off or in Discovery until the dedicated quarantine and v2 Tdarr flow are ready.** Existing v1 receipts remain visible as legacy records but are not eligible for Strict review. The v2 template contract differs from v1; review the documented compatibility impact before updating or importing a flow. No production flow import or update is part of this change. - **Older cases may offer Keep the current copy after the update.** Approving one writes approval evidence keyed by Radarr's file record. If you return to 2.5.0, Recovery ignores that evidence and keeps the quarantined original until you delete it yourself. ### Changes - Add an explicit Strict review mode for exactly bound single-episode SDR Matroska results, with the shared guided comparison, separate approval and installation, and an indefinitely retained original in the dedicated TV quarantine. V2 flow proof is required; legacy v1 receipts remain visible in read-only discovery but are blocked from strict review. After installation Review refreshes the exact Tdarr file and the affected Sonarr series, reporting pending metadata work without replaying the installation. See the [TV setup guide](docs/ADD-TV-PATHS.md) and [user guide](docs/USER-GUIDE.md#tv-series-discovery-and-strict-review). - **Keep the current copy** is now offered for replacements imported before Recovery recorded their exact file identity, checked against Radarr's record of the imported file, and for a transcoded copy that Tdarr later rescanned as *Not required*. Stopping the container no longer waits for an open browser tab until it is killed. See the [user guide](docs/USER-GUIDE.md#assess-an-installed-copy). - Review accepts the Dolby Vision 7 to 8.1 result profile (`tdarr-dv7to81-crf21-v1`): a Dolby Vision 7 dual-layer original converted to Dolby Vision 8.1 (base layer and RPU, no enhancement layer) with the same picture size and HDR10 static metadata is no longer blocked as an unknown HDR profile; any other combination stays blocked ([checks](docs/USER-GUIDE.md#why-a-film-is-blocked)). - Add a read-only TV installation history with durable episode/approval associations, bounded pagination and retained-original identity observations. New installations persist their journal context and exact index reference before touching media; old or incomplete records remain explicitly unverified. History is available with TV processing Off and does not contact upstream services. - The Sonarr inspector can compare the current files of one selected TV series with a complete Sonarr snapshot using a bounded, read-only filesystem observation. - Add an explicit, read-only TV season cohort and sample proposal based on current bounded Sonarr, strict-flow and technical metadata, with localized signature details. Missing supplementary HDR side-data remains unreported rather than being treated as absent; uncertain season or language metadata cannot establish a representative sample. The proposal never authorizes a batch or changes media. ## 2.5.0 — 2026-10-28 ### Before updating - **After closing cases or deleting quarantine, do not revert to 2.4.0 without expecting them back.** 2.4.0 does not read a case closed without a note, so it shows the case as not readable, and it does not know quarantine deletions, so a case whose preserved copy you deleted returns to Needs attention and can show a retention error. Neither moves or deletes anything; on 2.5.0 again they read as before. - **Expect Needs attention to change right after the update.** Cases that waited for a cooldown or the daily limit and went manual only because Radarr was briefly unreachable return to waiting on Recovery's first poll, and cases on another mount of the share start offering assessment, handoff and retry. Nothing is moved, approved or downloaded by the update itself. ### Changes - Needs attention is simpler: every case says in one sentence what you are asked to do, or why nothing can be done and that you can close it unchanged. Review refreshes the status on its own (the server every 10 minutes, a case when you open it), so the refresh buttons, the *Where the film is now* list and the blocker list are gone, and the diagnostic export moved to **Settings → Case diagnostics** ([guide](docs/USER-GUIDE.md#recovery-cases-that-need-attention)). - Recovery cases that need attention get clear actions: **Close unchanged** (formerly *Defer case*, the note is now optional) moves a case to the **Closed** list without approving anything, and **Keep the current copy** opens the short assessment of the copy in the library, now also when Tdarr skipped the replacement or its transcode failed. Every file in the **Quarantine** dialog can be deleted after a confirmation that names whether the film's current copy is in the library; Recovery treats the recorded deletion as the user's decision and the case moves to Done ([guide](docs/USER-GUIDE.md#delete-a-quarantined-file)). - Recovery cases recorded under Recovery's own mount of the media share (for example `/storage/movies` while Review reads `/media/movies`) now get their actions: **Assess the installed copy**, **Hand the replacement to Tdarr**, **Try the transcode again** and **Defer case** no longer refuse every such case. A brief Radarr or Tdarr outage no longer turns a waiting repair into a manual case: Recovery tries the read again on its next poll, a case that went manual only for that reason resumes waiting, and the failure appears under Needs attention only after it has lasted an hour ([Operations](docs/OPERATIONS.md#recovery-status-is-stale)). ## 2.4.0 — 2026-10-27 ### Before updating - **Reverting to 2.3.0 drops reviews saved in the single pass.** Reviews saved after the update use the new Switch listening mode, which 2.3.0 does not accept: on the older image they show as not started and their **Approve** decisions no longer count. Replace films approved after the update before reverting, or review them again on the older image. Reviews saved before the update are unaffected. ### Changes - The in-app review is now a single pass over the three excerpts: the picture fills the screen, each excerpt plays once with a new Switch listening mode (A toggles original ↔ transcode without a break), a prompt after each excerpt takes the picture, sound and sync confirmations by key, every confirmation is saved at once in review order, a reopened film continues at the first unconfirmed excerpt, and the decision (S approve, Shift+S approve and replace, Z reject, N next film) ends with the next film of the strip. Guided excerpts use the background-prepared Detail clips, and background preparation favours the films after the one under review ([guided comparison](docs/GUIDED-COMPARISON.md)). ## 2.3.0 — 2026-10-27 ### Before updating - **Download and import diagnoses need a manual refresh.** After updating, affected Recovery cases show their diagnosis as unverified until you choose **Refresh status**. Opening the page does not contact Radarr, and a failed or incomplete read remains unavailable. - **Finish every restore before reverting, then keep Recovery Off on the older image.** Reconcile or complete restore operations while running an image that supports them. Older images do not honor the Review restore fence or exact restored-edition evidence; an enabled worker could ignore an unfinished restore or reconsider the restored original. Do not delete a pending restore journal or fence to make an older image start. ### Changes - Use the mint film-frame and approval-check PNG icon for the Unraid application template and Community Applications repository profile. - Add the [guided comparison workflow](docs/GUIDED-COMPARISON.md), with excerpt-based playback, explicit observations and server revision checks. - Every Recovery case under **Needs attention** now says what happened, where the film verifiably is (library, quarantine, Review result, Tdarr, Radarr) and what you can do, with the recommended action on the card and in the first tab of the detail, what each action changes, and what blocks the rest. The server computes this; **Refresh status** and **Verify the status of all cases** only read Radarr, Tdarr and the library again. A case continued by a verified follow-up is listed once. English and Czech ([user guide](docs/USER-GUIDE.md#recovery-cases-that-need-attention)). - A Recovery case whose transcoded result is already in the library, with no approval yet, can now be assessed as it is: in your own player, with a named device, explicit picture, sound and sync confirmations, and a required note. Approving it, after its own confirmation, starts the usual quarantine retention. Review says plainly that only the current copy is assessed and that approval does not prove the transcode is faithful to the original; nothing is transcoded, downloaded or moved. English and Czech ([user guide](docs/USER-GUIDE.md#assess-an-installed-copy)). - A Recovery replacement that was imported but never got a Tdarr entry now appears under **Needs attention**, and Review can hand exactly that file to Tdarr after its own confirmation: Tdarr rescans it and queues it by its own rules. Review checks the file, its stability, Tdarr workers, earlier jobs and Holds first, never releases a Hold, and asks you to confirm that you checked Tdarr before retrying an unconfirmed handoff. English and Czech ([user guide](docs/USER-GUIDE.md#hand-a-replacement-to-tdarr)). - A Recovery replacement whose Tdarr transcode ended as **Transcode error** or was skipped as **Not required** now says why: Review reads the newest error job of that exact file and shows the cause category, with the recognized decoder message for decode damage only. Review offers one retry of the transcode unless the cause is decode damage or the report cannot be read, and a replacement that Tdarr skipped as **Not required** can be assessed as an installed copy, with the disclosure that it was not transcoded. English and Czech ([user guide](docs/USER-GUIDE.md#a-failed-or-skipped-transcode)). - For import-blocked and failed-download Recovery cases, **Refresh status** now checks the exact case/movie binding and reads the movie plus a complete bounded queue page from the effective Radarr connection. Review shows only a safe diagnosis and links to the verified movie or general queue; a generic download failure is not called an import problem, and unclear or unavailable evidence stays unverified. Nothing is imported, searched, retried or removed. English and Czech ([user guide](docs/USER-GUIDE.md#recovery-cases-that-need-attention)). - Add an explicitly confirmed, safely coordinated way to restore the exact quarantined original for eligible manual Recovery cases; see the [user guide](docs/USER-GUIDE.md#return-a-preserved-original). - Review now explains approval and quarantine-retention evidence mismatches with a fresh, read-only diagnosis and a safe next step; unreadable or changed evidence remains unavailable and preserved. - Review lets signed-in users defer an eligible Recovery attention case with a required shared note, find it in a separate Deferred list and reopen it manually. A material phase, file identity or binding change restores attention. Deferral does not approve a result or change Recovery, media, quarantine or retention state. - Review offers an explicit, redacted single-case Diagnostic export (JSON download) for Needs attention and Deferred cases, built only from current local records with no Tdarr or Radarr request and no change to the case, notes, approval, quarantine or retention. - Add an optional inactive TV library path draft and read-only saved-path diagnostics; TV episode discovery and replacement authorization remain future work ([guide](docs/ADD-TV-PATHS.md)). - Prepare a separate, inactive Sonarr episode-file binding foundation with exact linked episode IDs and explicit ambiguity checks; TV discovery and processing remain unavailable. - Add Codex subagent roles and a delegation protocol for scoped implementation, independent review, and concise delivery reports. - Add an optional manual, read-only Sonarr series and episode metadata inspector. TV processing remains unavailable. - Add a manual read-only Sonarr EpisodeFile source-path check using exact configured TV path mapping and an isolated bounded worker; TV processing remains unavailable. - Claude Code and Codex share one [issue cycle and orchestration protocol](docs/agents/orchestration.md): own unfinished work first, delegation to lower-cost subagents, quiet cycles, and cleanup of an agent's own worktree and local branch after its PR is merged. - Add a manual, read-only Sonarr check that associates one selected TV episode file with exact supported Tdarr result, receipt and job evidence. - Add a manual, selected-file TV technical-facts inspection after the current Sonarr binding and supported Tdarr receipt/job are verified. The bounded probe reports allowlisted source and result metadata only; it does not establish health, approval or eligibility. - Add an offline v1 TV Review flow template and guide with conservative source checks, full decode, non-overwriting Review staging, and exact-job receipts; the TV library remains inactive until configured and separately approved. - Added read-only discovery of TV results (#271). The TV library gets a mode, off by default or discovery; in discovery a new **TV series** section lists each result by series, season and episode when its receipt, Tdarr job, source mapping and exactly one Sonarr episode file agree, and lists every other result as unbound with a reason or as binding not verified when Sonarr cannot confirm it. Nothing can approve, reject, replace or retain a TV result yet, and movie records are untouched ([user guide](docs/USER-GUIDE.md#tv-series-discovery-mode), [TV paths](docs/ADD-TV-PATHS.md#discovery-mode)). A Sonarr address without a base path (`http://sonarr:8989`) now reaches the Sonarr API in the manual inspector too. ## 2.2.0 — 2026-10-20 Settings Apply clears only what a change requires and needs a Test first, every reader of Recovery's configuration and of its files in Review gives one verdict, and several internal modules were split out without a change in behaviour (the approval transaction, an importable Recovery worker with one frozen-deferral module, the Recovery authority, the review rules shared by server and browser). Read the section below before updating an existing installation. ### Before updating - **Apply no longer always clears saved reviews.** After this update, applying settings keeps saved reviews and **Approve** decisions unless the review binding changes, and **Apply changes** first needs **Test saved draft**, which shows what applying would clear. A script or tool that calls `POST /api/shared-settings/apply` must send the `invalidation` reported by `POST /api/shared-settings/test`. ### Changes - Settings **Apply** now refuses (`settings_registry_invalid`) a configuration that Recovery would refuse at start-up because its state holds a historical approval with no approval registry behind it. Previously Apply committed such a generation and the restarted Recovery then refused with `registry-refused`. Every reader of Recovery's configuration and approval registry now asks one module, so they accept and refuse the same files. - Settings **Apply** clears only what the change requires: nothing for the installation name, public address, Radarr or Recovery-only settings; only prepared samples for the FFmpeg path; saved reviews, **Approve** decisions and samples only when the review binding changes (paths, library, Tdarr address or database, FFprobe). **Test saved draft** shows this with the number of films affected, **Apply changes** needs that Test and stops if applying would clear more than it showed, and the settings history records what was shown and what was cleared. English and Czech ([user guide](docs/USER-GUIDE.md#configure-review-and-recovery)). - Review reads Recovery's status file, runtime state and case state through one module, so health and the Recovery list judge the same file the same way. A status file with another version or without its case list now raises `recovery-status-stale` in health (before only the Recovery list rejected it), and one without an update time is now an error in the Recovery list too (before only health flagged it). ## 2.1.0 — 2026-10-19 Shared Review and Recovery settings with an explicit Apply, approval without immediate replacement, a replacement queue, the Kino review layout with a film strip, stricter Recovery configuration checks, unreadable file identities that never match, and more recognized decoder errors. There are no breaking changes for a correct configuration; read the section below before updating an existing installation. ### Before updating 1. **Check Recovery's `config.json` against the new rules first.** Recovery now refuses a `config.json` with a missing setting or an unusable value (`RECOVERY_REFUSED invalid-config`); 2.0.0 accepted some of these silently. Review keeps running, but Recovery stays **Refused** until the file is fixed. If `RECOVERY_MODE` is `verify` or `repair`, run [the read-only check](docs/CONFIGURATION.md#check-a-configjson-before-an-update) with `NEW_VERSION` set to `2.1.0` (or the `sha-` tag you are about to install) before you update. It starts no Recovery, has no network and prints only the mode, the reason and the setting with its rule, never a value; only the line for your mode matters. If it fails, correct the named setting in `/data/recovery/config.json` ([accepted values](docs/CONFIGURATION.md#configjson)) while 2.0.0 is still running, then run the check again. With `RECOVERY_MODE=off` Recovery does not start and the check is not needed. 2. **Settings take effect only with Apply, and the first Apply is one-way.** After the update, Review and Recovery keep using the existing `/data/settings.json`, `/data/radarr.json` and `/data/recovery/config.json` until you choose **Apply changes** (**Použít změny**) in the new settings dialog. Saving connection, path or Recovery settings (**Save draft**, also through **Configure Review** and **Configure Radarr**) only stages a draft; nothing changes until Apply. Sample-preparation settings stay separate and take effect as before. The first Apply writes `/data/shared-settings.json`, which from then on is the only authority for both applications: later edits of the old files no longer change active settings (Review reports them as an external change to resolve), there is no way back to the old files and no automatic rollback of an applied generation. Every Apply also clears saved review progress, **Approve** decisions and prepared samples, as a settings Save did in 2.0.0. Apply does not write the old files, and 2.0.0 does not read `shared-settings.json`: after a return to 2.0.0 it runs with the values from before the first Apply. If you may want to roll back, back up `/data` before the update and apply settings only after 2.1.0 is verified; after a rollback, restore that backup or carry changed values into the old files by hand. 3. **`FILE_IDENTITY_INVALID` may appear.** A recorded file identity that cannot be read now never counts as a match. Identities written by 1.11 and 2.0 are always readable, so this appears only for a record whose identity is missing or damaged, for example a manual Radarr replacement whose quarantined file was recorded without an identity (2.0.0 left such a file in quarantine and reported the restore as successful). It does not mean the film is corrupt: nothing was moved, renamed or deleted, and the quarantine is kept. The replacement or Recovery case shows as needing attention with the unreadable-identity reason, an interrupted replacement stays pending with `Neplatná identita souboru v záznamu výměny.` and blocks approvals, and a review item is blocked with its own reason. Inspect the record and the preserved files by hand ([Operations](docs/OPERATIONS.md#error-or-ambiguous-state)); do not edit the identity to make it match. 4. **What is prepared again after the update.** The preview renderer identity changed, so at start-up Review removes the prepared samples of 2.0.0 and prepares the default samples of the waiting films again (by default at most 5 films, 4 GiB): one rendering job at a time at the lowest CPU and I/O priority, with opened films taking priority. Expect some extra CPU and disk load for a while after the start; Apply later triggers the same preparation again. With `RECOVERY_MODE` `verify` or `repair`, Recovery reads once more the Tdarr job reports since `since` that it skipped as unrecognized (up to 100 reports per poll). A report that now matches a recognized error (DTS core, Matroska structure, Matroska or MPEG-2 bitrate preflight) becomes a new case, and its original is usually decoded twice in full (one new case per poll, at the lowest priority); Recovery acts on it only as your mode and the existing confirmations allow. With many such jobs this can keep one CPU busy for hours; their number depends on your Tdarr history. Nothing else is recalculated by the update itself: saved review progress, history, journals and quarantine stay as they are. ### Changes - Every browser module now loads under one URL carrying the app version, filled in by the server. Previously some modules (for example `i18n.js`, `ui-kit.js`, `review-model.js`) were imported under different `?v=` strings and evaluated twice, which could split module state such as the interface language. - The overview labels each film's review state (ready, in progress, completed, deferred, duration difference, technically blocked) with text and an icon, and selection mode explains why a film cannot be selected for batch approval, with a link to its review and the number of selectable films (English and Czech). A disabled selection no longer comes without a reason. - Kino layout, first part: on windows at least 1200 CSS px wide the film review fills the whole window, the review steps become a compact bar and the image/video comparison takes most of the height (bounded by height on ultrawide screens, aspect ratio kept); still frames sit above their time controls. Narrower windows and high zoom keep the existing compact layout. - Attention lists unresolved exchange transactions read-only with the film, journal phase, reason and journal file name, and points to the manual inspection steps (English and Czech). The `recovery` field of `/api/items` now carries that projection instead of the raw journals, so it no longer exposes filesystem paths. - In the library (gallery) view, the savings and the **Review** (**Posoudit**) button sit at the bottom of every card, so the buttons in one row line up regardless of title length, blocking reasons or preview status. - A film whose files changed only in their metadata change time (ctime) no longer loops between the list and "The item has changed". It is blocked with an explicit **Verify the files and start a new review** action that checks the Tdarr job binding, the FFprobe technical data and stable identities during verification; success starts a fresh review (earlier checks never carry over) and is logged as `item.reverified`. Other changes stay blocked with guidance, and the list no longer offers a review for an unverified snapshot (`item_needs_verification`). English and Czech. - Review's manual Radarr replacement no longer releases a Tdarr Hold that Recovery keeps for the same imported source (after confirming its own decoding error), and never rescans such a protected entry. If Recovery's state cannot be read, the handoff waits with a visible reason instead of releasing the Hold. - Review's manual Radarr replacement uses Recovery's Tdarr handoff, download-queue projection and quarantine retention modules instead of its own copies. The handoff now refuses a target that is not a normalized absolute path (for example a Tdarr source root containing `//`) before contacting Tdarr; the request stays visible with the error instead of querying or rescanning a wrong path. - Recovery recognizes four DTS core decoder errors (`Residual encoded channels are present without core`, `Invalid isolated sample location`, `Invalid bit allocation index`, `Failed to decode block code(s)`) and the Matroska `exceeds containing master element` structure error as candidates for its independent two-pass original check, with signatures free of process addresses. A Matroska structure error counts even with FFmpeg exit 0. Tdarr jobs skipped earlier as `not_confirmed_decode_error_v3` are reconsidered once; still-unrecognized ones become `not_confirmed_decode_error_v4`. Two matching decodes of the unchanged original and an exact Radarr binding remain required, and operational failures still win. - Restoring a manual Radarr replacement no longer reports success when the original or the Review result is in quarantine without a recorded file identity. Previously that file was silently left in quarantine while the rest of the restore completed and the request showed as restored; now nothing moves, Radarr is not changed and the request needs attention with the unreadable-identity reason. - A recorded file identity that cannot be read now never counts as a match and is reported with its own reason. Previously some malformed recorded values (four fields, an empty or non-numeric ctime or device) matched: quarantine retention could purge a quarantined original, Recovery could restore or remove a preserved copy, an interrupted replacement could be rolled back and a missing value produced a raw `TypeError`. Such cases now stay in place: an interrupted replacement stays pending with `Neplatná identita souboru v záznamu výměny.` (approvals stay blocked), replacement and Recovery cases show attention with `FILE_IDENTITY_INVALID`, and a changed review item is blocked with an unreadable-identity reason (English and Czech). Identity bytes, case IDs and the handling of valid identities are unchanged; every file identity is now produced and compared by one module. - AV samples of open-GOP H.264 sources no longer fail with `mmco: unref short failure` at a clip time just past a keyframe: this decoder diagnostic now qualifies for the existing single retry with 30 seconds of preroll, and the retry must pass the same strict checks. Older cached samples are re-prepared after the update (#134). - Test and Apply validate the manual Review quarantine's directory, permissions and filesystem/mount boundaries whenever Radarr is configured, including Recovery Off. Diagnostics create no directories; an unavailable quarantine is refused before activating a generation. - Add guided shared Review/Recovery settings in English and Czech: persistent offline drafts, explicit diagnostics and Apply/Cancel, complete atomic configuration generations, safe Recovery drain/restart, migration choices, protected frozen/in-flight mappings and bounded private audit history. Recovery mode remains controlled by RECOVERY_MODE; saving never starts repairs. - Preserve optional full-file hash progress in Recovery live status; exercise confirmation, changed-source refusal and public progress against the running worker. - Explain missing review-step requirements when Save and continue is activated, including HDR devices, manual confirmations, track pairs, saved synchronisation checks and temporary blocks (English/Czech). - Include diagnostic acceptance rules in the preview renderer identity so updates cannot reuse samples prepared under an older diagnostic policy. - The rejection archive `rejection-decisions.jsonl` no longer follows a symlink: like the decision audit, a symlink, directory or named pipe in its place is refused, so the rejection fails and keeps the review copy instead of appending to another file or blocking (#125). - The `Publish Docker images (manual)` workflow can move `latest` to an already published image by its verified digest (`promote_digest`) without rebuilding. It checks that the image exists in GHCR and that its revision label is the approved `main` commit, and leaves the version and `sha-` tags unchanged ([Releases](docs/RELEASES.md#move-latest-to-a-verified-image-without-rebuilding)). - **Recovery refuses a `config.json` with a missing setting or an unusable value** (`RECOVERY_REFUSED invalid-config`), at start-up and in the restart notice for a later edit. Until now, for example, `"stableMinutes": "10 min"` or a missing `stableMinutes` silently disabled the source stability wait, and `"detectTerminalHeaders": "false"` enabled the check. The refusal names the setting and its rule, never its value; unknown keys are still ignored. The accepted values are listed in [Configuration](docs/CONFIGURATION.md#configjson), and [a read-only check](docs/CONFIGURATION.md#check-a-configjson-before-an-update) tests a file against the new rules before you update. The shipped example and a typical 1.11 configuration pass. - Recover prepared MPEG-2 comparisons for a narrowly recognized Matroska initialization-header condition, preserving source bytes, strict decoding errors, shared timing and bounded processing. - Recovery no longer stops before the original check when Radarr's history cannot bind the exact release: it still decodes the unchanged original twice without changing anything, and Review shows the case as **Faulty original without a release binding** with the exact missing evidence (import missing, incomplete or conflicting; grab missing, conflicting or incomplete). English and Czech. - A Recovery case stopped because the Radarr release history cannot be bound, with the original confirmed faulty by two checks, now offers **Request another copy through Radarr** on its Recovery tab: the existing manual replacement without a Review result, bound to that case, movie and unchanged original. The original stays in quarantine with a Tdarr Hold; nothing is blocklisted or inferred. English and Czech. - A replacement confirmed while another replacement or batch runs is queued instead of refused: replacements run one at a time, a repeated confirmation adds nothing, the queued film is locked, and its files and review are checked again before its turn. After a restart queued replacements never start by themselves; Attention lists them as interrupted. English and Czech. - While a film is being replaced, other films can be opened, compared, reviewed and approved; their saved reviews survive the replacement and a restart. The film being replaced and films still waiting in a running batch stay locked (`item_in_operation`) and explain why. Further replacements still wait for the running one. English and Czech. - The Decision step offers **Approve** (records a durable decision bound to the snapshot and saved review revision, touches no file and schedules no replacement; the film shows "Approved · waiting for replacement") separately from **Approve and replace**. Batch replacement ("Replace selected approved films") now takes only explicitly approved films. English and Czech. - Kino layout: the checks, note and decision buttons sit in a panel beside the comparison on wide windows. **Checks and decision** opens or closes it and **Focus on the picture** hides it together with helper texts; neither changes the review. Narrow windows are unchanged. English and Czech. - Kino layout: a film strip at the bottom of the review switches to another film without closing the detail. The film you leave keeps its unsaved changes as a draft (marked in the strip) and gets them back when you return; switching saves nothing and never carries checks over. Arrow keys, Home and End move along the strip. English and Czech. - Surface original-media bitrate-preflight failures in Recovery, confirm finite Matroska truncation conservatively, and preserve fatal MPEG-2 compatibility failures as actionable manual cases. - Video and audio samples whose selected audio track (for example DTS-HD MA) changes its decoded sample format after the seek are now recovered with an earlier seek (30 s, then 60 s of preroll), for any video codec, after strict validation. The original and Review copy share one 180-second limit. When recovery is exhausted, the error names the side and the review offers the existing external-player method. English and Czech. - Every Tdarr Hold that Recovery or Review writes is now read back before the action it protects. If Tdarr does not confirm it (or does not know the file), the quarantine, the return or removal of a kept source, and the manual Radarr replacement stop with the files in place, instead of continuing on an unverified Hold. ## 2.0.0 — 2026-10-15 Review and Recovery become one container. Installations that ran the separate Recovery container follow [the 2.0 migration guide](docs/MIGRATE-TO-2.0.md), which copies the old Recovery data and keeps frozen approval evidence unchanged. ### Breaking changes - The separate `ghcr.io/desadius/tdarr-recovery` image is discontinued; no 2.0 version of it is published. The Review image contains Recovery. - **Compose:** the `recovery` service and the `recovery` profile are removed; `compose.yaml` has one `review` service. `docker compose --profile recovery …` no longer finds the service, and `--remove-orphans` would remove an old Recovery container that is still running. Remove it deliberately as the migration guide describes. - **Compose:** `.env` no longer uses `RECOVERY_IMAGE_TAG`, `RECOVERY_DATA_HOST` or `TDARR_REPORTS_HOST`. New: `RECOVERY_MODE` (`off`, `verify`, `repair`; default `off`). - Recovery's data directory moves to `/data/recovery/` inside Review's data directory (`config.json`, `state.json`, `pending-approvals.json`, caches). - Recovery uses Review's mappings. The example configuration now uses `/media/movies`, quarantine `/media/.tdarr-corrupt` and reports `/tdarr/JobReports` instead of `/storage/...` and `/reports`. Existing frozen paths are never rewritten: keep them with an extra `/storage` (and, if frozen, `/reports`) mapping to the same host folders. - `RECOVERY_MODE` is the only Recovery switch; `enabled` in `config.json` is deprecated and must match it if present. An approval registry that froze `enabled: false` refuses `repair`; one that froze `enabled: true` allows both modes. - Resource limits of the template and Compose rise to `--cpus=2 --memory=2g --pids-limit=256`, shared by Review and Recovery. Unraid does not change Extra Parameters of an installed container; raise them when you edit it. ### Documentation - Add [the 2.0 migration guide](docs/MIGRATE-TO-2.0.md): stop and back up while idle, copy the old Recovery data to `/data/recovery/`, keep `/storage` paths with a mapping, map `/reports` or point `reports` at `/tdarr/JobReports`, derive `RECOVERY_MODE` from the old `enabled` (including a mode pinned by the registry), remove the old container, verify health, runtime state and status file, delete old data later, and roll back, recreating the old Recovery container from its kept Unraid template or the listed 1.11 settings. It includes a command that lists which keys the registry freezes without printing values. - Installation, configuration, operations, Community Applications, architecture, release and registry migration documents and the Czech overview describe the single container. ### Review: Recovery runtime status - Show Recovery's supervisor state (**Off**, **Running**, **Restarting**, **Refused**, **Stopped**) and reason in Review, separately from film cases and unfinished file-exchange transactions. Missing runtime state shows **Off** without attention; invalid or unreadable state is reported without exposing configuration or stderr. - Add `recovery-original-outside-library` attention when a replacement request paused by Verify has kept the original outside the library for more than 24 hours. The Recovery view moves the case to **Needs attention** and tells the user to remove the stuck download in Radarr, after which Recovery returns the original on its next poll (English and Czech). The health check result does not change. - Add refused-worker, crash-loop and unreadable-runtime attention to the operational health summary while keeping container health tied to Review availability. Warn before restarting or updating the unified container while Recovery reports original decoding or a mutating phase. ### Recovery worker - Fix: a registry approved for Repair (frozen `enabled: true`) no longer refuses `RECOVERY_MODE=verify`, because Verify is strictly narrower. A registry frozen to Verify still refuses Repair, and every other frozen key still needs an exact match. The start-up check, the per-poll pending-approval check, the `configChange` validation and the offline migration utility use one shared rule. The status file reports the modes the registry allows as `registryAllowedModes`. - Verify now pauses non-protective steps of in-flight repairs: kept-source removal and replacement requests, Tdarr handoff, and quarantine purge. Protective restoration with its existing conditions and read-only observation continue. Review shows the paused step and original location/time in English and Czech; Repair resumes from fresh checks. - The Recovery mode now comes only from the `RECOVERY_MODE` environment variable: `verify` confirms corrupted originals and continues only protective steps of in-flight repairs (the former `enabled: false`), `repair` may act on a confirmed corruption (the former `enabled: true`). Set it from your current `enabled` value when updating. - `enabled` in `config.json` is deprecated. A matching value is still accepted. A conflicting one, a missing or invalid mode, a missing, unreadable or invalid `config.json`, and an approval registry that refuses the configuration stop the worker before any API contact with exit code 78 and a final `RECOVERY_REFUSED ` log line that never contains configuration values. A running worker reports a `config.json` edit whose `enabled` conflicts with the mode as invalid. - The offline registry migration utility checks `config.json` with the same `RECOVERY_MODE` as the worker; run it with the mode the worker will use. - Fix: the running worker now actually publishes the `configChange` restart notice introduced in 1.11.0. Its live status publisher dropped the field, so Review never showed the notice for edits made while the worker ran. ### Container image - The Review image now contains Recovery and the offline registry migration utility (`/tools/migrate-recovery-registry.mjs`). Its entrypoint is tini, which runs the supervisor; the supervisor starts Review and, when `RECOVERY_MODE` is `verify` or `repair`, the Recovery worker at the lowest CPU and I/O priority with its data in `/data/recovery/`. Unset or `off`, the default, behaves as before: only Review runs. The read-only root, dropped capabilities and UID 99:100 are unchanged. ### Development and tests - Docker smoke builds and tests only the Review image: tini and the supervisor at the default entrypoint, no Recovery process by default, the actual worker under `ionice`/`nice` in `verify`, a missing Recovery config reported as `refused` while Review stays healthy, the packaged migration utility, and a container stop within 10 seconds. `npm test` fails when the image would miss a module that the migration utility, the supervisor or the worker imports. - `npm test` ends with a list of every skipped test and its reason, so a green run on Windows no longer hides the Linux-only tests that did not run. - Add the manually dispatched `Linux tests (manual)` workflow, which runs chosen suite files (optionally filtered by test name) on Linux without the Docker jobs, and `tools/test-select.mjs` behind it. - `npm run check` refuses new tests that read implementation source text instead of exercising behaviour; existing ones are allowlisted until they are rewritten. - Add `CODING_STANDARDS.md` for reviewers (behaviour tests, a red per behaviour, every reader of a changed file) and a list of the readers of Recovery's `config.json` and approval registry in `docs/ARCHITECTURE.md`. - Rename the domain glossary `CONTEXT.md` to `GLOSSARY.md`, following the agent skills' new convention. - Development moves to WSL2: `AGENTS.md` and `docs/DEVELOPMENT.md` describe Linux tests, the local image build, Docker smoke and `test:docker` there, and the Windows-only instructions are removed. `npm run test:docker` downloads `node:24` once on the host when it is missing instead of failing, and stops with the command to retry when the download fails. - `tools/test-select.test.mjs` no longer fails when `FORCE_COLOR` colours the test reporter output. ## 1.11.0 — 2026-10-13 ### Review: workflow and interface - Show the Tdarr nodes Review will resume, with the film and time each was paused for, and let you keep a node you paused yourself paused (with confirmation), so a maintenance pause set during an action is no longer undone. Retry a failed node restore from a server timer with backoff (15 s doubling to 10 min, reset after any successful restore) instead of on every `/api/items` poll, so reading the dashboard no longer changes Tdarr state. - A film blocked by the strict video rules says which check failed (video track count, original codec, result codec, pixel format or resolution). The user guide explains every blocking rule. - The Recovery view shows when Recovery's `config.json` was edited and needs a restart, in red when the next start would fail, and the progress of an optional full-file hash in the case list and detail. - API errors carry a stable `code` (with optional `params`) next to the Czech `error` text. The UI shows them in the selected language from a shared Czech/English message table, including review-session and sample-identity errors; 19 of those previously had no English text. Missing English translations for file-identity, review-save and preview errors were added. - The quarantine dialog and Radarr settings show the retention period reported by the server instead of a fixed "7 days". ### Review: safety, records and operations - Append every finished approval and Radarr replacement request to a durable `decision-audit.jsonl` in `/data` (fsynced, rotated at 10 MiB into timestamped archives that are never deleted), in addition to the 150-entry history. - Write one JSON line per approval, rejection, replacement request, batch, settings change, node pause/resume/keep, unresolved transaction and request error to the container log, never including keys, tokens or review evidence. - The container health check reads a loopback-only `/health` summary and also requires the UI (`/`, `/app.js`). Pending exchange transactions, node restores and a stale Recovery status are written to Docker's health log without marking the container unhealthy. - Centralize the concurrency policies: a mutating request is reserved before reading its body or running preflight, so competing approvals, batches, settings changes, restores and previews are refused with HTTP 409. Recovery-safe settings/preview access and review-session revision queues are preserved; discovery scans no longer write state during foreground work. - Prune expired login sessions and finished login rate-limit windows at start-up, on login and hourly. - Report the application version from the image build (or `package.json`) instead of a literal. ### Recovery worker - Detect edits to `config.json` after start-up: log that a restart is required and report `configChange` in the shared status file. An edit is checked against the same approval-registry rules as start-up, so a change that would stop the next start (such as a changed frozen library value) is reported invalid with the rule, never the value. The running worker still applies configuration only at start-up. - Optional setting `fullSourceHash` (default off): compare a full SHA-256 of the original at confirmation and again before Recovery changes anything in Radarr or Tdarr for the repair, at idle I/O and CPU priority with progress in the status file. Sampling stays the default. ### Development and tests - Split `review/server.mjs` into route modules (`review/routes/`) and `review/public/app.js` into UI modules, without behaviour changes; both receive one explicit state context. - Add `npm run typecheck` (pinned development-only TypeScript, CI only) for JSDoc types in `review/core.mjs` and `recovery/policy.mjs`; nothing is added to `package.json` dependencies or the images. - Add `npm run test:coverage` (Node 24 built-in coverage in CI) and `npm run test:docker` (full Linux suite from Windows with a read-only repository and no network); Windows runs report POSIX-only tests as explicit skips. - Add HTTP concurrency tests against the real server, a check that every authored server error has an English translation, a version-consistency check in `npm run check`, and regression tests for every change above. - Document and test that a Recovery-returned hardlinked original stays blocked in Review while its quarantine protection is kept; document manual Tdarr pauses during a Review action. - Remove the unused `sourceRelative()` helper with hard-coded installation prefixes. - Add shared agent configuration for the issue tracker, triage labels and domain docs (`AGENTS.md`, `docs/agents/`). ## 1.10.5 — 2026-10-13 - Prepare the existing picture/audio/synchronization samples for waiting Review films in advance, with persistent private cache and bounded low-priority background work. - Load prepared samples inside the review steps without auto-playing audio, saving manual confirmations or creating technical-score evidence. Other times and track pairs remain on-demand requests. - Add ordered preferred/fallback audio languages, unambiguous main-track matching and an explicit optional other-language fallback. Saved manual pairs override suggestions. - Expose preparation progress and configurable cache size, film count and expiry. Pause/preempt background decoding for foreground requests and media mutations; stop background work at the cache budget rather than cycling evictions. - Mark each dashboard film's sample readiness with a distinct icon/color/text badge and active progress count/bar in both layouts. Keep sample readiness separate from manual review completion and preserve focus during unchanged polls. - Retry a narrow H.264 seek failure once from an earlier decoder position while preserving the exact selected interval and all strict preview checks. - Remove obsolete renderer artifacts from the owned cache on startup so updates cannot consume the budget with samples that are no longer reusable; retain valid prepared artifacts. - Bound Compact and Detail AV previews with 3 Mb/s and 10 Mb/s VBV ceilings respectively, preserving the selected dimensions, 12-second interval and shared audio/video timing. - Tolerate only the exact Matroska keyframe-cue warning after successful extraction and output validation; retain decoder errors and reject incomplete PCM waveform samples. - Keep the shared Recovery status snapshot readable across atomic refreshes, including access through SMB, while retaining private permissions for worker state and settings. - Stop the Recovery worker cleanly on SIGTERM/SIGINT (exit code 0 instead of 137 after the Docker stop timeout): an idle wait ends at once, and a check already in progress finishes its step before the worker exits. ## 1.10.4 — 2026-10-13 - Compare synchronized videos in one larger picture with a draggable divider; retain the side-by-side option. - Add optional playback-only movement between 25% and 75%, keyboard/touch control, and pause-safe cleanup. Manual movement disables automatic movement. - Offer bounded 960×540 and 1920×1080 preview profiles, preserving display aspect ratio and existing audio timing. These remain SDR/mono previews; native frames and external HDR/surround checks are still available. - Keep manual review confirmations separate from playback and preserve the existing approval and source-identity checks. ## 1.10.3 — 2026-10-12 - Handle absent historical follow-up fields safely when opening recovery details and quarantine links. - Separate unavailable/stale observations from actionable recovery failures, and use the exact follow-up case's own observation time. - Display legacy replacement status through its exact stored Radarr path and unique Tdarr library row. This read-only association supplies no approval or cleanup authority and never manufactures fingerprints. - Show Radarr's actual blocked-import messages, separate download progress from import/transcode/approval, and suppress obsolete downloader warnings after a confirmed handoff. - Display the rolling daily-quota release time for frozen approved cases without changing authorization or repair limits. - Explain each quarantine copy's retained state, deadline and exact recovery link; distinguish logical file sizes from physical disk usage. - Distinguish a metadata-only timestamp mismatch from other installed-copy changes while retaining the same strict quarantine protection. - Provide an optional Tdarr flow function requiring Review for Recovery replacements, including historical cases. Ordinary SDR routing remains unchanged; unavailable/stale Recovery status fails closed before original replacement. - Keep existing assessment/revision, authentication, source identity, paired-file and retention checks. No migration or historical approval reconstruction is performed. ## 1.10.2 — 2026-10-12 Published as [v1.10.2](https://github.com/Desadius/Tdarr-Review/releases/tag/v1.10.2), with tested public `1.10.2` and `latest` images. Source publication, registry image publication and installation are separate operations. - Add a five-step review workspace with manual confirmations beside the picture, audio and AV tools; preview playback never completes a check. - Save review progress and deferral on the server. Record the selected track pair and server-timed observations for picture, audio and separate start/middle/end synchronisation checks. - Require the completed current-snapshot review and its current revision for approval, including whole-batch preflight. Concurrent saves use revision checks; changed files, devices or track pairs invalidate the affected confirmations. - Support reviews already performed in an external player/TV, with a named device and separate HDR/Dolby Vision confirmation. - Add playable 12-second H.264/mono AAC AV comparisons with shared seek, sound switching and frame stepping; native HDR and surround playback remain external checks. - Add English/Czech interface selection, including workflow controls, confirmation dialogs and known status messages. - Validate with 297 Linux tests, AV fixture/HTTP checks, approval HTTP integration and reopening a saved review on a healthy local deployment. ## 1.10.1 — 2026-10-12 - Continue observing manual Review replacement requests after Radarr import, using the exact replacement path and original Tdarr library binding. - Expose current Tdarr state, observation time, separate observation/retention errors and approval-based quarantine cleanup state without publishing private paths. - Keep Tdarr success distinct from explicit Review approval and seven-day retention evidence. - Resume automatically diagnosed daily-quota cases after capacity clears using frozen source/history evidence. Hold the exact bad edition during the wait and avoid repeating full decodes, including terminal-header cases. - Persist frozen repair authorization in `/data/pending-approvals.json`, separate from source/images. Validate it before APIs; provide an offline backup and exclusive migration utility. Completed legacy metadata remains non-authorizing history. - Publish measured original-decode progress for each verification pass, bounded heartbeat updates and an ETA when duration/rate are known. Separate decoder measurements, worker liveness and cached Tdarr observation times. - Recognize reproducible DTS-HD XLL band-data failures. Reconsider old unrecognized job reports once; a failed converted-file check alone never authorizes a replacement download. - Link an imported replacement to its exact follow-up Recovery case in Review, including measured progress, retry time and a direct case link. Flag ctime-only historical differences for display without relaxing repair identity checks. Do not transfer approval or quarantine cleanup authority across cases. - Diagnose a distinct failed replacement during its movie cooldown. Only repeated unchanged-source decoding evidence may hold the exact edition while preserving it in the library; cooldown and daily download limits still apply. Resume with verified frozen evidence, without another decode. - Reconcile automatic Recovery handoffs after interruption using the exact file/library state. Preserve active, queued and terminal jobs; uncertain writes are never blindly replayed. - Show completed original diagnostics, disabled repair actions and held replacements explicitly in Review. Neither a progress stream ending nor a completed diagnostic approves a conversion. - Separate read-only source CI from manual Docker publication for an approved main commit. Updating `latest` is disabled by default; deployment is a separate step. ## 1.10.0 — 2026-10-11 - Separate attention dashboard, library, recoveries, history, savings and settings. - Unified film detail with overview, comparisons, recovery and technical data. - Authenticated Radarr poster proxy with exact movie matching, bounded cache and fallback artwork. - Structured UI capability checks; stale data and incomplete states do not enable unsafe decisions. - Shared Recovery → Radarr → Tdarr lifecycle, including deferred daily limits, replacement imports, quarantine and status timestamps. - Replacement filename changes no longer trigger checks against an obsolete original path. - Interrupted Review handoffs verify actual Tdarr state instead of blindly queueing another job. - Sequential original-left/transcode-right headphone comparison of the same 12-second segment. - Seven-day quarantine cleanup after identified replacement approval, with persistent evidence and identity checks. - Recorded reasons for rejection and replacement requests. - Evidence-based assessment score and audio alignment visualization. ## 1.8–1.9 — compatibility and recovery - Exact source/job matching and optional receipts, including TS/M2TS → MKV extension changes. - Conservative Radarr replacement request preserving both original and Review copy. - Repeated original decoding confirmation and precise bad-release exclusion in the optional Recovery worker. - Rust engine compatibility and read-only database/API fallback for Review. ## 1.7 — statistics - Dedupe verified file savings, Review-approved subset and pending potential. - Separate Tdarr-reported global size difference; do not add overlapping totals. ## 1.5–1.6 — comparison and configuration - Side-by-side PNG frames with synchronized viewing and consistent HDR-to-SDR preview. - Configurable paths, origins, Tdarr connection and library matching. ## 1.3 — approval workflow - Normal approval no longer performs another full video/audio decode. - Copy/hash progress and stage-specific ETA. ## 1.1 — batch approval and API responses - Sequential batch approval with whole-batch preflight and conflict exclusion. - Tdarr plain-text `OK` responses no longer cause JSON parse failures. - Restore only node pauses owned by Review; preserve interrupted transaction evidence. ## Repository preparation — 2026-10-11 - Publish current source, installation examples, documentation and isolated regression tests. - Exclude production state, credentials, one-off migration runner and real film repair approvals. - Approved pending repairs use an explicit frozen registry rather than deployment-specific movie IDs; the shipped registry is empty. - Container builds and GitHub CI were supplied with the source snapshot. ## Docker and Community Applications packaging — 2026-10-11 - MIT license for the project's own code, templates and documentation; upstream runtime notices retained. - Linux amd64 Review and optional Recovery images, with bundled Node/SQLite/FFmpeg, writable state provisioning and source/revision labels. - Container health check respects the configured browser origin and saved settings. - Isolated image startup, login, approval integration and disabled Recovery smoke checks gate GHCR publication. - Unraid Community Applications profile, beta template, project icon and submission guide. Submission received and auto-approved; the app will appear after the next catalog build publishes.