SOUL.md: don't retract excessively when information is correct. TOOLS.md: verify tools before claiming unavailable, offer alternatives. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
103 lines
4.5 KiB
Markdown
103 lines
4.5 KiB
Markdown
# TOOLS.md - Echo
|
|
|
|
## Reguli utilizare unelte
|
|
|
|
- **Dacă ai folosit un tool cu succes în conversația curentă, el este disponibil în continuare.** Nu spune niciodată "nu am acces" la un tool pe care tocmai l-ai folosit.
|
|
- **Dacă un tool eșuează, oferă imediat o alternativă practică** — nu cere utilizatorului să configureze ceva. Exemplu: dacă emailul nu merge, formatează textul frumos și spune "copiază de aici".
|
|
- **Verifică întâi, vorbește pe urmă.** Înainte să spui "nu pot", încearcă tool-ul. Dacă ai calendar_check.py, rulează-l — nu presupune că nu funcționează.
|
|
|
|
## Unelte principale
|
|
|
|
### Email
|
|
- **Trimitere:** `python3 tools/email_send.py "dest" "subiect" "corp"`
|
|
- **Procesare:** `python3 tools/email_process.py [--save|--all]`
|
|
- **From:** Echo Core<mmarius28@gmail.com> | **Reply-To:** echo@romfast.ro
|
|
- **Format rapoarte:** 16px text, 18px titluri, albastru (#2563eb) DONE, gri (#f3f4f6) PROGRAMAT
|
|
|
|
### Dashboard
|
|
- **URL:** https://moltbot.tailf7372d.ts.net/echo/
|
|
- **Issues:** Editez direct `dashboard/issues.json`
|
|
- **Notes:** /echo/notes.html | **Files:** /echo/files.html | **Habits:** /echo/habits.html
|
|
|
|
### Git
|
|
- **Repo:** gitea.romfast.ro/romfast/echo-core
|
|
- `python3 tools/git_commit.py --push`
|
|
|
|
### Calendar
|
|
- **Credentials:** credentials/google-calendar.json + google-calendar-token.json
|
|
- **Moduri:** `python3 tools/calendar_check.py [today|week|travel|busy|soon|all]`
|
|
- **Travel detection:** nlp/bucuresti keywords, 7-11 zile înainte alertă bilete
|
|
|
|
### KB
|
|
- **Folder:** memory/kb/ (youtube/, coaching/, insights/, projects/)
|
|
- **Update:** `python3 tools/update_notes_index.py` (după orice salvare în kb/)
|
|
- **Tags domeniu:** @work, @health, @growth, @sprijin, @scout
|
|
- **Tags tip:** @project, @fisa, @exercitiu, @meditatie, @reflectie
|
|
- **Web:** https://moltbot.tailf7372d.ts.net/echo/notes.html
|
|
|
|
### Memory Search
|
|
- `memory_search query="text"` → caută semantic în memory/
|
|
- `memory_get path="..." from=N lines=M` → extrage snippet
|
|
- **Index:** memory/echo.sqlite (Ollama all-minilm embeddings)
|
|
|
|
### ANAF Monitor
|
|
- **Script:** `python3 tools/anaf-monitor/monitor_v2.py` (v2.2)
|
|
- **Funcții:** Hash detection, version extraction, diff, snapshots
|
|
- **Job:** 10:00 și 16:00 București, luni-vineri
|
|
|
|
### Procesare Bonuri
|
|
- **Script:** `python3 tools/process_bon.py <pdf> [--save]`
|
|
- **Flux:** Dry run → confirmare → --save (Oracle + SQLite)
|
|
|
|
### YouTube Subtitles
|
|
- **Script:** `python3 tools/youtube_subs.py URL [lang]`
|
|
- **Output:** titlu + transcript text (subtitrări clean)
|
|
|
|
### Whisper
|
|
- **Venv:** ~/echo-core/.venv/ | **Model:** base
|
|
- **Utilizare:** `whisper.load_model('base').transcribe(path, language='ro')`
|
|
|
|
### Pauze respirație
|
|
- **Script:** `python3 tools/pauza_random.py`
|
|
- **Bancă:** memory/kb/tehnici-pauza.md
|
|
- **Format:** **Nume** → pași → 📊 Rezultat → 📚 Sursă
|
|
- **Flux actualizare:** Automat via insights-extract job
|
|
|
|
### Ralph Workflow (Autonomous Code Generation)
|
|
- **Generator PRD:** `python3 tools/ralph_prd_generator.py` - Generează PRD și prd.json în Python
|
|
- **Wrapper:** `python3 tools/ralph_workflow.py` - Lansare completă (PRD + Ralph)
|
|
- **Loop autonom:** `ralph.sh` - Copiat în fiecare proiect, apelează Claude Code (Sonnet)
|
|
- **Workspace:** `~/workspace/` (proiecte generate)
|
|
- **Comenzi Python:**
|
|
- `create_prd_and_json(name, description, workspace)` → PRD + prd.json
|
|
- `run_ralph(prd_json, max_iter, bg)` → lansare loop autonom
|
|
- `check_status(project_dir)` → progres stories
|
|
- **Model strategy:** Opus (PRD/stories) → Sonnet (implementare)
|
|
- **Doc:** `memory/kb/tools/ralph-workflow.md`
|
|
|
|
## Cron Jobs
|
|
|
|
**Principale:** morning-report (08:30), morning-coaching (09:00), respiratie-orar (09-19), anaf-monitor (10:00,16:00), evening-report (20:00), evening-coaching (21:00), night-execute (23:00)
|
|
|
|
**Secundare:** content-discovery (02:00), security-audit (07:00), insights-extract (08:00,19:00), archive-tasks (05:00), project-checkin (17:00 mar,joi), night-execute-late (03:00), weekly-planning (21:00 dum)
|
|
|
|
**Lista completă:** memory/kb/tools/cron-jobs.md
|
|
**Comenzi:** `cron action=list|run|update jobId=X`
|
|
|
|
## Infrastructură
|
|
|
|
**Proxmox:** 3 noduri (pveelite .202, pvemini .201, pve1 .200) | **User:** echo
|
|
**Docker:** LXC 100 - 10.0.20.170:9443 (portainer)
|
|
**Ollama:** LXC 104 - 10.0.20.161:11434 (all-minilm embeddings)
|
|
**Detalii:** memory/kb/tools/infrastructure.md
|
|
|
|
## Unelte per domeniu
|
|
|
|
### Sprijin (grup joi)
|
|
- Proiect: `memory/kb/projects/grup-sprijin/`
|
|
- Biblioteca: `biblioteca.json` | Fișe: `fise/`
|
|
|
|
### Self
|
|
- Ritual: 08:00 și 23:00 coaching
|
|
- Tehnici: CNV, NLP, Sleight of Mouth
|