feat(production): sync all modified production files to git

Includes updates across gateway, router, node-worker, memory-service,
aurora-service, swapper, sofiia-console UI and node2 infrastructure:

- gateway-bot: Dockerfile, http_api.py, druid/aistalk prompts, doc_service
- services/router: main.py, router-config.yml, fabric_metrics, memory_retrieval,
  offload_client, prompt_builder
- services/node-worker: worker.py, main.py, config.py, fabric_metrics
- services/memory-service: Dockerfile, database.py, main.py, requirements
- services/aurora-service: main.py (+399), kling.py, quality_report.py
- services/swapper-service: main.py, swapper_config_node2.yaml
- services/sofiia-console: static/index.html (console UI update)
- config: agent_registry, crewai_agents/teams, router_agents
- ops/fabric_preflight.sh: updated preflight checks
- router-config.yml, docker-compose.node2.yml: infra updates
- docs: NODA1-AGENT-ARCHITECTURE, fabric_contract updated

Made-with: Cursor
This commit is contained in:
Apple
2026-03-03 07:13:29 -08:00
parent 9aac835882
commit e9dedffa48
35 changed files with 3317 additions and 805 deletions

View File

@@ -75,13 +75,16 @@ NODA1 використовує уніфіковану систему агент
┌───────────────────────┐ ┌───────────┐ ┌─────────────────────┐
│ LLM PROVIDERS │ │ MEMORY │ │ CREWAI │
│ ───────────────────── │ │ SERVICE │ │ (dagi-staging- │
│ • Ollama (local) │ │ :8000 │ │ crewai-service) │
│ - qwen3:8b │ ├───────────┤ │ ─────────────────── │
- mistral:7b │ │ • Qdrant │ │ crewai_agents.json │
│ - qwen2.5:3b │ │ • Neo4j │ │ │
• DeepSeek (cloud) │ │ • Postgres│ │ 11 Orchestrators │
│ • Mistral (cloud) │ └───────────┘ │ + Teams per agent │
└───────────────────────┘ └─────────────────────┘
│ • Grok (cloud) │ │ :8000 │ │ crewai-service) │
│ - sofiia, senpai │ ├───────────┤ │ ─────────────────── │
• DeepSeek (cloud) │ │ • Qdrant │ │ crewai_agents.json │
│ - all other agents │ │ • Neo4j │ │ │
+ fallback │ │ • Postgres│ │ 11 Orchestrators │
│ • Mistral (fallback) │ └───────────┘ │ + Teams per agent │
│ • Ollama (crew only) │ └─────────────────────┘
│ - qwen3:8b (crew) │
│ - qwen3-vl:8b (vis) │
└───────────────────────┘
```
---
@@ -108,28 +111,28 @@ config/agent_registry.yml ←── ЄДИНЕ джерело істини
### TOP-LEVEL (User-facing, 13 agents)
| ID | Display | Telegram | Visibility | Domain |
|----|---------|----------|------------|--------|
| `daarwizz` | DAARWIZZ | public | public | Meta-Orchestrator |
| `helion` | Helion | public | public | Energy |
| `alateya` | Aletheia | public | public | R&D Lab |
| `druid` | DRUID | public | public | Ayurveda/Cosmetics |
| `nutra` | NUTRA | public | public | Nutraceuticals |
| `agromatrix` | Степан Матрікс | public | public | Agriculture |
| `greenfood` | GREENFOOD | public | public | Food ERP |
| `clan` | CLAN | public | public | Community |
| `eonarch` | EONARCH | public | public | Consciousness |
| `yaromir` | YAROMIR | whitelist | private | Tech Lead |
| `soul` | SOUL | public | public | Spiritual |
| `senpai` | SENPAI | public | public | Trading |
| `sofiia` | SOFIIA | public | public | AI Architecture |
| ID | Display | Telegram | Visibility | Domain | LLM (primary) | Fallback |
|----|---------|----------|------------|--------|---------------|---------|
| `daarwizz` | DAARWIZZ | public | public | Meta-Orchestrator | DeepSeek | Mistral |
| `helion` | Helion | public | public | Energy | DeepSeek | Mistral |
| `alateya` | Aletheia | public | public | R&D Lab | DeepSeek | Mistral |
| `druid` | DRUID | public | public | Ayurveda/Cosmetics | DeepSeek | Mistral |
| `nutra` | NUTRA | public | public | Nutraceuticals | DeepSeek | Mistral |
| `agromatrix` | Степан Матрікс | public | public | Agriculture | DeepSeek | Mistral |
| `greenfood` | GREENFOOD | public | public | Food ERP | DeepSeek | Mistral |
| `clan` | CLAN | public | public | Community | DeepSeek | Mistral |
| `eonarch` | EONARCH | public | public | Consciousness | DeepSeek | Mistral |
| `yaromir` | YAROMIR | whitelist | private | Tech Lead | DeepSeek | Mistral |
| `soul` | SOUL | public | public | Spiritual | DeepSeek | Mistral |
| `senpai` | SENPAI | public | public | Trading | **Grok** | DeepSeek |
| `sofiia` | SOFIIA | public | public | AI Architecture | **Grok** | DeepSeek |
### INTERNAL (Service agents, 2 agents)
| ID | Display | Telegram | Scope | Purpose |
|----|---------|----------|-------|---------|
| `monitor` | MONITOR | off | node_local | Observability, alerts |
| `devtools` | DevTools | off | global | Development tools |
| ID | Display | Telegram | Scope | Purpose | LLM |
|----|---------|----------|-------|---------|-----|
| `monitor` | MONITOR | off | node_local | Observability, alerts | Ollama (local) |
| `devtools` | DevTools | off | global | Development tools | DeepSeek (складні) / Ollama (прості) |
---