A Bash reliability report can gate a service window with fixed failed-check and duration values.

Program

Play the script to choose the failed check count and inspect the service window status.

service_window_reliability_report.sh
#!/usr/bin/env bash

failed_checks=
allowed_failures=1
open_minutes=45
if (( failed_checks <= allowed_failures && open_minutes >= 30 )); then
    status="ready"
else
    status="blocked"
fi
echo "failed=$failed_checks open=$open_minutes status=$status"
#!/usr/bin/env bash

failed_checks=
allowed_failures=1
open_minutes=45
if (( failed_checks <= allowed_failures && open_minutes >= 30 )); then
    status="ready"
else
    status="blocked"
fi
echo "failed=$failed_checks open=$open_minutes status=$status"
#!/usr/bin/env bash

failed_checks=
allowed_failures=1
open_minutes=45
if (( failed_checks <= allowed_failures && open_minutes >= 30 )); then
    status="ready"
else
    status="blocked"
fi
echo "failed=$failed_checks open=$open_minutes status=$status"
failure budget `allowed_failures` is the fixed policy for the service window.
duration gate `open_minutes` is a deterministic scalar, not a live clock read.
report line The final echo keeps the inputs and readiness label together.