agnes-the-ai-analyst/tests/fixtures/sessions/correction_churn_metric.jsonl
PavelDo e1108b6112
feat(memory): corporate memory v1+v1.5 + 0.15.0 (#72)
Adds corporate memory v1 (verification flywheel + contradiction detection + confidence scoring) and v1.5 (audience-based distribution + per-item privacy + admin curation). Server: GET /api/memory/bundle returns mandatory + ranked-approved items within a token budget; POST /api/memory/admin/mandate accepts an audience field gated against user_group_members; /api/memory/stats uses SQL aggregation. CLI: da sync writes received items to .claude/rules/km_*.md. Verification detector extracts knowledge candidates from session JSONL files. Auto-tagging via Haiku when ai: is configured. Adapted from the v9-era branch onto v13/v14 RBAC: _is_privileged_viewer + _effective_groups now query user_group_members JOIN user_groups; require_role(Role.KM_ADMIN) replaced with require_admin (km_admin collapsed into admin). Schema v15: knowledge_items context-engineering columns + knowledge_contradictions + session_extraction_state. Schema v16: verification_evidence. Cuts release v0.15.0 (also bundles #116 /me/debug page).
2026-04-29 07:16:22 +02:00

4 lines
633 B
JSON

{"role": "assistant", "content": "Based on the data, the churn rate is calculated as the number of customers lost divided by the total number of customers at the end of the period."}
{"role": "user", "content": "No, that's wrong. Our churn metric is MRR lost from churned accounts divided by total MRR at the start of the period. It's revenue-based, not customer-count based."}
{"role": "assistant", "content": "You're right, I apologize for the error. Your churn rate is revenue-based: MRR lost from churned accounts / total MRR at period start."}
{"role": "user", "content": "Exactly. And we calculate it monthly, not quarterly."}