Optimizări cost 97%: session initialization, model routing, prompt caching
- Session Initialization Rule: Load ONLY SOUL.md, USER.md, IDENTITY.md, memory/YYYY-MM-DD.md * Skip MEMORY.md, session history on startup (load on-demand via memory_search) * Result: 50KB → 8KB context = 80% token savings - Model Routing: Haiku default, Sonnet/Opus for complex reasoning only * Haiku: routine tasks, memory searches (/bin/bash.00025/1K tokens) * Sonnet/Opus: architecture, security, complex debugging - Prompt Caching enabled for Sonnet + Opus (90% discount on reused content) * TTL: 5m cache window * Static files (SOUL.md, USER.md) cached automatically * Savings: 5KB prompt = $0.015 → $0.0015 per reused call - Rate Limits: 5s between API calls, 10s between searches, max 5 searches/batch - Budgets: $5/day warning @ 75%, $200/month warning @ 75% Gateway config (~/.openclaw/clawdbot.json): * agents.defaults.model.cache enabled for opus + sonnet * rateLimits + budgets sections added * heartbeat routing to Ollama ready (manual setup) Files updated: - AGENTS.md: Core optimization rules documented - memory/kb/tools/session-initialization.md: Detailed initialization strategy - ~/.openclaw/clawdbot.json: Model config + caching + rate limits + budgets
This commit is contained in:
56
memory/kb/tools/cron-jobs.md
Normal file
56
memory/kb/tools/cron-jobs.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# Cron Jobs - Lista completă
|
||||
|
||||
## Tabel joburi
|
||||
|
||||
| Oră (UTC) | Oră (București) | Job | Canal | Ce face |
|
||||
|-----------|-----------------|-----|-------|---------|
|
||||
| 00:00 | 02:00 | content-discovery | - | Caută video+articole pe teme recente → memory/kb/ |
|
||||
| 05:00 | 07:00 | security-audit | #echo-work (doar alerte) | Audit securitate zilnic |
|
||||
| 01:00 | 03:00 | night-execute-late | #echo-work | Continuă execuția task-uri (run 2) |
|
||||
| 03:00 | 05:00 | archive-tasks | #echo-work | Arhivează task-uri vechi |
|
||||
| 06:00,17:00 | 08:00,19:00 | insights-extract | - | Extrage insights din memory/kb/ + actualizează tehnici-pauza.md |
|
||||
| 08:00,14:00 | 10:00,16:00 | anaf-monitor | #echo-work (doar alerte) | Verifică modificări ANAF (hash + diff) |
|
||||
| 06:30 | 08:30 | morning-report | 📧 EMAIL | Raport dimineață |
|
||||
| 07:00 | 09:00 | morning-coaching | #echo-self + 📧 | Gând + provocare → memory/kb/coaching/ |
|
||||
| 07-17 | 09-19 | respiratie-orar | #echo-self | Pauze orare (skip dacă busy în calendar) |
|
||||
| 15:00 mar,joi | 17:00 | project-checkin | #echo-work | Check-in Vending Master |
|
||||
| 18:00 | 20:00 | evening-report | 📧 EMAIL | Raport seară |
|
||||
| 19:00 | 21:00 | evening-coaching | #echo-self + 📧 | Reflecție seară → memory/kb/coaching/ |
|
||||
| 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 (run 1) |
|
||||
|
||||
## Comenzi cron
|
||||
|
||||
```bash
|
||||
cron action=list # vezi toate joburile
|
||||
cron action=run jobId=X # rulează manual
|
||||
cron action=update jobId=X # modifică job
|
||||
```
|
||||
|
||||
**Regulă:** Când modific joburi, actualizez și acest fișier + TOOLS.md!
|
||||
|
||||
---
|
||||
|
||||
## Răspuns la rapoarte email
|
||||
|
||||
Marius răspunde cu:
|
||||
- `1 pentru X,Y` = execută ACUM propunerile X și Y
|
||||
- `2 pentru X,Y` = pune în tasks pentru noaptea asta
|
||||
- `3 pentru X,Y` = NU (skip, marchez [—])
|
||||
- Text liber = procesez și răspund
|
||||
|
||||
La heartbeat verific inbox și procesez răspunsurile.
|
||||
|
||||
---
|
||||
|
||||
## Marcaje insights
|
||||
|
||||
- `[ ]` = disponibil (rapoarte pot propune)
|
||||
- `[x]` = executat/implementat
|
||||
- `[—]` = skip/refuzat
|
||||
|
||||
---
|
||||
|
||||
## Flux rapoarte detaliat
|
||||
|
||||
Vezi: [FLUX-JOBURI.md](../projects/FLUX-JOBURI.md)
|
||||
Reference in New Issue
Block a user