@sellable/mcp 0.1.155 → 0.1.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,14 +51,15 @@ currentStep: "signal-discovery" })` before sampling so the watched Signal
51
51
  visible headline/display-name cues only. Do not enrich people during
52
52
  viability estimation.
53
53
  7. Compute capacity before recommending the source: source target good-fit
54
- leads (default 150 for Signal Discovery unless the parent supplies a target),
55
- reachable engagers,
56
- sampled ICP-fit rate as `n/N` plus an easy percentage/range, expected usable
57
- leads per 100 engagers before and after a conservative dedupe/cleanup
58
- factor, required engagers to scrape (`source target / fit rate`), average
59
- reachable engagers per right-content post, expected usable leads per
60
- right-content post after dedupe/cleanup, posts needed to hit the target, and
61
- whether sampled/projected fit clears the 10% planning floor.
54
+ leads (default 300 for Signal Discovery unless the parent supplies a target),
55
+ reachable engagers, sampled headline-fit rate as `n/N` plus an easy
56
+ percentage/range, expected headline-fit prospects per 100 engagers, required
57
+ engagers to scrape (`source target / sampled headline-fit rate`), average
58
+ reachable engagers per right-content post, expected headline-fit prospects
59
+ per right-content post, posts needed to hit the target, and whether
60
+ sampled/projected headline-fit rate clears the 10% planning floor. Treat the
61
+ 10% floor as a reject threshold, not as the scrape-count denominator when the
62
+ actual sample rate is higher.
62
63
  8. Select/promote enough right-content posts to plausibly hit the target. If the
63
64
  warm Signals pool is useful but too small, return the expected warm range and
64
65
  recommend Sales Nav/Prospeo for scale instead of padding with noisy posts.
@@ -72,12 +73,12 @@ Return a concise structured result with:
72
73
  - `selected_posts` with URL/title, author/topic, age, engager count, sampled engagers, good fits as n/N, estimated usable prospects per post, use/discard
73
74
  - `sample_leads`, if any
74
75
  - `approval_math` with eligible posts, source target good-fit leads, sampled
75
- engagers, ICP-fit rate as `n/N` plus percentage/range, good-fit prospects per
76
- 100 engagers, required engagers to scrape, average reachable engagers per
77
- post, expected usable prospects per post after cleanup, posts needed for
78
- target, whether the 10% planning floor clears after cleanup, selected post
79
- count, internal campaign-table execution-slice size, expected usable lead range, and scale
80
- fallback
76
+ engagers, headline-fit rate as `n/N` plus percentage/range, headline-fit
77
+ prospects per 100 engagers, required engagers to scrape, average reachable
78
+ engagers per post, expected headline-fit prospects per post, posts needed for
79
+ target, whether the 10% planning floor clears, selected post count, internal
80
+ campaign-table execution-slice size, expected headline-fit lead range, and
81
+ scale fallback
81
82
  - `estimated_good_fit_range`
82
83
  - `message_context_strength`, directional and source-specific
83
84
  - `false_positive_patterns`
@@ -93,14 +94,18 @@ Evidence standards:
93
94
  GTM/outbound/buyer pain, workflow, or role context that makes the campaign
94
95
  relevant.
95
96
  - Do not make the user infer capacity. Say, plainly, how many eligible posts
96
- exist, how many sampled engagers looked in-ICP, how many good-fit prospects
97
- that implies per 100 engagers, how many usable prospects one right-content
98
- post should yield after cleanup, how many engagers must be scraped for the
99
- 300-good-fit source target at the 20% working assumption, how many posts are
100
- needed for that source target, and which posts you would use. Also say the
101
- source list is copied into the campaign and only the first campaign-table
102
- execution slice is processed internally for filter and message setup.
97
+ exist, how many sampled engagers passed the headline ICP rubric, what
98
+ headline-fit rate that implies per 100 engagers, how many headline-fit
99
+ prospects one right-content post should yield, how many engagers must be
100
+ scraped for the 300 headline-fit source target using the sampled pass rate
101
+ (or the 20% working assumption only when there is no stronger sample), how
102
+ many posts are needed for that source target, and which posts you would use.
103
+ Also say the source list is copied into the campaign and only the first
104
+ campaign-table execution slice is processed internally for filter and message
105
+ setup.
103
106
  - If `fetch_post_engagers` is unavailable or fails, report that explicitly and mark the estimate lower-confidence.
104
- - Keep LinkedIn Engagement viable when selected posts can produce roughly 300+ ICP-fit warm prospects before final filtering, even if Sales Nav is more scalable.
105
- - If sampled/projected fit after cleanup is below 10%, reject the Signals scrape
106
- path and recommend Sales Nav recent activity as the next source.
107
+ - Keep LinkedIn Engagement viable when selected posts can produce roughly 300+
108
+ headline-fit warm prospects before final filtering, even if Sales Nav is more
109
+ scalable.
110
+ - If sampled/projected headline-fit rate is below 10%, reject the Signals
111
+ scrape path and recommend Sales Nav recent activity as the next source.
@@ -777,10 +777,10 @@ function buildSignalDiscoverySourceRecommendation({ selectedPosts, }) {
777
777
 
778
778
  Use Signal Discovery first.
779
779
 
780
- **Goal:** ~${targetGoodFitLeads.toLocaleString("en-US")} good-fit prospects after cleanup, enrichment, and filters<br>
781
- **Working assumption:** ~${Math.round(defaultFitRate * 100)}% of raw post engagers become good-fit prospects<br>
780
+ **Goal:** ~${targetGoodFitLeads.toLocaleString("en-US")} headline-fit prospects that pass the Signal Discovery headline criteria<br>
781
+ **Working assumption:** ~${Math.round(defaultFitRate * 100)}% of raw post engagers pass headline filtering unless a real sample supports a different rate<br>
782
782
  **Engagers needed:** ~${sourceCandidateTarget.toLocaleString("en-US")} raw engagers<br>
783
- **Planning floor:** continue with Signal Discovery only when sampled/projected fit is at least ${Math.round(minPlanningFitRate * 100)}% after cleanup; below that, switch to Sales Nav recent activity<br>
783
+ **Planning floor:** continue with Signal Discovery only when sampled/projected headline-fit rate is at least ${Math.round(minPlanningFitRate * 100)}%; below that, switch to Sales Nav recent activity<br>
784
784
  **Review checkpoint:** copy the confirmed source list into the campaign, then process the first ${reviewBatchSize.toLocaleString("en-US")} leads for fit and message review before scaling
785
785
 
786
786
  ### Selected posts
@@ -790,17 +790,17 @@ Use Signal Discovery first.
790
790
  ${tableRows || "| Selected posts | Campaign-matched public engagement | - |"}
791
791
 
792
792
  **Total visible pool:** ${formatApproxInteger(totalEngagement)} engagers<br>
793
- **Estimated good-fit pool at ${Math.round(defaultFitRate * 100)}%:** ${formatApproxInteger(estimatedGoodFit)} prospects before dedupe/risk cleanup
793
+ **Estimated headline-fit pool at ${Math.round(defaultFitRate * 100)}%:** ${formatApproxInteger(estimatedGoodFit)} prospects before enrichment and deeper fit review
794
794
 
795
795
  ### Recommendation
796
796
 
797
797
  Approve scraping these ${selectedCount} posts.
798
798
 
799
- This gives enough volume to target ~${targetGoodFitLeads.toLocaleString("en-US")} good-fit prospects after cleanup, while keeping the source tied to people already engaging with the campaign's strongest public buying signals.
799
+ This gives enough volume to target ~${targetGoodFitLeads.toLocaleString("en-US")} headline-fit prospects, while keeping the source tied to people already engaging with the campaign's strongest public buying signals.
800
800
 
801
801
  **First pass:** build the source list, copy it into the campaign, then use the first ${reviewBatchSize.toLocaleString("en-US")} campaign rows as the internal setup slice for filters and messages before scaling.
802
802
 
803
- **Fallback:** if the sampled/projected fit rate is below ${Math.round(minPlanningFitRate * 100)}%, or if the source sample is too vendor-heavy, agency-heavy, or off-ICP, switch to Sales Nav recent activity.
803
+ **Fallback:** if the sampled/projected headline-fit rate is below ${Math.round(minPlanningFitRate * 100)}%, or if the source sample is too vendor-heavy, agency-heavy, or off-ICP, switch to Sales Nav recent activity.
804
804
 
805
805
  Approval card should say:
806
806
 
@@ -1390,7 +1390,7 @@ export const leadToolDefinitions = [
1390
1390
  },
1391
1391
  targetEngagerCount: {
1392
1392
  type: "number",
1393
- description: "Signal Discovery: target number of post engagers/source candidates to scrape. Default planning target is about 300 good fits at a 20% raw-engager fit assumption, or about 1500 engagers. If the sampled/projected fit rate is below the 10% planning floor after cleanup, switch to the next provider instead of scaling noisy engagers. Limits selected posts before starting scrape, with a backend hard cap of 10 posts.",
1393
+ description: "Signal Discovery: target number of post engagers/source candidates to scrape. Default planning target is about 300 headline-fit prospects at a 20% raw-engager headline-pass assumption, or about 1500 engagers. Use real sample math when available: target headline-fit prospects divided by sampled headline-pass rate. If the sampled/projected headline-fit rate is below the 10% planning floor, switch to the next provider instead of scaling noisy engagers. Limits selected posts before starting scrape, with a backend hard cap of 10 posts.",
1394
1394
  },
1395
1395
  maxPostsToScrape: {
1396
1396
  type: "number",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.155",
3
+ "version": "0.1.156",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -185,22 +185,26 @@ For Signal Discovery, the customer-facing approval card must use the exact
185
185
  action shape "Approve scraping N Signal Discovery posts?" and the chat summary
186
186
  should be a compact `## Source Recommendation` block with:
