All workAndrew Cates.

Project 19 of 84

Business Research Catalog

Local-only Business Research & Catalog Tool: researches any business across many heterogeneous sources, lets a single operator curate provenance-tracked claims, and stores the result as git-committed JSON/Markdown. A second track merges scraped website mirrors into a reusable content+media store, and a public static marketing site describes the tool.

Status
In progress
Area
Personal Products & SaaS
Last activity
2026
Stack
  • TypeScript
  • pnpm workspaces
  • Turborepo
  • Next.js App Router
  • Next.js
  • Tailwind CSS
  • shadcn/ui
  • TanStack Table

Highlights

  1. Shipped a public 48-page marketing site for a private research tool as a standalone Next.js 16 app, isolated from the root pnpm workspace with its own lockfile so the product's install, build and tests stay untouched (PRs #2, #4).
  2. Wrote Vitest drift tests that fail when the marketing site diverges from the product's code: connector folders, source ids vs required env, env-var names read by each connector, pipeline stage exports and run order, and zod schema field lists and enums.
  3. Verified the site at WCAG 2.2 AA with 0 axe violations in light and dark mode across all 49 paths, with no overflow at 375 px and a post-build crawl of 1,854 internal links that fails the build on any broken link.
  4. Built a manual-only Vercel deploy pipeline on a dedicated self-hosted release runner, with a main-only environment secret exposed only to the pull and deploy steps and Vercel Git deploys for main disabled (vercel.json deploymentEnabled main:false).
  5. Designed a provenance claims model for business research: stable claim ids, a 5-tier confidence ladder, human-wins curation, and resolution that surfaces conflicts instead of silently picking a value.
  6. Built 9 connector packages covering 11 sources (website crawl via real Chrome, Google Places, GDELT, Serper, BBB, social discovery, D&B, NewsAPI, LLM curation); a missing key degrades to not_configured, and paid sources sit behind opt-in and per-run call ceilings.
  7. Added dual-vendor LLM curation (Anthropic or OpenAI) that drafts a business profile and flags conflicts, with data checkpointed before the LLM step so a curation failure never loses a successful fetch.
  8. Wrote a dependency-free merge pipeline that collapsed two wget mirrors into 95 Markdown pages and 130 sha256-deduplicated media assets (from 253 raw files), checked all 167 rewritten links on disk, and proved re-runs byte-identical.
  9. Derived CODING_STANDARDS.md and GLOSSARY.md from the live codebase, with counted conventions (0 any, 0 non-null assertions, 88 of 88 .js ESM imports), an inconsistencies report, and a domain vocabulary with flagged ambiguities.