From 88e9013217a452a008d2f26f0b27a6f45d7dcd3e Mon Sep 17 00:00:00 2001 From: architect Date: Wed, 2 Dec 2026 21:23:05 +0300 Subject: [PATCH] [T06] n8n healthy but all workflows inactive; hub-agents decommissioned --- docs/architecture/evidence/T06/T06-n8n.md | 50 +++++++++++++++++++ .../architecture/evidence/T06/T06-report.json | 33 ++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 docs/architecture/evidence/T06/T06-n8n.md create mode 100644 docs/architecture/evidence/T06/T06-report.json diff --git a/docs/architecture/evidence/T06/T06-n8n.md b/docs/architecture/evidence/T06/T06-n8n.md new file mode 100644 index 0000000..ff17af7 --- /dev/null +++ b/docs/architecture/evidence/T06/T06-n8n.md @@ -0,0 +1,50 @@ +# T06 — n8n / hub-agents + +Дата: 2026-12-02 21:35 MSK +Статус: **blocked**, изменений нет. + +## n8n + +```text +host PID: n8n (UID 101000, cgroup /lxc/108) +CT108 container n8n: Up 5 days (healthy) +ports: 0.0.0.0:5680->5678 +direct http://192.168.1.108:5680/ → 200 +public n8n.buryans.ru → 302 hub-login (SSO) +``` + +DB `n8n_central` на CT151: + +```text +workflows: 10+, все active=false +last executions: 2026-10-06 (error), 2026-10-01 (success) +``` + +Вывод: **n8n жив, но не выполняет работу** — все workflow выключены. + +## hub-agents + +```text +static enabled +inactive +нет таймера hub-agents +agent_runner.py существует, observe mode +``` + +В `REGISTRY/services.yaml` записи hub-agents нет. +Статус: **decommissioned / needs owner decision**, не включать вслепую. + +## Решение + +T06 не принят: +- n8n UI отвечает, но 2 workflow не прогнаны (все inactive); +- hub-agents не имеет явного статуса в реестре. + +Нужно решение owner: активировать конкретные workflow или оставить n8n как UI/API без триггеров. + +## Evidence + +```text +docs/architecture/evidence/T06/T06-n8n.md +docs/architecture/evidence/T06/T06-report.json +``` diff --git a/docs/architecture/evidence/T06/T06-report.json b/docs/architecture/evidence/T06/T06-report.json new file mode 100644 index 0000000..e34a2a5 --- /dev/null +++ b/docs/architecture/evidence/T06/T06-report.json @@ -0,0 +1,33 @@ +{ + "task_id": "T06", + "status": "blocked", + "facts": [ + {"source": "ps/cgroup", "value": "n8n PID 24307 user 101000 cgroup /lxc/108", "observed_at": "2026-12-02T21:35:00+03:00"}, + {"source": "CT108 docker ps", "value": "n8n Up 5 days healthy, 5680->5678", "observed_at": "2026-12-02T21:35:00+03:00"}, + {"source": "curl 192.168.1.108:5680", "value": "200", "observed_at": "2026-12-02T21:35:00+03:00"}, + {"source": "n8n_central", "value": "all workflows active=false; last execution 2026-10-06 error", "observed_at": "2026-12-02T21:35:00+03:00"}, + {"source": "systemctl hub-agents", "value": "static enabled, inactive, no timer", "observed_at": "2026-12-02T21:35:00+03:00"} + ], + "hypotheses": [ + {"claim": "n8n started as web/API only after DB migration", "why_unverified": "no startup logs retained", "how_to_verify": "docker logs n8n"}, + {"claim": "hub-agents intentionally decommissioned", "why_unverified": "not in registry", "how_to_verify": "owner decision"} + ], + "actions": [ + {"action": "read-only diagnose n8n/agents", "reversibility": "R", "approval": "T06", "result": "no changes"} + ], + "artifacts": [ + "docs/architecture/evidence/T06/T06-n8n.md", + "docs/architecture/evidence/T06/T06-report.json" + ], + "acceptance_check": [ + {"criterion": "n8n responds", "met": true, "proof": "direct 200, public 302"}, + {"criterion": "2 workflows pass", "met": false, "proof": "all inactive"}, + {"criterion": "hub-agents explicit status in registry", "met": false, "proof": "missing/decommissioned"} + ], + "metrics_delta": {"n8n_active_workflows": {"before": 0, "after": 0}}, + "decision": "Blocked; do not activate unknown workflows. Needs owner decision.", + "next": "Owner selects workflows to activate; add hub-agents status to registry.", + "rollback_ready": true, + "stop_line_triggered": null, + "confidence": "high" +}