refactor: consolidare Echo agent unic
- Șters agenți separați (echo-self, echo-scout, echo-sprijin) - Curățat duplicate din SOUL.md (YouTube notes, task-uri, structura foldere) - SOUL.md: 117 → 98 linii - Mutat fișiere din agents/*/memory/ în memory/ - Actualizat AGENTS.md și TOOLS.md
This commit is contained in:
128
TOOLS.md
128
TOOLS.md
@@ -1,57 +1,49 @@
|
||||
# TOOLS.md - Echo (Coordonator) 🌀
|
||||
# TOOLS.md - Echo (Unificat)
|
||||
|
||||
Ca coordonator, știu de toate uneltele echipei și pot ghida spre agentul potrivit.
|
||||
## Unelte comune
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Unelte Comune (toți agenții)
|
||||
|
||||
### Email (SMTP + IMAP)
|
||||
### 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/
|
||||
```
|
||||
- **Credențiale:** în `.env` (EMAIL_USER, EMAIL_PASSWORD)
|
||||
- **Trimitere:** `python3 tools/email_send.py "dest" "subiect" "corp"`
|
||||
- **Procesare inbox:**
|
||||
```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/`
|
||||
4. Completez TL;DR și extrag 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)
|
||||
- mmarius28@gmail.com (Marius - personal)
|
||||
- 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
|
||||
### Dashboard
|
||||
- **URL:** https://moltbot.tailf7372d.ts.net/echo/
|
||||
- **Task add:** `python3 dashboard/update_task.py add in-progress "titlu"`
|
||||
- **Task done:** `python3 dashboard/update_task.py done <task-id>`
|
||||
- **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/`)
|
||||
### KB (Knowledge Base)
|
||||
- **Folder:** kb/ (youtube/, coaching/, insights/, 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`
|
||||
@@ -64,22 +56,28 @@ python3 tools/email_process.py --save # salvează ca note în kb/emails/
|
||||
|
||||
### Git
|
||||
- **Repo:** ~/clawd → gitea.romfast.ro/romfast/clawd
|
||||
- **Commit script:** `python3 tools/git_commit.py --push`
|
||||
- **Commit:** `python3 tools/git_commit.py --push`
|
||||
|
||||
### 📅 Cron Jobs (toate)
|
||||
### ANAF Monitor
|
||||
- **Script:** `python3 tools/anaf-monitor/monitor_v2.py`
|
||||
- **Monitorizează:** D100, D101, D200, D390, D406, situații financiare, E-Factura
|
||||
|
||||
| Oră (UTC) | Oră (București) | Job | Agent | Ce face |
|
||||
---
|
||||
|
||||
## Cron Jobs
|
||||
|
||||
| Oră (UTC) | Oră (București) | Job | Canal | Ce face |
|
||||
|-----------|-----------------|-----|-------|---------|
|
||||
| 00:00 | 02:00 | content-discovery | echo | Caută video+articole pe teme recente |
|
||||
| 03:00 | 05:00 | archive-tasks | echo-work | Arhivează task-uri vechi |
|
||||
| 06:30 | 08:30 | morning-report | echo-work | Raport dimineață + propuneri |
|
||||
| 07:00 | 09:00 | morning-coaching | echo-health | Gând + provocare zilnică |
|
||||
| 07-17 | 09-19 | respiratie-orar | echo-health | Pauze orare pattern interrupt |
|
||||
| 15:00 mar,joi | 17:00 | project-checkin | echo-work | Check-in Vending Master |
|
||||
| 18:00 | 20:00 | evening-report | echo-work | Raport seară + propuneri |
|
||||
| 19:00 | 21:00 | evening-coaching | echo-health | Reflecție seară |
|
||||
| 19:00 dum | 21:00 | weekly-planning-sun | echo-work | Planning săptămânal |
|
||||
| 21:00 | 23:00 | night-execute | echo-work | Execută task-uri aprobate |
|
||||
| 00:00 | 02:00 | content-discovery | - | Caută video+articole pe teme recente |
|
||||
| 03:00 | 05:00 | archive-tasks | #echo-work | Arhivează task-uri vechi |
|
||||
| 06:30 | 08:30 | morning-report | #echo-work | Raport dimineață + propuneri |
|
||||
| 07:00 | 09:00 | morning-coaching | #echo-self | Gând + provocare zilnică |
|
||||
| 07-17 | 09-19 | respiratie-orar | #echo-self | Pauze orare pattern interrupt |
|
||||
| 15:00 mar,joi | 17:00 | project-checkin | #echo-work | Check-in Vending Master |
|
||||
| 18:00 | 20:00 | evening-report | #echo-work | Raport seară + propuneri |
|
||||
| 19:00 | 21:00 | evening-coaching | #echo-self | Reflecție seară |
|
||||
| 19:00 dum | 21:00 | weekly-planning | #echo-work | Planning săptămânal |
|
||||
| 21:00 | 23:00 | night-execute | #echo-work | Execută task-uri aprobate |
|
||||
|
||||
**Comenzi:**
|
||||
```bash
|
||||
@@ -90,13 +88,17 @@ cron action=update jobId=X # modifică job
|
||||
|
||||
**Regulă:** Când modific joburi, actualizez și acest tabel!
|
||||
|
||||
---
|
||||
|
||||
## Infrastructură
|
||||
|
||||
### 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)
|
||||
- **Resurse:** 1GB RAM, 20GB disk
|
||||
- **Proiecte:** `/opt/docker/`
|
||||
|
||||
**Containere:**
|
||||
@@ -104,7 +106,7 @@ cron action=update jobId=X # modifică job
|
||||
|-----------|------|--------|-----------|
|
||||
| portainer | 9443 | ✅ | Management Docker |
|
||||
| nginx | 443, 8080 | ✅ | Reverse proxy |
|
||||
| roa-efactura | 5003 | ⚠️ unhealthy | E-Factura ANAF |
|
||||
| roa-efactura | 5003 | ⚠️ | E-Factura ANAF |
|
||||
| pdf-qr-app | 5002 | ✅ | QR facturi |
|
||||
| flask_app | 5001 | ✅ | ROA Flask |
|
||||
| bt-web-automation | 5000, 8081 | ✅ | BT automation |
|
||||
@@ -117,8 +119,10 @@ cron action=update jobId=X # modifică job
|
||||
- `/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
|
||||
**User:** echo | **Acces:** doar din 10.0.20.173 (moltbot) | **Sudo:** qm, pct, pvesh
|
||||
|
||||
#### pveelite (10.0.20.202)
|
||||
- **Resurse:** 16GB RAM, 557GB disk
|
||||
@@ -173,49 +177,23 @@ cron action=update jobId=X # modifică job
|
||||
|
||||
---
|
||||
|
||||
## 🌱 Echo Self - Unelte specifice
|
||||
|
||||
**TOOLS.md:** `agents/echo-self/TOOLS.md`
|
||||
## Unelte per domeniu
|
||||
|
||||
### Self (wellbeing, coaching)
|
||||
- **Ritual zilnic:** 08:00 și 23:00 - citate cu format specific
|
||||
- Tehnici CNV, NLP, Sleight of Mouth
|
||||
- Tracking sănătate (de creat)
|
||||
- Resurse NMG (de adăugat)
|
||||
- Post negru tracker (de creat)
|
||||
|
||||
---
|
||||
|
||||
## ⭕ Echo Sprijin - Unelte specifice
|
||||
|
||||
**TOOLS.md:** `agents/echo-sprijin/TOOLS.md`
|
||||
|
||||
- **Pagină dedicată:** https://moltbot.tailf7372d.ts.net/echo/notes.html (filtrează @grup-sprijin)
|
||||
### Sprijin (grup joi)
|
||||
- **Notes:** filtru `@sprijin` pe https://moltbot.tailf7372d.ts.net/echo/notes.html
|
||||
- **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`
|
||||
|
||||
### Scout (cercetași)
|
||||
- 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 (coordonator) 🌀 |
|
||||
| Tracking sănătate, NMG, post, coaching, NLP | Echo Self 🌱 |
|
||||
| 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.*
|
||||
|
||||
Reference in New Issue
Block a user