9f8ddc0e21
Note: tools/pages.py has drifted from the committed public/*.html (seedling band, v tags); these pages were edited directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
86 lines
14 KiB
JavaScript
86 lines
14 KiB
JavaScript
// YourProgramBuilder's site assistant (the network pattern, 2026-11-15): what it knows. The engine is chatcore.js (the same on every
|
|
// rebuilt site); retrieval also covers the other network sites through the hub (netkb.js), this site's entries first.
|
|
// Every fact below was checked against this repo on KNOWLEDGE_DATE: config.js (threshold 10, Spotlight $10 / 1,000 views, split 20/5/5/5/5/60: Marty's
|
|
// decision pack answers 2026-11-17), seedbed.js (planting rules, sprout meter, review, sponsor-first link, export), linkcheck.js (green /
|
|
// yellow / red), wire.js (verified views, Spotlight delivery), shop.js + ../contracts (YPBShop, not deployed), server.js, public pages.
|
|
// HOUSE RULE: when a feature changes, update CANNED and FACTS in the same commit and bump KNOWLEDGE_DATE.
|
|
// Plain words, no em dashes, never a promise of income, "SafePal or any other crypto wallet", never RM Circle, no caps shown.
|
|
'use strict';
|
|
const core = require('./chatcore');
|
|
const C = require('./config').get();
|
|
|
|
const KNOWLEDGE_DATE = '2026-11-18';
|
|
const URL_ = 'https://' + C.site;
|
|
const SUPPORT = 'https://instantadpay.com/support';
|
|
const SP = C.spotlight, LV = C.split.levelBps;
|
|
const pct = bps => (bps / 100).toFixed(bps % 100 ? 1 : 0) + '%';
|
|
const company = () => pct(10000 - LV.reduce((t, x) => t + x, 0));
|
|
const levelsTxt = () => pct(LV[0]) + ' to the buyer\'s sponsor and ' + LV.slice(1).map(pct).join(' / ') + ' to levels 2 to ' + LV.length;
|
|
const NOT_INCOME = 'YourProgramBuilder is a directory of programs, not an income opportunity: nothing is promised.';
|
|
|
|
const CANNED = [
|
|
{ id: 'support', title: 'Talk to a person, or a problem with my account', q: ['How do I contact support?', 'My packet is missing', 'I need a real person'], tags: ['support', 'help', 'ticket', 'problem'],
|
|
re: core.SUPPORT_RE, handoff: true,
|
|
a: 'Network support handles every network site, YourProgramBuilder included: open ' + SUPPORT + ', say it is about YourProgramBuilder, and include the packet number (it is on the packet, for example No. 018) and your wallet address if it is about a Spotlight.' },
|
|
{ id: 'about', title: 'What is YourProgramBuilder?', q: ['What is YourProgramBuilder?', 'What is the Seed Bed?', 'How does it work?'], tags: ['yourprogrambuilder', 'ypb', 'seed bed', 'overview'],
|
|
re: /(what('s| is) (your ?program ?builder|ypb|the seed bed|this (site|place))|how does (your ?program ?builder|ypb|the seed bed|this site|it) work|explain (your ?program ?builder|this))/i,
|
|
a: 'YourProgramBuilder is the Seed Bed: any network member can plant an outside program (its name, its referral link with {id} where the ID goes, what it is and what it costs to join), and members across the network save their own referral ID in it. When ' + C.reviewSaves + ' members have saved an ID, the packet goes to review for the Crypto Team Build Network builder, and every saved ID moves with it. The full guide: ' + URL_ + '/guides/how-it-works' },
|
|
{ id: 'plant', title: 'How to plant a program', q: ['How do I add a program?', 'How do I plant a program?', 'Can I add my own program?'], tags: ['plant', 'add program', 'submit'],
|
|
re: /(\bplant\b|add (a |my )?(program|site|opportunity)|submit (a |my )?program|list (my|a) program)/i,
|
|
a: 'Sign in with your network account at ' + URL_ + '/my, then use Plant a program. You give the program a name, paste your referral link and replace your ID in it with {id} (for example https://program.example/?ref={id}), type your own ID, say in a sentence what it is and whether it is free or paid to join, and add the contract address if it is a crypto program. Planting is free: one packet per member at a time. Programs already in the Crypto Team Build Network builder are not planted again; save your ID for those on DownlineHydra.' },
|
|
{ id: 'save', title: 'Saving my ID in a packet', q: ['How do I save my ID?', 'What does Save my ID do?', 'Who sees my link?'], tags: ['save', 'referral id', 'my link'],
|
|
re: /(save (my )?(id|link|referral)|saved ids?|my (referral )?id\b|whose link|who sees my link)/i,
|
|
a: 'Open a packet and tap Save my ID, then type your referral ID for that program (or paste your whole referral link: the ID is taken from it). Visitors who come through you (your member page ' + URL_ + '/<your username>) see your link first. Signed-in members see the link of the nearest person above them in their sponsor line who saved an ID, then the planter\'s. You can change or remove your ID any time.' },
|
|
{ id: 'review', title: 'What happens at ' + C.reviewSaves + ' saves', q: ['What happens at ' + C.reviewSaves + ' saves?', 'What is a transplant?', 'How does a program get into the builder?'], tags: ['review', 'transplant', 'builder', 'threshold'],
|
|
re: /(transplant|review queue|ready for review|get (it |my program )?(into|in) the builder|\b\d+ saves|sprout meter)/i,
|
|
a: 'Each packet has a sprout meter: saved IDs from distinct confirmed network members, out of ' + C.reviewSaves + ' (the planter\'s own ID counts as one). At ' + C.reviewSaves + ' the packet goes to Marty\'s review queue and keeps sprouting while it waits. If he approves it, it is added to the Crypto Team Build Network builder, and so to DownlineHydra\'s wild heads, with every saved ID carried over. Reaching ' + C.reviewSaves + ' does not guarantee approval.' },
|
|
{ id: 'check', title: 'The link check', q: ['Why is my packet not showing?', 'What is the link check?', 'My packet is held'], tags: ['link check', 'held', 'green', 'yellow', 'red'],
|
|
re: /(link check|not showing|held|on hold|yellow|blocked|why (is|was) my (packet|program))/i,
|
|
a: 'Every planted link is checked before it shows and again every day. Green shows in the Seed Bed straight away. Yellow (for example a redirect to another site, plain http, or words that need a look) waits for Marty\'s queue. Red (the link does not load, or it is a shortener or a private address) is refused. Members can report a packet; a few reports send it back to the queue.' },
|
|
{ id: 'spotlight', title: 'What a Spotlight is', q: ['What is a Spotlight?', 'How much is a Spotlight?', 'Where does the Spotlight money go?'], tags: ['spotlight', 'price', 'split'],
|
|
re: /\bspotlight/i,
|
|
a: 'A Spotlight ($' + SP.usd + ', one-time, never a subscription) gives one packet ' + SP.views.toLocaleString('en-US') + ' guaranteed verified views in the Spotlight places: the top row of the Seed Bed and the Spotlight strip on packet and member pages. Paid in POL with SafePal or any other crypto wallet. The YPBShop contract splits it in the same transaction: ' + levelsTxt() + ' of the buyer\'s sponsor line (network members with a linked wallet; anyone without one is skipped and the share passes up), ' + company() + ' to the company plus any level with nobody to pay. The split is fixed in the contract. Every payment shows on ' + URL_ + '/ledger.' + (C.contractAddress ? '' : ' Spotlights are not on sale yet: the contract is not deployed.') },
|
|
{ id: 'earn', title: 'Do I earn anything here?', q: ['Do I get paid?', 'Do I need to buy to earn?', 'How do sponsors earn?'], tags: ['earn', 'paid', 'commission', 'sponsor'],
|
|
re: /(get paid|earn|commission|payout|do i need to buy)/i,
|
|
a: 'Saving IDs and planting are free. When someone in your downline buys a Spotlight, the contract pays the sponsor line in the same transaction (' + levelsTxt() + '). You never need to buy a Spotlight to be paid: a network sign-in and a linked wallet are enough. ' + NOT_INCOME },
|
|
{ id: 'sign-in', title: 'Signing in', q: ['How do I sign in?', 'Do I need an account?'], tags: ['sign in', 'member', 'wallet'],
|
|
re: /(sign ?(in|up)|log ?in|register|account|not a member)/i,
|
|
a: 'Sign in on ' + URL_ + '/my with your network account (InstantAdPay or LinkSpin, through the network sign-in) or with your wallet (a free signature that cannot move funds). Planting and saving IDs are for network members; joining the network is free.' },
|
|
{ id: 'legit', title: 'Is YourProgramBuilder legit?', q: ['Is YourProgramBuilder legit?', 'Is this a scam?', 'Are the programs safe?'], tags: ['legit', 'scam', 'trust', 'contract', 'ledger'],
|
|
re: /(\blegit|\bscam|\btrustworthy\b|is (it|this|your ?program ?builder|ypb) (safe|real)|are (the )?programs safe)/i,
|
|
a: 'Two separate things. The programs in the Seed Bed are planted by members: they are outside programs, their link is checked every day, and you should read each one\'s terms before joining (anything in a packet is the planter\'s description, not a recommendation). The Spotlight payments go to the YPBShop contract on Polygon, which splits each one in the same transaction, has no owner withdraw, and its split can never change; SKU price changes wait 48 hours on chain. Every payment is on ' + URL_ + '/ledger. The guide: ' + URL_ + '/guides/is-it-legit' },
|
|
{ id: 'guides', title: 'YourProgramBuilder guides', q: ['Is there a guide?', 'Where is the FAQ?', 'How do I get started?'], tags: ['guide', 'guides', 'faq', 'help', 'start'],
|
|
re: /(\bguides?\b|\bfaq\b|get(ting)? started|how (do|can) i (start|begin)|tutorial)/i,
|
|
a: 'The YourProgramBuilder guides: how it works ' + URL_ + '/guides/how-it-works, is it legit ' + URL_ + '/guides/is-it-legit, getting the most from your free account ' + URL_ + '/guides/free-account, planting a program that grows ' + URL_ + '/guides/planting, and the FAQ ' + URL_ + '/guides/faq. All of them: ' + URL_ + '/guides' },
|
|
{ id: 'old', title: 'Old YourProgramBuilder accounts', q: ['I was a YourProgramBuilder member before', 'Does my old link work?', 'Where are my old programs?'], tags: ['old account', 'old link', 'old programs'],
|
|
re: /(old (account|link|balance|member|program)|was a member|member before|before the rebuild)/i,
|
|
a: 'Old YourProgramBuilder members are matched to the network by email and keep their sponsor. Old referral links open your new member page. Programs you added on the old site come back as dormant packets: sign in and confirm yours on My packets. Old balances were not carried over.' }
|
|
];
|
|
const FAQ = [
|
|
{ id: 'f-network', title: 'YourProgramBuilder and the other network sites', source: 'faq', tags: ['network', 'one account', 'downlinehydra'],
|
|
questions: ['Is YourProgramBuilder part of InstantAdPay?', 'How is it different from DownlineHydra?'],
|
|
answer: 'YourProgramBuilder is part of the network: one network account works across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, DownlineHydra, 5xYourTeam, Stack POL and Earners Corner. DownlineHydra shows the programs already in the Crypto Team Build Network builder; the Seed Bed is where new programs are planted and grow until they are ready for that builder.' },
|
|
{ id: 'f-quota', title: 'How many programs can I plant?', source: 'faq', tags: ['quota', 'how many'],
|
|
questions: ['How many programs can I plant?'],
|
|
answer: 'One packet per member at a time, free. Remove yours to plant a different one. Saving IDs in other packets has no limit.' }
|
|
];
|
|
const FACTS = () => [
|
|
'- WHAT IT IS: YourProgramBuilder (' + URL_ + '), the Seed Bed. PLANT: a network member plants one program free (name, referral link with {id}, their own ID, a sentence on what it is, free or paid to join with a cost note, optional contract address). Programs already in the Crypto Team Build Network builder and network sites are refused (save IDs on DownlineHydra). SPROUT: members save their ID in any packet; visitors through a member see that member\'s link first, signed-in members see the nearest saved ID up their sponsor line, then the planter\'s. TRANSPLANT: at ' + C.reviewSaves + ' saves from distinct confirmed network members (planter included) the packet enters Marty\'s review; approved = added to the Crypto Team Build Network builder and DownlineHydra\'s wild heads with every saved ID. Not guaranteed.',
|
|
'- LINK CHECK: before showing and every ' + C.recheckHours + ' hours. Green shows; yellow (redirect to another site, http, flagged words, a bot wall) waits for Marty; red (does not load, 404, shortener, private address, two failed rechecks) is blocked. ' + C.reportHold + ' member reports send a packet back to the queue.',
|
|
'- SPOTLIGHT: one-time $' + SP.usd + ' = ' + SP.views.toLocaleString('en-US') + ' guaranteed verified views for one packet in the Spotlight places (top row of the Seed Bed, the Spotlight strip on packet and member pages), 1 to ' + SP.maxQty + ' per purchase; views not delivered on-site within ' + SP.deliverDays + ' days are finished in the network. Split on chain by YPBShop: ' + LV.map(pct).join(' / ') + ' to levels 1 to 5 of the buyer\'s sponsor line (network sign-in + linked wallet; the ineligible are skipped and the share passes up), ' + company() + ' company plus any empty level. Immutable split, no owner withdraw, SKU changes wait 48 hours. ' + (C.contractAddress ? 'Contract ' + C.contractAddress + '.' : 'NOT ON SALE YET: the contract is not deployed.') + ' Paid in POL with SafePal or any other crypto wallet.',
|
|
'- VERIFIED VIEWS: page visible ' + C.visitSeconds + ' s, one view per visitor per packet per 24 h, never the planter\'s own, max ' + C.perIpDay + ' browsers per connection a day.',
|
|
'- AI WRITER: on the planting form, "Write it from my link" reads the program\'s own page and suggests a name and a one-sentence description to edit (5 a day per member); nothing is saved until you plant.',
|
|
'- VIDEO: there is a 3-minute walkthrough video of the whole Seed Bed (plant, sprout, transplant, Spotlights, where to start) on ' + URL_ + '/guides/how-it-works.',
|
|
'- GUIDES: ' + URL_ + '/guides (index), /guides/how-it-works, /guides/is-it-legit, /guides/free-account, /guides/planting, /guides/faq.',
|
|
'- TRUST: ' + URL_ + '/ledger, ' + URL_ + '/contract, toasts of real events. Terms ' + URL_ + '/terms, Earnings Disclaimer ' + URL_ + '/disclaimer, Privacy ' + URL_ + '/privacy. Run by TrustClickz. SUPPORT: ' + SUPPORT + '. ' + NOT_INCOME
|
|
].join('\n');
|
|
|
|
const SITE = {
|
|
id: 'yourprogrambuilder', hubSite: 'yourprogrambuilder', netId: 'yourprogrambuilder', name: 'YourProgramBuilder', url: URL_, supportUrl: SUPPORT, knowledgeDate: KNOWLEDGE_DATE,
|
|
dataDir: C.dataDir, canned: CANNED, faq: FAQ, facts: FACTS,
|
|
intro: 'You are the assistant on YourProgramBuilder (' + URL_ + '), the Seed Bed: members plant outside programs, the network saves referral IDs in them, and the ones that grow go to review for the Crypto Team Build Network builder. It is part of a network of sites that share one account.',
|
|
quickTopics: ['How do I plant a program?', 'How do I save my ID?', 'What happens at ' + C.reviewSaves + ' saves?', 'What is a Spotlight?']
|
|
};
|
|
function init() { return core.init(SITE); }
|
|
module.exports = { init, handle: core.handle, answer: core.answer, KNOWLEDGE_DATE, CANNED, FAQ, SITE };
|