Evidence classes: source (this host/ tree), sim (pytest / Go tests), formal (none for host), TD (N/A), package (review zip), hardware (NOT RUN).
fail / blocked / not_run / placeholder is never a pass.
| ID | Requirement | Evidence | Status |
|---|---|---|---|
| P1 | Current protocol is percent-close 0..100, not jog 00/01/02 | docs/protocol-source-audit.zh-CN.md, profile.json, SDK door IDs |
source pass |
| P2 | Door 0 = FULL OPEN, not STOP | safety-contract, signal-dictionary, ActionBatchBuilder.set_door_close_percent, tests |
source+sim pass (SDK) |
| P3 | GET_MOTOR_STATUS exists | audit, proto Capabilities, profile protocol.commands | source pass |
| P4 | No ACK; SET_ALL never CONFIRMED | audit, SDK apply guard, MockClient confirmation, docs | source+sim pass (SDK/mock) |
| P5 | Watchdog 30s; fed only by valid SET_ALL after startup | audit, profile watchdog.*, docs | source pass; serial path = Go daemon |
| P6 | GET_TEMP dropped during startup; readiness = startup_complete | audit, profile startup.*, docs | source pass |
| P7 | Heartbeat repeats real percents; must not rewrite doors to 0 as no-op | safety-contract, architecture | source pass; runtime = Go |
| P8 | temperature.channel.00..26 mapping UNKNOWN | signal-dictionary, MockClient notes, profile sensors | source pass |
| P9 | Fan RPM / encoder / firmware version NOT_SUPPORTED | Capabilities flags, docs, mock | source+sim pass (SDK) |
| P10 | Hardware validation NOT RUN | README, known-gaps, this matrix | declared |
| A1 | Domain API vs gRPC distinction | architecture, api-contract | source pass |
| A2 | hthd owns serial; clients do not | architecture, deployment, SDK never opens serial | source pass (SDK); daemon = Go |
| A3 | observe.sock vs control.sock; groups hth-observe / hth-control | deployment, systemd comments | source pass |
| A4 | requested/accepted/dispatched/confirmed | api-contract, failure-semantics, control_mock.py printout | source+sim pass (mock) |
| A5 | Lease vs grpc keepalive vs systemd wd vs FPGA wd | architecture, safety-contract, unit omits WatchdogSec | source pass |
| S1 | Python package hth-sdk importable | sdk/python/pyproject.toml, tests/test_import.py |
sim (run locally) |
| S2 | Unix socket connect observe/control | hth_sdk.client.connect* |
source; live UDS needs daemon |
| S3 | grpc.aio wrappers | hth_sdk/client.py |
source; needs stubs |
| S4 | Typed exceptions | hth_sdk/exceptions.py, tests |
sim |
| S5 | Capabilities / Snapshot objects | hth_sdk/types.py |
sim |
| S6 | Telemetry async iter + epoch/gap notifications | MockClient + test_mock_client.py |
sim |
| S7 | ControlLease context manager | hth_sdk/lease.py |
sim (mock) |
| S8 | ActionBatch builder + validate/apply | batch + mock tests | sim |
| S9 | API version check | constants + client _maybe_check_api |
source |
| S10 | control example defaults to mock; no dangerous real actions | examples/control_mock.py, test_control_example.py |
sim |
| S11 | pytest without daemon | sdk/python/tests/* |
sim |
| D1 | Chinese docs complete (listed in README) | host/docs/*.zh-CN.md, README, this file |
source |
| D2 | protocol-source-audit not overwritten | git/worktree | constraint |
| D3 | systemd unit Restart/RuntimeDirectory/NoNewPrivileges/User=hth; no lying WatchdogSec | deploy/systemd/hthd.service |
source |
| D4 | udev template placeholders only | deploy/udev/99-hth-controller.rules.template |
source |
| D5 | tmpfiles + example yaml mock/serial | deploy/tmpfiles, deploy/examples |
source |
| D6 | Thin podman/docker socket-only example; no k8s/helm | deployment.zh-CN.md | source |
| C1 | hth.api.v1, reserved-tag policy, enum 0 UNSPECIFIED, split versions | proto + compatibility-policy | source |
| Z1 | review zip packager | tools/package_hth_review.py |
source (0644/0755 modes; contract evidence snapshot) |
| G1 | Go daemon compile/test | go test ./..., amd64/arm64 build logs |
sim pass (this environment) |
| G2 | go test -race |
CGO + gcc 14.2.0 this host | sim pass (2026-08-17) |
| G9 | Python pin matches gencode 7.35.1 / grpcio 1.83.0 | pyproject.toml; fresh venv+wheel+UDS on 3.11/3.12/3.13 | sim pass (CPython 3.11.13 / 3.12.11 / 3.13.5) |
| G11 | observer/controller/untrusted UDS | TestRealUsersSocketIsolation |
sim pass (root useradd) |
| G12 | RTL SET_ALL byte oracle | rtl_uart_cosim/run_setall_oracle.py |
sim pass |
| G13 | UART-bit Prod2U top cocotb | run_uart_bit_e2e.py |
sim pass (Icarus; no hthd) |
| G14 | hthd + PTY + UART-bit + top | run_hthd_pty_rtl.py |
sim pass (RTL_HTHD_PTY_UART_BIT_PASS; sim-only CLKS_PER_BIT=8). Production 217: FAIL this run |
| G15 | systemd-nspawn Debian | tools/nspawn_hthd_smoke.sh |
blocked (overlay container, PID1=sshd, cannot mount) |
| G16 | sd_notify READY/STOPPING |
TestHthdSdNotifyReadyAndStopping |
sim pass |
| G17 | PR soak 3 min | HTH_SOAK_SECONDS=180 TestPRSoakMock |
sim pass |
| G19 | staticcheck ./... |
staticcheck 2025.1.1 | sim pass this run |
| G20 | PR fuzz 60s | parser/profile/config/capture | sim pass this run |
| G21 | govulncheck ./... |
v1.1.4 / Go 1.24.6 | fail stdlib GO-2025-4007/4008 |
| G3 | Nil/empty Apply/Validate no panic | device + gRPC UDS tests | sim pass |
| G4 | Raw requested vs normalized | TestRawRequestedKeepsOriginalFloat |
sim pass |
| G5 | Slew rate Fake clock | safety + device tests | sim pass |
| G6 | Startup door batch Plan A | TestStartupRejectsDoorChange |
sim pass |
| G7 | Short write reconnect/epoch | TestShortWriteBumpsEpochAndKillsLease |
sim pass |
| G8 | Sticky event DATA_GAP | telemetry test | sim pass |
| G10 | ZIP 0644 / gofmt | packager + gofmt -l | source pass this tree |
| G18 | buf lint + buf breaking |
host/buf.yaml, tools/l0_contract_check.py |
sim pass (buf 1.47.2; FILE breaking vs hth.api.v1.desc.prev) |
| H1 | Physical serial / PTC / motors / JTAG | forbidden unless authorized | NOT RUN |
Current hardware protocol: percent-close doors 0..100, GET_MOTOR_STATUS exists, NO ACK, watchdog 30s fed only by SET_ALL after startup, GET_TEMP dropped during startup. Door 0 is FULL OPEN not STOP. Heartbeat repeats real percents. Temperature channel IDs temperature.channel.00..26 mapping UNKNOWN. Fan RPM / encoder / firmware version NOT_SUPPORTED. Hardware validation NOT RUN. Never claim production-ready hardware.