187
187
 
188
- - goal: about 300 good-fit prospects after cleanup, enrichment, and filters
189
- - source-candidate plan: about 1,500 raw engagers using a 20% working fit-rate
190
- assumption unless sampled data supports a different number
188
+ - goal: about 300 headline-fit prospects that pass the Signal Discovery
189
+ headline criteria for now
190
+ - source-candidate plan: use sample math first: target headline-fit prospects
191
+ divided by sampled headline-pass rate. If there is no stronger sample, use
192
+ about 1,500 raw engagers from the 20% working headline-pass assumption.
191
193
  - planning floor: continue with Signal Discovery only when sampled/projected
192
- fit is at least 10% after cleanup; below that, move to Sales Nav recent
193
- activity instead of scraping noisy engagers
194
+ headline-fit rate is at least 10%; below that, move to Sales Nav recent
195
+ activity instead of scraping noisy engagers. Do not use the 10% floor as the
196
+ scrape-count denominator when the actual sample rate is higher.
194
197
  - campaign setup checkpoint: after the source list exists, copy confirmed source rows
195
198
  into the campaign and internally process the first execution slice for fit and message setup
196
199
  - a selected-post table with post author/topic, why it fits, and visible
197
200
  engagement
198
- - total visible pool and estimated good-fit pool
201
+ - total visible pool and estimated headline-fit pool
199
202
  - first pass: build the source list and copy all confirmed source rows into the
