| 1 | --- |
| 2 | type: outcome |
| 3 | id: oc-9949561 |
| 4 | status: done |
| 5 | title: Every push replicated — classic-laddie primary + Hetzner offsite + verified restore |
| 6 | created: 2026-07-02 |
| 7 | blocked_by: [oc-fc348f0] |
| 8 | --- |
| 9 | |
| 10 | # Every push replicated |
| 11 | |
| 12 | The S1 infrastructure work: bare repos on classic-laddie as primary, offsite replication to Hetzner, |
| 13 | and one full restore _performed and verified_ — configured is not done |
| 14 | ([user-scenarios.md § S1](../../design/user-scenarios.md#s1--my-repos-live-on-my-infrastructure-and-i-can-never-lose-them), |
| 15 | [roadmap.md Phase 0](../../design/roadmap.md#phase-0--mvp-repos-off-github)). The host module lives |
| 16 | in the-valley itself (`flake.nix` + `schema/`, per [[dcr-0f5d9b1]]); consumers — cosmo's hosts — |
| 17 | install and configure it. Blocked by the mechanism decision [[oc-fc348f0]]. |
| 18 | |
| 19 | Done 2026-07-13 — the-valley's primary populated on classic-laddie and canonical origin flipped |
| 20 | (GitHub demoted to a push mirror via write deploy key; hook pushes explicit head/tag refspecs per |
| 21 | the [[dcr-d7952bc]]-adjacent module fix |
| 22 | ([dcr-d7952bc-phase0-replication-github-transitional.md](../decisions/dcr-d7952bc-phase0-replication-github-transitional.md))); |
| 23 | replication verified by checking both sides (marker tag `s1-migration` on both within seconds); |
| 24 | offsite depth live (nightly restic to the Hetzner Storage Box + box auto-snapshots); and a full |
| 25 | restore performed and verified against real data (snapshot `28ce9e00` restored, fsck clean, |
| 26 | `refs/heads/main` hash-identical to the live primary). |