|
13 | 13 | # Notes: Monthly HA log hygiene review requests Telegram + GitHub issue follow-up only; Joanna must wait for approval before any changes. |
14 | 14 | # Notes: Numeric WAN telemetry exposes state_class so recorder can keep long-term statistics. |
15 | 15 | # Notes: Docker host root disk usage uses Glances-backed normalized sensors; raw Glances sensors are recorder/logbook-filtered. |
| 16 | +# Notes: Disk-pressure dispatch allows bounded safe cleanup of disposable caches and old generated backup artifacts, but not live data or restarts. |
16 | 17 | ###################################################################### |
17 | 18 |
|
18 | 19 | input_text: |
@@ -461,9 +462,11 @@ automation: |
461 | 462 | disk_used={{ states(used_entity) }}, |
462 | 463 | threshold=90 |
463 | 464 | request: >- |
464 | | - Investigate critical disk pressure on {{ host_name }} and recommend safe remediation. |
| 465 | + Investigate critical disk pressure on {{ host_name }} and perform safe remediation when confidence is high. |
465 | 466 | Check Docker build cache, image/container volumes, logs, backups, and large files first. |
466 | | - Do not delete data, prune containers, or reboot the host unless explicitly requested. |
| 467 | + Allowed without confirmation: clear disposable caches, remove unused build cache, and rotate or delete old generated backup artifacts when newer retained copies exist. |
| 468 | + Do not delete live application data, remove the only copy of a backup, prune active or in-use Docker resources, stop critical services, or reboot the host without explicit approval. |
| 469 | + Reply with resolved=true/false, action_taken, verification, and next_action_required=true/false. |
467 | 470 | - service: script.send_to_logbook |
468 | 471 | data: |
469 | 472 | topic: "DOCKER" |
@@ -506,9 +509,11 @@ automation: |
506 | 509 | disk_used={{ states(used_entity) }}, |
507 | 510 | threshold=80 |
508 | 511 | request: >- |
509 | | - Investigate elevated disk usage on {{ host_name }} and recommend safe cleanup before it becomes critical. |
| 512 | + Investigate elevated disk usage on {{ host_name }} and perform safe low-risk cleanup before it becomes critical when confidence is high. |
510 | 513 | Check Docker build cache, image/container volumes, logs, backups, and large files first. |
511 | | - Do not delete data, prune containers, or reboot the host unless explicitly requested. |
| 514 | + Allowed without confirmation: clear disposable caches, remove unused build cache, and rotate or delete old generated backup artifacts when newer retained copies exist. |
| 515 | + Do not delete live application data, remove the only copy of a backup, prune active or in-use Docker resources, stop critical services, or reboot the host without explicit approval. |
| 516 | + Reply with resolved=true/false, action_taken, verification, and next_action_required=true/false. |
512 | 517 | - service: script.send_to_logbook |
513 | 518 | data: |
514 | 519 | topic: "DOCKER" |
@@ -557,6 +562,10 @@ automation: |
557 | 562 | value: "normal" |
558 | 563 | - conditions: "{{ current_band == 'normal' and previous_band not in ['normal', 'warning', 'critical'] }}" |
559 | 564 | sequence: |
| 565 | + - service: repairs.remove |
| 566 | + continue_on_error: true |
| 567 | + data: |
| 568 | + issue_id: "{{ issue_id }}" |
560 | 569 | - service: input_text.set_value |
561 | 570 | target: |
562 | 571 | entity_id: "{{ band_entity }}" |
|
0 commit comments