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

@@ -3,7 +3,7 @@ from pathlib import Path
REQUIRED = [
'app/main.py',
'app/workflows/agent_graph.py',
'app/workflows/backoffice_native_runtime.py',
'app/workflows/backoffice_workflow_executor.py',
'app/agents/backoffice_agent.py',
'src/agent/nodes/fetch_ticket_node.py',
'src/agent/nodes/validation_node.py',
@@ -55,7 +55,7 @@ for py in [p for p in Path('app').rglob('*.py') if '__pycache__' not in str(p)]:
main = Path('app/main.py').read_text()
needles = [
'BackofficeNativeRuntime',
'BackofficeWorkflowExecutor',
'execute_workflow(',
'backoffice_checklist',
'backoffice_response_emulator',
@@ -68,7 +68,7 @@ for n in needles:
# Guardrails must be bound from the backoffice agent profile, not only from global config.
runtime = Path('app/workflows/backoffice_native_runtime.py').read_text(errors='ignore')
runtime = Path('app/workflows/backoffice_workflow_executor.py').read_text(errors='ignore')
for needle in [
'_resolve_agent_profile("backoffice_anatel")',
'self.agent_profile["guardrails_config_path"]',
@@ -91,7 +91,7 @@ print('OK: backoffice framework-native structural validation passed')
print('python_files=', len(list(Path('.').rglob('*.py'))))
# IC/NOC/GRL observability must be framework-native in the backoffice runtime.
runtime = Path('app/workflows/backoffice_native_runtime.py').read_text(errors='ignore')
runtime = Path('app/workflows/backoffice_workflow_executor.py').read_text(errors='ignore')
for needle in [
'_safe_emit_ic',
'_safe_emit_noc',