Network Weekend (Marty 2026-11-17): +3 board days per Boost bought Fri 11-27 00:00 CT to Tue 12-01 00:00 CT, ribbon, chatbot facts

weekend.js (WEEKEND_BOOST_DAYS=0 off, WEEKEND_NOW test clock); wire.js stacks SKU days + the bonus by the purchase's chain time,
so it needs no contract change (the SKU holds 7 board days; a Boost is days, not views). /api/config, quote, order show the
weekend days. netdeals.js + /assets/netweekend.js ribbon via common.js (not admin, never framed), common.js?v=3. Chatbot FACTS line
and chatcore finish hook while live. qa/weekend.test.cjs; e2e 63/63.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 07:30:55 -06:00
parent def20f8ffe
commit 325d2273de
23 changed files with 200 additions and 22 deletions
+1
View File
@@ -165,6 +165,7 @@ async function handle(req, res, p, u, h) {
const b = await h.readBody(req);
const hist = Array.isArray(b.history) ? b.history.map(x => String(x || '')).join(' ').slice(-800) : String(b.history || '').slice(-800);
const r = await answer(b.message, hist);
if (r.reply && typeof S.finish === 'function') { try { r.reply = S.finish(r.reply); } catch (e) {} } // site hook: date-gated wording (Network Weekend 2026-11-17)
if (r.handoff) r.support = supportLink(b.message);
h.json(res, r.error ? 400 : 200, r); return true;
}