mirror of
https://github.com/hoshikawa2/compass_backoffice.git
synced 2026-07-09 13:54:20 +00:00
bugfixes
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user