fix(ci): corrige falha de banco ausente baixando olist_relational.db via GitHub#7
Open
LuizCorrei4 wants to merge 5 commits into
Open
fix(ci): corrige falha de banco ausente baixando olist_relational.db via GitHub#7LuizCorrei4 wants to merge 5 commits into
LuizCorrei4 wants to merge 5 commits into
Conversation
…ova pergunta - adiciona `pergunta_original` (imutavel) e `pergunta_atual` (fonte de verdade) ao estado - inicializa ambas no estado inicial do runtime - cria classificador de resposta humana com JSON estrito + fallback heuristico - atualiza `registrar_resposta_humana` para sempre anexar historico e, quando for `nova_pergunta`, resetar `sql_gerada`, `feedback_critico`, `erro_execucao`, `tentativas_loop`, `saida_terminal` e `status` para reexecutar o grafo limpo - migra prompts dos nos (planner/code_agent/critic/response) para usar `pergunta_atual` - ajusta prompt da resposta final para "pergunta atual" - atualiza fakes e testes (componentes, nos, integracao) e adiciona VCR de HITL - documenta o novo contrato de perguntas (README/ARQUITETURA/DESENVOLVIMENTO) O motivo do reset: quando a resposta humana vira uma nova pergunta, o estado anterior (SQL, feedback, erros e tentativas) passa a ser obsoleto e pode contaminar a nova execucao. Por isso, os campos sao limpos e o `status` volta para `iniciado`, garantindo que o fluxo replaneje, gere SQL e critique a partir da nova pergunta, sem herdar contexto incorreto.
Co-authored-by: Copilot <copilot@github.com>
… tratamento de perguntas do usuário com rest de 'pergunta_atual'
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.
No description provided.