Files
VoiceStudio/backend/worker/__init__.py
T
velixio 4f4d9c6e3e refactor(workers): give Remote workers its own System entry; ignore remote/
Remote workers was nested under Sharing, which reads backwards: everything
in Sharing is about letting something else reach THIS machine (a remote
backend, an MCP client, a share PIN), while remote workers sends work OUT
to machines you own. It is now its own System entry.

Docs-sync: every "Settings → Sharing → Remote workers" reference is
updated — the guide, the changelog, the two API error messages that tell a
user where to generate a token, and the agent's not-enrolled error.

Also ignores remote/ (local goal docs, review briefs, council reports) and
repoints the code comments that cited remote/goal_v2.md at the shipped
docs/remote-workers.md, so no committed file references a path that is not
in the repo.
2026-08-10 14:28:16 +05:30

12 lines
608 B
Python

"""Distributed worker support — protocol v1 domain core.
Scope note: this package holds the *domain* of the worker protocol — the task
lifecycle, deadline policy, capacity derivation, failure attribution, circuit
breaking, worker identity, and worker persistence. It deliberately contains no
network I/O and imports no gRPC: every rule in here is unit-testable without a
socket, and the transport layer (added later) is a thin adapter over it.
The wire contract lives in ``protocol/worker_v1.proto`` and is the only artifact
shared with the future Go control plane. See ``docs/remote-workers.md``.
"""