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-02-13 10:20:55 +00:00
2026-04-21 07:05:46 +00:00
2026-02-14 21:44:13 +00:00
2026-02-14 21:44:13 +00:00
2026-02-13 10:20:55 +00:00
2026-04-21 07:15:00 +00:00
2026-04-26 18:36:35 +00:00
2026-04-21 07:22:48 +00:00
2026-04-21 07:22:48 +00:00
2026-04-21 07:22:48 +00:00
2026-04-21 07:22:48 +00:00
2026-04-26 19:05:50 +00:00
2026-04-21 13:56:53 +00:00
2026-02-13 16:12:56 +00:00
2026-04-26 19:11:35 +00:00
2026-02-15 15:10:44 +00:00
2026-02-15 11:09:59 +00:00
2026-04-21 07:14:51 +00:00
2026-02-13 16:49:57 +00:00
2026-04-26 18:38:51 +00:00
2026-04-26 18:38:51 +00:00
2026-04-26 18:14:24 +00:00
2026-04-26 19:05:50 +00:00
2026-04-26 18:38:51 +00:00
2026-04-26 18:14:24 +00:00
2026-04-21 07:05:29 +00:00
2026-02-13 17:54:59 +00:00
2026-04-26 18:36:35 +00:00
2026-02-13 20:55:04 +00:00
2026-04-26 19:05:50 +00:00
2026-02-14 21:44:13 +00:00