Commit Graph

13 Commits

Author SHA1 Message Date
martbost 084d1ea3d6 Game Pass: tournament/pending answers rows (the field the games' polgrant.js reads), games-side integration test, docs "Games: as built"
- /api/partner/tournament/pending returned only `pending`; every game's polgrant.js tournamentPending() reads `rows`, so
  PolHunter's prize payer would never have seen a row. Answer now carries both (`pending` stays for the admin pane + qa).
- qa/gamepass-games.cjs (bash qa/run.sh gamepass-games): boots a local copy like qa/gamepass.mjs and drives the REAL
  spooky-doors/server/polgrant.js and polhunter/lib/tournament.js against it (fetchPass, daily/progress caps, carry:<day>
  zero-POL call on the next Central day, void, bad secret / IAP down -> retry, retry queue, tournament dry run + live). 44/44.
- qa/gamepass.mjs pins the `rows` field.
- docs/GAME-PASS.md: 3a item 8 updated, "Games: as built" section merged from the games' notes (per game files/refs/perk/tests,
  decisions, the tournament payer and its dry-run claim trap, the integration test).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-16 09:27:46 -05:00
martbost 4d6a0f2f83 Game Pass (IAP side): $5 weekly pass across all nine games + account-wide POL cap service
- gamepass.js: durable pass store, waiting orders fulfilled by the next $5 package, cap ledger
  (daily/total per Central day, progress deferral + next-day carry-forward, idempotent refs kept 90 days,
  void), weekly Pass Tournament (Monday 9 AM Central, marks.claim, prizes recorded for the game faucets),
  admin stats. Settings in site config, caps enforced only from capsStartDate (recorded before).
- server.js: /api/partner/player, /api/partner/polgrant(+/void), /api/partner/tournament/pending|paid,
  /api/my/gamepass(+/buy), /api/admin/gamepass/stats|comp|tournament/run; gamePass claim on every
  sign-in hand-off token; purchase-event fulfilment inside the marks.claim block.
- Members > Games: Game Pass card (Buy via IAP.confirmBox, deep link /my#games?pass=1), Overview nudge
  after a free-cap hit. Admin > Game Pass pane. Chatbot canned answer + FACTS, KNOWLEDGE_DATE 10-16.
- qa/gamepass.mjs scripted test (bash qa/run.sh gamepass), Games tab card in qa/walk.mjs.
- docs/GAME-PASS.md: 3a clarifications + Built section; docs/GAME-PASS-RELEASE.md draft (not sent).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-16 08:18:09 -05:00
martbost b197d74234 docs: reviewer partner kit for Jamie (@cryptojaime), code CRYPTOJAIME
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 09:30:36 -05:00
martbost 6996186061 Partner page + kit: 'I've been running ad sites for years' (present tense)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 14:19:27 -05:00
martbost 65ef42fc24 Docs: partner kit: the top spot is claimed by activating with at least the $20 package
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 12:43:07 -05:00
martbost c2402c4e0e Docs: partner kit promises top placement under the company via the company link
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 12:30:42 -05:00
martbost 551b860c67 Docs: partner kit mentions the WalletConnect integration
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 12:19:52 -05:00
martbost 9898e3f47f Docs: partner kit retoned for site owners who know Marty and already run a builder
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 11:49:49 -05:00
martbost 6498d85b20 Docs: partner kit links the explainer video
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 11:38:12 -05:00
martbost eaaa87281f Docs: site-owner partner kit (plain-text copy of the shareable page)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 11:21:32 -05:00
martbost bd0f351c13 Plays doc: Qualified Start opening move
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 17:32:05 -05:00
martbost 046464b83e Linked positions (Qualified Start): extra wallets on one account, credits pooled, buy-from picker
- accounts/db: positions table + JSON store (add/list/owner/remove; main-wallet and cross-account guards)
- auth verify: asPosition links a second wallet without touching the session; position wallets can't mint a session
- /api/my/positions (chain-refreshed member ids, buyer counts, credits) + remove
- credits pooled across main + positions on /api/me, dashboard, campaigns; campaign charged to the best-funded position
- My line: own positions listed on level 1 as 'You · position N'
- Buy pane: Qualified Start card + Add a position flow + Buy-from picker with connected-wallet guard
- Wallet pane: Your positions card; chatbot answer updated

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 17:18:47 -05:00
martbost c0bd4fcbdd Plan: angle videos + matched ?v= squeeze pages for promo tools
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 05:26:51 -05:00