From cdf3f7eddf994934268a4006fd5b524caf28be25 Mon Sep 17 00:00:00 2001 From: architect Date: Wed, 2 Dec 2026 20:13:04 +0300 Subject: [PATCH] [T03] Bazarr blocked: local API 200, public SSO 302, no RU download proof --- docs/architecture/evidence/T03/T03-bazarr.md | 33 +++++++++++++++++++ .../architecture/evidence/T03/T03-report.json | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 docs/architecture/evidence/T03/T03-bazarr.md create mode 100644 docs/architecture/evidence/T03/T03-report.json diff --git a/docs/architecture/evidence/T03/T03-bazarr.md b/docs/architecture/evidence/T03/T03-bazarr.md new file mode 100644 index 0000000..190b82a --- /dev/null +++ b/docs/architecture/evidence/T03/T03-bazarr.md @@ -0,0 +1,33 @@ +# T03 — Bazarr / RU subtitles + +Дата: 2026-12-02 20:20 MSK +Статус: **blocked** (acceptance не выполнен) + +## Факты + +```text +CT120 bazarr :6767 Up +oauth2-proxy-bazarr :9986 Up +https://bazarr.buryans.ru 302 → authentik authorize +local API /api/system/status 200 (apikey из /config/config/config.yaml) +series 6, movies 2, providers 200 +``` + +## Что проверено + +- Публичный вход идёт через Authentik, не TLS-ошибка Bazarr. +- LAN API работает с API-ключом; это обход public login/TLS. +- Публичная аутентификация **не ослаблена**, конфиг не менялся. +- Реальный поиск/скачивание RU-субтитра **не выполнены** — API `/api/subtitles` требует `subtitlesPath` (upload), а не search/download. + +## Вердикт + +S3-02 остаётся blocked. +Нужен UI/точный provider-флоу Bazarr или ручной поиск одного RU-субтитра. + +## Evidence + +```text +docs/architecture/evidence/T03/T03-report.json +docs/architecture/evidence/T03/T03-bazarr.md +``` diff --git a/docs/architecture/evidence/T03/T03-report.json b/docs/architecture/evidence/T03/T03-report.json new file mode 100644 index 0000000..d43ed20 --- /dev/null +++ b/docs/architecture/evidence/T03/T03-report.json @@ -0,0 +1,33 @@ +{ + "task_id": "T03", + "status": "blocked", + "facts": [ + {"source": "docker ps CT120", "value": "bazarr Up 5 days :6767; oauth2-proxy-bazarr Up :9986", "observed_at": "2026-12-02T20:20:00+03:00"}, + {"source": "curl https://bazarr.buryans.ru", "value": "302 to authentik authorize", "observed_at": "2026-12-02T20:20:00+03:00"}, + {"source": "local API with config apikey", "value": "/api/system/status 200", "observed_at": "2026-12-02T20:20:00+03:00"}, + {"source": "Bazarr api", "value": "series 6, movies 2, providers 200", "observed_at": "2026-12-02T20:20:00+03:00"}, + {"source": "subtitle download", "value": "not performed; no verified RU subtitle", "observed_at": "2026-12-02T20:20:00+03:00"} + ], + "hypotheses": [ + {"claim": "public login/TLS blocker is oauth2-proxy/Authentik, not Bazarr", "why_unverified": "no browser login test", "how_to_verify": "login through Authentik"}, + {"claim": "LAN API workaround is sufficient for automation", "why_unverified": "no actual subtitle search/download", "how_to_verify": "search one RU subtitle via Bazarr API/provider"} + ], + "actions": [ + {"action": "read config/API; no auth changes", "reversibility": "R", "approval": "T03", "result": "local API 200, public 302"} + ], + "artifacts": [ + "docs/architecture/evidence/T03/T03-report.json", + "docs/architecture/evidence/T03/T03-bazarr.md" + ], + "acceptance_check": [ + {"criterion": "S3-02 not blocked", "met": false, "proof": "no RU subtitle downloaded"}, + {"criterion": ">=1 RU subtitle downloaded", "met": false, "proof": "not performed"}, + {"criterion": "public auth not weakened", "met": true, "proof": "no config changes"} + ], + "metrics_delta": {}, + "decision": "Blocked: local API works, but acceptance requires a real RU subtitle. No public auth weakened.", + "next": "Use Bazarr UI/API search with provider; need exact API download flow or manual UI. T04 read-only can proceed.", + "rollback_ready": true, + "stop_line_triggered": null, + "confidence": "medium" +}