Documentation
¶
Overview ¶
Command asksfiltfix is the Asks page's filter-chip, scroll and video fixture (e2e/tests/asks-filters.spec.ts, asks-scroll.spec.ts and draft-video.spec.ts): one owner's queue holding items from several sources — an officer's questions, its outbound draft and the step-up card a SESSION filed for that draft, an agent's questions and reply draft, a mirrored session's questions, muster's notice — enough of them that the Open feed scrolls at a phone's height, and ANOTHER owner's officer items that must never reach the first owner's page. Written through the real attention store (its Clean, its constraints, row-level security as the owner) and as plain rows where the e2e harness has no door (a plugin, a draft).
DATABASE_URL=…_e2e go run ./e2e/asksfiltfix seed <owner> <stamp> prints JSON ids DATABASE_URL=…_e2e go run ./e2e/asksfiltfix video <owner> <stamp> <object-key> <sha256> <size> DATABASE_URL=…_e2e go run ./e2e/asksfiltfix ping <owner> <stamp> one more question (a live refresh) DATABASE_URL=…_e2e go run ./e2e/asksfiltfix clear <owner> <stamp>
`video` files a pending outbound X post draft whose one medium is an MP4 stored under <object-key> (the spec puts the bytes in its fake S3), and the step-up card that asks to approve it, and prints {"draft":…, "ask":…}.
Every row is synthetic. 🔴 IT REFUSES ANY DATABASE WHOSE NAME DOES NOT END IN "_e2e" (e2edb.Check).