Document what the cert and auth sweeps will not do

This commit is contained in:
Gmer4Lfe
2026-08-25 16:39:01 -04:00
parent 68c835f33b
commit c0e7a97a56
3 changed files with 83 additions and 0 deletions
+36
View File
@@ -30,6 +30,42 @@
# fails renewals for domains that have nothing wrong with them.
#
# ==============================================================================================
# DESIGN PRINCIPLES
# ==============================================================================================
#
# One invocation is one data point.
# A single failure writes its reason three times — the ACME response, the traceback, and
# certbot's summary. Counting lines would report it as three and inflate whichever category
# happens to be the most verbose, which is the opposite of what triage is for.
#
# Causes are separated from consequences.
# Rate limiting is nearly always downstream: retries against a hostname with no DNS record
# exhaust the allowance, which then fails renewals for domains that have nothing wrong with
# them. Reporting the rate limit as the problem sends the operator to fix the wrong domains.
#
# Rotation suffix is the clock, not mtime.
# Every file in this directory carries the same mtime because they arrive as a synced set, so
# ordering by mtime returns an arbitrary answer that looks authoritative.
#
# Bounded by design, not by hope.
# 639 MB across 1001 files cannot be read in a page load. Only CERT_TRIAGE_FILES logs are
# opened, and only CERT_TRIAGE_MAX_BYTES from the end of each, because a failure explains
# itself at the end of the run rather than the start.
#
# ==============================================================================================
# OPERATIONAL SAFEGUARDS
# ==============================================================================================
#
# Read-only throughout. It opens certbot's logs and nothing else — no certificate is requested,
# renewed or deleted, and no log is rotated or truncated by anything here.
#
# Diagnosis only. This names why renewals failed; acting on that is the operator's, and
# cert_history.sh remains the thing that records what happened.
#
# The log directory is normally discovered from the NPM container rather than hardcoded, so a
# container path change surfaces as "no logs found" rather than as a silently empty triage.
#
# ==============================================================================================
# RUNTIME MODES
# ==============================================================================================
#