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

@@ -2,4 +2,4 @@
The original `src/agent/graphs` package was moved to `legacy_reference_disabled/original_develop/src_agent_graphs`.
It is intentionally not importable by the active backend. The active backend builds and executes workflows through `app.workflows.backoffice_native_runtime.BackofficeNativeRuntime`, which uses the framework runtime and the original domain nodes/services/prompts as customizations.
It is intentionally not importable by the active backend. The active backend builds and executes workflows through `app.workflows.backoffice_workflow_executor.BackofficeWorkflowExecutor`, which uses the framework runtime and the original domain nodes/services/prompts as customizations.

View File

@@ -1,5 +1,9 @@
# Disabled legacy REST/executor layer
# Legacy routers disabled
The original route and executor modules were moved to `legacy_reference_disabled/original_develop/` and are kept only for audit/reference.
The original legacy API router/executor packages are not mounted by the active backend.
Active endpoints are implemented in `app/main.py` as thin adapters that call `BackofficeNativeRuntime.execute_workflow(...)`.
Active endpoints are implemented in `app/main.py` as compatibility REST adapters. They now translate the legacy payload into a `backoffice_rest` channel envelope, normalize it through the framework ChannelGateway path, and dispatch the requested LangGraph workflow through `BackofficeWorkflowDispatcher`.
The dispatcher is the only layer that calls `BackofficeWorkflowExecutor.execute_workflow(...)`. FastAPI routes no longer call the workflow executor directly.
This preserves legacy external contracts while keeping execution behind the framework channel/workflow boundary.

Some files were not shown because too many files have changed in this diff Show More