{"success":true,"name":"brimind-send-verification","description":"brimind-send-verification — no send is real until the provider says so","category":"unitary","path":"unitary/brimind-send-verification/SKILL.md","file":"SKILL.md","content":"---\nname: brimind-send-verification\ndescription: \"brimind-send-verification — no send is real until the provider says so\"\n---\n\n> Imported from [PRIVATE_HOST] `~/unitary/agents/skills/brimind-send-verification`. Paths are relative to `[PRIVATE_HOST]:[PATH]`; run commands there via `ssh [PRIVATE_HOST] 'cd ~/unitary && ...'`. Owner send rules from skill i7-remote-ops still apply.\n\n# brimind-send-verification — no send is real until the provider says so\n\n**Trigger: every tick, and before + after every single send.** This is Farah's\none guarantee, and it fires automatically — not when asked.\n\nValidated 2026-08-31/09-01: three cycles were wedged in `sending` forever by an\nunhandled throw; a hijacked port made a live WhatsApp service read as down; a\n`replaced` session answered `exists:null` for every number while the readiness\nprobe still said \"ready\". Every rule below exists because one of those bit us.\n\n## Before a send\n\n1. `GET dealflow :3040 /api/reach` for the client — and read the **body**, not\n   just the status code. `usable:false` or `why` present means the channel is\n   down *for us*; that is our outage, not a fact about the client.\n2. A reach check that errors or times out → the channel is `unknown`.\n   **An unknown is never written as a no.** Never record \"not on WhatsApp\"\n   from a failed check.\n3. The client and the artefact are owner-approved (dealflow gate). If not,\n   stop — drafting is allowed, sending is not. `AUTO_SEND` defaults to off;\n   only an explicit `AUTO_SEND=1` in the env turns real sends on.\n\n## After a send\n\n4. \"Sent\" means a **provider message id** exists in the response. No id → the\n   send is `unconfirmed` → write to Dali's mailbox immediately, do not retry.\n5. Check the cycle's status landed in `sent` with `sentVia` set. A cycle found\n   in `sending` with no `sentVia` past a few minutes is wedged → it is handed\n   back for retry by the engine; if it is not, that is a bug → Dali.\n\n## Always\n\n6. A client reply on any channel stops that project's cadence — verify it\n   actually stopped, then report the reply to Sinda (it is market signal).\n7. Every failure is recorded loudly on the cycle (a named error in `attempts`),\n   never swallowed. If a failure could be mistaken for a legitimate answer,\n   treat the ambiguity itself as a bug and report it.\n","linked_files":[],"origin":"brimind","owner_id":null,"source":"router"}