docs: sync consolidation and session starter

This commit is contained in:
Apple
2026-02-16 02:15:20 -08:00
parent b2be937fbb
commit de3bd8c13f
5 changed files with 225 additions and 3 deletions

View File

@@ -1,10 +1,18 @@
# 📚 MASTER INDEX — MicroDAO / DAARION / DAGI
**Оновлено:** 2026-02-10
**Оновлено:** 2026-02-11
**Призначення:** Єдина точка входу до всієї документації проекту
---
## Session Start (Canonical)
- Старт кожної нової сесії: `docs/SESSION_STARTER.md`
- Консолідація та маркування старих/нових/фактичних доків: `docs/consolidation/README.md`
- Керований список ключових документів і статусів: `docs/consolidation/docs_registry_curated.csv`
---
## 🗂️ Де що лежить
### Основні репозиторії
@@ -27,6 +35,19 @@
| **Docker Network** | `dagi-network` |
| **Hardware** | Hetzner GEX44, NVIDIA RTX 4000 SFF Ada (20GB VRAM) |
### NODA1 Sync Policy (Repo ↔ Runtime)
**Канонічна правда:** GitHub `origin/main`.
На NODA1:
- `/opt/microdao-daarion`**єдиний deploy root** (канон runtime).
- `/root/microdao-daarion` не використовується як runtime tree.
- Перед/після змін запускати `ops/drift-check.sh` (контроль дріфту mount/labels).
**Safe deploy runbook:** `NODA1-SAFE-DEPLOY.md`
**Runtime snapshot:** `scripts/node1/snapshot_node1.sh`
### Агент НОДА1 (Cursor)
**Де створено:** Агент налаштований у проєкті `/Users/apple/github-projects/microdao-daarion/`, а **не** в `Desktop/MicroDAO` або `node1`. Тому раніше він не знаходився.
@@ -149,7 +170,7 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
## 🤖 Агенти (повний перелік)
### TOP-LEVEL (User-facing, 11 agents)
### TOP-LEVEL (User-facing, 13 agents)
| Агент | ID | Роль | Telegram | Visibility |
|-------|-----|------|----------|------------|
@@ -164,6 +185,8 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
| **EONARCH** | eonarch | Consciousness Evolution Guide | public | public |
| **YAROMIR** | yaromir | Private Tech Lead | whitelist | private |
| **SOUL** | soul | Spiritual Mentor | public | public |
| **SENPAI** | senpai | Trading Advisor & Capital Markets | public | public |
| **SOFIIA** | sofiia | Chief AI Architect | public | public |
### INTERNAL (Service agents, 2 agents)
@@ -172,6 +195,9 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
| **MONITOR** | monitor | Node Observability & Alerts | node_local |
| **DevTools** | devtools | Development Tools | global |
**NODA1 runtime (verified 2026-02-11):** 15 active agents = 13 user-facing + 2 internal (`monitor`, `devtools`).
**Canonical registry in repo:** 16 agents (додатково `comfy` як internal, поза user-facing health на NODA1).
**Webhook URL формат:** `https://gateway.daarion.city/{agent_id}/telegram/webhook`
---
@@ -183,6 +209,8 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
| Документ | Шлях | Опис |
|----------|------|------|
| **NODA1-AGENT-ARCHITECTURE.md** | `docs/` | **Повна схема підключення агентів** |
| **NODA1-SAFE-DEPLOY.md** | `/` | Canonical деплой-процес для NODA1 |
| **ops/README.md** | `ops/` | Операційний runbook (up/down/logs/drift-check/policy) |
| **agent_registry.yml** | `config/` | **Canonical Source of Truth для агентів** |
| **README.md (config)** | `config/` | Як додавати нових агентів |
| INFRASTRUCTURE.md | `docs/` | Порти, сервіси, конфігурація |
@@ -276,6 +304,31 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
---
## 🛠️ Зміни 2026-02-11
### ✅ NODA1 Runtime Alignment + Routing Fixes
1. **Deployment drift fixed**
- Єдиний deploy root: `/opt/microdao-daarion`
- `drift-check` активний; runtime mounts/labels вирівняні
2. **Router policy stabilized**
- `monitor` і `devtools` за замовчуванням ідуть у local (`swapper+ollama`, `qwen3-8b`)
- `devtools` має умовний cloud fallback (`deepseek-cloud`) для heavy task types
3. **Memory service schema drift fixed**
- `GET /stats` повертає `200` (раніше було `500` через відсутні таблиці)
4. **Senpai market-data stack confirmed**
- `senpai-md-consumer` healthy, NATS connected, features/signals counters зростають
5. **AgroMatrix live check**
- Router infer `200` (backend: `deepseek-cloud`)
- Колекції: `agromatrix_messages=359`, `agromatrix_docs=327`, `agromatrix_memory_items=0`
- Facts у Postgres: `264`
---
## 🛠️ Зміни 2026-02-09
### ✅ SenpAI Market Data Integration
@@ -390,6 +443,14 @@ curl http://144.76.224.179:9102/health # Router
curl http://144.76.224.179:9300/health # Gateway
curl http://144.76.224.179:8000/health # Memory
curl http://144.76.224.179:6333/healthz # Qdrant
curl http://144.76.224.179:8000/stats # Memory stats
```
### Агентний smoke (Router infer API v2)
```bash
curl -sS -H "Content-Type: application/json" \
-d '{"prompt":"ping","max_tokens":16,"temperature":0,"metadata":{"agent_id":"agromatrix"}}' \
http://144.76.224.179:9102/v1/agents/agromatrix/infer
```
### Qdrant collections
@@ -496,4 +557,4 @@ curl http://localhost:8892/metrics
---
**Автор:** Cursor Agent
**Останнє оновлення:** 2026-02-09 (market data integration)
**Останнє оновлення:** 2026-02-11 (runtime alignment + routing policy + memory schema fix)