feat: modulariza e protege o chat da IA - #12
Merged
Conversation
…s.md - Document first-time install, manual activation after opening the desktop shortcut, and production/scheduled activation. - Update start-mestre-v10.ps1 to use the primary Node.js backend (v10\launcher.js) instead of the removed legacy PowerShell backend. - Include ativar-atualizar-tudo.bat/ps1 for a manual, step-by-step update-and-activation workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jeanavila997-ux
marked this pull request as ready for review
August 19, 2026 09:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que mudou
v10/chat/, com estilos, template, documentação e exemplo de integraçãoinnerHTMLao montar a lista de modelos do Ollama/chat/*contra traversal, extensões ativas não permitidas e páginas sem CSPv10/chat-agent/mantém apenas perfis e referências de designPor que
O chat estava dividido entre a implementação ativa no
index.html, um protótipo simulado e duas estruturas de extração. Além disso, comandos classificados como baixo risco eram executados automaticamente, contrariando a política do projeto para comandos sugeridos pela IA.Impacto
O chat principal mantém o comportamento atual, mas passa a pedir confirmação para toda execução sugerida. O módulo separado fica disponível em
/chat/example-integration.htmlpara validação antes da migração definitiva do monólito.Validação
node --check ../v10/launcher.jsnode --check ../v10/chat/chat-module.jsnode --test test/chat-permissions.test.js— 8/8 aprovadosnode --test test/launcher-security.test.js— 2/2 aprovadosMestreDoPC-Launcher.ps1está ausente da árvore local