Files
felhom.eu/documentation/audits/DRILL-r403-tier2-delete-2026-08-31/phase1a-before-complete-secondary.log
T
admin 66156c619f
gates / gates (push) Successful in 16s
R-403 drill evidence + the credential reader that ends a three-time mistake
The drill: the loss reproduced on the shipped v0.229.0 before anything was built. 120 082 104 B ->
7 036 B in one Tier-2 run, recorded as a success. Phases 1a (before), 1b (the hollow primary,
produced through the R-102 restore path exactly as the 2026-08-31 observation was), 1c (the loss),
1d (repair).

scripts/read_credential.py is Part 4's rider, and it exists because a note did not work three times:
2026-07-20 a Failed login was diagnosed as a stale password and written into memory; 2026-08-31 the
same misreading recurred and was caught; 2026-08-31, hours later, it recurred AGAIN and rewrote a
live box's password hash. Between them the project already had a memory file stating the rule, a
worked recipe in it, and a session report describing the mistake. The rule now lives in the code
path: one matching quote pair is unwrapped, the result is REFUSED if it still carries a quote, and
--expect-length gives the caller a second opinion. The value goes file->file at 0600 and stdout gets
only its length. test_read_credential.py asserts each refusal by its reason, with a positive control
before believing the not-in-stdout result.

Red-proof E1: remove the final quote assertion -> three cases fail by name.
2026-08-31 14:02:26 +02:00

52 lines
3.3 KiB
Plaintext

######## R-403 PHASE 1a — the BEFORE state, on the SHIPPED 0.229.0 build ########
UTC 2026-08-31T11:29:29Z
controller under test: gitea.dooplex.hu/admin/felhom-controller:0.229.0
=== SECONDARY copy — the thing that must survive ===
--- full listing
.felhom-tier2-layout
recovery-unit/compose/.felhom.yml
recovery-unit/compose/app.yaml
recovery-unit/compose/docker-compose.yml
recovery-unit/db-dumps/docmost-postgres.sql
recovery-unit/db-dumps/pre-restore-20260822T162347Z-docmost-postgres.sql
recovery-unit/db-dumps/pre-restore-20260822T162708Z-docmost-postgres.sql
recovery-unit/db-dumps/pre-restore-20260822T215432Z-docmost-postgres.sql
recovery-unit/manifest.json
recovery-unit/volume-dumps/docmost_docmost_postgres_data.tar
recovery-unit/volume-dumps/docmost_docmost_redis_data.tar
recovery-unit/volume-dumps/docmost_docmost_storage.tar
--- db-dumps/ and volume-dumps/ with sha256 (THE material at risk)
9f676376f759733f5b62e590e4a2b31dddd66ff49990df3394332b790a092a28 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/db-dumps/docmost-postgres.sql
73917ba6bc3072dfc7b5be9c6df4f8361da7e987230f5d56f7b62f397fe15ef1 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/db-dumps/pre-restore-20260822T162347Z-docmost-postgres.sql
4c134c2ced74df26f49ef1910694cbbd25f2598549bb4b5bb145aac054935949 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/db-dumps/pre-restore-20260822T162708Z-docmost-postgres.sql
13e5a864701966d9e4053b5bb7dd800cca3d77ebb07f4fd2f32c86389422af25 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/db-dumps/pre-restore-20260822T215432Z-docmost-postgres.sql
f46a2fc3aa9a7ae2502d83b1c6ef27e503102f5ba71a0c6559246d9674c8e3b1 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/volume-dumps/docmost_docmost_postgres_data.tar
a8df17c444e41f54762e122ce1be998315c969015a1580bb8abdc7211cfa1a73 /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/volume-dumps/docmost_docmost_redis_data.tar
88f21f491d0766aa7a1fc9eba5866e5fffd7a72fa640c55f7bccf575f2ba751d /mnt/felhom-drives/hdd_1/backups/secondary/docmost/recovery-unit/volume-dumps/docmost_docmost_storage.tar
--- counts
db-dumps files: 4
volume-dumps files: 3
secondary unit size: 120082104 bytes
=== PRIMARY unit — currently COMPLETE ===
created_at : 2026-08-31T09:43:41Z
db_dumps : ['docmost-postgres.sql']
volume_dumps: ['docmost_docmost_postgres_data.tar', 'docmost_docmost_redis_data.tar', 'docmost_docmost_storage.tar']
/mnt/sys_drive/felhom-data/backups/primary/docmost/db-dumps/:
total 568
drwxr-xr-x 2 root root 4096 Aug 31 09:49 .
drwxr-xr-x 5 root root 4096 Aug 31 09:43 ..
-rw-r--r-- 1 root root 142277 Aug 31 09:49 docmost-postgres.sql
-rw-r--r-- 1 root root 141363 Aug 22 16:23 pre-restore-20260822T162347Z-docmost-postgres.sql
-rw-r--r-- 1 root root 141363 Aug 22 16:27 pre-restore-20260822T162708Z-docmost-postgres.sql
-rw-r--r-- 1 root root 141363 Aug 22 21:54 pre-restore-20260822T215432Z-docmost-postgres.sql
/mnt/sys_drive/felhom-data/backups/primary/docmost/volume-dumps/:
total 116720
drwxr-xr-x 2 root root 4096 Aug 31 09:50 .
drwxr-xr-x 5 root root 4096 Aug 31 09:43 ..
-rw-r--r-- 1 root root 70135296 Aug 31 09:50 docmost_docmost_postgres_data.tar
-rw-r--r-- 1 root root 49370624 Aug 31 09:50 docmost_docmost_redis_data.tar
-rw-r--r-- 1 root root 2560 Aug 31 09:49 docmost_docmost_storage.tar