Repository navigation
Conversation
The pipeline researches candidates one at a time, and most of that time is spent waiting on other people's websites. This helper runs work a few at a time, keeps results in input order, and on a failure starts nothing new and waits for what already started, so a caller can mark a run failed knowing nothing is still writing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Finding prospects spent about 5s per company reading websites one company at a time. Measured on 15 real sites, reading five at once took 74.8s down to 14.4s with identical dossiers and pages on all 15. Each company's own site is still read one page at a time, so no site sees more load. The limit is a new optional enrichConcurrency port that defaults to one, so fixture runs are unchanged. The worker's durable job schedules its own steps and does not use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
5 tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a screen Every switch between Prospects screens remounted the screen and refetched from a skeleton, and the server rebuilt the whole segment each time. useResource gains an opt-in keepAcrossMounts: the last result per key is kept for the page load, shown immediately, and refreshed in the background. Turned on for the Prospects screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Companies list becomes a directory of cards, like Clay or Apollo, with the table one toggle away (kept in the URL). Each card shows the picture the company's own homepage declares, its location and domain, why it fits, fit, stage and people. - The page reader picks up a page's share image (og:image, twitter:image) and icon (apple-touch-icon, icon) from its <head>: https only, resolved against the page, never guessed paths. - Research stores them on the company from the first own-site page it reads, with no extra request. Migration: partner_orgs.image_url, icon_url. - A picture that fails to load falls back to the icon, then to initials, so a card never shows a broken image; images load lazily with no referrer. The table gains the icon beside each name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scenarios read the 12 best-fit prospects of the whole workspace, with no way to choose and no way back. Now: - Prospects gains Simulate: on Companies (the segment, or the companies selected) and on a company page. It opens the Scenarios form prefilled with the situation and aimed at those prospects. - The Scenarios form has a Which prospects picker (a segment, or the companies picked in Prospects); the run stores prospectSegmentId and prospectIds and reads only those. - Each prospect source links to its company page in Growth › Prospects. - Source options list the segments that have companies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…client Anyone with an access key (read scope) can ask for real companies like the buyers they describe, in the place they name, without opening Prospects: offering, buyers and place in; up to 15 companies out, best first, each with website, address, location, relevance and the fit check's reason. - server/prospects/similar.ts runs the same pieces as a keyless run: the place through OpenStreetMap's geocoder, place kinds chosen by meaning, OpenStreetMap places (plus Exa's company index when configured), matched by meaning, then checked by the workspace's model for type and location. Synchronous (about 20s live) and stores nothing. - Runs inside the MCP route's model scope; rate limited to 20 calls an hour per person and workspace; annotated open-world, since it reads public sources. - Tests: the service with stubbed sources and a deterministic embedder; the registry and annotation checks know the new tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pictures are optional on CompanyRow, as the card already treats them; the tool's result is a plain record for MCP's structured content; an Exa hit without a name keeps its homepage title; the test's embedder is its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each Find companies run now fills in pictures for companies still missing one (homepage share image, else its icon, else /favicon.ico), rechecking a site at most weekly. A backfill (2026-11-prospect-pictures) does the same for companies found before pictures existed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
find_similar_companies takes several places, exclusions, the seller (so competitors are told from buyers) and a quick/thorough depth; thorough reads each homepage for what it does and its pictures. It answers within about a minute and says in warnings what it had to skip. Exa is asked for each kind of buyer, not the offering, so it stops returning sellers. list_prospects reads the workspace's saved segments and companies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Growth Prospects: cards with pictures, faster switching, Scenarios link, MCP tools
Resolves #587's conflicts with main. Both sides kept in the MCP tool list, backfills and Scenarios (main's new layout and v2 runs, with the segment/company prospect picks passed through to v2). The partner-org pictures migration is regenerated on top of main's newest migration (same three columns), so the drizzle snapshot chain stays linear. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI's migrations-apply builds the schema from migrations and from the TypeScript tables and diffs them. ADD COLUMN appends, so image_url, icon_url and pictures_checked_at come after updated_at; they were declared before it. Order only: no migration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The trigger's *:data-[slot=select-value] classes compile to a rule on the trigger's own data-slot, so they never reach the value span and a long name ran ~157px past the box. Target the child directly ([&>[data-slot=select-value]]): it now ends in an ellipsis with the full name as the title, and long names wrap in the open list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves #587's conflicts with main (16 new commits): - Prospects for every workspace (#646): the Scenarios prospects source, segment list and picker drop the beta gate like main, and keep the segment / company picks (now passed to v2 runs). - Keyless runs keep reading five companies at once alongside main's place pool (#654); run.ts keeps the pictures, pool and redaction imports (#657). - The partner-org pictures migration is regenerated after main's newest migration (same three columns, still last in the table). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 of 10 tasks
Collaborator
Author
|
Combined into #632, which contains every commit from this branch ( 🤖 Generated with Claude Code |
rafchen
added a commit
that referenced
this pull request
Nov 30, 2026
Growth Prospects: faster search, Clay-style cards, Find companies like this, Scenarios link, MCP (includes #587)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enrichConcurrencyport and a smallmapInPoolhelper. Each company's own site is still read one page at a time, so no site sees more load.Related
None.
Checklist
pnpm checkpasses (lint + typecheck): not run; only thepipelinestypecheck was runpnpm --filter @launchstack/web testpasses: not run; only thepipelinesdistribution tests were runpackages/*orpipelines/changed —pnpm changeset).env.exampleandapps/web/src/env.ts: N/A, no new env varsTesting
npx vitest run src/distributioninpipelines: 14 files, 127 tests pass. New tests cover the concurrency limit, result order, stopping, and failure handling.npx tsc --noEmit -p tsconfig.jsoninpipelines: clean.Prettier check on the changed code files: clean.
Timing on 15 real sites from a cafe segment in Baltimore, using the real page profiler with database writes stubbed:
The five-at-once pass ran second, so warm caches may flatter it slightly. It also used a throwaway script's pool rather than
mapInPool.Not tested: a full run through the app (Docker and the database were down), so model calls, database writes and publishing to Sources weren't timed or exercised under concurrency.
Notes for reviewers
runDistributionPipelineuses the new limit, and it defaults to 1. Only keyless ports set it (to 5). The Inngest job keeps its own loop, so keyless runs on the worker don't get faster yet. Parallel steps there would also be held back by its concurrency limit of 2 per company.publishDossiercan now run concurrently, but it was off in my environment becauseFILE_ACCESS_TOKEN_SECRETwas unset, so this is untested./over-onson US sites.