{"success":true,"name":"brimind-solobro-check-the-link-the-client-opens","description":"About to put a pay.brimind.pro link in a client message, or having just changed anything about prices, currencies or quote pages. Use to fetch the exact URL the client will open — not localhost, not the one you built — and confirm what it renders. Triggers on any new currency, any reissued devis, any \"I verified it works\" about a public page. Written after three Australian builders were sent a quo","category":"unitary","path":"unitary/brimind-solobro-check-the-link-the-client-opens/SKILL.md","file":"SKILL.md","content":"---\nname: brimind-solobro-check-the-link-the-client-opens\ndescription: About to put a pay.brimind.pro link in a client message, or having just changed anything about prices, currencies or quote pages. Use to fetch the exact URL the client will open — not localhost, not the one you built — and confirm what it renders. Triggers on any new currency, any reissued devis, any \"I verified it works\" about a public page. Written after three Australian builders were sent a quote page showing Tunisian dinars.\n---\n> Imported from [PRIVATE_HOST] `~/unitary/agents/skills/brimind-solobro-check-the-link-the-client-opens`. 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\n> **2026-09-04 update — see [`brimind-send-pay-brimind-not-offer`](../brimind-send-pay-brimind-not-offer/SKILL.md).**\n> The owner has ruled that a client link must always be `pay.brimind.pro`\n> ([PRIVATE_HOST], 24/7), never `pay.offer.brimind.pro` (tunnel, intermittent). Use the\n> comparison below to catch a wrong build on `pay.brimind.pro` and get it\n> fixed — do not resolve a mismatch by sending the `.offer.` link instead.\n\n# Open the link the client will open\n\nA link in a client message is a promise about what they will see. Checking it\nanywhere other than where they will click it is not checking it.\n\n**2026-09-04.** Three Sydney builders were sent a proposal at A$4,900. The quote\npage had been verified — on `[PRIVATE_HOST]`, where it correctly rendered `A$`.\nWhat the clients opened was `pay.brimind.pro`, which rendered **56 occurrences of\nTND**, plus an ROI table built on a 30 TND basket — a bakery's numbers on a\nbuilder who invoices half a million. Three corrective emails, and three prospects\nwho saw an agency that cannot get its own price right.\n\n## The cause, so it is recognisable next time\n\n`pay.brimind.pro` and this laptop **share the database but not always the code**.\nA record written locally (a devis, a cancellation) appears on both instantly —\nthat part is real, and it is why the mistake is so easy to make. A *code* change\n(a new currency, a new page, a fixed label) does not.\n\nThe specific trap: `normCurrency()` falls back to **TND for any currency it does\nnot know**. So a build that predates `AUD` being added does not error — it\nsilently prices an Australian client in dinars. Any newly added currency has this\nshape.\n\n`https://pay.offer.brimind.pro` is the tunnel to *this* laptop's process, so it\nrenders the code you just changed. That is the URL to verify against, and the one\nto send when the production deployment is behind.\n\n## Before any client message carrying a link\n\n```bash\n# what the CLIENT will see — the only check that counts\ncurl -s \"https://pay.brimind.pro/offre/<id>\" | grep -oE \"TND|A\\$|kr\\.|€\" | sort | uniq -c\n\n# what THIS laptop renders, for comparison\ncurl -s \"http://[PRIVATE_HOST]/offre/<id>\"    | grep -oE \"TND|A\\$|kr\\.|€\" | sort | uniq -c\n```\n\n**If the two disagree, the client link is wrong.** Do not send `pay.offer`\nas a workaround (see the 2026-09-04 note above) — fix the `pay.brimind.pro`\nbuild or record, re-check it, and only send once it matches. Tell the owner\nif it can't be fixed before the message needs to go.\n\nCheck three things, not one: the **currency symbol**, the **amount**, and the\n**ROI table below it** (it has its own currency path and was wrong on its own\nonce already).\n\n## Also true of every other public artefact\n\nThe same rule covers anything a client opens that we built: a demo site on\n`*.offer.brimind.pro`, a PDF, an invoice page, a payment link. Fetch the public\nURL. A rebuild is not a deploy, and a deploy is not a verification.\n\n## The one line\n\n**Never verify on localhost a link you are about to put in someone else's inbox.**\n\n## Field notes (from session handoffs)\n- 2026-10-21: Si le vérificateur d’offre contrôle un autre domaine que celui du lien client, son résultat ne valide pas la page publique. 1. Relever l’URL exacte enregistrée dans la fiche client. 2. Ouvrir ou récupérer cette URL sur pay.brimind.pro. 3. Vérifier directement la réponse et le contenu avant de conclure ; conserver séparément le résultat du vérificateur. (when: Use when the offer verifier checks another domain instead of the client's pay.brimind.pro URL.) (links: S:brimind-send-pay-brimind-not-offer (same domain trap); S:brimind-pay-vps-split (public service verification))\n","linked_files":[],"origin":"brimind","owner_id":null,"source":"router"}