iachat/app/javascript/dashboard/i18n/locale/pt_BR
Rodribm10 cfffea9c16 feat(captain): semantic memory fixes + roleta + reclamações + analytics
Consolida o trabalho desta branch de abril/2026 em um bloco pronto pra
testar em staging antes do merge pra main.

## Correções de memória semântica
- ExtractionService: Princípio Zero + Regra de Ouro (ação consumada vs intenção).
- Cenário Daniela_Reservas: Passo 0 de classificação (consulta/intenção/fora).

## Roleta da Sorte (end-to-end)
- Schema Supabase + 7 RPCs atômicas (server-side, idempotentes).
- Services: Offer, Redeem, WeeklyReport.
- Jobs: OfferRouletteJob (hook em ConfirmationService após Pix pago),
  NotifyRevealed + Scheduler de fallback.
- Tool manual GenerateRoletaLinkTool + endpoint público /roleta/notify.
- Dashboard /captain/roleta com Resgate + Relatório + anomaly detection.

## Cenário Reclamacoes_Ouvidoria
- Triagem P1-P4, framework LAST, Three-level listening, Self-check.
- Sem compensação material, detecção de cliente frustrado eleva prioridade.

## Analytics
- Funil de conversão /captain/funnel: 5 etapas via regex, zero LLM.
- Detector de churn via ChurnOutreach* (cron dias úteis 10h-17h BRT).

## Trabalho pré-existente incluído
- Captain Executive Reports (ceo_digest, mattermost_delivery).
- get_reserva_preco_tool, Lifecycle ajustes, Reservations UI polimentos.

## Outros
- .gitignore: patterns pra credenciais.
- Migrations de scenarios idempotentes.
- i18n completa pt_BR+en pra roleta/funnel.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 15:36:25 -03:00
..
advancedFilters.json chore: Update translations (#11458) 2025-05-10 19:21:34 -07:00
agentBots.json chore: Update translations (#11574) 2025-06-10 10:10:52 -04:00
agentMgmt.json chore: Update translations (#11458) 2025-05-10 19:21:34 -07:00
attributesMgmt.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
auditLogs.json chore: Update translations (#11574) 2025-06-10 10:10:52 -04:00
automation.json feat: enhance scheduled message + improved automations (#208) 2026-02-03 15:42:31 -03:00
bulkActions.json Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
campaign.json Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
cannedMgmt.json chore: Update translations (#11002) 2025-03-03 14:27:33 +05:30
captain.json feat(captain): semantic memory fixes + roleta + reclamações + analytics 2026-04-21 15:36:25 -03:00
chatlist.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
companies.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
components.json chore: Update translations (#12208) 2025-08-19 12:27:13 +05:30
contact.json feat: edit contact modal confirm discard (#199) 2026-01-27 20:03:42 -03:00
contactFilters.json chore: Update translations (#12311) 2025-09-04 11:02:44 +05:30
contentTemplates.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
conversation.json feat(captain-memory): redesign Contact Memories UI with type badges + relative time + fix i18n keys 2026-04-19 07:38:50 -03:00
csatMgmt.json chore: Update translations (#7728) 2023-08-15 13:47:38 -07:00
customRole.json chore: Update translations (#11400) 2025-04-30 15:34:11 -07:00
datePicker.json chore: Update translations (#10890) 2025-02-12 09:33:19 -08:00
emoji.json chore: Update translations (#8161) 2023-10-25 19:20:30 -07:00
general.json Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
generalSettings.json chore: Update translations (#12208) 2025-08-19 12:27:13 +05:30
helpCenter.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
inbox.json chore: Update translations (#12208) 2025-08-19 12:27:13 +05:30
inboxMgmt.json chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00
index.js chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00
integrationApps.json chore: Update translations (#11077) 2025-03-19 16:48:56 -07:00
integrations.json feat(captain): semantic memory fixes + roleta + reclamações + analytics 2026-04-21 15:36:25 -03:00
jasmine.json chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00
labelsMgmt.json chore: Update translations (#11043) 2025-03-07 14:07:28 -08:00
login.json chore: Update translations (#12519) 2025-09-25 15:59:03 +05:30
macros.json chore: Update translations (#11903) 2025-07-14 14:52:57 +05:30
mfa.json chore: Update translations (#12506) 2025-09-24 10:47:31 +05:30
report.json Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
resetPassword.json chore: Update translations from Crowdin (#9835) 2024-07-25 11:58:22 -07:00
search.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00
setNewPassword.json chore: Update translations (#7033) 2023-05-06 15:10:50 +05:30
settings.json feat(captain): semantic memory fixes + roleta + reclamações + analytics 2026-04-21 15:36:25 -03:00
signup.json chore: Update translations (#12555) 2025-10-02 18:24:12 +05:30
sla.json chore: Update translations (#11400) 2025-04-30 15:34:11 -07:00
teamsSettings.json chore: Update translations (#11400) 2025-04-30 15:34:11 -07:00
webhooks.json Chore: Add pt and pt_BR translations (#813) 2020-05-04 17:33:55 +05:30
whatsappTemplates.json chore: Update translations (#12432) 2025-09-23 11:07:15 +05:30
yearInReview.json chore: Update translations (#13109) 2026-01-09 16:11:44 -08:00