AltimateAI / AltimateAI/altimate-code
audit: cost telemetry retention + re-identification policy
- Lingua principale
- TypeScript
- Stelle
- 811
- Fork
- 134
- Merge medio
- 3g 2h
- PR unite (30g)
- 50
Descrizione
**Summary:** v0.7.3 emits per-generation `cost` and `tokens_input_total` to Azure App Insights. Joined with `project_id` + `session_id`, the per-session economic activity of a specific customer is reconstructible.
**Recommended audit:**
1. Document retention TTL on the `generation` event type — confirm it matches what customers were told in TOS.
2. Evaluate whether `cost` should be bucketed/quantized at emit time (e.g., to the nearest cent) or kept exact for billing reconciliation.
3. Verify the `(project_id, session_id, cost)` tuple is not exposed to anyone outside billing.
**Origin:** Deferred from v0.7.3 release review (Compliance, P2).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.