System map
Go executes. Python thinks. Go never asks Python how the application should behave — it sends structured JSON and gets structured JSON back.
Live pipeline
one lap ≈ one business, discovery to contractor1 / 7
Campaign
Go — the system
Discovery
OpenStreetMap + Bing/DuckDuckGo/Yahoo search, dedupe, save to MySQL.
Queue
Redis-backed job queue, per-track caps and daily limits, retries.
Website compiler
Renders AI content into HTML/CSS/JS for Track 1 businesses.
Mirror
Crawls, downloads assets, rewrites links, clones Track 2 sites.
Contractor platform
Auth, CMS, jobs, subscriptions, payments, uploads, profiles.
FlowOps integration
Job ingest, accept/decline/complete, HMAC-signed callbacks.
structured JSON
Python — the brain
Content
Generates hero copy, about, and services text from scraped + business data.
SEO
Meta title, description, keywords, OpenGraph, schema suggestions.
Negotiator
Cold outreach emails, follow-ups, and quote-reply suggestions.
OCR
Extracts text from logos, business cards, invoices, and images.
Memory
BGE-M3 embeddings for semantic search and similar-business lookup.
Scorer
Predicts lead quality from website state, industry, city, completeness.
| Responsibility | Go | Python |
|---|---|---|
| Discovery | ● | — |
| Queue | ● | — |
| Website compiler | ● | — |
| Reverse engineering (mirror) | ● | — |
| Contractor dashboard | ● | — |
| Authentication | ● | — |
| Payments | ● | — |
| FlowOps integration | ● | — |
| Content generation | — | ● |
| SEO | — | ● |
| Outreach writing | — | ● |
| OCR | — | ● |
| Semantic memory | — | ● |
| Lead scoring | — | ● |