R-330: wire half recorded (hub models SMART 187/188/199)
gates / gates (push) Successful in 2m50s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-06 22:05:17 +02:00
parent b3c835625d
commit d7d640627d
7 changed files with 35 additions and 1 deletions
@@ -51,3 +51,4 @@ no reboot.
| R-896 | **OPENED** — the volume-persistence gate runs Docker locally (acts on DooPlex); its self-test fails here | 5 | (this batch) |
| R-762 | **measured** on the bench (runserver 52 %, gunicorn 1w 43 %, 2w 41 % of 384M; no kills); the numbers pick gunicorn with 2 workers; template change not built. Bench back to stopped; no Docker on DooPlex | 25 | (this batch) |
| R-516 | **22 Go-literal messages moved into the bundle** (14 formal → te-form; English added); a detached NAS attach failure follows the reader language; 2 red-proofs | 60 | controller `3d6ba28` |
| R-330 | **wire half built** in three repos (agent sends 187/188/199, controller decodes, hub models; carried only — no verdict reads them); 5 red-proofs | 15 | hub/agent/controller (this batch) |
@@ -0,0 +1,8 @@
## RED agent 1: the three R-330 cases disabled in parseSMART
=== RUN TestParseSMART_R330_CarriesTheThreeCounters
r330_smart_attrs_test.go:29: 187 Reported_Uncorrect must be carried (raw 1001); got <nil>
--- FAIL: TestParseSMART_R330_CarriesTheThreeCounters (0.00s)
=== RUN TestParseSMART_R330_AbsentIsOmittedNotZero
FAIL
FAIL gitea.dooplex.hu/admin/felhom-agent/internal/storage 0.009s
FAIL
@@ -0,0 +1,8 @@
## RED agent 2: omitempty dropped from the three tags
=== RUN TestParseSMART_R330_CarriesTheThreeCounters
=== RUN TestParseSMART_R330_AbsentIsOmittedNotZero
r330_smart_attrs_test.go:60: nvme: an unreported attribute must be omitted, not sent: {"health":"PASSED","temperature_c":null,"power_on_hours":null,"reallocated_sectors":null,"pending_sectors":null,"offline_uncorrectable":null,"reported_uncorrect":null,"command_timeout":null,"udma_crc_errors":null,"critical_warning":0,"media_errors":0,"percentage_used":3}
--- FAIL: TestParseSMART_R330_AbsentIsOmittedNotZero (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-agent/internal/storage 0.008s
FAIL
@@ -0,0 +1,7 @@
## RED controller: the reported_uncorrect tag renamed
=== RUN TestR330_DecodesTheThreeCounters
r330_smart_counters_test.go:28: 187 must decode from the agent's JSON (raw 1001); got <nil>
--- FAIL: TestR330_DecodesTheThreeCounters (0.00s)
=== RUN TestR330_CountersChangeNoVerdictYet
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/agentapi 0.006s
@@ -0,0 +1,6 @@
## RED hub test: the ReportedUncorrect field removed from the mirror (renamed away)
=== RUN TestHostStorageTarget_R330_SmartCountersRoundTrip
r330_smart_counters_test.go:25: 187 must round-trip through the hub mirror (raw 1001); got <nil>
--- FAIL: TestHostStorageTarget_R330_SmartCountersRoundTrip (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/internal/api 0.020s
@@ -0,0 +1,4 @@
## RED hub (G-1): agent night-r330 emits the three tags; the hub on origin/main does not model them
command_timeout (emitted at storage_targets.smart.command_timeout)
reported_uncorrect (emitted at storage_targets.smart.reported_uncorrect)
udma_crc_errors (emitted at storage_targets.smart.udma_crc_errors)