Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Adotar o log de auditoria do Bridger na Luma

Open
#404 0 comments 0 reactions 0 assignees View on GitHub

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, node.js
Domain
backend, security

Research direction

Read the linked Bridger issues #224 and #223 first; this work is explicitly blocked until they ship in an @usebridger/* release. Then inspect the Luma plugin actions in the table and the dashboard documentation at apps/lumabot/docs/dashboard.md. Done means adopting ctx.audit for the listed administrative actions, adding a test for each action with @usebridger/testing, configuring retention, and documenting the workflow in apps/lumabot/docs/.

Written by the indexing model from the issue text.

Description

area:plugin type:feature

Contexto

O kernel vai ganhar ctx.audit (murillous/usebridger#224) e usuários individuais no dashboard (murillous/usebridger#223). A Luma deve adotar os dois assim que saírem numa versão do @usebridger/*, para responder "quem mudou o quê" no bot em produção.

Bloqueada por murillous/usebridger#224 e murillous/usebridger#223. Não contornar aqui: lacuna é do Bridger.

O que auditar na Luma

O kernel e o dashboard já auditam plugin enable/disable/reload, config, segredos e login. Fica com a Luma o que só ela faz:

Plugin Ação action Observação
luma troca de persona do chat, criação/remoção de persona custom luma.persona.set / .create / .delete target: chat; sem o texto da persona em details
luma !luma limpar (esquecer histórico) luma.history.clear ator = contato (titular)
ai troca de provider/modelo pela config ou comando de owner ai.model.change sem chave de API
reminders lembrete criado/cancelado por terceiro (owner apagando de outro) reminders.delete só quando o ator ≠ dono do lembrete
rank reset de ranking rank.reset
comandos role: 'owner' qualquer execução command.owner registro único no middleware, não comando a comando
pairing novo pareamento / sessão do WhatsApp perdida transport.pairing

Volume: não auditar mensagem comum nem resposta da IA. Auditoria registra o ato administrativo, não a conversa.

Tarefas

  • Subir as versões do @usebridger/* com ctx.audit e usuários no dashboard
  • Migrar o token do dashboard (data/dashboard-token) para o bootstrap do primeiro owner; atualizar apps/lumabot/docs/dashboard.md
  • Middleware que audita comandos owner
  • ctx.audit.record nas ações da tabela, com teste por ação no @usebridger/testing
  • Retenção da auditoria na config da Luma (proposta: 1 ano; não é contrato público)
  • Docs do COMO em apps/lumabot/docs/
Dominant language
JavaScript
Stars
26
Forks
6
Avg merge
45m
Merged PRs (30d)
142

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from murillous/LumaBot

All issues in murillous/LumaBot

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.