Documentation
¶
Overview ¶
Command stepupfix is the step-up card page spec's fixture (e2e/tests/stepup-card-page.spec.ts): one step-up confirmation card as muster files it for a draft's approval — its parts (internal/attention StepUpCard), written through the real attention store (attention.Clean builds its question from them; row-level security as in production) — so the spec can open its page. What is under test is how the page DRAWS a card, not how the gate files one (internal/api host_stepup_card_pg_test.go drives that through the real mirror door).
DATABASE_URL=…_e2e go run ./e2e/stepupfix card <owner> prints the card's id DATABASE_URL=…_e2e go run ./e2e/stepupfix thread <owner> a long X thread's card (an excerpt) DATABASE_URL=…_e2e go run ./e2e/stepupfix lookalike <owner> a post with look-alike letters DATABASE_URL=…_e2e go run ./e2e/stepupfix draftcard <owner> <draft-id> [reject] a card about a REAL draft (prints its id) DATABASE_URL=…_e2e go run ./e2e/stepupfix ask <owner> a plain open ask (yes/no) a gated attention_answer can name (prints its id) DATABASE_URL=…_e2e go run ./e2e/stepupfix status <owner> <id> an ask's "<status> <answer>" DATABASE_URL=…_e2e go run ./e2e/stepupfix unmark <owner> clear the account's sticky factor record (as a reset does) DATABASE_URL=…_e2e go run ./e2e/stepupfix clear <owner>
🔴 IT REFUSES ANY DATABASE WHOSE NAME DOES NOT END IN "_e2e" (e2edb.Check).