Skip to content

Route agent inputs through runtime gateway#771

Merged
shuxueshuxue merged 1 commit intodevfrom
brother/agent-runtime-gateway
Apr 18, 2026
Merged

Route agent inputs through runtime gateway#771
shuxueshuxue merged 1 commit intodevfrom
brother/agent-runtime-gateway

Conversation

@shuxueshuxue
Copy link
Copy Markdown
Collaborator

Summary

  • add Agent Runtime Gateway envelopes for chat delivery and direct thread input
  • route Chat delivery and Thread message entrypoints through the gateway
  • delete legacy message_routing service and core.agents.communication delivery package
  • move chat delivery wiring into backend/web/services/chat_delivery_adapter.py

Verification

  • uv run pytest tests/Unit/backend/web/services/test_chat_delivery_adapter.py tests/Unit/backend/web/services/test_agent_runtime_gateway_chat_delivery.py tests/Unit/backend/web/services/test_agent_runtime_gateway_thread_input.py tests/Integration/test_threads_router.py tests/Integration/test_query_loop_backend_contracts.py tests/Integration/test_messaging_social_handle_contract.py tests/Integration/test_messaging_router.py -q
  • uv run pytest tests/Unit/backend/web/services tests/Unit/core/test_agent_pool.py tests/Unit/core/test_agent_service.py tests/Integration/test_threads_router.py tests/Integration/test_query_loop_backend_contracts.py tests/Integration/test_messaging_social_handle_contract.py tests/Integration/test_messaging_router.py -q
  • uv run ruff check .
  • uv run pyright backend/web/services/agent_runtime_gateway.py backend/web/services/chat_delivery_adapter.py backend/web/core/lifespan.py backend/web/routers/threads.py tests/Unit/backend/web/services/test_chat_delivery_adapter.py tests/Unit/backend/web/services/test_agent_runtime_gateway_chat_delivery.py tests/Unit/backend/web/services/test_agent_runtime_gateway_thread_input.py
  • git diff --check

Note: full-repo pyright still fails on existing unrelated type debt outside this slice.

@shuxueshuxue shuxueshuxue force-pushed the brother/agent-runtime-gateway branch 2 times, most recently from 17afda4 to 5f4fb89 Compare April 18, 2026 12:18
@shuxueshuxue shuxueshuxue force-pushed the brother/agent-runtime-gateway branch from 5f4fb89 to d714a2c Compare April 18, 2026 12:21
@shuxueshuxue shuxueshuxue merged commit 29f3572 into dev Apr 18, 2026
6 checks passed
@shuxueshuxue shuxueshuxue deleted the brother/agent-runtime-gateway branch April 18, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant