Chatbot brought fully current + knowledge guard

Audit against the live site: removed stale text (featured links and visit packs marked "coming",
Pipeline "coming soon", the superseded sponsor-hold rule, a non-existent home-page calculator,
"earned credits spend on banner and text only", "Coaching pane"); added live featured and visit-pack
rules with prices and limits, the video cap and rewards, the sign-in bonus and claim ladders,
report-an-ad, the public missed-payout posts, the walk-up gain notice, the four-minute overview
video, the promo Videos and Toolkit tabs; new canned answers for featured links, visit packs and
"what is this". KNOWLEDGE_DATE constant + qa/chatbot-sync.mjs (run in public/all QA) fails when a
release note is newer than the chatbot's knowledge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-16 14:10:00 -05:00
parent 5641582709
commit 362526d007
4 changed files with 50 additions and 13 deletions
+7
View File
@@ -30,3 +30,10 @@ PORT=3100 node server.js # DATA_DIR defaults to ./data
Admin API auth: `Authorization: Bearer $ADMIN_PASSWORD`.
Spec: `../CONTRACT-SPEC.md` (v1.0.3-frozen). Contracts: `../contracts/`.
## Chatbot knowledge is part of every change
`chatbot.js` answers members two ways: `CANNED` regex answers and `systemPrompt()` for the AI. Any
change that a member could ask about (a new pane, a rule, a price, a limit, a fix they noticed) is not
done until both are updated in the same commit, and `KNOWLEDGE_DATE` in `chatbot.js` is bumped. The QA
runner (`bash qa/run.sh public`) fails when a release note on the live site is newer than that date.