chore(memory): db:trial first create, LRN-123..126, owner arbitrations

First create at 255dd67 done; post-create checks interrupted at check 3 (TR_PW in the db container log, written by the image's init). Contract records the owner's arbitrations of 2026-11-11; TODO lists the follow-up lots.
This commit is contained in:
bchanot committed 2026-11-11 15:54:33 +01:00
1 parent 255dd67f2c
commit c6c984b954
4 files changed
+70 -1

No files matched your search

@@ -146,6 +146,23 @@ protected prior backup, app address recomputed at each launch, ss checked explic
static or simulated checks only: no real create/start/stop/migration/restore/destroy/rotation, no DEV or sandbox, no
merge or deploy; a script's interactive confirmation is never the owner's prior authorisation. [gated 2026-11-10]
Q: owner arbitrations at the creation checkpoint (HEAD 255dd67) / A: (1) shellcheck: the 15 directives are allowed
for demonstrated false positives only, with minimal scope and a readable reason, global shellcheck clean, no other
diagnostic masked (the file-wide SC2016 at the top of db-trial-check.sh does not qualify: to narrow). (2) LAN
Playwright: before any LAN test the environment check proves the expected target, the container or service really
used, the key issuer and that DEV cannot be reached; a port is no identity; 5193 vs 5194 explained and checked; any
ambiguity refuses before connecting. (3) rotate-secrets: existing sessions invalidated, users sign in again:
refresh tokens actually revoked and old access JWTs handled (revoking a session is not invalidating a JWT); real
behaviour tested before the command is enabled, else it refuses and the limit is documented; DEV accounts and
secrets untouched. (4) destroy: refused by default for keepable data without a backup verified by an isolated
restore, PostgreSQL and Storage both; a backup file is never proof of restore; an explicit controlled procedure for
an instance proved empty; no destroy in this step. (5) GO for the first create of faunosteo_trial only, after
worktree/HEAD, Docker context/daemon, no overwrite, no concurrent run, static checks on the final code and proof
that create depends on neither rotate-secrets, destroy nor the LAN test; then immediate checks 1-10; an exposed
secret, a DEV target or a failed critical check interrupts, no optional step, real state reported, no secret shown.
No merge, deploy, DEV change or DEV secret, no rotate-secrets before its validation, no destroy, no new network
exposure, no DEV worker. [gated 2026-11-11]
## ACCEPTANCE CRITERIA
1. `pnpm db:trial` (root `package.json`) runs `scripts/db-trial.sh` with the commands of TRIAL_STACK.md §4 (`create`,
`start`, `stop`, `status`, `migrate`, `backup`, `rotate-keys`, `rotate-secrets`, `app`, `account <email>`,