2026-07-04 12:45:16 +02:00
|
|
|
|
---
|
|
|
|
|
|
id: DISCTL-WP-0002
|
|
|
|
|
|
type: workplan
|
|
|
|
|
|
title: "Resilience foundation: registers, policy, first tested restore"
|
|
|
|
|
|
domain: infotech
|
|
|
|
|
|
repo: disaster-control
|
|
|
|
|
|
status: ready
|
|
|
|
|
|
owner: claude-code
|
|
|
|
|
|
topic_slug: custodian
|
|
|
|
|
|
created: "2026-07-04"
|
|
|
|
|
|
updated: "2026-07-04"
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_workstream_id: "359d7db1-bea1-4ad4-b99c-29c37bbad7c2"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# Resilience foundation: registers, policy, first tested restore
|
|
|
|
|
|
|
|
|
|
|
|
Stand up the minimum viable Resilience Control Plane for Coulomb Social /
|
|
|
|
|
|
Helix Forge: know what exists (registers), what must survive (policy, RTO/RPO),
|
|
|
|
|
|
how it comes back (runbook, panic sheet), and prove it once (drill + evidence).
|
|
|
|
|
|
|
|
|
|
|
|
Driven by `history/2026-07-04-initial-risk-analysis.md` — priority order R2
|
|
|
|
|
|
(untested restores), R9 (silent backup failure), R3 (backup-deleting breach),
|
|
|
|
|
|
R4/R5 (identity & secret recovery), R10 (control plane single-homed), R1
|
|
|
|
|
|
(full server loss). Design source: `specs/ResilienceControlSetup.md`.
|
|
|
|
|
|
|
2026-07-04 12:46:22 +02:00
|
|
|
|
The same-day Forgejo/Railiance assessment
|
|
|
|
|
|
(`history/2026-07-04-forgejo-backup-strategy-assessment.md`) proved the Forgejo
|
|
|
|
|
|
restore path (RAIL-HO-WP-0005-T09) and handed this repo a pickup queue: its
|
|
|
|
|
|
items 7–8 are T03/T04/T06 below; its cross-repo items are tracked by T08.
|
|
|
|
|
|
|
2026-07-04 12:45:16 +02:00
|
|
|
|
## Mirror disaster-control off the primary Gitea (R10)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T01
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: high
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "0d7e27f6-1290-45da-b76a-407b7b039e95"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
This repo must survive the disasters it describes. Add at least one mirror on
|
|
|
|
|
|
infrastructure independent of CoulombCore/Gitea (e.g. GitHub private mirror or
|
|
|
|
|
|
secondary machine), document the mirror location in README, and note how the
|
|
|
|
|
|
mirror is refreshed.
|
|
|
|
|
|
|
|
|
|
|
|
## Asset and data registers with Tier-0 recovery paths (R4, R7, R8, R12)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T02
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: high
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "59f04771-25cf-4bde-adf0-8a1cd418dc1f"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Write `AssetRegister.yaml` and `DataRegister.yaml` seeded with the current
|
|
|
|
|
|
stack: domains/DNS/registrar, email, Stripe, Bubble.io, OpenRouter, Gitea,
|
|
|
|
|
|
CoulombCore content, k3s, databases, backup storage, secrets/OpenBao. Every T0
|
|
|
|
|
|
entry must record its recovery path (backup admin, MFA recovery, break-glass).
|
|
|
|
|
|
Every T1 entry must name its source of truth and backup mechanism (or mark it
|
|
|
|
|
|
`backup: none` honestly). Use the tier model from the spec (§2).
|
|
|
|
|
|
|
|
|
|
|
|
## ResiliencePolicy and RTO/RPO matrix (R1, R6)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T03
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: high
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "8c119835-0c97-4556-ab98-42267688e432"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Write `ResiliencePolicy.md` (operating principle, tier definitions, drill
|
|
|
|
|
|
cadence, evidence requirement) and `RTO-RPO-Matrix.md` with explicit per-system
|
|
|
|
|
|
targets, starting from the spec's suggested values (§3): RPO ≤ 24h everywhere,
|
|
|
|
|
|
RTO ≤ 1 day full recovery, RTO ≤ 4–8h for code/content/control plane.
|
|
|
|
|
|
|
|
|
|
|
|
## BackupPolicy with credential separation and monitoring (R3, R9)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T04
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: high
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "d6b9b621-c901-48c0-be4c-7bc98245de99"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Write `BackupPolicy.md`: 3-2-1 + immutable/offline model, per-stream mechanisms
|
|
|
|
|
|
(gitea dump + mirrors, restic, k3s etcd snapshots, Bubble/Stripe exports,
|
|
|
|
|
|
SOPS/age secret vault), and two hard rules with verification steps —
|
|
|
|
|
|
(a) backup-storage credentials never live on the production host with delete
|
|
|
|
|
|
permission; (b) backup job success and repository integrity are checked on a
|
|
|
|
|
|
defined schedule with a named alerting path.
|
|
|
|
|
|
|
|
|
|
|
|
## Full-server-loss restore runbook and panic sheet (R1, R11)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T05
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: medium
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "c413734b-7a17-4164-bf72-0de18fd509c4"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Write `RestoreRunbooks/01-full-server-loss.md` (new machine → Ansible → secret
|
|
|
|
|
|
recovery → data restore → k3s redeploy → validate → DNS cutover → evidence
|
|
|
|
|
|
report) and the one-page panic sheet: where backups are, who has access, how to
|
|
|
|
|
|
rebuild, how to rotate secrets, how to switch DNS — written so a competent
|
|
|
|
|
|
stranger could execute it.
|
|
|
|
|
|
|
|
|
|
|
|
## First restore drill with evidence file (R2)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T06
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: high
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "c816efa0-bbc2-4612-9a8f-a03bd83ca7c0"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
2026-07-04 12:46:22 +02:00
|
|
|
|
The 2026-07-04 Forgejo drill (evidence in `railiance-infra`) proved that path;
|
|
|
|
|
|
this task covers the next untested system: restore one Gitea repo/dump or
|
|
|
|
|
|
decrypt the secret vault from cold, onto a clean target. Write
|
|
|
|
|
|
`TestEvidence/restore-drill-2026-MM-DD.md` with measured RTO/RPO, result,
|
|
|
|
|
|
issues found, and follow-up actions; also copy or link the Forgejo drill
|
|
|
|
|
|
evidence so this repo holds the complete evidence trail. Define the recurring
|
|
|
|
|
|
drill cadence (pickup item 7). This task is the exit criterion for the
|
|
|
|
|
|
workplan: no drill evidence here, not finished.
|
2026-07-04 12:45:16 +02:00
|
|
|
|
|
|
|
|
|
|
## Incident playbooks (R3, R4, R5, R6, R7)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T07
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: medium
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "ee7254a8-5adf-4913-bb47-bf94e59c88ec"
|
2026-07-04 12:45:16 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Write the five playbooks under `IncidentPlaybooks/`: ransomware/hostile access,
|
|
|
|
|
|
credential leak, accidental delete / data corruption, provider outage
|
|
|
|
|
|
(Bubble/Stripe/OpenRouter/DNS/email), loss of admin identity. Keep each to one
|
|
|
|
|
|
page of numbered steps per the spec (§6).
|
2026-07-04 12:46:22 +02:00
|
|
|
|
|
|
|
|
|
|
## Track cross-repo backup pickup queue (R2, R9)
|
|
|
|
|
|
|
|
|
|
|
|
```task
|
|
|
|
|
|
id: DISCTL-WP-0002-T08
|
|
|
|
|
|
status: todo
|
|
|
|
|
|
priority: medium
|
2026-07-04 13:21:10 +02:00
|
|
|
|
state_hub_task_id: "af9ae2ca-5af8-45af-9301-8c28e78ea32a"
|
2026-07-04 12:46:22 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Drive closure of the cross-repo items from the Forgejo assessment's pickup
|
|
|
|
|
|
queue (items 1–6: backup destination decision #7, CNPG ScheduledBackup,
|
|
|
|
|
|
scheduled `forgejo dump`, `railiance-backup` tool, Gitea pre-cutover snapshot,
|
|
|
|
|
|
`apps-pg` coverage). Implementation lives in `railiance-platform` /
|
|
|
|
|
|
`railiance-apps` / `railiance-infra`; this repo tracks status and records the
|
|
|
|
|
|
outcome in the registers and BackupPolicy as each item lands.
|