- Email: process + send tools - Security: documentație securizare Clawdbot - KB: coaching, youtube notes (Monica Ion, ClawdBot 10x) - Reflecții: audit relații/bani, pattern 'nu merit', dizolvare vină - Insights: 2026-02-01 + backlog + content recomandat - Memory: heartbeat state, reguli comunicare
215 lines
7.2 KiB
Markdown
215 lines
7.2 KiB
Markdown
# TOOLS.md - Echo (Coordonator) 🌀
|
|
|
|
Ca coordonator, știu de toate uneltele echipei și pot ghida spre agentul potrivit.
|
|
|
|
---
|
|
|
|
## 🛠️ Unelte Comune (toți agenții)
|
|
|
|
### Email (SMTP + IMAP)
|
|
- **Cont:** echo@romfast.ro
|
|
- **Server:** mail.romfast.ro
|
|
- **SMTP Port:** 465 (SSL)
|
|
- **IMAP Port:** 993
|
|
- **Credențiale:** `~/clawd/.env`
|
|
|
|
**Trimitere:**
|
|
```bash
|
|
python3 tools/email_send.py "dest@email.com" "Subiect" "Corp mesaj"
|
|
```
|
|
|
|
**Procesare inbox (note + insights):**
|
|
```bash
|
|
python3 tools/email_process.py # listează necitite
|
|
python3 tools/email_process.py --all # listează toate
|
|
python3 tools/email_process.py --save # salvează ca note în kb/emails/
|
|
```
|
|
|
|
**Flux email → note → insights:**
|
|
1. Marius face forward la `echo@romfast.ro`
|
|
2. La heartbeat sau manual: `python3 tools/email_process.py --save`
|
|
3. Emailul devine notă în `kb/emails/YYYY-MM-DD_subiect.md`
|
|
4. Echo completează TL;DR și extrage insights în `kb/insights/`
|
|
5. `python3 tools/update_notes_index.py` actualizează indexul
|
|
|
|
### 📧 Email Whitelist
|
|
**Răspuns automat permis doar pentru:**
|
|
- mmarius28@gmail.com (Marius - owner)
|
|
- marius.mutu@romfast.ro (Marius - work)
|
|
|
|
**Pentru orice altă adresă:** Citesc și raportez, aștept aprobare.
|
|
|
|
### Dashboard & Web
|
|
- **Task Board:** https://moltbot.tailf7372d.ts.net/echo/
|
|
- **KB (Notes):** https://moltbot.tailf7372d.ts.net/echo/notes.html
|
|
- **Files:** https://moltbot.tailf7372d.ts.net/echo/files.html
|
|
- **API:** `dashboard/api.py`
|
|
- **Update task:** `python3 dashboard/update_task.py`
|
|
|
|
**Reguli dashboard:**
|
|
- Tab Activity afișează task-uri din tasks.json, sortate descrescător după timestamp
|
|
- Când creez/completez task-uri, să am timestamp complet (ISO format cu oră)
|
|
|
|
### KB - Knowledge Base (toate tipurile de conținut)
|
|
- **Folder:** `kb/` (subdirectoare: `youtube/`, `retete/`, `projects/`)
|
|
- **Update index:** `python3 tools/update_notes_index.py`
|
|
- **Pagina web:** https://moltbot.tailf7372d.ts.net/echo/notes.html
|
|
- **Tags domeniu:** `@work`, `@health`, `@growth`, `@sprijin`, `@scout`
|
|
- **Tags tip:** `@project`, `@fisa`, `@exercitiu`, `@meditatie`, `@reflectie`
|
|
|
|
**IMPORTANT:** Când salvez orice notă (rețete, youtube, proiecte, etc.), trebuie să:
|
|
1. Salvez în subdirectorul potrivit din `kb/`
|
|
2. Rulez `python3 tools/update_notes_index.py` pentru a actualiza indexul
|
|
3. Dau link-ul către pagina notes.html
|
|
|
|
### Git
|
|
- **Repo:** ~/clawd → gitea.romfast.ro/romfast/clawd
|
|
- **Commit script:** `python3 tools/git_commit.py --push`
|
|
|
|
### Docker LXC (portainer)
|
|
- **Host:** 10.0.20.170 (LXC 100 pe pvemini)
|
|
- **User:** echo
|
|
- **SSH:** `ssh echo@10.0.20.170`
|
|
- **Portainer:** https://10.0.20.170:9443
|
|
- **Docker:** v28.3.3 + Compose v2.39.1
|
|
- **Resurse:** 1GB RAM, 20GB disk (4.1GB folosit)
|
|
- **Proiecte:** `/opt/docker/`
|
|
|
|
**Containere:**
|
|
| Container | Port | Status | Descriere |
|
|
|-----------|------|--------|-----------|
|
|
| portainer | 9443 | ✅ | Management Docker |
|
|
| nginx | 443, 8080 | ✅ | Reverse proxy |
|
|
| roa-efactura | 5003 | ⚠️ unhealthy | E-Factura ANAF |
|
|
| pdf-qr-app | 5002 | ✅ | QR facturi |
|
|
| flask_app | 5001 | ✅ | ROA Flask |
|
|
| bt-web-automation | 5000, 8081 | ✅ | BT automation |
|
|
| pulse | 7655 | ✅ | Monitoring Proxmox |
|
|
| wol-manager | - | ✅ | Wake-on-LAN |
|
|
| rustdesk (hbbs+hbbr) | 21115-21119 | ✅ | Remote desktop server |
|
|
|
|
**Proiecte docker-compose:**
|
|
- `/opt/docker/docker-compose.yaml` - stack principal (nginx, flask, efactura, qr)
|
|
- `/opt/docker/wol/docker-compose.yml` - Wake-on-LAN
|
|
- `/opt/docker/qrinvoice/docker-compose.yml` - QR Invoice app
|
|
|
|
### Proxmox Cluster (3 noduri)
|
|
**User:** echo | **Restricție:** doar din 10.0.20.173 (moltbot) | **Sudo:** qm, pct, pvesh
|
|
|
|
#### pveelite (10.0.20.202)
|
|
- **Resurse:** 16GB RAM, 557GB disk
|
|
- **SSH:** `ssh echo@10.0.20.202`
|
|
- **Scripturi:** `/opt/scripts/`
|
|
- `oracle-backup-monitor-proxmox.sh` - zilnic 21:00, verifică backup Oracle
|
|
- `weekly-dr-test-proxmox.sh` - sâmbătă 06:00, test restore Oracle DR (VM 109)
|
|
|
|
| VMID | Tip | Nume | Status |
|
|
|------|-----|------|--------|
|
|
| 109 | VM | oracle-dr-windows | stopped |
|
|
| 101 | LXC | minecraft | stopped |
|
|
| 110 | LXC | moltbot | running |
|
|
| 301 | LXC | docker-portainer-template | stopped |
|
|
|
|
#### pvemini (10.0.20.201)
|
|
- **Resurse:** 64GB RAM, 1.4TB disk
|
|
- **SSH:** `ssh echo@10.0.20.201`
|
|
- **Scripturi monitorizare:** `/opt/scripts/`
|
|
- `ha-monitor.sh` - status cluster HA
|
|
- `monitor-ssl-certificates.sh` - verifică SSL-uri zilnic
|
|
- `ups-shutdown-cluster.sh` - shutdown orchestrat la UPS critic
|
|
- `ups-monthly-test.sh` - test baterie UPS lunar (1 ale lunii)
|
|
- `ups-maintenance-shutdown.sh` - shutdown pentru mentenanță UPS
|
|
- `vm107-monitor.sh` - monitorizează VM 107
|
|
- **Emailuri automate:** backup, cluster status, UPS, restore Oracle (sâmbătă)
|
|
|
|
| Cron | Oră | Script/Job |
|
|
|------|-----|------------|
|
|
| Zilnic 00:00 | ha-monitor.sh | Status cluster HA |
|
|
| 1 ale lunii 00:00 | ups-monthly-test.sh | Test baterie UPS |
|
|
| Zilnic 02:00 | vzdump backup | VM 100,108,104,106,201,171 → storage "backup" |
|
|
| Zilnic 22:00 | vzdump backup | LXC 101,110 (moltbot) → backup-pvemini-nfs |
|
|
|
|
| VMID | Tip | Nume | Status |
|
|
|------|-----|------|--------|
|
|
| 201 | VM | roacentral | running |
|
|
| 300 | VM | Win11-Template | stopped |
|
|
| 302 | VM | oracle-test-302 | stopped |
|
|
| 100 | LXC | portainer | running |
|
|
| 103 | LXC | dokploy | running |
|
|
| 104 | LXC | flowise | running |
|
|
| 105 | LXC | test | stopped |
|
|
| 106 | LXC | gitea | running |
|
|
| 108 | LXC | central-oracle | running |
|
|
| 171 | LXC | claude-agent | running |
|
|
|
|
#### pve1 (10.0.20.200)
|
|
- **Resurse:** 32GB RAM, 1.3TB disk
|
|
- **SSH:** `ssh echo@10.0.20.200`
|
|
- **Status:** Gol (fără VM/LXC)
|
|
|
|
---
|
|
|
|
## ⚡ Echo Work - Unelte specifice
|
|
|
|
**TOOLS.md:** `agents/echo-work/TOOLS.md`
|
|
|
|
- **ANAF Monitor:** `tools/anaf-monitor/monitor.py` - verificare la fiecare 6 ore
|
|
- Monitorizează: D100, D101, D200, D390, D406, situații financiare, E-Factura
|
|
|
|
---
|
|
|
|
## ❤️ Echo Health - Unelte specifice
|
|
|
|
**TOOLS.md:** `agents/echo-health/TOOLS.md`
|
|
|
|
- Tracking sănătate (de creat)
|
|
- Resurse NMG (de adăugat)
|
|
- Post negru tracker (de creat)
|
|
|
|
---
|
|
|
|
## 🪜 Echo Growth - Unelte specifice
|
|
|
|
**TOOLS.md:** `agents/echo-growth/TOOLS.md`
|
|
|
|
- **Ritual zilnic:** 08:00 și 23:00 - citate cu format specific
|
|
- Tehnici CNV, NLP, Sleight of Mouth
|
|
|
|
---
|
|
|
|
## ⭕ Echo Sprijin - Unelte specifice
|
|
|
|
**TOOLS.md:** `agents/echo-sprijin/TOOLS.md`
|
|
|
|
- **Pagină dedicată:** https://moltbot.tailf7372d.ts.net/echo/notes.html (filtrează @grup-sprijin)
|
|
- **Proiect:** `kb/projects/grup-sprijin/`
|
|
- **Biblioteca activități:** `kb/projects/grup-sprijin/biblioteca.json`
|
|
- **Fișe:** `kb/projects/grup-sprijin/fise/`
|
|
- **Template:** `kb/projects/grup-sprijin/template-fisa.md`
|
|
|
|
---
|
|
|
|
## ⚜️ Echo Scout - Unelte specifice
|
|
|
|
**TOOLS.md:** `agents/echo-scout/TOOLS.md`
|
|
|
|
- Template activități scout
|
|
- Locații Constanța (de completat)
|
|
- Contacte echipă (de completat)
|
|
|
|
---
|
|
|
|
## 🔀 Routing pe baza uneltelor
|
|
|
|
| Unealtă/Domeniu | Agent |
|
|
|-----------------|-------|
|
|
| ANAF, cod, git, automatizări | Echo Work ⚡ |
|
|
| Tracking sănătate, NMG, post | Echo Health ❤️ |
|
|
| Ritual zilnic, coaching, NLP | Echo Growth 🪜 |
|
|
| Grup sprijin, fișe activități | Echo Sprijin ⭕ |
|
|
| Activități scout, tabere | Echo Scout ⚜️ |
|
|
|
|
---
|
|
|
|
*Ca coordonator, pot folosi orice unealtă sau pot direcționa către agentul specializat.*
|