Files
felhom.eu/documentation/audits/night-2026-09-23/nc_rebuild.py
T
admin 3e58c184f6
gates / gates (push) Successful in 27s
night shift 2026-09-23: the record, the register, the morning note
DRILL-night-2026-09-23.md: Parts A-E. 09 §3 decisions 21 (operator word),
22 and 23 (CC unattended, operator may reverse); §6.4 parts 4 and 6
(catalog half) shipped; §6.1a residuals R-658/R-659. Register 330 -> 336:
R-651..R-660 opened (R-658 and R-659 P1), R-650/R-640/R-499/R-626 closed.
Capability map, nightly rotation (opengist), STATUS (one question: the
floor), CONTEXT, REPORT. The floor stays 0.266.0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-24 00:24:04 +02:00

17 lines
896 B
Python

#!/usr/bin/env python3
"""Nextcloud for the chaos hour, rebuilt clean after R-657: remove through the product, delete its kept
drive folder BY NAME (the scratch box; the product itself refuses the with-data remove here, R-442),
deploy again, seed A through occ."""
import sys, time
sys.path.insert(0, ".")
import walk as w
from chaos import load, save, SIX, sub_of
w.login()
w.remove("nextcloud")
w.say(w.guest("rm -rf /mnt/felhom-drives/scratch_hdd/userdata/nextcloud; ls /mnt/felhom-drives/scratch_hdd/userdata/ | tr '\\n' ' '"))
w.deploy("nextcloud", sub_of("nextcloud"))
A = SIX["nextcloud"]["fx"].seed(w, sub_of("nextcloud"), w.say)
s = load(); s["apps"]["nextcloud"]["A"] = A; save(s)
w.say(f"nextcloud seed A: {bool(A)}; readback: {SIX['nextcloud']['fx'].verify(w, sub_of('nextcloud'), A, w.say) if A else None}")
open("chaos/00-nextcloud-rebuild.log", "w").write("\n".join(w.LOG) + "\n")