4 Commits

Author SHA1 Message Date
martbost b062939577 Network Weekend (Marty 2026-11-17): Boost views from the live VABShop SKU on every page, quote and chatbot, the network ribbon
chainskus.js reads skus(1) every 60 s and keeps C.boost in step (BOOST_VIEWS stays the normal 500 as normalViews), so a $5
Boost shows 750 once the owner signs setSku and 500 before or after; crediting already follows the Purchase event's views.
common.js rewrites the pages' static '500 guaranteed views' copy to the live number only when the chain differs.
weekend.js: the Fri 11-27 00:00 CT to Tue 12-01 00:00 CT gate (WEEKEND_NOW test clock) for the dated chatbot fact; the ribbon
line (netdeals.setLocal) only exists while the chain really holds the weekend Boost. chatcore render hook, live intro.
qa/weekend.test.mjs 18 pass, chatbot 206, smoke 197. common.js?v=9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:39:47 -06:00
martbost 6ec8a709b1 Smarter chatbot matching by meaning (Marty 2026-11-16): the hub's semantic match (free core2 embeddings)
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>
2026-11-16 05:48:41 -06:00
martbost ae7077da57 Site assistant: a question that names another network site skips this site's instant answers (a hand-off still wins), so 'how much is a Boost on ViralAdBlitz' asked on another site gets that site's answer from the shared knowledge base. chatbot.test covers it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:49:25 -06:00
martbost d6e36a65bc Site assistant (Marty 2026-11-15): chat widget in the ViralAdBlitz look on every page, CANNED + FACTS from this repo's code (Boost $5/500 views, 10% x 5 + 50% company, 20 places, 30-day delivery, ad limits, verified views), retrieval over the shared network knowledge base on the hub (netkb.js publishes this site's entries and reads the others', home entries boosted), OpenRouter deepseek-v4-flash with reasoning off, account problems hand off to network support. kb.json is a MySQL document. qa/chatbot.test.mjs 195 pass, smoke 198/198
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:40:33 -06:00