Add architecture package and application skeleton
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# ADR 004: Local Worker Transport
|
||||
|
||||
## Status
|
||||
|
||||
Accepted
|
||||
|
||||
## Context
|
||||
|
||||
Local Worker работает на машине пользователя и должен:
|
||||
|
||||
- сам инициировать соединение;
|
||||
- не требовать входящего порта на пользовательском ПК;
|
||||
- поддерживать прогресс, heartbeat и dispatch commands.
|
||||
|
||||
## Decision
|
||||
|
||||
Основной transport для worker gateway: outbound WebSocket session от worker к серверу.
|
||||
|
||||
## Required Semantics
|
||||
|
||||
- registration handshake;
|
||||
- capability advertisement;
|
||||
- heartbeat;
|
||||
- command dispatch;
|
||||
- progress events;
|
||||
- result envelope;
|
||||
- cancellation;
|
||||
- reconnect with new session id.
|
||||
|
||||
## Consequences
|
||||
|
||||
Worker transport остается отдельным delivery/infrastructure adapter и не врастает в orchestration core.
|
||||
|
||||
Reference in New Issue
Block a user