package mirror generations

The package mirror is a system too: immutable generations and the mirror you can't trust

A local package mirror sounds like the safest thing in your homelab — it's just files, right? It's not. A mirror is a system with a trust model, a versioning model, and a failure mode that only shows up when you most need it to be reliable. This is how I came to treat the mirror as a first-class component: immutable generations, signed or at least verified content, and a canary that proves it actually serves what you think it serves.

Why a mirror is harder than it looks

The failure modes that actually bite

The fix: immutable generations

Verification: the mirror must prove itself

The trust model, made explicit

The principle