Commit Graph

727 Commits

Author SHA1 Message Date
martbost 24b4ae9134 Hub gaps (Marty 2026-11-13): any later username/sponsor change (old members too) -> /v1/join, deliberate sponsor changes -> /v1/sponsor-change, MemberActivated -> /v1/contract-bind (contract iap); still one way, only with HUB_ENABLED
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 08:22:02 -06:00
martbost 2d4fc7a9f3 Merge branch 'hub-listener' 2026-11-13 07:51:48 -06:00
martbost 00cfd09c8f Network sign-in reaches Downline Banners (Marty 2026-11-13): networksso.js vouches for a wallet site (/go/bannerline, /sso/check?r=bannerline carry the member's wallet + username); public /api/network/member lookup (username <-> linked wallet) so Downline Banners share links use the network username
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:35:15 -06:00
martbost 4cf3512106 Network links (Marty 2026-11-13 'yes please proceed'): every click on a link to the other site goes through /go/<peer> (InstantAdPay -> /go/linkspin, LinkSpin -> /go/iap), so a signed-in member arrives signed in; signed out it is a plain redirect. Click-time rewrite in the shared scripts (IAP common.js; LinkSpin common.js + cr-shell.js), so copied share links stay clean; data-nogo opts a link out. Browser check: path+query+hash kept, other hosts and data-nogo untouched. iap-qa member ALL PASSED. common.js/cr-shell.js ?v=20261113nl
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 05:28:11 -06:00
martbost 1f584f894f Network sign-in landing (Marty 2026-11-13, Android Chrome: signed in on LinkSpin via InstantAdPay but landed on the public home page, which always says Sign in): a hop with no page named lands on the member dashboard (LinkSpin /ads, InstantAdPay /my); LinkSpin's home page turns Sign in into 'Open my dashboard' for a signed-in visitor (home.js?v=20261113me). networksso.test + e2e ALL PASSED.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 05:16:35 -06:00
martbost ff2f668583 Network sign-in: a wallet-only session counts as signed in when its wallet belongs to an account (session carries the address, not the email), so a member who signed in with their wallet is signed in on the other site too (Marty 2026-11-13: signed in on IAP, LinkSpin's check came back 'not signed in here'). networksso.test + e2e ALL PASSED.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 05:09:53 -06:00
martbost fab7732620 Merge network sign-in (InstantAdPay <-> LinkSpin) into main for the Friday launch (Marty 2026-11-13: 'we need to get that done now'). Conflicts only in script version tags (kept today's newer assets, re-tagged ?v=20261113sso). networksso.test 'ALL PASSED' both repos, networksso.e2e ALL PASSED, iap-qa member ALL PASSED. NETWORK_SSO_SECRET set on both Coolify apps. Chatbot KNOWLEDGE_DATE 2026-11-13.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 04:53:08 -06:00
martbost 5c896cb782 Network hub listener (hubsync.js), off unless HUB_ENABLED
POST /api/hub/events: signed hub hooks (HUB_SECRET, 5-minute window), each seq applied once, 503 so the hub retries.
member.joined from another door: /v1/resolve the person (climbing to sponsors not here yet) and make waiting accounts
through lsinbound.receive (joinedVia 'hub', joinedRef 'hub:<door>'); existing accounts keep their sponsor and the
difference is listed in /api/admin/hub. wallet.connected fills waiting accounts only; sponsor.changed is a TODO.
Our own new accounts and wallet links go to /v1/join and /v1/wallet from a persisted outbox (hubsync.json), never
in the way of a sign-up. With the flag off nothing is initialised, wired, routed or written; the LinkSpin sync is
unchanged. Test: qa/hubsync.test.cjs against a local network-hub (needs /v1/resolve by id, branch hub-resolve-id).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 17:02:45 -06:00
martbost 74354346a3 Chasing Unicorns: the page's own ?src= (where the link was posted) rides into the join button as unicorns-<src>, so sign-ups show the channel (Marty 2026-11-12, Massifly + LeasedAdSpace posts). chasing-unicorns.js?v=20261112d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 14:48:42 -06:00
martbost dbdeb5a7e6 Chasing Unicorns copy (Marty 2026-11-12): the 'free' ones (free to join until the countdown ends, then everybody gets the fee) and the small miner/gas/admin fee angle in the costs list and the pay-to-unlock card. chasing-unicorns.js?v=20261112c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:42:16 -06:00
martbost 85d43f7483 Chasing Unicorns promo tool (Marty 2026-11-12): /chasing-unicorns, a labeled training simulation of a fake earnings dashboard where every button is one of 8 scam red flags (reveal card + scam-radar score), then PAS: what chasing unicorns costs, then how InstantAdPay works instead with a free join that keeps the sharer's ?ref=. Promo tools card with the member's link, OG image, chatbot fact, qa/chasing-unicorns.mjs (18 checks). my.js?v=20261112cu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:34:11 -06:00
martbost cedb291aaa My line: your directs' email (with copy), where they came from (referrer + ?src= tag) and how they joined, up front in 'Your line', the Activity drop-down and the three-level card; levels 2-3 never get emails (Marty 2026-11-12: 'it was kind of buried in there'). Search also matches email + source. qa/line-origin.mjs (11 checks). Chatbot fact. my.js/site.css ?v=20261112ln
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 12:59:09 -06:00
martbost 574a0cafb1 Join page records the ?src= tag in the first-touch source (Marty 2026-11-12: 'we need the source tag so we can know where these things come from'): joinedRef = <referrer host>/<src> or just <src> when the referrer was stripped; a tagged visit replaces an untagged 'direct' first touch; a real earlier source is kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (PolHunter/Drip Runner arrivals stay untagged for the bounty proof.)
2026-11-12 12:10:44 -06:00
martbost 55d3597f12 My line: search box on every member list (Your line, three-level downline, Holding tank) to find a member by name, username (with or without @), email or member number (Marty 2026-11-12). Narrows as you type, keeps focus across re-renders, restarts paging at page 1, works with sort + filter chips. Chatbot fact added. my.js/site.css ?v=20261112q
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:24:53 -06:00
martbost fe70c857be Text ads get their own network rate (Marty 2026-11-12): Network Ad Space text-ad views cost 1/synRateDivisorText (default 10, 1 credit = 100 network views) of the on-site rate; banners and partner visits keep synRateDivisor 4. Going forward only (cumulative served counter, existing NAS bookings topped up by reconcile). Admin Rates field, Campaigns table shows 1/N per type, chatbot canned + prompt updated (KNOWLEDGE_DATE 2026-11-12). my.js?v=20261112txt, admin.js?v=20261112txt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:31:10 -06:00
martbost 5585abb663 Network sign-in with LinkSpin (Marty approved 2026-11-12): signed in on one site = signed in on the other, no email code
networksso.js (same file in both repos): /go/linkspin hop for signed-in members' cross-site links; /sso/start (state cookie +
30-minute loop guard) -> LinkSpin /sso/check -> /sso/in?t=<v1 HMAC-SHA256 token, NETWORK_SSO_SECRET, 60 s, single-use nonce
(MySQL table network_sso_nonces when on the DB, else DATA_DIR file), bound to the browser's state cookie, email, audience and a
same-site relative path>. Member sessions only (admin portal never shared), ordinary 4-hour session, /my lands with ?welcome=1
so the login ad runs as after a code sign-in. An email with no account here or a waiting LinkSpin/BTC4Hits account gets the
normal email-code sign-in, email prefilled; nothing is created. Silent check on /my via public/assets/netsso.js
(/api/sso/status); never for bots/fetches; sign-out pauses it 12 hours. Engine Room + Fuel links go through /go/linkspin.
Chatbot knows it (KNOWLEDGE_DATE 2026-11-12). Off until NETWORK_SSO_SECRET (32+ chars) is set.

qa: networksso.test.cjs all passed, networksso.e2e.mjs (both servers, real browser) 31/31, run.sh member green (0 bugs)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 07:00:23 -06:00
martbost db1ab8359c Admin member card: Message (inbox + email) button (Marty 2026-11-12). POST /api/admin/member/message puts a broadcast in the member's inbox and emails it through the site mailer (opt-outs and unsubscribe link kept); reports when email is skipped. admin.js?v=20261112msg; qa member passed; local route test passed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 06:47:52 -06:00
Marty Bostick 3eae242dc3 BTC4Hits import, round 2: tank cap 10 at one time (setting tankAdoptCap), BTC4Hits wording in the adoption note/email/auto-assign message, lssync rows carry origin btc4hits (not hashed), chatbot knows the import + the cap (KNOWLEDGE_DATE 2026-11-11). qa: tank-cap 13/13, tank-hold all passed, sponsorfollow 30/30, sponsorfollow-e2e 24/24
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:08:58 -06:00
Marty Bostick 5e8dee7517 Holding tank: an adopter may hold up to 6 people at one time (open adoptions not yet switched on payouts; setting tankAdoptCap, default 6; was 2 open adoptions), clear message at the cap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:49:03 -06:00
Marty Bostick ffcc0c6339 BTC4Hits import: joinedVia 'btc4hits' accounts are waiting accounts like LinkSpin's (left out of every sweep that mails, counts or adopts until their owner signs in); listAll's limit now counts members, not waiting accounts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:23:35 -06:00
martbost 0013416af7 Forum reward lookup (Marty 2026-11-10: 1 POL for an introduction, ongoing, linked wallet + payouts on): GET /api/forum/member?email= signed with the forum secret (HMAC of email.ts, 5-minute window) returns found/username/activated (member id > 0)/address/suspended for the earnerscorner.com reward service. qa/forumsso 17/17.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:22:27 -06:00
martbost 52eaa20171 Member menu: Earners Corner link (opens earnerscorner.com/session/sso, one-tap sign-in with this account) after Games (Marty 2026-11-10). Member walk 0 bugs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:50:51 -06:00
martbost e00c820d2f Earners Corner invites credit the inviter (Marty 2026-11-10): /forum/join/<username>[?to=/path] sets the member as sponsor exactly like /join/ (30-day cookie, last touch wins, first-touch source earnerscorner.com, link view recorded) and forwards to the forum (?to= must be an on-forum path); /forum/invite shows a signed-in member their link. The forum's Log In carries a shared thread's ?u= through this route. qa/forumsso 14/14 (incl. a new sign-up landing under the inviter); member walk 0 bugs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:29:00 -06:00
martbost ef28c16502 qa/chatbot-parse: price route matched 'Five packages, priced' but the ladder is seven packages now; match the answer, not the count. 38/38 pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:20:18 -06:00
martbost 3991a5eb79 Chatbot: Earners Corner forum (canned answer + prompt fact), ahead of the forum announcement (Marty 2026-11-10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:14:32 -06:00
martbost d06394a3d3 tools/export-knowledge.js: export the chatbot's canned answers as Markdown for the Earners Corner forum assistant (Marty 2026-11-10); rerun and re-upload whenever KNOWLEDGE_DATE is bumped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:13:41 -06:00
martbost 2e4d18d77d Stack POL Pro owned state (Marty 2026-11-10): a Pro owner sees '⭐ You own Stack POL Pro', the unlock date and an 'Open my Pro page' button instead of a one-line note; the Stack POL pane re-checks when the member returns to the tab, so a purchase made while it was open shows without a manual refresh. my.js ?v=20261110proown. Member walk 0 bugs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:37:28 -06:00
martbost f20e845cf1 Earners Corner forum sign-in (Marty 2026-11-10): InstantAdPay is the DiscourseConnect identity provider for earnerscorner.com. /forum/sso verifies Discourse's HMAC-signed request (return URL must be on the forum), a signed-out visitor signs in on /my (request kept in a 30-minute cookie, my.js hands back via /api/my/forum), then a signed payload goes back: email, external id, username, Stack POL page as website, groups network_members (on-chain position) and wallet_linked. Suspended accounts are refused. Env FORUM_SSO_SECRET + FORUM_URL. qa/forumsso.mjs 9/9; member walk 0 bugs; my.js ?v=20261110forum.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 06:51:34 -06:00
martbost 5f38c1486d Chatbot KNOWLEDGE_DATE 2026-11-10: the Stack POL launch release note (scheduled 5 AM CT Nov 10) is already covered by the canned answer + prompt (free page on by default, Pro via any $10+ package)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:20:11 -06:00
martbost 87ea24b8f0 Stack POL Pro: ANY $10+ package unlocks it automatically (Marty 2026-11-09: "Any $10 package or higher unlocks it"). No Get Pro order step; the member's own on-chain package of $10+ switches Pro on for good, rides along with a Game Pass or hero order the same package fulfils (never takes it from them), only packages from the Pro launch (21:30 UTC) count, credits never. Promo tools shows Buy a $10+ package; chatbot updated; my.js ?v=20261109pro4; qa/stackpro rewritten (11 pass).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:40:48 -06:00
martbost 1da37f05ab Admin: grant Stack POL Pro for a $10+ package bought without a Pro order first (Marty 2026-11-09, Orlando). POST /api/admin/stackpro/grant {memberId, tx}: the tx must be an on-chain Purchase of $10+ by that member; recorded as a package sale with its tx, marks the Stack POL page Pro and posts the badge once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:30:34 -06:00
martbost 054ce10985 Stack POL pages ON by default (Marty 2026-11-09: "Everyone's should be enabled by default"): every paid member has stackpol.com/<username>; only an explicit switch-off hides it. Promo tools copy, note and chatbot updated; my.js ?v=20261109pro3; qa/stackpro expects on by default. Pro features stay Pro-only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:41:21 -06:00
martbost bafeff9bf4 Stack POL Pro (Marty 2026-11-09): a one-time unlock for the member's stackpol.com page, new money only. Promo tools > Stack POL > Get Pro opens an order; the member's next ad package of $10 or more (mined after the order, by their own position) fulfils it, one package fulfils one order, credits never count (gamepass.js order book, persisted map 'stackpro', durable). The fulfilment marks pro[username] in stack-optin.json for the stackpol.com indexer. New Stack POL Pro achievement badge (badge-stackpro.jpg, ribbon 0.855), celebrated and posted like Game Pass. /my#promo?s=stackpol deep-links the tab (the Pro page's Unlock Pro button). Chatbot canned answer + prompt carry Pro. qa/stackpro.mjs 16/16; member walk 0 bugs; qa/gamepass.mjs has the same 7 date-based failures on the untouched HEAD.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:29:48 -06:00
martbost 627341e8ad Chatbot: the Stack POL answer needs its match pattern (re); without it seeds() threw 'reading source' at boot and the 2aa98bd deploy rolled back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:50:34 -06:00
martbost 2aa98bdbd2 Promo tools > Stack POL: 'Show my Stack POL page' switch (GET/POST /api/my/stackpol, DATA_DIR/stack-optin.json read by the stackpol.com indexer); chatbot knows Stack POL (KNOWLEDGE_DATE 2026-11-09); my.js v=20261109sp
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:39:25 -06:00
martbost 03284aa281 Conversion linkage, InstantAdPay side (Marty 2026-11-07, "Yes ship these"): a LinkSpin click stays with the account, and its sign-up, wallet link and each package purchase are reported to LinkSpin. Reporting only: no sponsor, payout, credit or chain path changes; accounts.js only gains a notification after a wallet is linked.
lsreport.js. A click id (lsclk or lsid) arriving on any page is kept in a first-party cookie iap.lsclk, 30 days, last click wins, like the sponsor cookie. The join page also sends its own copy with the code request and verify (the cookie is refused in traffic-exchange frames and never crosses browsers, the 2026-09-29 lesson) and it is remembered per email. It is stored in its own table ls_account_clicks when the account is created or a waiting LinkSpin shell is claimed, on /api/signup, email sign-in and in-game sign-in (a game may pass lsclk; none does yet).

Reports queue in ls_events, whose primary key is the idempotency key (join:<hash>, wallet:<hash>, purchase:<tx>:<log index>), so two app copies in a deploy cannot double a row, and LinkSpin dedupes on the same key. A background loop sends them signed, retrying up to every 5 minutes; a sign-up or a purchase never waits on LinkSpin. The purchase hook runs after the existing ev: claim and its value is the USD price on the chain event. A first purchase finds its buyer through the contract's wallet for that member id, since member_id may not be stored yet. Linked positions count as the account's purchases. Past 30 days from the sign-up nothing is queued (LinkSpin's window is from the click).

Campaigns > Conversion tracking lists everything the member's clicks led to, and joins, wallets and purchases on each campaign row. Guide, privacy page and chatbot (CANNED + FACTS) updated; common.js, join.js and my.js tags bumped.

QA: bash qa/run.sh netconv (54 checks: local InstantAdPay + local LinkSpin + a mock Polygon RPC, a real Purchase log through the real event fan-out, LinkSpin down, two copies racing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 07:48:36 -06:00
martbost bfbea142b6 Holding tank: 24-hour sign-up grace plus a Who invited you card (Marty 2026-11-07: "24-hour grace plus the prompt"). On Nov 2 a sponsorless sign-up was adopted five hours after joining, before he could say who invited him.
Grace: for 24 hours from an account's created time nobody can adopt the person by hand. They stay on the waiting list after the open ones with an Opens in badge and no Adopt button, and adopt() refuses in plain words. Only sign-up counts, so someone back in the tank later has no grace. Auto-assign does not wait for it: the 24-hour hold still runs from the wallet link and is not stretched. No notice tells people to adopt someone they cannot adopt yet: the wallet-ready post waits for the grace and says the time really left, is skipped when the rotation takes them in that tick, the arrivals post moves to when the grace ends (marks.claim per member), and the Overview note and weekly email count only people who are open.

Prompt: a member with no sponsor and no member number sees the card at the top of Overview, types a username, confirms in an in-page box, and that person becomes their sponsor through setSponsor as a deliberate change with by 'invited', so it follows to LinkSpin and clears the hold. Refused: self, unknown username, already sponsored, member number or wallet already on the contract, a chain loop, a suspended sponsor, a no-payout chain, and a line with nobody on the contract (they would walk up to the company). The network sponsor is tried first. Nobody invited me hides it and a small link brings it back. Not an adoption: status 'invited', no 7-day window, not counted toward the two. The named sponsor gets the referral email and an on-site notice. Switch-on-payouts reminders track the named sponsor.

Chatbot canned + systemPrompt, KNOWLEDGE_DATE 2026-11-07. my.js, admin.js, admin-sponsorcheck.js ?v=20261107tg. qa/tank-hold.mjs, qa/sponsorfollow.test.cjs and qa/sponsorfollow-e2e.mjs extended (SF_E2E_PORT overrides the ports).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 07:04:18 -06:00
martbost 973fc80570 Shards of Valor testing: the Games card and the chatbot say all testing progress is wiped at launch (Marty 2026-11-06: "we're just testing for bugs right now")
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 09:56:25 -06:00
martbost a845155c88 Shards of Valor open for testing from the Games tab (Marty 2026-11-06, Dallas ready for players): card tagged Open testing, Pays "Nothing yet. No POL until we set a launch date", strip line, card art; chatbot says it is open testing with no POL and no date (KNOWLEDGE_DATE 2026-11-06). Shows once gamesLive has 'shardsofvalor'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 09:43:04 -06:00
martbost abfb3e3199 Shards of Valor bonus heroes sold one time (Marty approved 2026-11-05): Kestrel, Valda, Morag, Roland $20 each, $50 bundle (Valda + Morag + Roland), behind heroSales (OFF)
Paid exactly like a pass: no credits, no POL. POST /api/my/heroes/buy opens a waiting order (kind hero); a fresh package of at least the
price from one of the member's own positions fulfils it in gamepass.onEvent (one package, one order: the highest-priced it covers, pass
or hero; each tx once). Ownership is permanent on the passes record (heroes, heroBundle), never in bought, so hero sales never feed the
Pass Tournament pool. No double charge: an owned hero is refused, a bundle is refused once any of its heroes is owned, and waiting orders
made pointless by a purchase are cancelled.
Settings (Admin > Settings): heroSales '0', heroPrice<Kestrel|Valda|Morag|Roland>Cents 2000 (0 = free for every account),
heroBundlePriceCents 5000, heroBundleHeroes 'valda,morag,roland', heroBundleCap '' (unset: the bundle is heroes only, no cap change).
Hand-off: sovMint (and GET /api/partner/player for shardsofvalor) carries heroes, heroBundle, heroSale { free, bundle, each, bundlePrice },
and heroBundleCap only when set. TIER_DEFS perks: Champion no longer lists the Druid, Sovereign no longer the Necromancer (dropped),
Legend every bonus hero while active. Member Game Pass card: a Bonus heroes block (shown while heroSales is on or to an owner);
Admin > Game Pass: hero test on the admin's own account (test buy / cancel / give / remove) and /api/admin/heroes/stats.
Chatbot: canned sov-bonus-heroes answer + heroesFact following heroSales; KNOWLEDGE_DATE 2026-11-05. my.js?v=20261105hr, admin.js?v=20261105hr.
QA: qa/sov-heroes-store.cjs (39 checks, in member and sov-passes); sov-passes-local expects the hero test panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:04:47 -06:00
martbost e61475f89b Zealy quest checks for the games (Marty 2026-11-05: game quests are important): /api/quest/zealy/game passes once the account has earned any network-game reward (gamepass.activity = grants and POL in the ledger), /api/quest/zealy/gamepass passes while a Game Pass is active (gamepass.flag). Read-only, same key and 200/400 contract as the other checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 06:19:17 -06:00
martbost 2e935b3081 Quest-site checks for Zealy (Marty 2026-11-04): POST /api/quest/zealy/account|wallet|member reads accounts.email or accounts.wallet from Zealy's API task call, checks X-Api-Key against QUEST_API_KEY, answers 200 (claimable) or 400 with a message that tells the member what to do (join link martbost, link a wallet, get a package). Read-only lookups; 503 until the key is set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:38:17 -06:00
martbost 769c04e639 Share domain is instantadpay.link (Marty 2026-11-04: ctbgo.com confuses people; a branded domain, bought on NameSilo $8.39): SHARE_HOSTS default instantadpay.link,ctbgo.com,mylinehq.com so every old ctbgo.com link keeps working; shareDomain default instantadpay.link; chatbot short-banner example on the new domain; my.js?v=20261104il, KNOWLEDGE_DATE 2026-11-04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 06:18:01 -06:00
martbost fb2383ffae Tell members when the free game allowance is used up (Marty 2026-11-03): the polgrant answer carries waiting (every game's progress POL held for the account), the member view carries caps.lifetime.done/waiting, lastCapHit records lifetime. The Overview card says "You have used your free 2 POL in the games", what the Pass gives and the POL held, with a Get the Game Pass button, and shows to anyone whose allowance is used (not only after a recent cap hit). Chatbot knows both messages. Short banner links fall back to this page's origin (http locally) when no share domain is set; my.js and promo.js ?v=20261103gp. QA member 0 bugs; gamepass the 7 known date-pinned failures, nothing new
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:15:29 -06:00
martbost 0865a4967b Short banner links remember a missing file for one minute, not ten (Road Agent's banners were uploaded 2026-11-03 right after Michael asked for them and stayed 404 on the short link)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:35:23 -06:00
martbost 7d28ec7b5f Short banner image URLs (Michael Camire via Marty, 2026-11-03): the Spaces CDN links in the Games and BixPay kits ran about 105 characters and exchange / safelist image fields cut them off, so the banners never showed. /b/<slug>/<file> on instantadpay.com and the share hosts (https://ctbgo.com/b/turkeydrop/728x90.png) serves the same game-banners CDN file in place (no redirect, HEAD works, 300-file six-hour cache); promo.js builds every game and BixPay banner URL on the share domain; chatbot banner-image answer; promo.js?v=20261103b, KNOWLEDGE_DATE 2026-11-03
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 07:36:55 -06:00
martbost c0a435343a Chatbot: every game is gated now (guests earn nothing, free accounts a quarter of progress rewards under the 2 POL allowance, Game Pass the full table); per-game specifics for ClutterHunt, POL Miner, PolyWarriors paid mints and Turkey Drop prizes
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 17:04:54 -06:00
martbost c6b4a84abc Free allowance across the games (Marty 2026-11-02, "cap these so if they want to keep playing they spend a tiny amount"): an account with no Game Pass receives at most capFreeLifetime POL of game rewards ever, across every game (2 POL default, site setting). After that a free account's room for the day is zero: progress rewards defer until a pass is active, repeatable rewards drop, carry waits too. Grant answers and partner caps carry lifetimeHit / freeUsed / lifetime; chatbot facts; QA block for the allowance
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 17:01:27 -06:00
martbost 7f3f057db0 Chatbot: the game tiers (2026-11-02): PolHunter free tier (one hunt a day on 0.02 to 0.10 POL; Game Pass holders five at the full draw, the weekly prizes and the Mystery Hunt Box), SpellWheel ladder (guests one place, free account two, Game Pass from the Mountain Lodge on and for daily/streak POL), and a GAME TIERS fact so unlisted games get an honest answer
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 13:31:39 -06:00
martbost ae3a08b991 Gem Kingdom Royal Charter: /gk/shop charges a paidOnly order from purchased credits only (never the earned pool); chatbot and promo copy carry the new ladder (guests chapters 1-2, free account for 3, $5 Charter for 4-6, taste rewards then Charter-only rewards capped at what the player paid in)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 11:27:00 -06:00