This commit is contained in:
2026-06-13 15:40:44 -03:00
parent 0714b503d1
commit 1f1188dd4e
181 changed files with 1345 additions and 849 deletions

View File

@@ -94,7 +94,7 @@ class BackofficeAgent(AgentRuntimeMixin):
"BACKOFFICE_TICKET_CONTEXT_DETECTED",
normalized_state,
{
"status": "Contexto de ticket detectado; execução checklist deve ocorrer pelo BackofficeNativeRuntime nas rotas /agent/*",
"status": "Contexto de ticket detectado; execução operacional deve entrar como canal backoffice_rest via ChannelGateway/dispatcher",
"framework_native": True,
"reason": "o agente conversacional não compila nem executa grafos de domínio",
},
@@ -383,14 +383,14 @@ class BackofficeAgent(AgentRuntimeMixin):
A migração framework-native não permite que o agente conversacional
compile/execute ``src.agent.graphs`` diretamente. Os fluxos checklist e
response emulator são executados pelo BackofficeNativeRuntime chamado
pelas rotas/adapters do backend.
response emulator são executados pelo dispatcher de workflows após
normalização pelo canal backoffice_rest/ChannelGateway.
"""
return {
"executed": False,
"error": {
"type": "DeprecatedDirectGraphExecution",
"message": "Use BackofficeNativeRuntime.execute_workflow('backoffice_checklist')",
"message": "Use BackofficeRestChannelAdapter + BackofficeWorkflowDispatcher",
},
}