# YourProgramBuilder: the Seed Bed yourprogrambuilder.com rebuild (Marty 2026-11-17: "I like the approach on YourProgramBuilder. Go ahead and keep fleshing it out more."). "Bring your program. The network grows it." - **Plant**: a network member plants one program free (name, referral link with `{id}`, their own ID, what it is, free or paid to join, optional contract address). The link check (`linkcheck.js`): green shows, yellow waits for Marty's queue, red is refused; every live packet is rechecked daily; `REPORT_HOLD` member reports send it back to the queue. Programs already in the CTB builder (`seed/builder.seed.json`, the DownlineHydra snapshot) and network sites are refused. - **Sprout**: members save their referral ID in any packet (a whole pasted link works). A visitor through a member (their page `/`, or `?r=`) sees that member's link first; a signed-in member sees the nearest saved ID up their hub sponsor line; then the planter's ID (`seedbed.sponsorLink`, DownlineHydra's wild-head rule). - **Transplant**: at `REVIEW_SAVES` (10, Marty 2026-11-17) saves from distinct confirmed network members (the planter counts as one) the packet enters Marty's review queue (`/admin`). Approved packets are exported by `GET /api/admin/export` in the CTB builder's form (`{affiliateid}`) with every saved ID (username, hub id, ID). This site never writes to another site: the add on CTB / DownlineHydra is done there. - **Spotlight** (approved by Marty 2026-11-17, as built): one-time $10 = 1,000 guaranteed verified views for one packet in the Spotlight places (top row of the bed, the strip on packet and member pages), on YPBShop (`../contracts`, NOT deployed): 20% sponsor, 5% each levels 2 to 5, 60% company, immutable split, keeper-signed orders, no owner withdraw, 48-hour SKU timelock. Members earn free: anyone in the hub line with a linked wallet is paid (compression in `/api/my/order`). - **Old site**: old links (`/?`, `index.php`, `splashpg.php`, `lcp.php`, `join.php`, the old member pages) 301 through `oldrefs.json` (`POST /api/admin/oldrefs`). Old member programs come in as dormant packets (`POST /api/admin/dormant`, hub id required) that only their owner can confirm with a `{id}` link. Network rails: hub membership + usernames (`hubpeople.js`, `hubline.js`), network sign-in (`networksso.js`, the site only needs to be in the hub's `HUB_SSO_SITES`), hub events (`hubevents.js`), contract binds report (`hubreport.js`, `HUB_ENABLED`), trust pack (`/ledger`, `/contract`, toasts, Telegram card per Spotlight in `proof.js`, terms / disclaimer / privacy naming TrustClickz only), network footer row from the hub (`netsites.js`), chatbot (`chatbot.js` on the shared `chatcore` / `kb` / `netkb`), promo kit (`/promote`, `/api/promo-kit`), Guides (`/guides/*`), PolHunter embed slot (front page steps), LinkSpin tracked saved links (`lstrack.js`, `LS_TRACK=1` + a LinkSpin `ypb` partner) and ad zones (`LS_ZONES`), the AI writer through the hub (`hubadwriter.js`), the DownlineHydra "New in the network" feed (`/api/spotlight-feed`, not wired on DownlineHydra yet). MySQL is the store (`docstore.js`, `DOCSTORE_URL`); files only for local tests. ## Tests ``` node qa/unit.test.cjs # 33: link-check colours, planting rules, ID cleaning node qa/e2e.mjs # 121: the whole product on a local anvil chain with the real YPBShop (needs forge build in ../contracts) ``` ## Staging ypb.saasy.top (Coolify, own MySQL). STAGING=1, PAYOUTS=0, HUB_JOIN=0, HUB_ENABLED=0, no mail, no contract, no Telegram. Art: `python tools/pages.py` writes the pages; `node tools/art.mjs` renders the mark, OG image, proof cards and the promo kit.