From 9a23ee546019c2a3a712d31a3f9a524b8ed2615b Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 15 Oct 2026 08:24:51 +0200 Subject: [PATCH] =?UTF-8?q?Plex:=20the=20setup=20gate=20=E2=80=94=20a=20fr?= =?UTF-8?q?esh=20install=20is=20closed=20to=20everyone=20but=20the=20house?= =?UTF-8?q?hold=20until=20=E2=80=9EK=C3=A9sz,=20be=C3=A1ll=C3=ADtottam?= =?UTF-8?q?=E2=80=9D=20(R-1045);=20no=20probe=20(Plex=20answers=20XML=20to?= =?UTF-8?q?=20it,=20measured)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- CHANGELOG.md | 14 ++++++++++++++ REPORT.md | 17 ++++++++--------- scripts/copy_freeze/hu.json | 6 ++++-- templates/plex/.felhom.yml | 11 +++++++++++ 4 files changed, 37 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17755c1..c78c5e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## 2026-10-15 — Plex installs closed: the setup gate (R-1045) + +- `templates/plex/.felhom.yml`: `setup_gate: true`. An unclaimed Plex answers every request from a private address with + no token, and through the tunnel every request comes from one (felhom.eu `audits/media-drive-events-2026-10-14/K6-1`); + a claim code that ran out during the install leaves exactly such a server. A fresh Plex is now closed to everyone but + the household (a browser with a dashboard session) until the household presses „Kész, beállítottam”. +- **No `setup_done_probe`:** Plex answers `/identity` in XML when the request has no `Accept` header (measured 2026-10-15 + on Tester 1; JSON only with `Accept: application/json`), and the controller's probe sends none — a probe would read + „not JSON” and never open. The household's button opens it. (The controller's claim step, R-1028, will open it on a + real claim.) +- `first_steps` (hu + en): the step „Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam” - addig a Plex csak neked + nyílik meg”, Sonarr's wording. Copy freeze re-admitted for plex with the reason. +- An installed Plex is not affected: the gate record is made at install only. + ## Unreleased (2026-10-15) — the shared rule file; no code change - `.claude/rules/unprompted-work.md` §3 item 6: **bake first** — a controller release is released only when its golden is diff --git a/REPORT.md b/REPORT.md index 694bf28..67c7cb8 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,11 +1,10 @@ -# REPORT — the media folders meet (R-1014, 2026-10-14) +# REPORT — Plex installs closed by the setup gate (R-1045, 2026-10-15) -Sonarr and Radarr now see the drive's whole `media` folder; qBittorrent and Transmission see only their own download -folder. Every app sees a file at the same path as on the box, so a download reaches the library as a hardlink on the -same drive. Operator ruling D9 = A with a limit (`felhom.eu` `09` §3 decision 242). +A fresh Plex is closed to everyone but the household until the household presses „Kész, beállítottam”. Before this, a +Plex whose 4-minute claim code ran out was open to anyone through the tunnel, with no password (measured 2026-10-14). -- Templates: sonarr, radarr, qbittorrent, transmission (folders, backup classes, first steps); plex, jellyfin (copy). -- Installed apps: the old `/downloads` path stays alive as a second name of the same folder; old torrents keep - seeding; only the default for new downloads moves. -- Sonarr/Radarr: „Authentication Required: Enabled" seeded on the first start only (R-1030). -- Evidence: `felhom.eu/documentation/audits/media-folder-fix-2026-10-14/` (B-1 classes, B-2/B-3 bench, volume-persistence, the live read-back on demo-hp). +- `templates/plex/.felhom.yml`: `setup_gate: true`, no probe (Plex answers XML to the probe's request; measured). +- `first_steps` hu + en: one new step, the button. Copy freeze re-admitted for plex. +- Gates: `catalog_gates.py --fast` all OK. +- Live proof on demo-hp 9201 (with a code, with an expired code, a stranger over the public path): + `felhom.eu/documentation/audits/media-build-2026-10-15/A-plex-gate/`. diff --git a/scripts/copy_freeze/hu.json b/scripts/copy_freeze/hu.json index de3f747..995459c 100644 --- a/scripts/copy_freeze/hu.json +++ b/scripts/copy_freeze/hu.json @@ -936,8 +936,9 @@ "app_info.first_steps[0]": "Generálj egy claim tokent a https://plex.tv/claim oldalon", "app_info.first_steps[1]": "Telepítés után nyisd meg a plex.DOMAIN címet", "app_info.first_steps[2]": "Kapcsold össze a Plex fiókoddat a szerverrel", - "app_info.first_steps[3]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)", - "app_info.first_steps[4]": "Telepítsd a Plex alkalmazást eszközeidre", + "app_info.first_steps[3]": "Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam” - addig a Plex csak neked nyílik meg", + "app_info.first_steps[4]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)", + "app_info.first_steps[5]": "Telepítsd a Plex alkalmazást eszközeidre", "app_info.prerequisites[0]": "Plex fiók szükséges (ingyenes regisztráció a plex.tv-n)", "app_info.prerequisites[1]": "Külső HDD a médiafájlok tárolásához", "app_info.prerequisites[2]": "Legalább 2 GB szabad RAM (transzkódoláshoz több ajánlott)", @@ -1441,6 +1442,7 @@ "metube": "new app 2026-10-02 (family gate); Hungarian reviewed: informal te, no kerjuk (ASCII scan with a positive control)", "nzbget": "Usenet downloader, the light client of the pair (R-988); Hungarian written 2026-10-12 and reviewed in this session", "papra": "R-593 (2026-10-05): deliberate Hungarian rewrite, not a translation — AUTH_SECRET carried SUBDOMAIN's sentence 'Az alkalmazás aldomainje' (copy-paste one field too low); the sentence moved to SUBDOMAIN and AUTH_SECRET got its own: 'A bejelentkezéseket aláíró titkos kulcs (automatikusan generált)'", + "plex": "2026-10-15 (R-1045): first_steps gains the setup-gate step „Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam” - addig a Plex csak neked nyílik meg” (same wording as Sonarr's, with the English twin); the other strings unchanged", "qbittorrent": "New app 2026-10-12 (operator ruling: the catalog needs a download client - radarr/sonarr/seerr had none). Hungarian written with the voice the website switched to the same day; English twin complete at 23/23.", "radicale": "new app 2026-10-01 through NEW-APP-CHECKLIST.md: te-form, no kérjük; reviewed by CC against the operator rules", "sabnzbd": "Usenet downloader, the full client of the pair the operator asked for (R-988); Hungarian written 2026-10-12 and reviewed in this session", diff --git a/templates/plex/.felhom.yml b/templates/plex/.felhom.yml index 994cbaa..0b744e0 100644 --- a/templates/plex/.felhom.yml +++ b/templates/plex/.felhom.yml @@ -57,6 +57,15 @@ deploy_fields: description: "A külső merevlemez elérési útja" locked_after_deploy: true +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47; R-1045) --- +# An UNCLAIMED Plex answers every request from a private address with no token, and through the tunnel every +# request comes from one (measured 2026-10-14, felhom.eu audits/media-drive-events-2026-10-14/K6-1). A claim code that +# ran out during the install leaves exactly such a server. So a fresh install is closed to everyone but the household +# until it says the setup is done. No setup_done_probe: Plex answers /identity in XML to a request with no Accept +# header (measured 2026-10-15 on Tester 1; JSON only with `Accept: application/json`), and the probe sends none — +# so the household's „Kész, beállítottam" opens the gate. +setup_gate: true + # --- App info (info page content) --- app_info: tagline: "Prémium média szerver kiváló alkalmazás támogatással" @@ -73,6 +82,7 @@ app_info: - 'Generálj egy claim tokent a https://plex.tv/claim oldalon' - 'Telepítés után nyisd meg a plex.DOMAIN címet' - 'Kapcsold össze a Plex fiókoddat a szerverrel' + - 'Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam” - addig a Plex csak neked nyílik meg' - 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)' - 'Telepítsd a Plex alkalmazást eszközeidre' @@ -108,6 +118,7 @@ i18n: - 'Generate a claim token at https://plex.tv/claim' - 'After the install, open plex.DOMAIN' - 'Connect your Plex account to the server' + - 'When you are done, press „Done, I set it up” on the dashboard - until then Plex opens only for you' - 'Add your libraries (films: /media/movies, series: /media/tv)' - 'Install the Plex app on your devices' prerequisites: