[T06] n8n healthy but all workflows inactive; hub-agents decommissioned
lint / hygiene (pull_request) Failing after 1m9s
standard / check (pull_request) Successful in 56s
lint / hygiene (push) Failing after 35s

This commit is contained in:
architect committed 2026-12-02 21:23:05 +03:00
1 parent a2d49227e9
commit 88e9013217
2 files changed
+83

No files matched your search

+50
View File
@@ -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
```
@@ -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"
}