[T07,T08] inventory reconcile + PRISM CM20 qty triage
This commit is contained in:
1 parent
f1f6f194f6
commit
e5350965e3
4 files changed
+161
No files matched your search
@@ -0,0 +1,56 @@
|
||||
# T07 — сверка инвентаря (read-only)
|
||||
|
||||
Дата: 2026-12-02 20:40 MSK
|
||||
Статус: **ok**, изменений нет.
|
||||
|
||||
## Факты
|
||||
|
||||
- nginx `server_name`: **54**, не 48.
|
||||
- Cloudflare public CNAME: **19**.
|
||||
- Seerr: `ghcr.io/seerr-team/seerr:latest`, running; CT121 всё ещё `overseerr-lxc`.
|
||||
- `plex.buryans.ru` в nginx-инвентаре отсутствует, но публично 200.
|
||||
- Exited/restarting: **10**.
|
||||
|
||||
## Seerr
|
||||
|
||||
```text
|
||||
CT121 overseerr-lxc
|
||||
image ghcr.io/seerr-team/seerr:latest
|
||||
```
|
||||
|
||||
Миграция Overseerr→Jellyseerr **уже выполнена**; нужна только нормализация имени CT/сервиса.
|
||||
|
||||
## Dead-config (не удалять)
|
||||
|
||||
```text
|
||||
CT103 oauth2-proxy-prism.bak2 Restarting
|
||||
CT103 oauth2-proxy-prism.bak-audit Restarting
|
||||
CT103 oauth2-proxy-netbox Exited 3w
|
||||
CT105 syncthing Exited 3w
|
||||
CT106 zigbee2mqtt Exited 10d
|
||||
CT106 mosquitto Exited 8d
|
||||
CT109 oauth2-proxy-vaultwarden.old Exited 3w
|
||||
CT110 paperless_web Exited 3w
|
||||
CT110 paperless_worker Exited 3w
|
||||
CT110 paperless_redis Exited 3w
|
||||
```
|
||||
|
||||
## Риски
|
||||
|
||||
- `zigbee2mqtt` + `mosquitto` exited → дом/HA может быть без Zigbee/MQTT.
|
||||
- Два `oauth2-proxy-prism.bak*` в restart-loop создают шум и жрут ресурсы.
|
||||
- 54 nginx vs 19 public: 35 имён не имеют DNS; часть — dead-config.
|
||||
- `owner=null` у сущностей audit — владельцы не назначены.
|
||||
|
||||
## Решение
|
||||
|
||||
- Seerr: не мигрировать, нормализовать имя.
|
||||
- Dead-config: только список, удаление после approval.
|
||||
- Plex: вынести в T04/T09.
|
||||
|
||||
## Evidence
|
||||
|
||||
```text
|
||||
docs/architecture/evidence/T07/inventory-reconcile.md
|
||||
docs/architecture/evidence/T07/T07-report.json
|
||||
```
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"task_id": "T07",
|
||||
"status": "ok",
|
||||
"facts": [
|
||||
{"source": "docker inspect CT121", "value": "ghcr.io/seerr-team/seerr:latest; running", "observed_at": "2026-12-02T20:40:00+03:00"},
|
||||
{"source": "nginx -T", "value": "54 server_name (not 48)", "observed_at": "2026-12-02T20:40:00+03:00"},
|
||||
{"source": "Cloudflare DNS", "value": "19 public CNAME", "observed_at": "2026-12-02T20:40:00+03:00"},
|
||||
{"source": "docker ps -a all CT", "value": "10 exited/restarting incl zigbee2mqtt, mosquitto, paperless*", "observed_at": "2026-12-02T20:40:00+03:00"}
|
||||
],
|
||||
"hypotheses": [
|
||||
{"claim": "mosquitto/zigbee are intentionally stopped", "why_unverified": "no owner statement; HA may use another broker", "how_to_verify": "check HA MQTT config and owner"},
|
||||
{"claim": "restart-loop oauth2-proxy-prism.bak* are leftovers", "why_unverified": "no config diff", "how_to_verify": "inspect compose labels"}
|
||||
],
|
||||
"actions": [
|
||||
{"action": "read inventory; no changes", "reversibility": "R", "approval": "T07", "result": "done"}
|
||||
],
|
||||
"artifacts": [
|
||||
"docs/architecture/evidence/T07/inventory-reconcile.md",
|
||||
"docs/architecture/evidence/T07/T07-report.json"
|
||||
],
|
||||
"acceptance_check": [
|
||||
{"criterion": "registry diff ready", "met": true, "proof": "inventory-reconcile.md"},
|
||||
{"criterion": "Seerr verdict", "met": true, "proof": "image seerr-team/seerr; rename only"},
|
||||
{"criterion": "dead-config list no delete", "met": true, "proof": "10 entries listed"}
|
||||
],
|
||||
"metrics_delta": {"nginx_names": {"before": 48, "after": 54}, "public_cname": {"before": 19, "after": 19}},
|
||||
"decision": "T07 done; no apply. Owner/null and dead-config remain.",
|
||||
"next": "T08 PRISM max_qty triage; T06 needs owner approval.",
|
||||
"rollback_ready": true,
|
||||
"stop_line_triggered": null,
|
||||
"confidence": "high"
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
# T08 — PRISM AVHub→CM20 max_qty триаж
|
||||
|
||||
Дата: 2026-12-02 20:45 MSK
|
||||
Статус: **ok**, read-only.
|
||||
|
||||
## Факт
|
||||
|
||||
```text
|
||||
prism.edges id=498
|
||||
host_model_id=2 AVHub
|
||||
accessory_model_id=323 CM20
|
||||
relation=compatible
|
||||
max_qty=1
|
||||
condition="Yealink AVHub is designed to support up to 4 x CM20/CS10"
|
||||
verified=false
|
||||
origin=llm
|
||||
```
|
||||
|
||||
## Сравнение
|
||||
|
||||
Для CM20 есть legacy-рёбра с `max_qty=2/3/4` у других host-моделей.
|
||||
AVHub-ребро — единственное с `max_qty=1` и `origin=llm`, `verified=false`.
|
||||
|
||||
## Влияние
|
||||
|
||||
```text
|
||||
prism.project_items where name ilike '%CM20%' or '%AVHub%' → 0 строк
|
||||
```
|
||||
|
||||
Текущие BOM-проекты **не используют** CM20/AVHub.
|
||||
Дефект **не влияет на текущие расчёты**, но станет ошибкой, если AVHub добавят в проект.
|
||||
|
||||
## Вердикт
|
||||
|
||||
- Не P1-инцидент.
|
||||
- Занести в backlog PRISM: `verify/repair AVHub→CM20 max_qty 1→4` после G3'.
|
||||
- Не менять verified-матрицу сейчас.
|
||||
|
||||
## Evidence
|
||||
|
||||
```text
|
||||
docs/architecture/evidence/T08/T08-report.json
|
||||
docs/architecture/evidence/T08/T08-prism-qty.md
|
||||
```
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"task_id": "T08",
|
||||
"status": "ok",
|
||||
"facts": [
|
||||
{"source": "prism.edges id=498", "value": "AVHub(2)->CM20(323) max_qty=1 verified=false origin=llm condition=up to 4", "observed_at": "2026-12-02T20:45:00+03:00"},
|
||||
{"source": "prism.project_items", "value": "0 rows for CM20/AVHub", "observed_at": "2026-12-02T20:45:00+03:00"},
|
||||
{"source": "prism.edges CM20", "value": "other host edges max_qty 2/3/4 legacy", "observed_at": "2026-12-02T20:45:00+03:00"}
|
||||
],
|
||||
"hypotheses": [
|
||||
{"claim": "LLM extraction truncated 4 to 1", "why_unverified": "no extraction trace", "how_to_verify": "inspect prism evidence/source for edge 498"}
|
||||
],
|
||||
"actions": [
|
||||
{"action": "read PRISM DB; no changes", "reversibility": "R", "approval": "T08", "result": "done"}
|
||||
],
|
||||
"artifacts": [
|
||||
"docs/architecture/evidence/T08/T08-prism-qty.md",
|
||||
"docs/architecture/evidence/T08/T08-report.json"
|
||||
],
|
||||
"acceptance_check": [
|
||||
{"criterion": "impact verdict with example", "met": true, "proof": "0 project_items; no current BOM impact"},
|
||||
{"criterion": "if impact -> task with owner/date", "met": false, "proof": "no impact now; backlog PRISM"}
|
||||
],
|
||||
"metrics_delta": {"affected_project_items": {"before": 0, "after": 0}},
|
||||
"decision": "Not P1 now; backlog verify/repair edge 498 after G3'.",
|
||||
"next": "T09/T10 need approval; T06 needs approval; otherwise T14/T11.",
|
||||
"rollback_ready": true,
|
||||
"stop_line_triggered": null,
|
||||
"confidence": "high"
|
||||
}
|
||||
Reference in new issue
Block a user