200
203
  campaign; the campaign table then internally processes its first execution
201
204
  slice before scaling
202
- - fallback: switch to Sales Nav recent activity if sampled/projected fit falls
203
- below 10%, or if the source sample is vendor-heavy, agency-heavy, or off-ICP
205
+ - fallback: switch to Sales Nav recent activity if sampled/projected
206
+ headline-fit rate falls below 10%, or if the source sample is vendor-heavy,
207
+ agency-heavy, or off-ICP
204
208
 
205
209
  When the user has not supplied a source and multiple source angles are viable,
206
210
  scout those angles as independent branches when the host can actually do it:
@@ -213,10 +213,10 @@ selected posts exist:
213
213
 
214
214
  Use Signal Discovery first.
215
215
 
216
- **Goal:** ~300 good-fit prospects after cleanup, enrichment, and filters<br>
217
- **Working assumption:** ~20% of raw post engagers become good-fit prospects<br>
216
+ **Goal:** ~300 headline-fit prospects that pass the Signal Discovery headline criteria<br>
217
+ **Working assumption:** ~20% of raw post engagers pass headline filtering unless a real sample supports a different rate<br>
218
218
  **Engagers needed:** ~1,500 raw engagers<br>
219
- **Planning floor:** continue only when sampled/projected fit is at least 10% after cleanup; below that, switch to Sales Nav recent activity<br>
219
+ **Planning floor:** continue only when sampled/projected headline-fit rate is at least 10%; below that, switch to Sales Nav recent activity<br>
220
220
  **Campaign setup checkpoint:** after the source list exists, copy the entire confirmed source list into the campaign and internally process only the first execution slice for filter and message setup<br>
221
221
 
222
222
  ### Selected posts
