# Brindlecart intake kit (8gentc automation lane test materials) Kit version 2026-10-28. **Licence for every file in this folder: made by 8gentc for this test; use it only for the test.** Everything in it is invented: Brindlecart, its staff, its customers, their companies and domains (all under `.example`, a name reserved for examples). Names are generated from word lists; any match with a real person or business is chance. No real brand, person, voice, recording or scraped data is used. This README is published with the kit as "Kit README". ## What's here | File | What it is | How it's made | |---|---|---| | `spec.md` | The rules every applicant shares: the job, the 13 steps, how it must be built, what to hand in, how it's graded | Written by hand | | `generate.mjs` | Makes your test pack from your Whop username, attempt number and start code | Deterministic from the seed (below) | | `sandbox.mjs` | Fake CRM, enrichment API, helpdesk, team chat and intake log on your own computer. Writes the run log, and a one-time control token (`.kit-control`) in the pack folder that only `replay.mjs` uses: a workflow that calls the kit's own `/_kit/` addresses is refused, and `check.mjs` flags it | Serves the data in your pack | | `replay.mjs` | Sends your pack's submissions to your workflow's webhook, one at a time, plus one with a wrong secret | Reads your pack | | `check.mjs` | Scores a run log and an export against the rubric's objective checks. The grader runs the same file | Reads your pack, run log, export and README | | `lib.mjs` | Code the four scripts share: the seeded generator, the rules as code, the shape checks | | All five scripts need **Node.js 18 or later** (free, nodejs.org) and nothing else: no packages, no accounts. Only `replay.mjs` sends anything over a network, and only to the webhook address you give it. The sandbox listens on `127.0.0.1` unless you start it with `--host 0.0.0.0`. ## What a pack contains `node generate.mjs --user --attempt --code ` writes a folder with: | File | Contents | |---|---| | `spec-card.md` | Your values: where each field sits in the form's JSON (one of three form styles), the interest labels, your house routing rule (one of three) and its owner, the enterprise and mid-market thresholds, the owners and their channels, the countries in each region, how your CRM is searched (one of three lookups), four free-mail domains, and your sandbox key, token and intake secret | | `payloads.json` | 16 practice submissions, in the order the replay sends them | | `sandbox-config.json` | What the sandbox serves: about 20 companies for the enrichment API, 4 contacts already in the CRM, which domains are busy (429/503) or down, and which email the CRM refuses | | `pack.json` | The seed, the set (practice or hidden) and the file list | The 16 practice submissions cover every kind of case in the spec: an enterprise-size lead, a mid-market lead exactly at the threshold, a small regional lead, a small lead from a country no region covers, a free-mail address, a domain the enrichment API doesn't know, a domain that is busy twice before answering, a domain that is down, someone already in the CRM, a repeat of an earlier submission in the same run, an invalid email, a blank first name, a filled spam trap, a support request, an email the CRM refuses, and an enterprise lead exactly at the threshold. The domain the enrichment API doesn't know also falls under your house rule. The input is deliberately untidy: spaces around emails and names, capitals in emails, lower-case or padded country codes, missing consent. ## Seeds and the hidden set - **The start code.** When you're ready, message 8gentc on Whop to ask for your start code, with the day and time you want to start (and your time zone), at least one working day ahead. We send your start code then, and your 48 hours run from the time on our message. The start message also gives your attempt number and the time to hand in by. Up to 24 hours late is still graded, but scores 0 on the on-time points. Later than that isn't graded and counts as your attempt, so the 14-day retake wait starts. Only 8gentc can make a start code (it needs the private salt), so nobody can make their test pack before their start message. Without `--code`, `generate.mjs` makes a practice-only pack for learning the kit; its spec card says so. - **The seed** is `automation-2026-10-28:::`. It decides everything in the pack, so two applicants never get the same spec card or submissions, and the same person gets the same pack every time they run it. A retake uses attempt 2 and a new start code, which give a new pack. - **The world** (form style, house rule, CRM lookup, thresholds, owners, regions, free-mail domains) comes from the seed alone, so the practice pack and the hidden pack share it. - **The hidden pack** comes from the seed plus a private salt that only 8gentc holds (it is never published): 30 new submissions of the same kinds, 3 more contacts already in the CRM, new companies, new busy and down domains, a new email the CRM refuses, and a new key, token and secret. `generate.mjs --hidden` also writes `answer-key.json`, the expected outcome of every hidden submission. 8gentc keeps the real one private. - **What one leaked workflow is worth to someone else:** it is built for one applicant's card. Cards differ in structure, not only in values: three form styles (different field paths and value formats), three house rules (a different extra branch and owner) and three CRM lookups (a different call, answer shape and "nobody found" signal), so 27 shapes, plus each card's own thresholds, owners, regions and free-mail domains. A leaked workflow of another shape needs real rework, not a few changed values. One of the same shape (about one card in 27) needs only its values changed, so the seeds don't stop that case on their own: hand-ins are also compared with earlier ones, by their wording and by the ids an n8n export carries from the instance it was built on, and a hand-in the founder finds was copied is a "not yet". Running `generate.mjs --hidden` with any other salt gives a fresh practice set of the hidden kind, which is fine and is a good way to test. ## Quick start (the full walk-through is in the free guide) ```bash node generate.mjs --user your_whop_name --attempt 1 --code --out my-pack node sandbox.mjs --pack my-pack # leave it running in its own window # build your workflow against http://127.0.0.1:8787 (or host.docker.internal from Docker), using the # key, token and secret on your spec card node replay.mjs --pack my-pack --webhook http://localhost:5678/webhook/lead-intake --secret node check.mjs --pack my-pack --log my-pack/run-log.jsonl --export my-workflow.json --readme README.md ``` Hand in `my-pack/run-log.jsonl` from your final practice run, with your export and README. ## Large or binary files None. Every material is text and every pack is generated on the applicant's computer in under a second. There is no audio, video, image or spreadsheet to host.