docs(supabase): db:trial review record and contract file scope

This commit is contained in:
bchanot committed 2026-11-10 23:13:23 +01:00
1 parent f7bf0c85cb
commit a78da9f4e2
2 files changed
+35 -8

No files matched your search

@@ -210,7 +210,7 @@ merge or deploy; a script's interactive confirmation is never the owner's prior
independent R13 counter-check returned CONFORME (or every finding it raised is closed in the plan) before lot A2.
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm --filter @faunosteo/app exec vitest run tests/unit/vite.trialTargets.test.ts tests/unit/vite.trialConfig.test.ts && pnpm --filter @faunosteo/app exec tsc -p tsconfig.node.json --noEmit && pnpm --filter @faunosteo/supabase exec vitest run tests/sandbox-target.test.ts && echo GUARD-TESTS-OK
EXPECT: GUARD-TESTS-OK
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: RUN v3.2.7 /home/bchanot/Documents/faunosteo-v1-2/apps/app stderr | tests/unit/vite.trialConfig.test.ts > shared trial dev server config, as…
17. [gated 2026-11-10] The stub harness passes in full with simulated services only (docker, curl, ss, node and env
wrapped; no daemon reachable), including: typed confirmations of `destroy` (`faunosteo_trial`), `restore`
(`restore <name>`) and `grant` (`grant <role>`) through a terminal only, piped phrases refused; `grant` never adds
@@ -220,32 +220,32 @@ merge or deploy; a script's interactive confirmation is never the owner's prior
any logged argv. bash -n and shellcheck are never offered as proof of real behaviour.
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && bash scripts/db-trial-check.sh
EXPECT: db-trial-check: ALL PASS
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: -- static PASS shellcheck: db-trial.sh and this harness PASS shellcheck: db-sandbox.sh (pre-existing SC1090, SC1091, SC2016 excluded) PASS d…
18. [gated 2026-11-10] Static checks: shellcheck clean on `db-trial.sh`, the harness and `db-sandbox.sh`.
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && shellcheck -x scripts/db-trial.sh scripts/db-trial-check.sh && shellcheck -e SC1090,SC1091,SC2016 scripts/db-sandbox.sh && echo SHELLCHECK-OK
EXPECT: SHELLCHECK-OK
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: SHELLCHECK-OK
19. [gated 2026-11-10] Project suites green.
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm typecheck && pnpm lint && pnpm test:run && echo SUITES-GREEN
EXPECT: SUITES-GREEN
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: > faunosteo@0.1.0 typecheck /home/bchanot/Documents/faunosteo-v1-2 > pnpm -r typecheck Scope: 3 of 4 workspace projects packages/core-wasm t…
20. [gated 2026-11-10] `scripts/db-sandbox.sh` gains lines and loses none since b215b89 (its commands unchanged).
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && test "$(git diff --numstat b215b89 -- scripts/db-sandbox.sh | awk '{print ($1>0 && $2==0) ? "ok" : "bad"}')" = ok && echo SANDBOX-ADDITIONS-ONLY
EXPECT: SANDBOX-ADDITIONS-ONLY
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: SANDBOX-ADDITIONS-ONLY
21. [gated 2026-11-10] Untouched: migrations, seed and crates (committed and working tree).
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && git diff --quiet b215b89 -- supabase/migrations supabase/seed crates && test -z "$(git status --porcelain -- supabase/migrations supabase/seed crates)" && echo UNTOUCHED
EXPECT: UNTOUCHED
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: UNTOUCHED
22. [gated 2026-11-10] Nothing real created: no `faunosteo_trial*` container, volume or network, no state folder
(the pattern is first proven on a fixture line, the listings must succeed).
CHECK: printf 'faunosteo_trial_db\n' | grep -q '^faunosteo_trial' && c=$(docker ps -a --format '{{.Names}}') && v=$(docker volume ls --format '{{.Name}}') && n=$(docker network ls --format '{{.Name}}') && ! printf '%s\n%s\n%s\n' "$c" "$v" "$n" | grep -q '^faunosteo_trial' && test ! -e "$HOME/.cache/faunosteo-trial" && echo NOTHING-CREATED
EXPECT: NOTHING-CREATED
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: NOTHING-CREATED
23. [gated 2026-11-10] The untracked review files are kept.
CHECK: test -f /home/bchanot/Documents/faunosteo-v1-2/faunosteo-v1-2-6-revue-ux-chatgpt.md && test -f /home/bchanot/Documents/faunosteo/faunosteo-v1-2-4-revue-chatgpt.md && echo REVIEWS-KEPT
EXPECT: REVIEWS-KEPT
EVIDENCE: pending
EVIDENCE: MET exit=0 marker-found :: REVIEWS-KEPT
24. [gated 2026-11-10] Each lot (A, A2, B1, B2, B3, C) tested, reviewed, committed and pushed before the next; no
merge, no deploy, no real create/start/stop/migrate/restore/destroy/rotation, DEV and the sandbox untouched; the
closure report gives the exact R13 counter-check verdict, test results, security review, the 8 checkpoint items
@@ -260,3 +260,5 @@ merge or deploy; a script's interactive confirmation is never the owner's prior
2026-11-10]); new `apps/app/vite/trial-targets.ts`, `apps/app/tests/unit/vite.trialTargets.test.ts` and
`apps/app/tests/unit/vite.trialConfig.test.ts`
- docs: `docs/development/{SUPABASE,V1-2-6_OWNER_TRIAL,TRIAL_STACK}.md`, `CLAUDE.md`, `.claude/tasks/TODO.md`
- orchestrator artifacts (named after GATE 1, 2026-11-10; not a criterion change): this contract and the plan
`.claude/tasks/plans/2026-11-09-db-trial-stack.md` (review record of every lot and of the R13 counter-check)