@@ -107,7 +107,7 @@ import_leads({
107
107
  campaignOfferId,
108
108
  targetLeadCount: <sourceCandidateTarget from approved good-fit math>,
109
109
  // Signal Discovery only:
110
- targetEngagerCount: <ceil(targetGoodFitLeads / sampledFitRateAfterCleanup)>,
110
+ targetEngagerCount: <ceil(targetHeadlineFitProspects / sampledHeadlinePassRate)>,
111
111
  maxPostsToScrape: <postsNeeded from approved math>
112
112
  })
113
113
  ```
@@ -124,14 +124,15 @@ escalation logic so dedup ratios are visible.
124
124
 
125
125
  For Signal Discovery, do not scrape every currently selected/promoted sample
126
126
  post by default. Before `import_leads`, reconcile selected posts with the
127
- approved source math. The default good-fit target is 300 and the planning
128
- fit-rate assumption is 20%, so the default source-candidate plan is about 1,500
129
- raw engagers. If the sampled fit rate is stronger or weaker, use the sampled
130
- rate with a conservative cleanup factor, cap the source candidates at the
131
- approved provider limit, and select only enough posts to reach that engager
132
- count. The planning floor is 10% projected fit after cleanup; if Signal
133
- Discovery falls below that floor during the pre-scrape sample, revise the source
134
- plan before importing. After an approved scrape starts, do not discard a nonempty
127
+ approved source math. The default headline-fit target is 300 and the planning
128
+ headline-pass assumption is 20%, so the default source-candidate plan is about
129
+ 1,500 raw engagers. If the sampled headline-fit rate is stronger or weaker, use
130
+ that sampled rate for `ceil(targetHeadlineFitProspects / sampledHeadlinePassRate)`,
131
+ cap the source candidates at the approved provider limit, and select only
132
+ enough posts to reach that engager count. The planning floor is 10% projected
133
+ headline-fit rate; if Signal Discovery falls below that floor during the
134
+ pre-scrape sample, revise the source plan before importing. After an approved
135
+ scrape starts, do not discard a nonempty
135
136
  completed source list just because it lands below the source-candidate target:
136
137
  confirm/copy the completed list for campaign setup, then add more posts
137
138
  or switch provider if the source quality or scale is not enough. The subsequent
@@ -24,10 +24,12 @@ When the user asks to find posts or start searching, **IMMEDIATELY begin Round 1
24
24
 
25
25
  <lead_target>
26
26
 
27
- - **Default create-campaign target: ~300 good-fit prospects after cleanup,
28
- enrichment, and fit filtering.**
29
- - **Working assumption when no stronger sample exists: ~20% of raw post
30
- engagers become good-fit prospects, so plan around ~1,500 raw engagers.**
27
+ - **Default create-campaign target: ~300 headline-fit prospects that pass the
28
+ Signal Discovery headline criteria for now.**
29
+ - **Use sample math first: required raw engagers =
30
+ `ceil(targetHeadlineFitProspects / sampledHeadlinePassRate)`. When no
31
+ stronger sample exists, assume ~20% of raw post engagers pass headline
32
+ filtering, so plan around ~1,500 raw engagers.**
31
33
  - Provider/import caps are internal execution limits, not customer-facing
32
34
  promises. Do not tell the user the internal provider cap.
33
35
  - Quality > Quantity: a few hundred active users > 1000 potentially inactive profiles
@@ -112,23 +114,24 @@ You must estimate:
112
114
  - `passRate`
113
115
  - sampled pass rate used for extrapolation
114
116
  - `goodFitPer100Engagers`
115
- - normalized fit rate as good-fit prospects per 100 engagers, before and
116
- after a conservative dedupe/cleanup factor
117
+ - normalized headline-pass rate as headline-fit prospects per 100 engagers
117
118
  - `avgReachableEngagersPerPost`
118
119
  - average reachable engagers per right-content post used for capacity math
119
120
  - `goodFitProspectsPerPost`
120
- - expected good-fit prospects per right-content post after dedupe/cleanup
121
+ - expected headline-fit prospects per right-content post
121
122
  - `postsNeededForTarget`
122
123
  - number of right-content posts needed to reach the target good-fit lead
123
124
  count, defaulting to 300 for Signal Discovery unless the campaign says
124
125
  otherwise
125
126
  - `requiredEngagersToScrape`
126
- - `ceil(targetGoodFitLeads / sampledFitRate)`; for example the default
127
- planning assumption of 20 good-fit prospects per 100 engagers means a
128
- 300-good-fit source target needs about 1,500 raw engagers scraped
127
+ - `ceil(targetHeadlineFitProspects / sampledHeadlinePassRate)`; for example
128
+ a 35/60 sample is ~58%, so a 300 headline-fit target needs about 515 raw
129
+ engagers before adding a practical coverage buffer, not 3,000. The 10%
130
+ floor is a viability reject threshold, not the denominator when the sample
131
+ rate is higher.
129
132
  - `planningFloor`
130
- - minimum acceptable sampled/projected fit rate after conservative cleanup;
131
- default 10%. Below this, do not scale Signal Discovery.
133
+ - minimum acceptable sampled/projected headline-fit rate; default 10%.
134
+ Below this, do not scale Signal Discovery.
132
135
  - `projectedRange`
133
136
  - the conservative range implied by the observed sample
134
137
 
@@ -152,10 +155,10 @@ Use conservative logic:
152
155
  - stale posts
153
156
  - adjacent communities that are not actual buyers
154
157
  4. Explain the pass-through briefly and explicitly:
155
- - preferred: "`sampledCount`: 40, `passCount`: 9, `passRate`: ~22%, `goodFitPer100Engagers`: ~22 before cleanup / ~13-16 after cleanup, `requiredEngagersToScrape`: ~1,875-2,300 for a 300-good-fit target after cleanup, `avgReachableEngagersPerPost`: 240, `goodFitProspectsPerPost`: ~31-38, `postsNeededForTarget`: ~8-10, `recentStrongPostCount`: 15-25, `freshEnoughPostCount`: 8-12, `projectedRange`: 300-380 from selected posts"
158
+ - preferred: "`sampledCount`: 40, `passCount`: 9, `passRate`: ~22%, `goodFitPer100Engagers`: ~22 headline-fit prospects, `requiredEngagersToScrape`: ~1,365 raw engagers for a 300 headline-fit target before a practical coverage buffer, `avgReachableEngagersPerPost`: 240, `goodFitProspectsPerPost`: ~53, `postsNeededForTarget`: ~6, `recentStrongPostCount`: 15-25, `freshEnoughPostCount`: 8-12, `projectedRange`: 300-380 from selected posts"
156
159
  - fallback: "I could not fetch engagers, so this is inferred from post and author quality only"
157
160
  5. If the evidence is too weak, say so and return a low-confidence estimate instead of pretending precision.
158
- 6. If sampled/projected fit after cleanup is below the 10% planning floor,
161
+ 6. If sampled/projected headline-fit rate is below the 10% planning floor,
159
162
  reject the Signal Discovery scrape path and recommend Sales Nav recent
160
163
  activity as the next source.
161
164
  7. Do not manually enumerate dozens of engagers in the final answer. Summarize the sample by `sampledCount`, `passCount`, `passRate`, `projectedRange`, and 3-6 representative examples.
@@ -411,20 +414,21 @@ recommendation, estimate source capacity from real sample math:
411
414
  campaign says otherwise)
412
415
  - eligible right-content posts by lane/content type
413
416
  - reachable engagers from those posts
414
- - sampled ICP-fit rate as `n/N` plus an easy percentage/range
415
- - good-fit prospects per 100 engagers before and after conservative cleanup
416
- - required engagers to scrape for the source target
417
+ - sampled headline-fit rate as `n/N` plus an easy percentage/range
418
+ - headline-fit prospects per 100 engagers
419
+ - required engagers to scrape for the source target using the sampled
420
+ headline-fit rate
417
421
  - average reachable engagers per right-content post
418
- - expected good-fit leads per selected post after dedupe/cleanup
422
+ - expected headline-fit leads per selected post
419
423
  - posts needed to reach the target
420
- - whether sampled/projected fit clears the 10% planning floor
424
+ - whether sampled/projected headline-fit rate clears the 10% planning floor
421
425
 
422
426
  Then select the smallest right-content post set that plausibly hits the source
423
427
  target. Do not scrape every promoted sample post by default; promoted sampling
424
428
  state and final scrape plan are separate. If the math says the warm post lane
425
429
  only supports a smaller first batch, say that and name the Sales Nav or Prospeo
426
430
  scale fallback rather than padding the selection with noisy posts. If the
427
- sampled/projected fit rate is below 10% after cleanup, do not call
431
+ sampled/projected headline-fit rate is below 10%, do not call
428
432
  `import_leads`; move to Sales Nav recent activity.
429
433
 
430
434
  ```json