Local testing runbook

Make MVP validation repeatable before the first VPS test.

Local smoke, HTTP smoke, owner-dashboard smoke, and seed commands give the owner a quick way to prove the foundation still works, exercise browser-facing routes/forms over real loopback HTTP, create a login-ready test member, and reset a disposable development database without opening production-destructive behavior.

Local-only helpers Smoke evidence Explicit reset confirmation
Commands

Local helper surface

CommandPurposeSafety boundary
cargo run -- local-smokeRuns a write-through store smoke test over migrations, preview media, account/session, recovery confirmation, entitlement, checkout return, payment webhook replay, participation, reactions, and trust/safety report primitives.Refuses production profile; writes disposable pseudonymous smoke records.
cargo run -- local-http-smokeStarts an ephemeral loopback app server, creates a disposable login-ready member, and exercises browser-facing routes/forms over real HTTP.Refuses production profile; does not print the generated recovery key; writes disposable records.
NOCTURNE_OWNER_KEY=... cargo run -- local-owner-smokeStarts an ephemeral loopback app server, logs into the gated owner dashboard, exercises owner forms, verifies the operational readiness cockpit command anchors, and prints a manual browser follow-up checklist.Refuses production profile; requires plaintext local owner key for login proof; never prints the owner key, raw invite code, recovery key, storage keys, raw payload digests, evidence paths, backup IDs, database URLs, or raw logs.
NOCTURNE_OWNER_KEY=... cargo run -- local-owner-visual-smokeSeeds disposable owner-review fixtures, starts a loopback owner dashboard, prints the review URL/checklist, and keeps the server open until Ctrl-C for manual browser QA.Refuses production profile; requires plaintext local owner key to enable login; does not print owner keys, recovery keys, raw invite codes, storage keys, raw payloads, IPs, user-agent data, or CSRF tokens.
cargo run -- owner-dashboard-review-planPrints the secret-free manual browser QA checklist for the gated owner dashboard; add --artifact-file ... --review-result passed after a clean browser pass to write a hash-ready artifact.Does not start the app, connect to the database, read secrets, open a browser, or capture raw logs; artifact mode writes only checklist/result metadata.
cargo run -- owner-dashboard-review-artifact-check --artifact-file ...Verifies the generated owner visual review artifact markers, recordable result, SHA-256, and forbidden sentinels before deployment evidence recording.Read-only and local; does not require a database, owner key, browser, or raw logs.
cargo run -- local-seedCreates one confirmed test member, grants local access/signals, and opens a starter poll plus unlock goal for browser testing.Refuses production profile; prints the generated recovery key once.
cargo run -- local-reset-seed --confirm-local-resetTruncates application tables in a disposable local database, reseeds preview plans/catalog/media, then creates one login-ready test member.Refuses production profile and requires the explicit confirmation flag.
cargo run -- invite-code-createCreates a one-time invite code for manually testing /join without default email capture.Prints the raw code once; stores only a SHA-256 digest and optional non-identifying owner label.
cargo run -- doctorChecks local readiness after seed/reset operations.Detailed diagnostics remain local only.
Smoke coverage

What local-smoke proves

HTTP smoke coverage

What local-http-smoke proves

Owner dashboard smoke coverage

What local-owner-smoke proves

Non-goals

What local helpers do not prove