All workAndrew Cates.

Project 46 of 84

Hullkit

Hullkit is a multi-tenant SaaS for social lead generation: it watches keyword monitors on official platform APIs, AI-scores the matching posts as leads, and AI-drafts replies that a human approves before publishing. WhatsApp also has rule-based auto-send, which starts in shadow mode.

Status
Shipped
Area
Starters & Templates
Last activity
2026
Stack
  • TypeScript
  • Next.js App Router
  • shadcn/Radix UI
  • Hono
  • Drizzle ORM
  • pg-boss job scheduler
  • Vercel AI SDK
  • Stripe billing

Highlights

  1. Built and launched Hullkit, a multi-tenant AI social lead-generation SaaS, from first commit to live production (hullkit.com, app.hullkit.com, admin.hullkit.com, api.hullkit.com) in four days. It spans 6 apps and 17 packages on Next.js 16, Hono, Drizzle/Supabase Postgres and pg-boss.
  2. Implemented six official-API platform adapters (YouTube, Bluesky, Telegram, Threads, Instagram Business, WhatsApp Business) behind one adapter interface with a shared contract test suite. YouTube publishing is idempotency-key-guarded and read-back-verified. The Meta platforms are feature-gated until Business Verification clears.
  3. Designed a cost-aware AI scoring pipeline on the Vercel AI SDK: a deterministic word-boundary pre-filter discards noise before any model call, and a buying-intent score decides escalation from a cheap model tier to an expensive one. Per-org AI token budgets have a dry-run kill switch.
  4. Built WhatsApp auto-send with safety layers: every rule starts in shadow mode, four independent kill switches, an automatic circuit breaker, and escalation-driven suppression. Human approval stays mandatory on the OAuth platforms, and a TypeScript-AST test enforces that publish is reached only from one send path.
  5. Shipped usage metering and plan-tier billing in a 14-story agent-driven build: Stripe checkout with read-repair webhook sync, platform API call instrumentation, advisory-lock seat limits, daily rollups with a 90-day retention sweep, tenant and staff usage dashboards, and a dedicated cross-tenant isolation suite.
  6. Ran the first production launch from a 7-round consensus-reviewed plan with a separate go-ahead before DNS. Found and closed a P0 gap where 20 of 46 core Postgres tables lacked RLS or anon/authenticated revokes, backed by 32 passing RLS grant tests, and verified a real signup, login and authenticated API round trip.
  7. Launched a public marketing site and domain cutover (product moved to app.hullkit.com). Later expanded it to 39 sitemap URLs, with platform and API-reference pages drift-tested against the adapters and openapi.json, a consent-gated analytics banner, and axe WCAG 2.2 AA at 0 violations across light/dark and desktop/mobile.
  8. Moved the API and workers from Render to Docker/CapRover on Hostinger with multi-stage images on ECR and a /health/deep deploy gate, and replaced git-triggered Vercel production deploys with manual dispatch workflows that include published-artifact secret scanning and release-please versioning.
  9. Led a bead reconciliation sweep that fixed a P0 cross-tenant authorization bug (a caller-supplied orgId on /users and an org-unscoped role update), added the repo's first CI job running the full test suite against a migrated Postgres, and repaired a drift gate that had never passed.
  10. Authored repo-wide CODING_STANDARDS.md and a domain GLOSSARY.md (tenancy, ingestion, scoring, auto-send and billing vocabulary, each term with 'avoid' synonyms), including an inventory of known inconsistencies.