chatcore.js + netkb.js (route): a hand-off pattern still answers first; then the hub's POST /v1/kb/match answers with this
site's entry when it is sure, keeps or overrules the CANNED regex hit, and picks the AI prompt context, this site's own entries
first. 1.5 s timeout, then the hub is skipped for 30 s and the old pattern + BM25 path answers (NETKB_MATCH=0 = off).
netkb.js also has suggest() for the support desk (used by InstantAdPay and LinkSpin). Same chatcore.js in the six rebuilt
sites, same netkb.js in all eight. Test: node qa/netkb-semantic.test.mjs (decisions, fail soft, shared-file parity).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The indexer snapshot (was /tmp/stack-index.json) and the chatbot KB (was memory)
are now MySQL documents via docstore.js (DOCSTORE_URL, Coolify stackpol-mysql),
loaded before the server listens so a deploy shows the last totals at once.
Snapshot split into stack-index.json + stack-index-at.json so a push with no new
payouts rewrites only the tiny doc (docstore skips unchanged bodies). Ingest API
unchanged. Tested on core: restart keeps totals, /programs, /earn, member pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- programs.js: 'fx' entry (slug 5xyourteam, gold #ffc93c, Team draft), join via the LinkSpin network link nw5x?src=stackpol&s1=<member>; facts from the 5x app and DraftPosition only
- netsites.js: fivex in the fallback list, CODES fivex: nw5x
- layout.js: Pro personalization swaps ?ref=martbost on 5xyourteam.com links
- tools/indexer.py: vab_rows generalized (k, shop, start, house, cache); 5x member payouts read-only from DraftPosition 0x83Bb...bc74 (Paid level 1-5 + Claimed, from block 97363529, cache fx-chain.json); company, keeper, contract and the Best Coach pot wallet excluded
- public/img/fx.jpg: the 5x og image, 800x420
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- programs.js: 'vab' entry (slug viraladblitz, royal blue #0a2fa8, Viral text ads), join via the LinkSpin network link nwvab?src=stackpol&s1=<member>; facts from the VAB app and VABShop contract only
- /earn/viraladblitz + sitemap entry (automatic from the registry); card image public/img/vab.jpg (VAB og image, 800x420)
- netsites.js: same file as ViralAdBlitz (CODES viraladblitz: nwvab, fallback list entry)
- layout.js: Pro personalization also swaps ?ref=martbost on viraladblitz.com links
- tools/indexer.py: VAB member payouts read-only from Polygon (VABShop Paid level 1-5 + Claimed, eth_getLogs from deploy block 97324419, cache vab-chain.json); level 0 (company), contract, company and keeper wallets excluded. Dry run on core: scanned to head, 0 logs (no Boost sold yet)
- README: sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- programs.js: 'vbb' entry (slug viral-banner-blitz, pop-art pink #ff2d87, Banner loop), join via the LinkSpin network link nwvbb?src=stackpol&s1=<member>; facts from the VBB app and VBBShop contract only
- /earn/viral-banner-blitz + sitemap entry (automatic from the registry); card image public/img/vbb.jpg (VBB og image, 800x420); also adds the missing public/img/dlb.jpg (DLB card image was a 404)
- server.js: per-program button verb (Join for the banner sites, not Play) and WebApplication JSON-LD for them; home description no longer calls every program a game
- layout.js: Pro personalization also swaps s1=martbost on LinkSpin network links and ?ref=martbost on downlinebanners.com / viralbannerblitz.com links
- tools/indexer.py: VBB member payouts read-only from Polygon (VBBShop Paid role 0 sponsor shares + Claimed, eth_getLogs from the deploy block, cache vbb-chain.json) plus weekly prize transfers from VBB prizes.json, each checked on chain (from the prize wallet, to the winner, succeeded); contract, prize, company and keeper wallets excluded. Decoder checked against the Downline Banners contract (same Paid signature): 70 logs, role-0 total matches its chain index exactly
- README: sources + the standing rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>