Power-off live proof complete (R-998, R-999 closed): the hub held 2 h 56 min, the power button brought the N100 back, the hold ended; HP plug + BIOS; R-1002 filed; F11 PROVEN-LIVE
gates / gates (push) Successful in 6m45s
gates / gates (push) Successful in 6m45s
This commit is contained in:
1 parent
95d293b911
commit
50bd3f168b
28 files changed
+8341
-9
No files matched your search
@@ -217,7 +217,7 @@
|
||||
| <a id="f7"></a>[F7](capability-map-detail/F.md#f7) | Always-on debug rings + on-demand log-bundle pulls with TTL/custody | controller v0.116, agent v0.83, hub v0.46 | **PROVEN-LIVE** | — | `audits/CAMPAIGN-3-2026-07-11.md` (2026-07-11) |
|
||||
| <a id="f8"></a>[F8](capability-map-detail/F.md#f8) | Operator alerting (Healthchecks → monitoring@felhom.eu) | k3s, Resend | **IMPLEMENTED** | no corpus validation doc | operator infra; no evidence document |
|
||||
| <a id="f9"></a>[F9](capability-map-detail/F.md#f9) | Backup-deadline alerting (`expected_backup_missed`) is ANCHORED — absence of signal is UNKNOWN, not failure | hub v0.75.0 | **IMPLEMENTED** | — | `audits/DIAG-backup-missed-2026-07-26.md` (2026-07-26); R-82 |
|
||||
| <a id="f11"></a>[F11](capability-map-detail/F.md#f11) | The household turns the whole machine off („A gép kikapcsolása"); the hub holds every silence alarm for 14 days and shows KIKAPCSOLVA | agent v0.155.0, hub v0.149.0, controller v0.310.0 | **PARTIAL** | built and tested; live proof on the N100 pending | `architecture/14-host-power-off.md`; `audits/poweroff-2026-10-13/`; R-998 |
|
||||
| <a id="f11"></a>[F11](capability-map-detail/F.md#f11) | The household turns the whole machine off („A gép kikapcsolása"); the hub holds every silence alarm for 14 days and shows KIKAPCSOLVA | agent v0.155.0, hub v0.149.0, controller v0.310.0 | **PROVEN-LIVE** | proven on the N100 2026-10-13; fleet delivery waits on the floor | `audits/poweroff-2026-10-13/README.md` (2026-10-13); `architecture/14-host-power-off.md`; R-1000, R-1002 |
|
||||
| <a id="f10"></a>[F10](capability-map-detail/F.md#f10) | A box that is not always on (off at its backup time) makes the missed night up once when it comes back; the household sees a banner; the operator gets the missed-backup alarm, down or not | controller v0.295.0, hub v0.134.0, agent v0.145.0 | **PARTIAL** | catch-up and banner live; R-872 alarm by tests; suspend not measured | `audits/catchup-2026-10-05/partA/` (2026-10-05); R-872 |
|
||||
|
||||
## G. Fleet & operator (hub)
|
||||
|
||||
@@ -189,10 +189,10 @@ the machine's power button brings it back, and the hub clears the state.
|
||||
**Components:** agent v0.155.0 (`POST /host/poweroff`), hub v0.149.0 (`hosts.deliberate_off_at`, the hold), controller
|
||||
v0.310.0 (the card, `POST /api/server/poweroff`).
|
||||
|
||||
**Status:** PARTIAL — built and tested (each guard red-proofed); live proof on the N100 pending.
|
||||
**Status:** PROVEN-LIVE on the N100, 2026-10-13 — button pressed 18:52:34Z, 0.0 W from 18:53:07, hub held 2 h 56 min with no alarm and no mail, power button 21:48:43, clean boot, hub cleared the state 21:49:22. Not yet on the fleet: the floor still delivers controller 0.309.0 (golden bake, vouch and floor wait on the operator).
|
||||
|
||||
**Evidence:** design `14-host-power-off.md`; spike `audits/poweroff-2026-10-13/`.
|
||||
**Evidence:** design `14-host-power-off.md`; spike and live proof `audits/poweroff-2026-10-13/README.md` (Part A, Part B).
|
||||
|
||||
**Gap / roadmap:** the website FAQ line (R-1000).
|
||||
**Gap / roadmap:** the website FAQ line (R-1000); the hosts-page badge reads ONLINE for the first 45 min (R-1002).
|
||||
|
||||
---
|
||||
@@ -0,0 +1,17 @@
|
||||
Tue Oct 13 21:50:00 UTC 2026
|
||||
23:50:00 up 1 min, 1 user, load average: 1.12, 0.43, 0.15
|
||||
felhom-agent 0.155.0
|
||||
"last_boot_at": "2026-10-13T21:48:55Z",
|
||||
"last_boot_unclean": false,
|
||||
"tripped": false,
|
||||
"unclean_boots": [
|
||||
"unclean_boots_24h": 1,
|
||||
"unclean_boots_in_window": 0,
|
||||
VMID Status Lock Name
|
||||
9201 running demo-felhom
|
||||
gitea.dooplex.hu/admin/felhom-controller:0.310.0
|
||||
felhom-controller Up 45 seconds (healthy)
|
||||
opengist Up 46 seconds (healthy)
|
||||
cloudflared Up 46 seconds (healthy)
|
||||
filebrowser Up 46 seconds (healthy)
|
||||
traefik Up 46 seconds
|
||||
@@ -0,0 +1 @@
|
||||
Demo Ügyfél — Felhom Hub Dashboard Customers Apps Hosts System Offsite Configuration ← All Customers Demo Ügyfél Kikapcsolva a háztartás által, 2026-10-13 18:52 UTC — riasztás szünetel eddig: 2026-10-27 18:52 UTC Last report: 2h ago · Controller 0.310.0 Auto-refresh (paused) Demo Ügyfél off Kikapcsolva a háztartás által, 2026-10-13 18:52 UTC — riasztás szünetel eddig: 2026-10-27 18:52 UTC Controller 0.310.0 Last report 2h ago Containers 1/1 Overview Applications Setup Edit Backup & DR Events Notifications Host Customer Info Customer ID demo-felhom Name Demo Ügyfél Domain demo-felhom.eu Email <e-mail> Config MANAGED Config Created 235d ago Health Status: ok System Hostname demo-felhom OS Debian GNU/Linux 12 (bookworm) Kernel 7.0.14-23-pve CPU Intel(R) N100 (4 cores) CPU 8% Memory 13% Storage SSD 1% 1.6 / 245.0 GB Backup App data (local) Enabled Last DB dump — Off-site snapshots 13 Repo size 165.7 KB Last successful run 18h ago Soft quota 50 GB Containers (1/1) Name State CPU Memory opengist running 0.0% 66 MB App Telemetry (last 7 days) App Memory (current) Memory (avg 7d) Memory (peak 7d) Catalog Limit Errors Warnings Logs Immich 2455 MB 2457 MB 3022 MB 4480M 1 8 Request log tail Cal.com 837 MB 905 MB 941 MB 1792M 63 21 Request log tail Tandoor Recipes 868 MB 859 MB 869 MB 1280M 96 14 Request log tail RomM 742 MB 679 MB 743 MB 1280M 0 6 Request log tail Paperless-ngx 589 MB 624 MB 688 MB 1664M 2 2 Request log tail Grimmory 459 MB 502 MB 627 MB 1408M 0 84 Request log tail Dawarich 592 MB 483 MB 599 MB 2688M 12 30 Request log tail Karakeep 359 MB 462 MB 599 MB 2816M 28 7 Request log tail Docmost 471 MB 410 MB 481 MB 896M 0 24 Request log tail Komga 443 MB 367 MB 443 MB 768M 0 4 Request log tail AdventureLog 400 MB 356 MB 401 MB 896M 10 10 Request log tail SparkyFitness 305 MB 346 MB 405 MB 1792M 3 6 Request log tail Nextcloud 333 MB 330 MB 334 MB 1664M 0 4 Request log tail OnlyOffice 364 MB 323 MB 428 MB 2048M 4 48 Request log tail Home Assistant 303 MB 321 MB 353 MB 1024M 0 5 Request log tail Rallly 366 MB 310 MB 366 MB 1024M 0 8 Request log tail Gramps Web 326 MB 283 MB 336 MB 1024M 12 16 Request log tail Papra 264 MB 265 MB 295 MB 768M 0 1 Request log tail Outline 283 MB 259 MB 337 MB 1152M 20 70 Request log tail n8n 326 MB 251 MB 351 MB 1536M 147 12 Request log tail Jellyfin 189 MB 205 MB 365 MB 2048M 0 0 Request log tail Mealie 228 MB 197 MB 228 MB 1000M 8 8 Request log tail Kimai 171 MB 188 MB 219 MB 640M 0 16 Request log tail Claper 248 MB 185 MB 248 MB 640M 0 15 Request log tail Calibre-Web Automated 168 MB 170 MB 201 MB 768M 2 5 Request log tail Zipline 199 MB 168 MB 218 MB 768M 0 4 Request log tail Plex 232 MB 155 MB 234 MB 2048M 6 0 Request log tail Grafana 215 MB 155 MB 254 MB 512M 0 45 Request log tail BookStack 162 MB 141 MB 164 MB 768M 6 30 Request log tail Jellyseerr 168 MB 141 MB 168 MB 384M 0 0 Request log tail Ghost 151 MB 130 MB 158 MB 512M 10 10 Request log tail Wishlist 120 MB 120 MB 169 MB 512M 0 4 Request log tail Emby 139 MB 114 MB 145 MB 2048M 0 0 Request log tail Wanderer 147 MB 103 MB 151 MB 1024M 0 3 Request log tail Uptime Kuma 117 MB 100 MB 117 MB 256M 0 0 Request log tail Termix 101 MB 87 MB 115 MB 128M 0 0 Request log tail Homepage 82 MB 83 MB 84 MB 256M 0 0 Request log tail Radarr 95 MB 78 MB 95 MB 512M 0 0 Request log tail Crafty Controller 78 MB 78 MB 78 MB 2048M 0 0 Request log tail Sonarr 79 MB 75 MB 79 MB 512M 0 1 Request log tail SABnzbd 68 MB 68 MB 68 MB 1024M 0 0 Request log tail Felhom Controller 36 MB 66 MB 156 MB — 281 83 Request log tail MeTube 62 MB 62 MB 62 MB 768M 0 0 Request log tail Code-Server 60 MB 59 MB 60 MB 1024M 0 0 Request log tail Gitea 73 MB 59 MB 89 MB 512M 0 0 Request log tail Recipe Importer 63 MB 54 MB 63 MB 128M 0 0 Request log tail LubeLogger 61 MB 44 MB 61 MB 512M 0 3 Request log tail OpenGist 66 MB 43 MB 73 MB 128M 0 0 Request log tail Audiobookshelf 48 MB 40 MB 52 MB 512M 0 0 Request log tail ActualBudget 44 MB 32 MB 46 MB 256M 0 0 Request log tail Grocy 30 MB 26 MB 30 MB 384M 0 0 Request log tail Radicale 27 MB 23 MB 27 MB 128M 0 4 Request log tail qBittorrent 22 MB 21 MB 22 MB 1024M 0 0 Request log tail Vaultwarden 21 MB 20 MB 21 MB 256M 0 0 Request log tail Vikunja 20 MB 20 MB 20 MB 256M 0 2 Request log tail PrivateBin 24 MB 18 MB 24 MB 128M 0 0 Request log tail Navidrome 13 MB 16 MB 19 MB 256M 0 6 Request log tail Homebox 17 MB 14 MB 20 MB 256M 0 0 Request log tail Glance 6 MB 6 MB 6 MB 128M 0 0 Request log tail NZBGet 5 MB 5 MB 6 MB 512M 2 0 Request log tail Gokapi 7 MB 5 MB 7 MB 128M 0 10 Request log tail BentoPDF 5 MB 4 MB 5 MB 384M 0 0 Request log tail Transmission 6 MB 4 MB 6 MB 512M 0 0 Request log tail App Log Tails (on-demand, last 2 per app kept) App Collected Received Lines felhom-controller 2026-07-10 14:52:34 (95d ago) 95d ago 200 View Download .log Credentials Retrieval Password •••••••••••••••• Reveal ⎘ The per-customer secret that fetches the whole config Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
demo-felhom-8363b5 — Felhom Hub Felhom Hub Dashboard Customers Apps Hosts System Offsite Configuration ← Hosts demo-felhom-8363b5 KIKAPCSOLVA Host ID demo-felhom-8363b5 Customer Demo Ügyfél Agent Version 0.155.0 Enrolled 87d ago Last Report 2h ago Power Kikapcsolva a háztartás által, 2026-10-13 18:52 UTC — riasztás szünetel eddig: 2026-10-27 18:52 UTC Box connection last connected 2026-10-13 18:55 UTC (1h ago) Desired Generation 21 Vitals CPU 0% Memory 14% Disk (root fs) 33% Cloudflared running (connected) Guests 1/2 running Guests VMID Name Status Controller Last Seen 9201 demo-felhom running — 2h ago 990000 CT990000 stopped — 71d ago Storage Targets Name Role Type State Fill Thin Pool SMART Temp Wear felhom-backup — local-dir attached 1% — PASSED 34°C — felhom-pbs — pbs attached 0% — UNKNOWN — — local — local attached 33% — PASSED 34°C — local-lvm — lvmthin attached 15% 15% UNKNOWN — — Capabilities Capability Status Feature / reason controllerswap-image-inspect critical ok controller-swap / managed auto-update controllerswap-inspect critical ok controller-swap / managed auto-update controllerswap-read critical ok controller-swap / managed auto-update controllerswap-restart critical ok controller-swap / managed auto-update controllerswap-write critical ok controller-swap / managed auto-update disk-blkid critical ok disk data-bearing classify (format gate) disk-lsblk critical ok disk topology read (format gate) disk-lvs ok thin-pool usage read disk-mkfs-ext4 critical ok guarded format (ext4) disk-mkfs-xfs ok guarded format (xfs) disk-smart ok disk SMART health read dnsmasq-enable ok dnsmasq enable dnsmasq-guest-domain ok guest domain discovery dnsmasq-guest-ip ok guest LAN IP discovery dnsmasq-install ok dnsmasq package install dnsmasq-reload ok dnsmasq reload dnsmasq-restart ok dnsmasq restart (LAN-DNS self-heal) dnsmasq-rm ok dnsmasq drop-in remove (decommission) dnsmasq-write ok dnsmasq drop-in write (root content check, R-861) drive-bind critical ok drive attach (felhom-data bind under parent) drive-umount critical ok drive detach (fail-closed unmount) drives-chown-data ok felhom-data guest-root chown drives-mkdir-data ok felhom-data namespace create drives-mkdir-parent ok stable parent dir create drives-mkdir-sub ok per-drive stable dir create escrow-ceremony critical ok customer recovery-code ceremony (controller-driven) guest-fstrim ok weekly guest disk trim (thin-pool reclaim, R-444) guest-init-pid critical ok drive-gate guest-sees check (multi-drive concurrency) guest-reboot ok enroll activate-binds reboot guest-shutdown ok household power-off: guest shutdown (R-998) guesthook-delete-mp ok dead mountpoint slot delete (C1 net) guesthook-register ok pre-start hook register guestnet-dhclient-probe ok guest DHCP-client liveness probe guestnet-heal ok guest DHCP-client restart (the 2026-07-20 heal) guestnet-ifaces ok guest interface-mode read guestnet-route ok guest default-route probe host-poweroff ok household power-off: host power-off (R-998) mount-daemon-reload ok systemd reload after unit write mount-unit-disable ok mount unit disable mount-unit-enable ok mount unit enable mount-unit-install ok fs-UUID mount unit install (root content check, R-861) mount-unit-stop ok mount unit stop netmount-reset-failed ok NAS automount re-arm after start-limit (F10) netmount-rmdir ok removed-share mountpoint cleanup (F1) osapply-run ok OS update wrapper (guest fast lane) parent-bind-mp8 ok parent bind into guest at provision parent-make-private critical ok intermediary shared-parent peer-group isolation parent-make-shared critical ok intermediary shared-parent propagation parent-self-bind critical ok intermediary shared-parent self-bind parent-unit-enable ok shared-parent boot-persistence enable pbsdr-create ok PBS DR storage-entry create (K autogen) pbsdr-grant ok PBS DR storage ACL self-grant pbsdr-read ok PBS DR credential read (verify-loop auth probe) pbsdr-reconcile ok PBS DR storage-entry reconcile (set-only) provision-chown ok bootstrap mount guest-root chown provision-config-mount ok bootstrap config bind mount provision-onboot ok customer guest autostart (onboot) pve:pool-read ok stale-lock recovery scoping (pool ownership check) pve:store-grant:felhom-backup critical ok backup tier felhom-backup readable by the agent (archive listing, restore-test candidacy) pve:store-grant:felhom-pbs critical ok backup tier felhom-pbs readable by the agent (archive listing, restore-test candidacy) selfheal-networking-start ok appliance networking recovery at boot (F12 defense in depth) selfupdate-commit ok agent self-update commit selfupdate-rollback ok agent self-update rollback stalelock-unlock critical ok reboot-during-backup stale-lock recovery wg-conf-install critical ok wg-felhom conf install (root content check, R-861) wg-disable ok wg-quick@wg-felhom disable (revocation) wg-enable critical ok wg-quick@wg-felhom enable wg-handshake-read critical ok tunnel handshake-Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
Hosts — Felhom Hub Felhom Hub Dashboard Customers Apps Hosts System Offsite Configuration Hosts Host Customer Agent Proxmox / kernel Status Guests CPU Mem Disk Cloudflared Worst Storage Tester-2-be8404 Tester 2 0.142.0 9.2.2 7.0.2-6-pve DOWN 1/1 4% 13% 6% running (connected) 6% local demo-felhom-8363b5 Demo Ügyfél 0.155.0 9.2.21 7.0.14-23-pve KIKAPCSOLVA Kikapcsolva a háztartás által, 2026-10-13 18:52 UTC — riasztás szünetel eddig: 2026-10-27 18:52 UTC 1/2 0% 14% 33% running (connected) 33% local demo-hp-bb76ea Demo HP 0.155.0 9.2.21 7.0.14-23-pve ONLINE 0/2 0% 6% 58% unknown (no running customer guest) 58% local tester-1-d70be4 Tester 1 0.155.0 9.2.2 7.0.14-22-pve ONLINE 0/2 0% 18% 21% unknown (no running customer guest) 21% local Felhom Hub 0.149.0
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Whitespace-only changes.
@@ -0,0 +1,3 @@
|
||||
press 2026-10-13T18:52:34Z
|
||||
POST /api/server/poweroff -> 202 {'data': {'powering_off': True}, 'ok': True}
|
||||
no_ping 2026-10-13T18:53:02Z
|
||||
@@ -0,0 +1,5 @@
|
||||
ALLOWED : /usr/bin/systemctl poweroff
|
||||
ALLOWED : /usr/sbin/pct shutdown 9201 --timeout 120
|
||||
refused : /usr/bin/systemctl poweroff --force
|
||||
refused : /usr/sbin/pct shutdown 9201 --timeout 120 --forceStop 1
|
||||
refused : /usr/bin/systemctl reboot
|
||||
@@ -0,0 +1,8 @@
|
||||
ALLOWED : /usr/bin/systemctl poweroff
|
||||
ALLOWED : /usr/sbin/pct shutdown 9201 --timeout 120
|
||||
refused : /usr/bin/systemctl poweroff --force
|
||||
refused : /usr/bin/systemctl poweroff -ff
|
||||
refused : /usr/sbin/pct shutdown 9201 --timeout 120 --forceStop 1
|
||||
refused : /usr/sbin/pct shutdown 9201
|
||||
refused : /usr/bin/systemctl reboot
|
||||
refused : /usr/bin/systemctl halt
|
||||
@@ -0,0 +1,6 @@
|
||||
felhom-agent 0.155.0
|
||||
ALLOWED : /usr/bin/systemctl poweroff
|
||||
ALLOWED : /usr/sbin/pct shutdown 9201 --timeout 120
|
||||
refused : /usr/bin/systemctl poweroff --force
|
||||
refused : /usr/sbin/pct shutdown 9201 --timeout 120 --forceStop 1
|
||||
refused : /usr/bin/systemctl reboot
|
||||
@@ -0,0 +1,8 @@
|
||||
20:04:49
|
||||
22:04:49 up 39 min, 1 user, load average: 0.91, 0.71, 0.74
|
||||
|
||||
341 night1004-tester1 running 8192 200.00 1827
|
||||
9201 running demo-hp
|
||||
9202 running demo-hp-scratch
|
||||
9401 stopped upgrade-harness
|
||||
{'last_boot_at': '2026-10-13T19:25:35Z', 'last_boot_unclean': False, 'unclean_boots_24h': 0, 'tripped': False}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,10 @@
|
||||
2026-10-13T21:00:39.092Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:00:39.193Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:13:49.897Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:13:50.014Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:22:04.745Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:27:46.025Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:35:53.483Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:41:46.819Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:45:11.332Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:45:11.413Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
@@ -0,0 +1,3 @@
|
||||
20:05:06 CUT: plug off (operator-ordered outage test)
|
||||
20:05:21 RESTORE: plug on
|
||||
20:05:21 switch on = True
|
||||
@@ -0,0 +1 @@
|
||||
{'last_boot_at': '2026-10-13T20:10:53Z', 'last_boot_unclean': True, 'unclean_boots_24h': 1, 'unclean_boots_in_window': 1, 'tripped': False}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,4 @@
|
||||
2026-10-13T20:46:31.792Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T20:46:31.922Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:19:55.520Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
2026-10-13T21:27:46.028Z plugmeter: read failed (RuntimeError: tuya error 914 Check device key or version)
|
||||
@@ -0,0 +1,11 @@
|
||||
20:13:16 CUT: plug off
|
||||
20:13:31 RESTORE: plug on
|
||||
20:13:31 switch on = True
|
||||
20:14:09 HP answers ping (+38s after power back)
|
||||
20:16:09 controller healthy
|
||||
341 night1004-tester1 running 8192
|
||||
9201 running demo-hp
|
||||
9202 running demo-hp-scratch
|
||||
9401 stopped upgrade-harness
|
||||
containers: 22 running, 0 unhealthy
|
||||
{'last_boot_at': '2026-10-13T20:13:54Z', 'last_boot_unclean': True, 'unclean_boots_in_window': 2, 'tripped': True}
|
||||
@@ -0,0 +1,5 @@
|
||||
19:19:14 qm shutdown 341 rc=0 took 113s -> status: stopped
|
||||
19:20:54 pct shutdown 9202 rc=0 took 99s -> status: stopped
|
||||
19:22:39 pct shutdown 9201 rc=0 took 104s -> status: stopped
|
||||
19:22:45 host poweroff sent
|
||||
19:23:10 no ping from demo-hp
|
||||
@@ -32,3 +32,39 @@ the hub page captures is replaced by `<household e-mail>`.
|
||||
(hub `host_crash_restart`). Consistent with the BIOS „after power loss = last state": a machine that was off stays off.
|
||||
Not read in the BIOS (no monitor) — an inference. That is the behaviour the household text promises („press the power
|
||||
button"), so the spike passes for the button; the plug cannot restart a deliberately-off N100 on the bench.
|
||||
|
||||
# Part B — the button, proven live on the N100, 2026-10-13
|
||||
|
||||
Released: agent v0.155.0 + config bundle (signed jobs), hub v0.149.0 (ArgoCD), controller v0.310.0 (hand-deployed on
|
||||
guest 9201 only — the floor is the operator's). Method: endpoint-level, the exact `POST /api/server/poweroff` the
|
||||
dashboard card calls (no browser on DooPlex). Hub read through the operator UI; mail read in the operator mailbox.
|
||||
|
||||
| Step | What happened | File |
|
||||
|---|---|---|
|
||||
| sudo on the box | real `sudo -l` checks on the N100: the 2 new lines allowed (`pct shutdown <id> --timeout <n>`, `systemctl poweroff`); 6 attack lines refused (`--force`, `-ff`, `--forceStop 1`, no timeout, `reboot`, `halt`) | `B-sudo-live-n100.txt` |
|
||||
| sudo on the fleet | the same checks on demo-hp and Tester 1 (agent 0.155.0, bundle installed): the 2 lines allowed; `--force`, `--forceStop 1`, `reboot` refused | `B-sudo-live-demo-hp.txt`, `B-sudo-live-tester-1.txt` |
|
||||
| refusals | no confirm word / a wrong word → 400; `GET /api/server/reboot` → 405 | session log |
|
||||
| press | 18:52:34Z → **202** `powering_off: true`; no ping 18:53:02 (28 s); **0.0 W from 18:53:07** | `B-press.log`, `B-power.csv` |
|
||||
| hub at once | event `host_deliberate_off` (info) 18:52; host page „Power: Kikapcsolva a háztartás által, 18:52 UTC — riasztás szünetel eddig: 2026-10-27 18:52 UTC" from 18:53 | `B-hub-watch.log` |
|
||||
| hub at 33 min | controller staleness `ok → deliberately_off (household power-off, no event)` 19:25 | hub log |
|
||||
| hub at 46 min | hosts badge **KIKAPCSOLVA** from 19:38 (before that: ONLINE plus the Power line — R-1002) | `B-hub-watch.log` |
|
||||
| hub at 92–95 min | no `host_stale`, `host_down`, `node_stale`, `node_down` event; no notification in the customer's last 10 | `B-hub-*-at-9xmin.txt` |
|
||||
| mailbox | no demo-felhom mail after 13:58 for the whole 2 h 56 min. Positive control: the HP power cut's `host_crash_restart` / `host_crash_guard_tripped` mails arrived 20:29 | operator mailbox |
|
||||
| off | **0.0 W** for 2 h 56 min, 2346 readings, max 0.0 | `B-power.csv` |
|
||||
| power button | operator pressed it: first watts 21:48:43 → boot 21:48:55 → **dashboard 200 by 21:49:33** (first check, ≤ 50 s) | `B-power.csv`, `B-after.txt` |
|
||||
| hub clears | 21:49:22 `deliberate power-off ended (was 18:52:28Z)` → event `host_deliberate_off_ended` (info); 21:50 staleness `deliberately_off → ok`; badge ONLINE | hub log, `B-hub-watch.log` |
|
||||
| after | crash guard `last_boot_unclean: false` (no crash mail, correct); guest 9201 running; controller 0.310.0; the same 5 containers healthy; no `*_recovered` mail | `B-after.txt` |
|
||||
| next report | the first report after boot (21:49:22) was sent before the guest started: „Guests 0/2", cloudflared „unknown"; the next one (22:04:27, 15 min later) read 1/2 and „running (connected)" | hub log |
|
||||
|
||||
# HP t740 (demo-hp) on the second plug — operator-ordered, 2026-10-13
|
||||
|
||||
| Step | What happened | File |
|
||||
|---|---|---|
|
||||
| clean shutdown by hand | VM 341 113 s, guest 9202 99 s, guest 9201 104 s, then `poweroff`; no ping 19:23:10 | `HP-poweroff.log` |
|
||||
| off, plug on | **0.0–3.2 W** (flickers; NIC/BIOS standby) → `standby_w` 3.2 in the private plug file | `HP-cut-power.csv` |
|
||||
| cut 1 (20:05:06, 15 s) | the HP did **not** start: BIOS „After Power Loss" was Off. Operator set „Previous State" | `HP-cut.log` |
|
||||
| cut 2 (20:13:16, 15 s) | started by itself: ping +38 s, controller healthy 20:16:09, all 3 guests running, 22 containers, 0 unhealthy | `HP-cut2*.{log,txt}` |
|
||||
| crash guard | 2 unclean boots in 60 min → tripped, `kernel.panic=0`, re-arms in 24 h — the guard working, not a defect; mails at 20:29 | `HP-cut2.log` |
|
||||
| idle watts | running, 3 guests: mean 25.2 W, median 23.0 W, max 45.5 W | `HP-cut-power.csv` |
|
||||
| Tester 1 (VM 341 on the HP) | the cut killed it too: `host_crash_restart` + `host_crash_guard_tripped` for `tester-1-d70be4`, mails 20:29 | operator mailbox |
|
||||
| meter note | from 20:13 two `plugmeter --plug hp` readers ran at once (the first was not stopped), so `HP-cut-power.csv` and `HP-cut2-power.csv` overlap and hold near-duplicate rows; the figures above are from one file | — |
|
||||
@@ -26,6 +26,15 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-10-13 (night) — the household can turn the machine off
|
||||
|
||||
Built and proven live on the N100 (`documentation/audits/poweroff-2026-10-13/`, architecture `14-host-power-off.md`). Fleet delivery waits on the operator: golden bake, vouch agent 0.155.0 + bundle, floor 0.310.0 with min_agent 0.155.0.
|
||||
|
||||
| Row | What | Closed | Evidence |
|
||||
|---|---|---|---|
|
||||
| **R-998** | **Nothing can turn a Felhom machine off: a household that moves house or goes away can only pull the plug** (P3) | CLOSED 2026-10-13 — agent v0.155.0 `POST /host/poweroff` (felhom-agent `3403c87`..`68a2130`), hub v0.149.0 14-day hold (`50e47e29`, `a6acb0f7`, deployed `35e546a9`), controller v0.310.0 „A gép kikapcsolása" (felhom-controller `201f936`). Live on the N100: press 18:52:34Z → 202 → 0.0 W from 18:53:07; hub `host_deliberate_off`, KIKAPCSOLVA, no alarm and no mail for 2 h 56 min; power button 21:48:43 → clean boot (crash guard `last_boot_unclean: false`), dashboard 200 by 21:49:33, hub `host_deliberate_off_ended` 21:49:22, staleness back to ok 21:50. **Reasoning kept:** the agent refuses while another guest or VM runs (it would cut someone else's machine); `os_ring0_stalled` is NOT held — a box off for 14 days still needs its OS updates. | `audits/poweroff-2026-10-13/B-*`, full text `git show 750b55e9:documentation/backlog/OPEN-ITEMS.md` |
|
||||
| **R-999** | **„Kiszolgáló újraindítása" says it restarts „the whole server", but it restarts only the Felhom part (the guest)** (P3) | CLOSED 2026-10-13 — controller v0.310.0: „A Felhom újraindítása" / „Restart Felhom", and the reboot route is POST only (GET → 405) | felhom-controller `201f936`; full text `git show 750b55e9:documentation/backlog/OPEN-ITEMS.md` |
|
||||
|
||||
## 2026-10-13 (night) — the machine estimator is listed
|
||||
|
||||
| Row | What | Closed | Evidence |
|
||||
|
||||
@@ -209,12 +209,10 @@ stopping line that lies.
|
||||
| **R-779** | Security & access | P4 | **[P3-LOW] Part A's "two outside addresses seen as two" is proven through the simulated tunnel only; on the REAL tunnel the second outside address (ep0, one request allowed) was refused by Cloudflare's edge with 403 and never reached the box.** Measured 2026-10-01 19:51 UTC (`audits/visitors-2026-10-01/A/L2-demo-hp-real-tunnel.txt`): no log line on demo-hp; demo-hp's box has no geo restriction in its settings, so a Cloudflare ZONE rule (country or bot, not read) refused a German datacenter address. DooPlex's own address on the real tunnel was seen as itself. **Needs:** one sign-in from a second Hungarian address (the operator's phone off wifi) while DooPlex is locked out — 2 minutes; and say which Cloudflare rule refused ep0. | **WAITING-ON-OPERATOR — rank P3-LOW; owner: operator (a phone), CC reads the logs** **Re-ranked 2026-10-03: P3→P4: a proof gap on the real tunnel; operator-only follow-up.** | — | — | CC + operator |
|
||||
| **R-904** | Security & access | P4 | **Cloudflare can read every household's app traffic; replacing it with our own relay is a later item.** Facts (reviewer discussion 2026-10-08; `01`): app traffic and the dashboard reach the box through the Cloudflare Tunnel (`01` §5 trust table, rows end-user ↔ apps and customer ↔ controller UI; §7), and the tunnel's public end is Cloudflare's edge, where TLS ends — so Cloudflare can technically read that traffic (the FAQ says so since 2026-10-08, R-900; „TLS ends at the edge" is not written in `01` — add it there). What Cloudflare gives today, free: inbound reach with no router setup, the CGNAT answer (`01` §4, §7); certificates (`01` §7, the free tier covers one level below a zone); the geo-WAF the hub enforces (`01` §5 last row, §7); flood protection (not in `01`). The alternative named: our own EU relay over WireGuard with TLS passthrough by SNI, certificates on the box, the geo-block on the relay. Its costs: one more machine the operator keeps up, and a single point of reach for every box; weaker flood protection; about a week of work after a spike. Operator ruling 2026-10-08 09:07 (`09` §3 decision 184): a later item. | **DEFERRED** — **2026-10-10: the asked sentence is in `01` §7** („TLS ends at Cloudflare's edge …”); the spike stays deferred. **DEFERRED — after the first customers (operator ruling 2026-10-08 09:07)** | — | A spike after the first customers (the relay's reach, cost and flood behaviour, measured) | operator |
|
||||
|
||||
## Box system & updates — 10 rows (P2 1, P3 8, P4 1)
|
||||
## Box system & updates — 8 rows (P2 1, P3 6, P4 1)
|
||||
|
||||
| ID | Category | Sev | What | State | Blocked on | Next action | Owner |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| **R-999** | Box system & updates | P3 | **„Kiszolgáló újraindítása" says it restarts „the whole server", but it restarts only the Felhom part (the guest)** (`settings_system.html`, controller hu/en locale). Found 2026-10-13 reading `HandleServerReboot` → agent `pct reboot`. | **OPEN** — filed 2026-10-13, being built | — | CC: honest strings in the power-off release | CC |
|
||||
| **R-998** | Box system & updates | P3 | **Nothing can turn a Felhom machine off: a household that moves house or goes away can only pull the plug** (spike 2026-10-13 on the N100, `audits/poweroff-2026-10-13/`). Building: agent `POST /host/poweroff`, hub „deliberately off" state (14 days without alarms), controller button „A gép kikapcsolása". | **OPEN** — filed 2026-10-13, being built | — | CC: build, release, live proof on the N100 | CC |
|
||||
| **R-984** | Box system & updates | P4 | **Host and agent hardening, low risk each: the backup-target route has no role check; the unsigned guest spec has no size bounds; signed ops have no maximum validity; the guarded mkfs does not refuse LVs, zvols or RAID devices; the local API is reachable from the LAN by a static route; a sudoers inspect pattern is wider than needed; install passes secrets on the command line; guest settings files are world-readable; the host offers rpcbind and DNS on the LAN.** Fix each in its own small change. Security review 2026-10-12 (`audits/security-review-2026-10-12/`); detail held off-git for the operator (`/mnt/5_hdd/felhom.eu/evidence/security-review-2026-10-12-PRIVATE/`). | OPEN | — | Batch into hardening work | CC |
|
||||
| **R-982** | Box system & updates | P3 | **The Proxmox host accepts root password login over SSH from the LAN (measured on demo-hp), so anyone on the household network can try the root password.** Design-shaped: the break-glass password exists for the console. Fix: key-only SSH for root; the password stays for the console. Evidence: `audits/security-review-2026-10-12/evidence/demo-hp-host-reads.txt`. | OPEN — design-proposal | — | Decide; then set it in the installer and the config bundle | CC |
|
||||
| **R-979** | Box system & updates | P3 | **Controller updates are trusted by registry tag alone (no digest, no signature), and the Update button offers any newer tag, even an unvouched one; the built-in traefik, cloudflared and FileBrowser images are also pinned by tag only.** Whoever can push to the registry decides what runs. Fix: pin by digest from the hub's vouched list; offer only vouched versions. Security review 2026-10-12 (`audits/security-review-2026-10-12/`); detail held off-git for the operator (`/mnt/5_hdd/felhom.eu/evidence/security-review-2026-10-12-PRIVATE/`). | OPEN — design-proposal | — | Design note, then build | CC |
|
||||
@@ -236,7 +234,7 @@ stopping line that lies.
|
||||
| **R-724** | Monitoring & notifications | P3 | **[P3-LOW] The status pages disagree with each other in small ways a household notices.** MEASURED 2026-09-29 on a fresh box: Beállítások reads „Mentés ütemezés 02:30 / 03:00" while Biztonsági mentés says 02:30 / 03:30 / 04:15 / 04:30–08:30; Beállítások shows a raw `2026-09-29T19:22:30Z`; its „Helyi cím (LAN)" and „Átjáró" read „nem állapítható meg" on the page the household is asked to read out for remote help; the backups overview still says „Következő mentés — 0 órája" (the age of the LAST run, under the word "next" — noted 2026-09-14, never filed); the dashboard shows the backup at 19:33 where the backup pages say 21:33 (R-500, still reproducing). **FIXED 2026-09-30 (controller v0.283.0):** Beállítások shows the real schedule and a local time; the dashboard's last backup is local time (R-500); „az előző N órája készült" replaces „0 órája". **NARROWED — remaining:** „Helyi cím (LAN)" / „Átjáró" read through the file-sharing container, so a box without it says „nem állapítható meg" — not a text fix (the read needs another path). | **NARROWED — the LAN/gateway read only; owner: CC** **2026-10-06 night: confirmed not a controller-only fix** — the only host-network container is samba (`infra/samba.go:123`) and the agent's local API has no guest-network route; the fix is a new agent route (e.g. the PVE lxc interfaces read) + a controller reader — a two-repo design. | — | — | CC |
|
||||
| **R-285** | Monitoring & notifications | P4 | **A planned, supervised reinstall pages the operator as if the machine had died — there is no notion of expected downtime anywhere.** During the 2026-08-09 rehearsal the hub sent, all `status: sent` to the operator channel: `host_stale` 08:58 UTC, `node_stale` 09:00, **`host_down` 09:28 (error)**, **`node_down` 09:30 (error)**, `host_leaf_changed` 09:31, `host_recovered` 09:31, `node_recovered` 09:34, `offsite_delivery_stuck` 09:34 — eight operator mails for work that was deliberate, attended and announced. **This is the OPPOSITE gap from the one R-281 filed:** the alarms are not missing, they are indiscriminate. `host_stale` at 30 min and `host_down` at 60 min (`monitor/host_staleness.go:22-23`, `downAfter = 2 * threshold`) cannot distinguish a wiped-on-purpose box from a dead one, and `host_leaf_changed` firing on a reinstall is correct-but-expected. **Note the interaction with the mute used on 2026-08-09 evening:** blocking a customer silences everything, so today the only two settings are *page me for planned work* and *tell me nothing at all*. **What is owed is a middle:** a maintenance window, or an operator-set expected-downtime flag, that suppresses staleness and leaf-change while leaving genuine faults audible | **READY (M) — NEW 2026-08-09** | — | The evidence is the operator's mailbox plus `events`/`notification_log` for 2026-08-09 | CC |
|
||||
|
||||
## Hub & operator — 10 rows (P3 6, P4 4)
|
||||
## Hub & operator — 11 rows (P3 6, P4 5)
|
||||
|
||||
| ID | Category | Sev | What | State | Blocked on | Next action | Owner |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
@@ -250,6 +248,7 @@ stopping line that lies.
|
||||
| **R-451** | Hub & operator | P4 | **[P3-LOW] UPDATE ARC SLICE 7 — a fleet sweep: the operator can SEE, and MOVE, how far behind every box is.** Slices 1 and 2 make one box's state visible on that box's own pages. The operator has no fleet view, and **it is not derivable from what is already reported: the hub's report payload carries container name, state, CPU and memory, and NO image field at all** (spike §5, which is why Peti's box could only be recorded UNKNOWN). So this is a hub-side change as well as a controller one. Rank LOW today because the fleet is two enrolled boxes; it rises with the fleet. `architecture/09-update-architecture.md` §6, §8.4 **BOTH SIDES VERIFIED 2026-09-21, and it is cheaper than this row implies.** The controller's payload carries no image (`internal/report/types.go` L98–103) and the hub's `Store.SaveReport` (`hub/internal/store/store.go:965`) denormalises only container **counts** — but **the hub stores the raw report JSON whole**, so a new controller field lands there the day it is sent. What is missing is the denormalisation and the page, not the transport. Shape in `09` §6.2–6.3; the payload question is `09` §3b **Q7**. **-- RULED 2026-09-23 (`09` §3 decision 18):** the report carries, per compose service (database included), the installed reference, the catalog reference and the badge state. **Built later, when the fleet grows** — Q7's recommendation, confirmed. | **DEFERRED** (2026-10-03 triage: the row's verdict was finished, but it names open work no other row carries — the fleet sweep (report field, hub denormalisation, fleet page) is ruled and not built — deferred until the fleet grows (`09` §6.3)) — **RULED — build deferred until the fleet grows; owner: CC** | — | — | CC |
|
||||
| **R-814** | Hub & operator | P4 | `PBS-storage-1` (u629193, box 611421) still `status=active`, 19.9 MB | **VERIFY** (2026-10-03 triage: a July watch row with no id; given R-814. WAITING-ON-OPERATOR — no record found that the box was deleted.) — WAITING-ON-OPERATOR | operator console | Delete the box | operator |
|
||||
| **R-844** | Hub & operator | P4 | **The household's OS-update line exists only on the hub's customer timeline.** 2026-10-04: the box itself has no event surface for agent results (the controller UI shows no timeline), so `os_update_applied` is a hub customer event (info: recorded, never mailed). Its stored text is the hub's English sentence; the hu/en bundle text (`mail.event.os_update_applied`) is used only if it is ever mailed. Fix direction: a controller-side line (the controller already polls the agent's local API) when the box gets a household timeline. `audits/os-guest-lane-2026-10-04/partG/hub-customer-timeline-demo-hp.txt` | **READY — owner: CC** **2026-10-05 (burn-down night): NEEDS A DESIGN** — a household timeline on the box does not exist yet. | — | — | CC |
|
||||
| **R-1002** | Hub & operator | P4 | **A box the household switched off reads ONLINE on the hub's hosts page for its first 45 minutes** (seen live 2026-10-13, R-998 proof, `audits/poweroff-2026-10-13/B-hub-watch.log`: the „Power: Kikapcsolva…" line at 18:53, the KIKAPCSOLVA badge only at 19:38, when the host report turned stale). The customer page read „warn" in part of that gap (seen, not captured). No alarm and no mail fired; the operator page is only slow to say it. | **READY** — filed 2026-10-13 | — | CC: let `hostDisplayStatus` read `deliberate_off_at` before staleness, with a render test per state; next hub release | CC |
|
||||
|
||||
## Business & legal — 13 rows (P2 4, P3 2, P4 7)
|
||||
|
||||
|
||||
@@ -194,6 +194,11 @@ with `tinytuya scan` if it stops answering). Read it from DooPlex with
|
||||
installed on purpose**: it reads the plug through Tuya's cloud and keeps its history. Keys live only in DooPlex
|
||||
`~/.config/felhom-bench/`. `audits/plugmeter-2026-10-13/`.
|
||||
|
||||
**demo-hp is on a second metered plug** (LAN `192.168.0.107`; `--plug hp`). Off with the plug on it draws 0–3.2 W.
|
||||
**After a power cut:** demo-hp starts by itself (BIOS „After Power Loss = Previous State", set 2026-10-13); the N100 does
|
||||
NOT start after a plug off/on when it was switched off first — BIOS not read yet (no monitor). `plugswitch.py off` refuses
|
||||
a running machine. `audits/poweroff-2026-10-13/`.
|
||||
|
||||
## Tailscale on demo-hp is an OPERATOR-LAB EXCEPTION
|
||||
|
||||
> **Read this before any product-shape audit.** `demo-hp` is **customer-shaped** — it is a normal
|
||||
|
||||
Reference in new issue
Block a user