root 600edde61a fix-deploy-harden-purge-ownership-validation 3 месяцев назад
..
examples 738a2e0f7a feat(host): finish algorithm kit and official host verify pipeline 3 месяцев назад
hth_sdk a089ed1c1f chore: rebind 6400 V1.1 firmware contract 3 месяцев назад
scripts 600edde61a fix-deploy-harden-purge-ownership-validation 3 месяцев назад
tests ef1f816779 fix: isolate 6400 review contract evidence 3 месяцев назад
MANIFEST.in 738a2e0f7a feat(host): finish algorithm kit and official host verify pipeline 3 месяцев назад
README.md a2998bd71c test: close 6400 release evidence gaps 3 месяцев назад
pyproject.toml eea478245d feat(sdk): expose 6400 CLI capture and Python client 3 месяцев назад
tox.ini 0c53ba1d9f fix(host): close R3 safety lifecycle, serial cancel, and evidence gates 3 месяцев назад

README.md

hth-sdk

Python client for hthd (hth.api.v1 over Unix sockets).

Install (from host/):

python3 -m pip install -e sdk/python

Generate protobuf stubs (required for the real gRPC client, not for MockClient):

python3 tools/gen_python_stubs.py

This package depends only on grpcio and protobuf. It does not depend on NumPy, pandas, or PyTorch.

Legacy door profile (not the 6400 thermal facade)

The following no-ACK statement applies only to the historical door controller. Its current hardware protocol is percent-close doors 0..100 (0 = full open, not STOP), GET_MOTOR_STATUS exists, no ACK, FPGA watchdog 30 s fed only by valid SET_ALL after startup, GET_TEMPERATURE dropped during startup. Fan RPM / encoder / firmware version = NOT_SUPPORTED. Temperature channel mapping = UNKNOWN. Hardware validation: NOT RUN.

6400 thermal facade

hth_sdk.thermal.connect_thermal() accepts only 6400-control, 6400-identification, or 6400-sim-debug; the old production and identification aliases are rejected. The facade validates the canonical profile ID and generated CPLD contract SHA-256 on every command and snapshot response. GET_SNAPSHOT wire sequencing (0x82 ACK followed by 0x42 data) is owned by hthd; the SDK never opens or parses a serial stream.