Files
echo-core/dashboard
Marius Mutu 84f304f7be Merge branch 'ralph/instrumentation' — rate limit budget + WhatsApp keywords
Rate limit budget tracking (TODO P2):
- tools/ralph_usage.py — pure functions extract/parse/aggregate; CLI subcomenzi
  append/summarize. Atomic write JSONL.
- tools/ralph/ralph.sh: după fiecare claude -p, append usage entry la
  workspace/<slug>/scripts/ralph/usage.jsonl (best-effort)
- dashboard/handlers/ralph.py: GET /api/ralph/usage[?days=N] cross-project
  aggregation cu today_cost, today_runs, by_project, by_day

WhatsApp text-keyword commands (TODO P3):
- src/router.py: helper _translate_whatsapp_text — `aprob <slug>` → `/a <slug>`,
  `stop <slug>` → `/k <slug>`, `stare`/`stare <slug>` → `/l`/`/l <slug>`. Aplicat
  DOAR pe adapter whatsapp în _try_ralph_dispatch (Discord/TG nu sunt afectate).
  Propose intentionally NOT covered (descrierea fragilă).

Tests: 53 noi (28 ralph_usage + 21 whatsapp_keywords + 4 dashboard endpoint extend)
+ 0 regressions pe modulele atinse.
2026-04-26 19:12:43 +00:00
..
2026-04-21 07:01:30 +00:00
2026-04-21 07:01:30 +00:00
2026-04-21 07:01:30 +00:00
2026-04-21 07:01:30 +00:00
2026-04-21 13:56:53 +00:00
2026-04-21 13:56:53 +00:00
2026-04-26 15:56:52 +00:00
2026-04-21 07:01:30 +00:00
2026-04-25 21:42:42 +00:00
2026-04-21 10:23:21 +00:00
2026-04-21 13:56:53 +00:00
2026-04-25 21:42:42 +00:00
2026-04-21 07:01:30 +00:00
2026-04-26 08:06:52 +00:00