2.4 KiB
REPORT — felhom-controller v0.310.0: „A gép kikapcsolása" (2026-10-13)
Baseline 1b2f74c (v0.309.0). Commit 201f936. MinAgent 0.155.0. Needs hub v0.149.0 for the 14-day alarm hold.
Design: felhom.eu documentation/architecture/14-host-power-off.md.
What the household sees
Beállítások → Rendszer, after the restart cards: „A gép kikapcsolása" — „A gép teljesen kikapcsol. Az alkalmazásaid és a mentések leállnak. Újra bekapcsolni csak otthon lehet: nyomd meg a gép bekapcsológombját." The button opens a dialog; the household types KIKAPCSOLÁS (EN: TURN OFF); then „A gép kikapcsol. Néhány perc múlva teljesen leáll…". A refusal shows one sentence (backup running, just started, other system on the machine…). With an older agent: the button is hidden and one line says an update is needed.
The restart card now says what it does (R-999): „A Felhom újraindítása" — „Újraindítja a Felhom részt a gépen: a
vezérlőpultot és az összes alkalmazást. A gép maga bekapcsolva marad. Kb. 30 másodpercig semmi nem érhető el, utána
minden magától visszajön. Ha csak a vezérlőpult akad, a fenti „Vezérlő újraindítása" elég." /api/server/reboot is
POST only (one of R-983's seven).
Proof
internal/web/poweroff_handlers_test.go(6 tests): the word, POST only, refusals shown and nothing asked of the agent, hidden for an old agent, a sentence for every reason in both languages, the restart route refuses a GET. Each guard red-proofed. The foursettings_systemi18n parity fixtures regenerated on purpose (diff = the new card, the dialog's type-to-confirm, the restart texts).go test ./...andcontroller_gates.pygreen.- Live on the N100 (endpoint level — the calls the page makes; no browser on DooPlex): the card and the new texts on
/settings, the old heading gone;POST /api/server/poweroffwith no word and with „igen" → 400 naming the word;GET /api/server/reboot→ 405; with KIKAPCSOLÁS → 202, and the machine went off. The power button brought it back: dashboard 200 within 50 s, the same 5 containers healthy, controller 0.310.0.
Delivered
Image gitea.dooplex.hu/admin/felhom-controller:0.310.0 pushed. Hand-deployed to the N100 guest 9201 only (needed for
the live proof). demo-hp and Tester 1 get it with the operator's floor raise (floor 0.310.0, min_agent 0.155.0).