How f0xhopper/acta works
Acta is a lead-generation and qualification pipeline for a build-first web studio. Its v1 workflow turns a search query into discovered business leads, website and company checks, ranked scores, and shortlist/pitch-pack outputs; operators choose leads and carry out site building and outreach manually. The README also describes later build, outreach, and sales stages, but the supplied tree does not include the build-agent implementation. Edges reflect the README and shown source references; several audit and integration internals are represented at subsystem level because their source was not sampled.
Main entry points: cli.ts Pipeline CLI · audit/index.ts Website audit · db/index.ts Lead database · week.ts Weekly run loop
Components 21
Lead discovery
- Query parsing
src/discover/parse-query.ts - Search scheduler
src/sweep/index.ts - Places discovery
src/discover/places.ts - Lead normalization
src/discover/index.ts
Lead qualification
- Website audit
src/audit/index.ts - Site checks
src/audit/html-checks.ts - Browser screenshots
src/audit/screenshot.ts - Company matching
src/discover/entity.ts - Opportunity scoring
src/score/score.ts
Pipeline operations
- Pipeline CLI
src/cli.ts - Lead database
src/db/index.ts - Shortlist and packs
src/report/shortlist.ts - Lead pitch packs
src/report/pack.ts - Lead leaderboard
src/report/leaderboard.ts - Lead status tracking
src/crm/status.ts - Weekly run loop
src/loop/week.ts
Site delivery
- Business-site starter
starter/src/app/page.tsx
Other components
- Studio operator
- Google Places
- PageSpeed Insights
- Companies House
Connections 28
- Studio operator → Pipeline CLI: runs commands
README.md - Pipeline CLI → Query parsing: parses searches
- Pipeline CLI → Search scheduler: runs scheduled searches
src/cli.ts - Search scheduler → Query parsing: expands queries
src/sweep/index.ts - Search scheduler → Places discovery: dispatches discovery
src/sweep/index.ts - Places discovery → Google Places: searches listings
README.md - Places discovery → Lead normalization: returns place results
src/discover/index.ts - Lead normalization → Lead database: stores leads
src/discover/index.ts - Pipeline CLI → Website audit: runs audits
src/cli.ts - Website audit → Site checks: checks HTML
src/audit/index.ts - Website audit → Browser screenshots: renders screenshots
src/audit/index.ts - Website audit → PageSpeed Insights: requests mobile scores
README.md - Website audit → Lead database: reads audit candidates
src/audit/index.ts - Pipeline CLI → Company matching: matches entities
src/cli.ts - Company matching → Companies House: checks company records
README.md - Pipeline CLI → Opportunity scoring: scores leads
src/cli.ts - Opportunity scoring → Lead database: saves scores
src/score/score.ts - Pipeline CLI → Shortlist and packs: creates shortlists
README.md - Pipeline CLI → Lead pitch packs: builds lead packs
README.md - Pipeline CLI → Lead leaderboard: refreshes rankings
src/cli.ts - Lead leaderboard → Lead database: reads lead records
src/report/leaderboard.ts - Pipeline CLI → Lead status tracking: updates lead status
src/cli.ts - Lead status tracking → Lead database: persists status
src/crm/status.ts - Weekly run loop → Website audit: runs audits
src/loop/week.ts - Weekly run loop → Company matching: matches entities
src/loop/week.ts - Weekly run loop → Opportunity scoring: scores leads
src/loop/week.ts - Weekly run loop → Lead leaderboard: refreshes rankings
src/loop/week.ts - Studio operator → Business-site starter: builds manually
README.md