Commit Graph

28 Commits

Author SHA1 Message Date
martbost d215c025b0 /api/me sponsor fallback also capped at the on-chain member count (the Credits screen activates from /api/me)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 06:47:06 -05:00
martbost ab65439ad4 Sponsor fallback never names a position the contract does not have yet: on a fresh contract the first member joins with sponsor 0 and becomes #1 (Marty's activate(1) reverted 'Unknown sponsor')
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 06:41:54 -05:00
martbost 55584a7007 Wallet sends carry an explicit gas limit from the server's estimate (wallets that cannot estimate showed 'unable to get a gas fee' on buy and activate); Control Room rail expanded by default with a remembered Collapse toggle
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 06:25:06 -05:00
martbost 547c7ba465 Pre-launch whitelist LS_TESTERS: only listed emails/usernames can request or verify a sign-in code; public pages stay visible with the curtain down (Marty 2026-10-08)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 06:16:12 -05:00
martbost a6bfa1ba42 Page designer on the Branded Voice design system: palette x design (dark/light/editorial/ignition) x layout (stacked/split hero) + six niche presets with house hero images, procedural split visual with price chip, Look panel in the editor; ad zones + banner campaigns gain 336x280, 250x250, 125x125, 120x600 with house banners
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 16:40:21 -05:00
martbost 27b3727a9f Link domains are never curtained: spin links redirect and the mini-sites answer while linkspin.app stays covered (Marty wants to test traffic before launch)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 16:24:26 -05:00
martbost eab7106e65 Closed sign-ups no longer block the email code for members who already have an account (Marty was refused on production)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 16:11:09 -05:00
martbost 8b0e68fb0d Site switch coachMail: 0 turns the stall-nudge mailer off (pre-launch production carries imported shell accounts that must not be nudged)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 16:05:18 -05:00
martbost 63440f7213 LinkSpin badge set replaces the InstantAdPay images (v3); feed descriptions without emoji; legacy Qualified Start calculator uses the flat $25-$500 ladder and the legacy composer drops the retired ad types; share image ring redrawn
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:19:02 -05:00
martbost 3c52e2704a Contract, live ledger, terms, privacy and disclaimer on the Instrument scheme; contract page shows chain totals and never falls back to another contract's source; terms and privacy updated for links, pages, zones and leads; share images point at the LinkSpin image; toolkit banners use the LinkSpin house set
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:15:03 -05:00
martbost a50640c890 Credits screen in the Control Room (/credits): package picker from the catalog, POL quote, link wallet, buy with the sponsor hold and balance pre-flight, switch on payouts, card on-ramp, purchases from the chain; first-run username step in the shell; new join page on the Instrument scheme with sponsor chip, hook angles rewritten for LinkSpin, bare /join route; legacy angle OG copy corrected
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:09:38 -05:00
martbost dfb677bb09 New public home on the Instrument scheme: working demo (paste up to three pages, get a live spin link on a link domain, email code to keep it; demo spins are per browser, five per IP per hour, expire after 24 h unless claimed at sign-in), live strip from the chain and the rotator, the three free tools, the split card, the six-package ladder read from the catalog, LinkSpin share image; pub.css for every public page
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 08:58:57 -05:00
martbost ad744d8c0f Site host from one module: host.js exports SITE_HOST/SITE_URL and every module, email, Telegram post, QR, ad click URL and OG tag reads it (no more hard-coded test hostname); public pages carry {{SITE_URL}} filled at serve time; frame check carries the curtain pass for our own hosts so a test ad can point at a spin link; stale IAP sitemap removed
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 08:52:04 -05:00
martbost 6da444c790 Invite page: inline HTML escape (esc was not in scope)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 19:45:36 -05:00
martbost 15f663a56d Invite link: GET shows a sign-in button, POST spends the token (link previews were consuming it)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 19:34:34 -05:00
martbost 418b89956c Tester invite: admin-minted one-time sign-in link (/api/admin/invite -> /welcome/<token>, 24 h, creates the account, bypasses the sign-up gate)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 19:21:42 -05:00
martbost 6091f0b82a Instrument scheme across the Control Room: light workspace on a blueprint grid, dark chrome rail/topbar/status strip, signal-orange primary, gradient charts, corner-bracket tiles, LED readouts, gauges; /api/my/strip
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 19:10:03 -05:00
martbost 274c8fd78c Ads screen in the Control Room shell: buy banner/text/login ads, delivery across viewer, zones and network, earn viewer; login-ad gate after sign-in; member types limited to the three; welcome credits granted from the shell too
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 18:11:17 -05:00
martbost cfb9ed13d0 Zones guardrails: origin lock to the declared site, warm-up then earning, hold under 40% viewable, admin Zones pane with pause
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 17:38:08 -05:00
martbost e36b590788 Zone endpoints pass the curtain (embeds on members' sites must load while the app is curtained)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 17:21:08 -05:00
martbost e66a38dd74 Zones: ad slots on members' own sites (LinkSpin campaign > Network Ad Space > house waterfall, viewable-impression credits, /zones screen)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 17:20:19 -05:00
martbost 53f5d51821 Pages: bridge, review and squeeze pages from a scan plus an angle; parse-or-refuse forms; member-owned leads with CSV; served at /p/<slug> on every domain under a real CSP; lead event on the postback rails
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 16:06:11 -05:00
martbost 8e1ddb892f Control Room: shared shell with in-shell sign-in, Reports, Team and Wallet screens; postback rails (click ids, macros, lsid attribution, conversions, outbound + inbound postbacks with SSRF guards)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 15:52:07 -05:00
martbost 688d3c4bb5 Control Room front end, first screen: /links workspace on the rotator API (tokens in cr.css)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 14:59:10 -05:00
martbost ca89d15c2a A curtain in front of the whole app
Work in progress should not be readable by anyone who wanders in. CURTAIN=<secret> puts a
contentless "Coming soon" card in front of every request — pages, APIs, the rotator, the
link domains — with noindex headers and nothing that names the product or what it does.

Opening the site once with ?k=<secret> drops a cookie that lifts it for that browser.
Unsetting CURTAIN opens the site again, so this never has to be picked back out of the code.

It sits at the very top of the request handler, ahead of the rotator and the link-domain
sites, so there is no path around it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 04:31:56 -05:00
martbost 0374b04f0d Default-deny outbound mail and a sign-up gate
This is a test area on a testnet contract, but it was seeded on 15 Sep with a copy of
InstantAdPay's live member list and it carried a working SendGrid key. On 18 Sep the
coach's stall nudges fired on schedule and emailed 95 real people from it. One of them
clicked through and opened a fresh account two hours later.

Nothing was misconfigured. Every send site checked mailer.hasKey(), the key was there,
so every send site got a yes. The default was wrong, not the plumbing.

OUTBOUND=on is now required before anything can leave: hasKey() is false without it,
send() rejects outright, and the two mailing loops (coach nudges, lead drip) never start.
SIGNUPS=closed shuts the three registration doors and reports signupsOpen:false, which
also drops the email-code card from the UI. Members already here keep their dashboards.

A missing env var means silence now, not delivery.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 04:29:08 -05:00
martbost 158ee291a1 carry: carryNotices setting keeps notices on-site only in the test area 2026-09-15 16:39:42 -05:00
martbost 010e8d7ffc LinkSpin test area: InstantAdPay engine fork rebranded, network registry, sponsor carry-over with engine activation and claim window, rotator with /r/ redirects, link-domain mini-sites
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 16:16:52 -05:00