Fallback echo/log audit pass — fallback.sh, fallback_test.sh + Manual
Remove setup banners from fallback.sh and fallback_test.sh. Add Host Detection to fallback.sh OPERATIONAL SAFEGUARDS; add Lock Acquisition + Host Detection to fallback_test.sh. Add output tiers section to Manual-Fallback.md documenting daemon vs one-shot output behaviour.
This commit is contained in:
@@ -568,6 +568,24 @@ If it has happened:
|
||||
|
||||
---
|
||||
|
||||
## ━━━ OUTPUT TIERS ━━━
|
||||
|
||||
Both scripts have two output levels controlled by `--log`.
|
||||
|
||||
**fallback.sh** — daemon, runs continuously. Without `--log`, only state transitions,
|
||||
warnings, errors, and the startup banner are visible. Per-cycle detail (ping results,
|
||||
state evaluation) is suppressed — the daemon runs every 15–30 seconds and clean cycles
|
||||
produce no output by design. State transitions are always visible because they are the
|
||||
events that matter. Use `--log` when debugging why the state machine is or is not
|
||||
acting.
|
||||
|
||||
**fallback_test.sh** — one-shot test harness. Without `--log`, phase headers, pass/fail
|
||||
results, and the final test report are always visible. Per-container checks within each
|
||||
phase are suppressed. With `--log`, every check in every phase is shown. Warnings and
|
||||
errors are always visible regardless of `--log`.
|
||||
|
||||
---
|
||||
|
||||
## ━━━ FLAG REFERENCE ━━━
|
||||
|
||||
### fallback.sh
|
||||
|
||||
Reference in New Issue
Block a user