From a66a7a0e75479a35ac0af08d30eeaf8412fc1cb6 Mon Sep 17 00:00:00 2001 From: architect Date: Thu, 26 Nov 2026 23:29:41 +0300 Subject: [PATCH] [ARCH] Gate G0/G1 readiness: exact gaps --- docs/architecture/GATE-READINESS.md | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 docs/architecture/GATE-READINESS.md diff --git a/docs/architecture/GATE-READINESS.md b/docs/architecture/GATE-READINESS.md new file mode 100644 index 0000000..912f43c --- /dev/null +++ b/docs/architecture/GATE-READINESS.md @@ -0,0 +1,67 @@ +# Gate readiness — G0/G1 + +Дата: 2026-11-26 +Статус: **not ready** for blind approval + +## G0 — Stage 0 + +### Готово + +- ADR-001 source of truth; +- service registry Tier0/1; +- owners; +- SLO targets; +- runbooks/rollback; +- service cards; +- health smoke: + - Audit, Gitea, Authentik, Matrix, Prism, Seerr; + - Hub Core, n8n; + - Jellyfin with Authorization; + - PostgreSQL/NATS TCP. +- restore evidence: + - Gitea 117 tables / 5 repos; + - Audit 14 tables; + - Authentik 230 tables / 9s. +- Audit 360 tracker; +- secrets inventory; +- redaction. + +### Не готово + +- **S0-04**: live contract tests для всех Tier0/1; +- полный restore drill для всех Tier0/1 (Jellyfin metadata, Seerr DB, n8n DB, Prism); +- Gate G0 не подписан. + +**Решение:** G0 пока не закрывать. S0-04 остаётся in_progress. + +## G1 — Stage 1 Media Alpha + +### Готово + +- Jellyfin SSO button + login confirmed; +- local non-root breakglass; +- API key via Authorization; +- Media Alpha `/alpha/`; +- search q=the → 6 items; +- recent → 6 items; +- current SSO user; +- access: Roman 200, other 403; +- 4/4 alpha live tests. + +### Не готово + +- Media API 10 endpoints: live только search/recent/me; +- request/availability/continue/playback not implemented; +- idempotency/duplicate effects not tested; +- media profile ACL/revocation not tested; +- Seerr requests 403; +- Gate G1 не подписан. + +**Решение:** G1 не закрывать. + +## Что нужно Роману + +- S0-10 Gate G0 — после S0-04. +- S1-10 Gate G1 — после реализации Media API. +- M-07 RAM — deferred. +- M-08 интервью — deferred.