LGPD na Luma: inventário, direitos do titular e retenção
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, nodejs, sqlite
- Domain
- backend, databases, documentation
Research direction
The issue is blocked by usebridger#225 and also depends on #224. Start by reading those kernel issues and the inventory in this issue; then inspect the listed plugin data, luma/history.ts, logging, and apps/lumabot/docs/. Done means the plugins declare personal data, export and erase requests work, logs are reviewed, the privacy command and notice exist, and the end-to-end erase check and documentation are complete.
Written by the indexing model from the issue text.
Description
Contexto
O kernel vai ganhar a declaração personalData, o serviço privacy (export/erase/anonymize) e a retenção automática (murillous/usebridger#225). A Luma processa dado pessoal de gente que não é usuária dela por escolha: todo mundo dos grupos onde ela está. Ela deve ser o primeiro app a adotar.
Bloqueada por murillous/usebridger#225 (e #224 para auditar os pedidos).
Inventário atual (levantado do código)
| Onde | Dado | Titular | Persistido? | Proposta de retenção |
|---|---|---|---|---|
rank → totals, perChat |
userId, chatId, contagem de mensagens |
remetente | sim | 365 d sem atividade; erase = anonimizar (mantém o total do grupo) |
user-names → KV nick:{id}, seen:{id} |
apelido, último visto | remetente | sim | while-active; erase = apagar |
reminders |
chatId, texto livre, fireAt |
quem criou | sim | apagar 30 d depois de disparado/cancelado |
luma → personas, KV persona:{chatId} |
persona custom (texto livre) | criador/chat | sim | while-active do chat |
luma/history.ts |
turnos de conversa com a IA | remetente | não (memória, expira por maxAgeMs) |
declarar como memória volátil; erase limpa o Map |
ai, transcribe, web-search, resumo, spontaneous |
texto, áudio e imagens enviados à IA | remetente e terceiros do grupo | não localmente; sim no provedor | declarar sharedWith: Gemini / OpenAI / DeepSeek (transferência internacional, art. 33) |
| auth state do Baileys (kernel) | nomes de contato (ADR 0097 do Bridger) | contatos | sim | coberto pelo kernel |
| logs (pino / dashboard ao vivo) | pode conter telefone e texto | todos | depende do destino | redact de telefone/e-mail; texto fora de info |
ai-metrics |
uso por modelo | — | sim | sem dado pessoal; declarar personalData: false |
Tarefas
- Declarar
personalDataem todos os plugins acima; zero aviso no boot - Hooks
onErase/onExportpara ohistoryem memória - Comandos do titular (desligados por padrão, ligáveis na config):
!meusdados(export em JSON como documento no privado) e!esquecer(erase com confirmação por botão); rate limit de 1 por dia - Comando de owner para executar um pedido recebido por fora (
!lgpd apagar <número>) - Revisar logs: nenhum texto de mensagem em
info;redactligado - Aviso de privacidade: texto curto (
!privacidade) dizendo o que a Luma guarda, por quanto tempo e quais provedores de IA recebem o conteúdo - Teste de ponta a ponta: um titular com dados em rank, user-names, reminders e history; depois do
erase, varredura do SQLite sem o id dele (exceto pseudônimo e auditoria) - Docs em
apps/lumabot/docs/privacidade.md
- Dominant language
- JavaScript
- Stars
- 26
- Forks
- 6
- Avg merge
- 45m
- Merged PRs (30d)
- 143
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from murillous/LumaBot
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
area:plugin type:feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
area:legacy breaking
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
area:infra type:feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
area:legacy type:feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
All issues in murillous/LumaBot
Similar issues
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
microsoft/playwright#43640 ·
Maintainers usually reply within 1 day
-
✏️ Editing - Tags
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
openfoodfacts/openfoodfacts-server#15127 ·
Maintainers usually reply within 1 day
-
enhancement good first issue hacktoberfest help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Andbal23/dynamic-music-pill#195 ·
Maintainers usually reply within 1 day