Phase 1: IPC-Verbindungsschicht + Build-first-Strategie (ADR-0008)

- ADR-0008: Build-first, gesammelte Windows-Validierung (Auftraggeber-Freigabe)
- ADR-0004 vorläufig: Rust auf GStreamer-D3D11-Elementpfad
- ADR-0005 vorläufig: Nuitka Onefolder
- hms_protocol: IpcServer/IpcClient mit Handshake (hello/welcome),
  Capabilities-Austausch, Heartbeat 500 ms bidirektional, Snapshot/Delta,
  Loopback-only-Enforcement, Re-Sync nach Reconnect, Version-Mismatch-Fehler
- 9 Integrationstests: echter TCP-Loopback, kein Mock
This commit is contained in:
HMS MediaEngine Agent
2026-09-11 00:50:03 +02:00
parent b0599d8b86
commit 9536e08748
11 changed files with 753 additions and 27 deletions
+19 -1
View File
@@ -1,10 +1,23 @@
"""hms_protocol versioniertes IPC (PLAN.md §6.2, ADR-0003).
Lokales TCP auf 127.0.0.1, length-prefixed MessagePack, Protokollversion 1.
Verbindungsschicht: Handshake, Snapshot/Delta, Heartbeat, Re-Sync.
"""
from hms_protocol.connection import (
HandshakeInfo,
IpcClient,
IpcServer,
ProtocolError,
)
from hms_protocol.envelope import Envelope, MessageType
from hms_protocol.framing import decode_frame, encode_frame, read_frame, write_frame
from hms_protocol.framing import (
decode_frame,
encode_frame,
read_frame,
read_frame_async,
write_frame,
)
from hms_protocol.idempotency import IdempotencyRegistry
__all__ = [
@@ -13,6 +26,11 @@ __all__ = [
"encode_frame",
"decode_frame",
"read_frame",
"read_frame_async",
"write_frame",
"IdempotencyRegistry",
"IpcServer",
"IpcClient",
"HandshakeInfo",
"ProtocolError",
]