What it does
The size of the whole system. The engine is src/ (domain 4,898 lines in 32 files, adapters 2,218 lines in 17 files, application 532 lines in 5 files, ports 197 lines in 1 file, 7,845 lines in all), the demo-template/ website template (8,325 lines in 77 source files: 43 page and component files, 33 TypeScript files and one stylesheet, plus 1,014 lines of check scripts), the checks and operator tools under scripts/ (842 lines), the illegal-state proofs under prove/ (181 lines), 3 database changes (210 lines) and the two spec-read hooks. That is 19,203 lines of application code in 172 files, and 9,822 lines of tests in 53 files, with 548 test cases. On top of the code sit 17,196 lines of Markdown and YAML in 53 documents and 2,025 lines of HTML. 106 commits, all on the main line.
The engine core
The prospect lifecycle. Every business the engine touches is in exactly one of 14 states: Discovered, Scored, Qualified, Disqualified, DemoBuilt, TouchDrafted, AwaitingApproval, Approved, Rejected, Sent, Engaged, NoResponse, HandedOff, Suppressed. Each state is its own data shape that carries only what is legal in it, and each later state carries everything the earlier one learned.
transitions.tsholds the listed moves; a move that is not listed does not compile. A lifecycle walk test drives a prospect through all of them.The six proofs, P1 to P6 (the checker,
verifier.ts, 230 lines). A fixed piece of code, not an AI, that runs P1 to P6 over a draft message and the facts handed to it, returns every violation (never just the first), and refuses on any missing or unreadable input.P1 EvidenceBacked. Every factual claim points to a source link held for that business.
P2 NotSuppressed. The recipient is not on the do-not-contact list. Emails are compared ignoring case and spacing; phone numbers are compared on digits with the country code stripped, so
+18135550100,(813) 555-0100and813-555-0100are one number.P3 ComplianceFields. The fields the law requires are present: sender identity, a physical postal address, a working opt-out, the subject and the unsubscribe header for email; a consent basis and an opt-out keyword for text messages. The channel on the draft must agree with the channel being sent.
P4 ApprovedContentHash. His approval is signed over a fingerprint of the exact message and of the demo site it links to. Change either afterwards and the approval no longer counts.
P5 IdempotencyUnused. The same business and message can never produce a second send.
P6 NoInjectedInstructions. Every piece of outside text entered as checked data, and every address, phone number and link is re-validated as the thing it claims to be.
The send gate (
effect.ts, 33 lines). ASendEffect, the value that performs a real send under his name, carries a brand that only one function in the whole codebase can write, and that function accepts only an Approved prospect. A hand-made send, or a send from any other state, does not compile.Branded values (
types.ts,smart-ctor.ts). Plain text cannot be used as an email address, a phone number, an evidence link, a content fingerprint or an approval token. Each is issued only by a step that parses it at the boundary. A verified address is a stronger kind that only the mailbox check can issue. Evidence links are limited to web addresses, so ajavascript:ordata:value cannot be laundered in. Control characters are refused in addresses.The illegal-state proofs (
prove/illegal.ts,prove/run.ts). A file of deliberately illegal constructions: raw text used as an address, a send from a business that is only qualified, a match over the lifecycle that skips a state, a hand-built send. Each carries an expectation that it fails to compile, so if one ever builds, the type check itself fails. A runner checks the proofs still exist.The ports (
src/ports/index.ts). Every outside service sits behind a fixed interface: Discovery, OwnerLookup, EmailVerification, SignalScorer, DemoContentGatherer, CopyComposer, DemoSiteBuilder, DemoSiteReaper, DemoReceptionist, TouchComposer, EffectVerifier, Dispatcher, LeadLifecycle and Projection. The clock and the do-not-contact list are handed in, never read from the machine, so a run can be replayed. The domain imports no adapter, and an import-boundary check enforces it.The database kernel (
db/migrations). Eight data tables: the schema stamp, an audit log, a command log, the prospects, their signals, the suppression list, the approvals and the used idempotency keys. Thirteen triggers make the ledgers append-only and refuse a clearing of any of them. A second change adds the full state of each prospect as a stored record, so a message waiting for his signature can be reloaded in a later session; a third seals the do-not-contact list. The Postgres adapter writes the prospect, its command and its audit entry in one transaction, so a command can never be journalled without its state.The drift check (
drift-check.ts,drift-check-core.ts). A separate reader compares the database definition with the specification: the 14 states must match, and it walks the full chain of database changes, so the two cannot part company unnoticed. It has its own must-block and must-allow tests.Configuration and the kill switch (
config.ts). The one place the program reads its environment. Every required value is checked at read time. Real sending happens only whenFRONT_DESK_REAL_EGRESSis exactly "on"; any other value, including a typo, leaves it off. The default sender writes the would-be send to the log and never leaves the machine.The pipeline (
pipeline.ts,composition.ts). The driver that runs discover, score, qualify, build the demo and persist every transition. A discovery failure or any failure to write the record stops the run; one prospect's failure does not stop the others. A one-shot runner drives a whole run against a scratch database schema, and a manual build script builds a demo for a business he picks by hand.The prospect store codec (
prospect-codec.ts, 135 lines). The one door between the typed lifecycle and the database. A prospect is saved as one stored record; on load the codec rebuilds the typed value, revives the date fields by their name (never by how a value looks, so a business claim that happens to resemble a timestamp stays text) and refuses any record whose state is not one of the 14. A stored record that does not parse never becomes a prospect.The shared Apify runner (
apify-run.ts, 121 lines). The one place that starts a scraping run, polls it and fetches its rows, used by both discovery and the review miner. Every response envelope is parsed against a schema, never assumed; a run that has failed, been aborted or timed out stops the polling at once instead of waiting out the local limit of 15 minutes; the clock and the sleep are handed in so the polling is testable.The dry-run dispatcher and the structured logger (
dry-run-dispatcher.ts,structured-logger.ts). The default sender records the would-be send (channel, recipient, content fingerprint, idempotency key) and returns a synthetic message identifier, so a whole run can be replayed with nothing leaving the machine. The one place that writes to a real output emits a line of structured data per event, and a log call can never reject a run.The operator's own offer (
operator-catalog.ts). What he sells (the AI receptionist and a website of the business's own) is written once and is the same for every prospect. It is exempt from the verified-or-omitted rule because it is a fact about him and never a claim about the prospect's business.The live copy-quality smoke script (
smoke-llm-copy.ts, 181 lines). Runs the real AI copy stage against fixture businesses and prints, for each, whether the site got unique AI copy or fell back to the safe version, the ungrounded words that caused a fallback (so a fabrication caught can be told from a harmless synonym that should widen the allowed list) and the before and after lead paragraph.
Finding and scoring the business
- Discovery from Google Maps listings (
apify-discovery.ts). Any industry: the search term is the query. Each listing is passed through the same validating constructors, and a row that cannot produce a valid place, name or link is skipped and logged. The listing's own scraped email addresses are captured as unverified candidates. - Eight weak-presence signals, each with its evidence. NoWebsite, SlowOrPoorSite, NoOnlineBooking, NoWebChat, NoContactForm, WeakGbp, NoAfterHoursCoverage and ReachabilityComplaint score points; a ninth, StrongOperator, is a counter-signal. Every signal carries the link it cites and the time it was observed, and the database refuses a signal without a link.
- The site reader (
site-signal.ts). Fetches the homepage and the contact page and looks for a booking widget, a web chat and a contact form, and measures a slow load or a site without HTTPS. A page that will not load is the strongest evidence of a poor site, but what it contained is recorded as not observed, never as absent. - The review miner (
review-mining.ts). Reads a business's Google reviews and finds the ones that name an unreachable phone or an after-hours gap, citing that review's own link. A guard against negation stops "not very responsive" from creating a false strong operator. A malformed review is skipped without losing its neighbours. - The scorer and the adverse-selection guard (
scoring.ts,outreach-scorer.ts). Points come from injected weights, with no magic numbers, and sum into a pain score and a tier. It treats a strong, well-reviewed, responsive business as a counter-signal that disqualifies, checked before the score, so even a high-need strong operator is never surfaced. A prospect becomes Qualified at the warm-tier cutoff of 35 points. - The qualify bar. One configurable cutoff, defaulting to the scorer's warm tier.
The recipient: who may be written to
- The recipient ladder (
recipient-ladder.ts,recipient-resolver.ts). First choice is an address the business published that carries the owner's name; second, the owner's name from the state licence roll worked into an address at the business's own domain; third, the general office address. Two exact rules decide whether a scraped address belongs to the owner, and there is no substring rule. Addresses that are useless or complaint-generating are refused. A prospect nobody can be reached at becomes Disqualified for having no contactable owner. - The licence-roll lookup (
dbpr-licensee.ts, 255 lines). Reads the state's public construction licence roll, 270,083 public records (rows) in a 48 MB file refreshed daily, indexed in memory by business name. Matching is fail-closed: only active licences, the business name must equal after normalisation, the licence's city must appear as a whole word in the address, and a match spanning two cities returns nothing. - Owner-name parsing (
owner-name.ts). A name from an official record becomes a person or nothing. Generational suffixes are dropped, a name that names a company is refused, a part shorter than a name is refused, compound names such as MARY-ANN and O'BRIEN survive, and a partial reading of a company name is the outcome it exists to prevent. - Address patterns (
email-pattern.ts). A name plus the business's own domain becomes at most four ranked candidates, four because each is a billed verification credit. Hosts that serve a page but never mail (social profiles) and bare IP addresses are never guessed against. - The mailbox-check connection (
millionverifier.ts,email-verification.ts). The vendor's real responses were measured against its live service before the client was written. Every response is HTTP 200, including errors, so an API error is a failure of the whole call and never a verdict. A catch-all verdict is kept as itself and never read as deliverable; a disposable mailbox gets its own value; an address the vendor returned no row for reads as unknown. This module is the only mint of the verified-address brand. A contract check runs the real client against the live vendor with its public demo keys and asserts every verdict still maps.
The outreach message
Together these make up the outreach authority: the email template and composer, the sealed opt-out token, the suppression ledger and the unsubscribe design ruling.
- The touch composer (
touch-composer.ts,touch-claims.ts,touch-template.ts). The email body holds no AI-written sentence. Each sentence comes from a fixed table, one wording per kind of evidence, with no number, superlative or promise in it, and at most three claims, because a longer list reads as an indictment. The only blanks are the business's name, its demo address and phone, the recipient and an optional owner greeting. The advertisement notice, the postal address and the opt-out are appended unconditionally; no parameter turns them off. Plain text only: no images, no tracking pixel, no rewritten links. A message with no evidence-backed claim cannot be built. - The sealed opt-out token (
optout-token.ts, 506 lines). Each unsubscribe link carries the recipient sealed inside it with AES-256-GCM, so the address never appears in a link and no one can forge an unsubscribe. The sealed content is the channel and the recipient with no timestamp, and the 96-bit nonce is derived from that content, so sealing the same recipient twice gives identical bytes. That matters because the link is inside the text his approval signs. 241 tampered versions all end in the same refusal. - The unsubscribe design ruling and the suppression snapshot. A send needs a do-not-contact list fetched within the last 15 minutes. A failed fetch produces no list at all, so empty can never be mistaken for "could not check".
- The append-only suppression ledger (
0003_suppression_append_only.sql). The database refuses any edit, deletion or clearing of the do-not-contact list.
The demo-site factory
- The website template (
demo-template, 8,325 lines of source, 24 pages). An Astro site served from Cloudflare Workers: home, about, reviews, contact (with an error page and a thank-you page), privacy, accessibility, an AI-receptionist page, residential and commercial index pages with five residential and three commercial service pages, and a locations index with four city pages. Nine page sections (hero, trust strip, service ledger, process, commercial band, reviews, receptionist band, locations, final call to action), seven signature graphics (certification seal, corner mark, data plate, index label, inspection stamp, service tag, spec row), a header and footer, a mobile call bar, call and quote buttons, breadcrumbs and an icon set. Two trades are authored: plumbing and dry cleaning, each with a seven-image pack. - The data-driven seam. The template's structure never changes; data files per business set the business, its services, locations, verified claims and trade wording, and one carries the operator's own offer. Per-trade wording lives in one registry so a site can only carry its own trade's words; a demo is buildable only for a trade authored in both registries, and a half-authored trade can never render. Wording that depends on a credential ships in two variants and the template picks at render time from the verified claims.
- The lead pipeline on each site (
src/lib/leads). A form on the demo reaches the business with a hidden-field bot trap, a human check, a limit on how often one source can submit, a durable store written before the notification is sent (so a delivery failure cannot lose a lead), and email delivery. Nothing is addressed to a default mailbox: with no recipient configured it delivers to no one. The route logs a lead's content only when both layers fail. The template carries two server routes: the quote route that takes the form and a health route that confirms the server side works. - The AA-safe brand palette (
palette.ts,source-hue.ts). The site's colours are derived from the business's own brand colour, taken in order from a declared theme colour, a named brand variable or a prominent header background, with an industry default when the page gives none. A pure derivation clamps contrast so every text and background pair passes WCAG AA for any hue, proved with generated inputs over all hues. - The content gatherer (
scrape-content-gatherer.ts). Re-scrapes the business's homepage on its own, never relying on the scorer's snapshot, infers the trade and fills the authored taxonomy. An undeterminable trade, a trade with no authored taxonomy or an address outside the authored locations stops the build instead of inventing content. A failed scrape degrades to no scrape. - The plumbing taxonomy (
industry-taxonomy.ts, 809 lines). The authored services and four Tampa Bay city pages. A prospect gets a location page only when its address matches an authored city, and credential language is removed unless the business's licensed and insured claims are both verified. - The AI copy stage (
workers-ai-copy-composer.ts,copy-grounding.ts,copy-overlay.ts,copy-schema.ts). Cloudflare Workers AI re-voices only the narrative paragraphs and returns a strict schema that rejects unknown fields. The merge is count-aligned to the grounded structure. The grounding verifier (541 lines) is described under the mechanisms below. - Code generation (
demo-codegen.ts). Turns the content into the template's data files with every value written as typed data, so a scraped string can never break out of its slot or become code. Anything it cannot honestly derive, such as the email or a broad service area, is omitted. - The site builder and reaper (
cloudflare-demo-site.ts,teardown-demos.ts). Each build runs in an ephemeral copy of the template, so the tracked data files are never touched. It builds, runs the honesty, generic-defaults and accessibility checks against the built output, and deploys a slugged, noindex Worker; any failed check leaves nothing deployable. A reaper removes a demo, and deleting an already-removed one counts as success. An operator script lists and removes every demo. - The manual build path (
build-manual-demo.sh). A business he picks by hand gets a hand-authored data overlay run through the same ephemeral-copy and machine-check discipline. - The demo receptionist slot (
stub-receptionist.ts). The slot in the lifecycle that the AI phone receptionist from his voice platform fills, so a Qualified prospect can reach DemoBuilt. - The CRM projection (
twenty-projection.ts). A one-way copy for the CRM he looks at.
The render-truth gate suite
Fourteen steps run before a demo-site change is accepted: formatting, lint, types, import boundaries, generic defaults, dependency advisories, unit tests, the build, the honesty check, accessibility (axe on every page at three screen widths with zero console errors), visual regression (72 baselines: 24 pages at 375, 768 and 1280 pixels), progressive enhancement (every page loaded with scripts off), a performance budget (Lighthouse score 90 or more, LCP 2.5 s, CLS 0.1, TBT 200 ms, on the home page at mobile and desktop) and content resilience (the longest realistic business name pushed through every page). The engine has a second gate of twelve steps. Both are described under the mechanisms below. The visual check is built on a pure comparison module (screenshot-diff.mjs) that returns one of four verdicts (match, corrupted baseline, dimension mismatch, difference over threshold with the difference image) and has its own permanent tests, and the gate scripts that open a built site share one local static server and page-discovery module, so no check hand-rolls its own.
The operating layer
- The daily check-in (
checkin-launch.sh, the launchd job,/outreach-checkin). Each weekday at 09:00 the Mac opens a terminal window with an AI session that reports first. - The outreach state ledger (
outreach-state.json) and the code-grounded roadmap (ROADMAP.html, every completed item confirmed by reading source). - Thirteen numbered handoffs between build sessions and one summary of a session's record.
- The spec-read hooks (
.claude/hooks,.codex/hooks). One for each AI tool he uses, each with its own tests. - Secrets and dependency scanning (a gitleaks configuration and the dependency advisory check).
The specification and plan set
- Nine specification documents (
specs/001-front-desk, 1,264 lines): the vision, the discovery record, the research, the specification, the invariant, the threat model, the design, the plan and the handoff, plus six acceptance feature files (168 lines, 24 scenarios). - The business case (
business/BUSINESS-PLAN.md, 462 lines). Market counts from Census files, unit costs from current vendor prices, a risk register, the three things that could kill it, and a list of widely quoted statistics it refuses to use because they have no source. - The full-system design (
business/SYSTEM-DESIGN-SPEC.md, 992 lines, andBRIEF.md). The three-engine design this engine feeds, held in this repository; it has its own page (the full Front Desk platform). - The outreach plans (
OUTREACH-EXECUTION-PLAN.md, 332 lines;OUTREACH-LOOP-BRIEF.md, 177 lines). - Two measurement records (63 and 104 lines). The first measures the owner-email question on 100 Tampa plumbers: a scraping run costing $0.73, every business's full list of scraped addresses sorted by local part and domain, franchise directories of more than ten addresses counted as role-grade, the tier split's own noise of about 3 points stated, and the any-email floor stated as free of that noise. It finds 23% owner-grade (13% free-mail addresses an owner reads and 10% named persons on their own domain), 25% role-only, 48% with any email, 52% with none. It also finds the bias that matters more than the headline: the scrape collects addresses by visiting the business's website, so all 9 businesses with no website and all 4 unclaimed listings yielded zero, and businesses with fewer than 20 reviews yielded 30% (3 of 10). The second measures the licence-roll step with the real adapter, run against the same 100 businesses so the two compose, on the state's live file verified the same day (48,441,200 bytes, 270,083 rows, no header row, 22 quoted columns, refreshed the same morning). It names an owner for 22 businesses with no owner-grade email, 13 of them with no email at all. Each recovered name carries its licence number, and the combined owner-grade ceiling is stated as 49%.
- Review and ruling records (
plans/): two architecture rulings (unsubscribe endpoint, service-area truth), an adversarial review of the opt-out token and its findings, a craft review, a conformance review, and the touch-composer, recipient-resolution, MillionVerifier, language-model copy and dry-cleaner demo plans.
What it achieved
- On real Tampa plumbers: businesses screened out on evidence, and a working site published for each business that qualified and removed again on command.
- Cost of one full personalised website, built and sent: about 16 cents (1 cent of listing data, 6 cents of AI copy for 22 pages, 9 cents of hosting and phone-number share).
- Reach, measured on 100 real plumbers (the listing data cost $0.73): 23% had an address an owner reads, and 48% had any email at all. The free licence-roll step named an owner for 22 more businesses the scrape could not email, lifting the ceiling to 49% and keeping a $29-a-month finder unbought.
- The licence-roll record: 270,083 rows read from the state's live file (48,441,200 bytes, downloaded in about one second); the same 100 plumbers re-run through the real adapter; each owner named with the licence number beside the name; the combined owner-grade ceiling stated as 49% and the paid finder left unbought on that evidence.
- The first record's finding that the scrape alone reaches 23% owner-grade against a 40% line below which the queue starves, which is what made the free recipient ladder the first thing built.
- Monthly cost of sending tools cut from about $181 to four domain registrations at about $10.46 a year each. Three independent reviewers could not defend what was removed.
- A demo for a Tampa dry cleaner, built from its business card: with no reviews, hours or credentials to verify, those were left out, not invented. It passed every render-truth gate.
- 72 of 72 visual baselines matched after the per-trade wording seam was added.
- 241 tampered opt-out tokens all refused identically.
- Scale: 106 commits, 19,203 lines of application code, 9,822 lines of tests and 548 test cases.
The problem it solves
- What limits his income is getting the customer, not delivering the service. He scoped the engine to that one step and excluded everything after the "yes" in writing, so no agent could widen it.
- His name is the one asset the whole engine depends on. A single invented detail, wrong fact or spammy contact sent under it loses that business for good. So the thing to design was not a review step but a system in which that message cannot be made.
- Telling an AI to behave is not a boundary. The design names and rejects three defences other builders rely on: an instruction not to obey hidden text, an AI's own statement that a claim is backed, and a checker that stops at the first problem it finds.
- The engine holds private data, reads text written by strangers (scraped pages, reviews, the AI's own copy) and can send mail. Those three together are the dangerous combination, and all three are really present, so the cut between them had to be in the structure.
- Cold pitches are deleted unread; he deletes four or five a day himself. The only pitch worth opening shows the deliverable first: a working website for that business, before anything is asked.
- An engine that scores need will chase the worst-run businesses. He set it to target the competent middle and to refuse a strong, responsive business outright.
- An AI session that builds without opening the specification ends up asking questions the specification already answers. He turned that into a block the AI cannot pass.
- A check that lists forbidden phrases lets through anything it forgot to name. He had the check on AI-written website copy built the other way round, so that a gap in the list can only make the copy plainer, never false.
- A loop that waits for him to start it does not run. So the design takes starting out of his hands: the machine opens the conversation each morning, and his part is to answer replies.
- A check-in session that spends its opening minutes reading gets closed before it says a word. He turned that into the REPORT BUDGET.
- An AI that states a vendor's terms from memory can get them wrong in either direction. The rule: a vendor's current document is read before anything is written against it, and the mailbox-check client was written against measured responses.
- A mailbox-check service answers "success" even when its key is invalid. He had the design treat that as a failure of the whole call, so a broken credential can never read as "nobody here is reachable".
- The opt-out ledger, the table with direct legal exposure, is append-only, proved by a test that tries to alter and delete an opt-out.
- He ruled that a place name on a demo is a claim that needs evidence, so a one-city business is never shown as serving a whole metro.
- A scraped address carrying an invisible control character would refuse an entire send batch, because the database cannot store it, so the constructor refuses such addresses at the boundary.
- Registries indexed by untrusted strings, such as a scraped business category, use lookups that cannot resolve through the language's built-in object properties.
- The licence roll's job is naming the owner for businesses that have a site but hide behind a general address.
- A looser name match would join two different companies in one city and put a stranger's name in a message sent under his own, so the match stays exact.
How he built it
What the AI must treat as true
- End-state authoring. The vision describes the engine at full scale, not a roadmap or a first version, and says what and why, never how. His stated scope is the floor.
- RULE 0: read the full spec before you execute. A hook blocks every write to a code file until the session shows the vision, the specification and the design read in full. It gates the lead agent and exempts briefed helpers, and it has its own ten must-block and must-allow tests. It exists in a form for each AI tool he uses.
- Rank-4 hearsay. Plans and handoffs written by agents are hearsay until checked against the specification. An agent that builds from a handoff alone drifts from what he specified.
- Source Fidelity. Every specification document ends with a table accounting for each thing he asked for: present, expanded, excluded by him with his reason, or routed to a named stage. Nothing he said can drop out silently.
- Discovery as a typed record. Seven questions only he could answer, asked in two rounds, with every technical decision made for him listed beside who decided and why. Assumptions are flagged, and an eleven-topic checklist shows nothing was left unasked.
- Reuse-first research. His own systems were read before any outside search. Each of fifteen capabilities got a verdict of adopt, port or build with the file and line behind it, and every "build" shows the search that found nothing to reuse.
- RULE 1: own the decision. The AI settles technical questions itself, from the specification, with a cited reason. Only a business, pricing or irreversible decision reaches him, and it arrives with a recommendation.
- RULE 2: the roadmap is the state of truth. The roadmap is generated from the source code and never edited by hand. An item counts as done only with the file and line that implements it; otherwise it is marked as only claimed.
- Facts established before deciding. Each architecture ruling opens with a numbered table of measured facts and what established each, then states for every decision what it rejected and what would overturn it. Vendor rules are read from the current document, never from memory.
- Settled decisions closed. The outreach and system briefs list decisions that cannot be reopened without new material facts, and each plan records what it cut and what it kept, with the reason for each.
What cannot be built
- Verifier-gated effects ("AI proposes, verifier disposes"). A send can be constructed only from the Approved state. Approved can be reached only when the checker returns no violations and his signature covers the exact content. There is no path from unchecked text to a send.
- The lethal trifecta and its structural break (the lethal-trifecta cut). Scraped pages, reviews and AI copy enter only as data. A review that says "ignore your instructions" is a string in a field and nothing more. The model cannot approve its own work.
- Illegal-state proofs. The proofs described above must fail to build. If one ever builds, the gate fails.
- The adverse-selection guard. A well-reviewed, responsive business is disqualified even at a high need score. Every signal that scores a business must carry its evidence link, and the database refuses one without it.
- Ports and adapters, failing closed. Every outside service sits behind a fixed interface, so the core never touches a vendor directly. An adapter with no key refuses to run instead of running half configured.
- Kernel owns truth. The database is the one record. The CRM he looks at is a one-way copy that can be rebuilt at any time and is never read back.
- Exact match only. A name comes from an official record, matched exactly, or it is not used. Loosening the match would put a stranger's name in a message, so the boundary is exact and written down.
- Opt-out is forever. The append-only suppression ledger, with the sealed token and
SuppressionSnapshotdescribed above. - The daily loop's invariants, S-1 to S-8. The daily cap lives in the database, so the 26th send of a day cannot be written. A bounce or complaint threshold halts the loop until he restarts it. One file stops everything. No send goes out unless its demo site answers at that moment. No stage may wait on him (S-8): anything that needs him becomes one line in the daily digest.
Where AI writes words a customer reads
- The touch composer: a body that can only say what the evidence says. A test generates arbitrary inputs and proves every content word of the email traces to the table, the business's facts or his own constants.
- The default-deny grounding boundary. On the demo site the AI does write, but only by re-voicing a few narrative paragraphs. Titles, the service list and the structure are copied unchanged from grounded content, and the AI is never shown raw scraped text. Every word it returns must appear in that business's verified material or on a closed list of generic words, and every number must match a number in the source exactly. Claim words such as "guaranteed" and capability words such as "trenchless" are removed from the generic list, so they can pass only when grounded. One violation and all of the AI's copy for that business is dropped for the known-clean version. A gap in the list costs uniqueness, never honesty.
- Injection-safe codegen. Site content is written out as typed data. No scraped string can break out of its slot or become code, and a missing file in a generated set fails the build.
- Verified or omitted (AC-DEMO-TRUTH). A claim about a particular business, such as hours, a licence, financing or round-the-clock service, appears only if it is verified. Otherwise it is left out, never invented.
- The honesty line on imagery. Representative pictures are allowed. A generated storefront, a face presented as the owner, or any lettering that could read as the business's name is not.
- Service-area truth. A place name that appears on a site is a claim, so a demo may name only places the evidence supports. The ruling gives the rule three owners, treats a city's containing places as evidenced only with the slot that decides, and holds both build paths to one policy.
- The render-truth gate suite. The checks read the built site as a visitor would see it, not the source. Fourteen steps run before anything is published; the HONESTY gate is graded against the rendered build so a code comment can never produce a false pass.
- Remove generic defaults from the toolchain. A check refuses any raw colour in component code and any banned generic font, so one token graph is the only palette.
- AA-safe brand palette. Each site's colours are derived from the business's own colour by a method that cannot produce an unreadable combination.
- The template design bar: "would a client buy this?" The site is graded against the best real local-trade websites on eight measures, from the three-second first impression to the phone screen. Comparing it with other AI-made sites is banned.
- The claim ribbon (RD-7). Every demo carries a plain notice that it was built for that business and how to claim it, so an interested owner who never replies still has a way to reach him. Demos are kept out of search engines.
- Never-lost-lead. The form's store is written before the notification, so a lead survives a failed email.
How the sending is run
- The recipient ladder, the mailbox check and the licence roll, described above, so no one is written to without a checked address.
- An API error is never a verdict. A broken credential can never read as "nobody here is reachable".
- Proof-first (RD-3). The message carries two or three cited facts about that business and one plain link to its site. No images, no tracking pixel, no rewritten links.
- A separate sending domain (D-3, RD-2). Cold mail never leaves from his consulting firm's domain, because a mail account suspended for spam cannot be recovered and takes his documents and calendar with it.
- One sequence per business per 90 days (RD-4). At most three messages, each from a different angle, stopping at once on a reply, an opt-out, a bounce or a complaint.
- Bot-filter the beacon (RD-6). Mail scanners open links within seconds. A visit counts as interest only after that traffic is discarded.
- All seven requirements. The plan carries all seven of the regulator's rules for commercial email, including labelling the message as an advertisement.
- Monitoring built around a blind spot. At this plan's daily volume the mail provider shows no spam-rate figure, and a single complaint would be over 13 times the limit. The plan says so and watches what can be seen: bounces, with a halt at 2%, replies per day and a weekly placement test.
- Cohort A and cohort B. One group gets the link in the first message and one in the second, so the idea the product rests on can be proved wrong by its own numbers.
- Anti-scope, narrow and deliberately falsifiable. The plan lists what must not be rebuilt without new facts, and separately what stays open to challenge on evidence, so it can still correct itself.
- Cost cut, protection kept. The plan cut the sending fleet and the warmup clock, built for a 500 to 2,000 a day volume this business does not run, and three adversarial reviewers made sure every protection that costs nothing was kept.
Who checks whom
- Producer ≠ reviewer. Six fresh reviewers judged the vision, discovery, research, specification, design and plan before any code. No agent grades its own work.
- The adversary seat. A reviewer writes down, before measuring anything, what result would make the work fail, and does not read the builder's account. Seven seats (architect, builder, adversary, confirmation and craft among them) worked the opt-out and demo-content changes, none grading its own work, and the adversary reviewed the opt-out token.
- Findings become tests (Gate Law 10). Every review finding becomes a permanent test, first seen failing.
- Bijection contracts. Every check ships with a known-bad input it must block and a clean one it must allow, run through the real entry point.
- Two gates. Twelve steps for the engine (types, lint, formatting, the illegal-state proofs, layer boundaries, the test run against a real database, duplication, secrets in history and in the working files, dependency advisories, drift between the database and the specification, and the visual baselines) and fourteen for the demo site.
- Measure before buying. The owner-email question was measured on 100 real businesses before any paid finder was considered. Code carried over from earlier projects was pinned by tests first.
- A gate that can certify nothing while red. One commit cleared every dependency advisory in both trees because the gate could not certify while any was open.
- Standards path-to-MET. Every practice in his standards that applies is listed with the check or evidence that proves it. Those that do not apply show why, and each judgement call has a stated size and reason. Each plan is gated against his standards before code.
How it reaches him
- The daily check-in rail: "You speak first." Each weekday at 09:00 the Mac opens an AI session that must report in plain English within its first three actions. This REPORT BUDGET was set after three sessions spent their opening minutes reading and were closed before they said a word.
- "Absence is the message." If nothing ran or nothing changed, the report says exactly that. It never covers a gap in its own record: it finds the earlier session and says what happened to it.
- The outreach state ledger. One plain file the AI updates after each session and he reads before the next. Each morning's session starts from it, not from chat memory.
- The code-grounded roadmap opens with a summary in plain words of what the code is and what comes next.
- The TLDR. A fresh agent reads a session's record and lists each thing he asked for and what became of it.
- Five points where he decides. Approving the vision, approving the plan, signing each real send, choosing vendors, and switching real sending on. Real sending sits behind a switch that is off by default and only he can turn.
Named concepts
The named concepts, defined
Verifier-gated effects · AI proposes, verifier disposes · The lethal-trifecta cut · P1 to P6 (EvidenceBacked, NotSuppressed, ComplianceFields, ApprovedContentHash, IdempotencyUnused, NoInjectedInstructions) · The adverse-selection guard · The competent middle · Proof before ask · AC-DEMO-TRUTH · Verified or omitted · The default-deny grounding boundary · Render-truth · Source Fidelity · RULE 0, RULE 1, RULE 2 · Rank-4 hearsay · The code-grounded roadmap · Producer ≠ reviewer · Bijection contract · Gate Law 10 · The recipient ladder · The sealed opt-out token · SuppressionSnapshot · Never-lost-lead · REPORT BUDGET · You speak first · Absence is the message · S-1 to S-8
What it shows
He can put AI in front of real customers, finding them, building for them and writing to them, by making the rules part of how the system is constructed, so that what must never be sent cannot be made.