@sellable/mcp 0.1.408 → 0.1.409
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.
- package/dist/index-dev.js +0 -0
- package/dist/index.js +0 -0
- package/dist/tools/prompts.js +1 -1
- package/package.json +1 -1
- package/skills/create-campaign/SKILL.md +6 -19
- package/skills/create-campaign-v2/references/ai-tells.md +6 -0
- package/skills/create-campaign-v2/references/gold-standard-message-examples.md +34 -7
- package/skills/create-campaign-v2/references/gold-standard-message-patterns.md +11 -1
- package/skills/create-campaign-v2/references/sellable-cleanup-rules.md +1 -1
- package/skills/create-evergreen-campaigns/SKILL.md +387 -33
- package/skills/generate-messages/SKILL.md +94 -33
- package/skills/refill-sends/SKILL.md +4 -55
- package/skills/refill-sends-workflow/SKILL.md +13 -225
|
@@ -228,12 +228,16 @@ must choose a signal-led, event-led, job-post-led, or proof-led motion from the
|
|
|
228
228
|
current brief and row evidence instead of inheriting a preset first-message
|
|
229
229
|
template.
|
|
230
230
|
Post-engager first messages should thank the prospect for the support on the
|
|
231
|
-
sender-owned post
|
|
232
|
-
|
|
231
|
+
sender-owned post and then stop. Do not add a relevance question, CTA, product
|
|
232
|
+
line, meeting ask, or extra paragraph after the thank-you opener unless the
|
|
233
|
+
operator explicitly asks for a longer first message. Prefer the gold shape
|
|
234
|
+
`Thanks for the support on my post about {{post_topic_line}}` over
|
|
233
235
|
surveillance-flavored wording like `saw you pop up`, unless the sender explicitly
|
|
234
236
|
asks for that older wording.
|
|
235
237
|
Short form: use the CXConnect Post-Engager Warm Reply-Rate Pattern only when the source is sender-owned Post Engagers.
|
|
236
238
|
Short form: Never use that warm post-engager pattern for Shared Signal Discovery or Shared Cold Fallback.
|
|
239
|
+
Short form: Post-engager warm first messages stop after the thank-you line.
|
|
240
|
+
Short form: Do not add `curious`, `open to`, `trying to`, product copy, or a CTA after the post-engager thank-you line.
|
|
237
241
|
|
|
238
242
|
### Shared Cold Fallback quality bar
|
|
239
243
|
|
|
@@ -245,6 +249,12 @@ must read like final create-campaign/generate-messages output.
|
|
|
245
249
|
- Ask one clear buyer problem question.
|
|
246
250
|
- Keep the product line minimal and buyer-readable; do not turn the note into a
|
|
247
251
|
product-stack dump.
|
|
252
|
+
- Do not describe Sellable as a process checklist such as "campaign idea into
|
|
253
|
+
prospects, filters, messages, and sequence setup"; that reads like internal
|
|
254
|
+
product plumbing, not a buyer reason to reply.
|
|
255
|
+
- Do not use awkward product-process nouns in reviewed cold samples:
|
|
256
|
+
`sequence-prospects`, `dashboard overhead`, `campaign map`, `send-ready copy`,
|
|
257
|
+
`reviewed prospect lists`, or "one campaign would look like" as a default CTA.
|
|
248
258
|
- Use no self-intro such as "We're building" or "We're working on a way" in the
|
|
249
259
|
reviewed samples.
|
|
250
260
|
- Use no opt-out shrug such as "If this isn't relevant, ignore me."
|
|
@@ -252,6 +262,39 @@ must read like final create-campaign/generate-messages output.
|
|
|
252
262
|
samples. If two samples would still read the same after replacing names and
|
|
253
263
|
companies, revise or rerun.
|
|
254
264
|
|
|
265
|
+
### Shared Evergreen Signal Discovery hard gate
|
|
266
|
+
|
|
267
|
+
For Shared Signal Discovery and other shared evergreen lanes, signal-led copy
|
|
268
|
+
must be safer than the legacy weak-signal examples. These lanes are reused by
|
|
269
|
+
multiple senders, so the first line cannot sound like a scraped-activity excuse
|
|
270
|
+
or a founder self-intro.
|
|
271
|
+
|
|
272
|
+
- `hope this is relevant`, `might be interested`, and `saw you in a few conversations` are blocked openers for shared evergreen lanes.
|
|
273
|
+
- do not write first-person singular founder language such as `I'm building`,
|
|
274
|
+
`I've mapped`, `my company`, or `my team` unless exactly one sender can
|
|
275
|
+
credibly say it and the lane is not shared.
|
|
276
|
+
- Do not put internal workflow vocabulary in buyer-facing copy: `Codex`, `MCP`,
|
|
277
|
+
`Claude-style agent workflows`, `agent workflows`, `workflow table`, `lead
|
|
278
|
+
source`, or `signal discovery`.
|
|
279
|
+
- Do not use `Claude`, `Codex`, `MCP`, `agent`, `dashboard`, `workflow`,
|
|
280
|
+
`source`, `sequence`, `send-ready copy`, or `reviewed prospect list` as
|
|
281
|
+
buyer-facing explanation in shared evergreen samples unless the buyer's own
|
|
282
|
+
company/product category uses that exact word and the line still sounds human.
|
|
283
|
+
- Write a concrete signal/problem bridge instead of a relevance hedge. Good
|
|
284
|
+
shapes are `the AI-assisted GTM conversations keep coming back to [buyer
|
|
285
|
+
problem]`, `teams trying to turn LinkedIn signal into pipeline usually hit
|
|
286
|
+
[problem]`, or `when [observable business moment] is live, [buyer workflow]
|
|
287
|
+
gets harder to run consistently`.
|
|
288
|
+
- If the row evidence is too weak to write a concrete bridge, omit the source
|
|
289
|
+
line and start from a buyer problem, event, role, or company observation.
|
|
290
|
+
- Shared evergreen lanes must pass this gate before `confirmed`, before saving a
|
|
291
|
+
reusable template, and before any route-proof approval.
|
|
292
|
+
|
|
293
|
+
Short form: shared evergreen copy cannot use `hope this is relevant`.
|
|
294
|
+
Short form: shared evergreen copy cannot use `might be interested`.
|
|
295
|
+
Short form: shared evergreen copy cannot use `I'm building`.
|
|
296
|
+
Short form: write a concrete signal/problem bridge instead of a relevance hedge.
|
|
297
|
+
|
|
255
298
|
### Rich Personalization Contract
|
|
256
299
|
|
|
257
300
|
The `create-campaign` asset `references/ai-native-tokens.md` is the canonical
|
|
@@ -269,12 +312,15 @@ conditional good/bad fill reference.
|
|
|
269
312
|
- Use this shape for any hook, bridge, or row-specific relevance line:
|
|
270
313
|
`[PERSONALIZATION_LINE — Intent: write one short sentence that anchors the
|
|
271
314
|
note to why this might matter now. DO: connect one observable role/company/
|
|
272
|
-
activity signal to the buyer problem or offer with
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
315
|
+
activity signal to the buyer problem or offer with a permissioned bridge. For
|
|
316
|
+
shared evergreen lanes, do not use `hope this is relevant`, `might be
|
|
317
|
+
interested`, or `saw you in a few conversations`; use a concrete
|
|
318
|
+
signal/problem bridge instead. For non-evergreen weak-signal campaigns only,
|
|
319
|
+
legacy low-certainty language like "hope this is relevant if..." or "so may be
|
|
320
|
+
off, but this seemed relevant" can be considered when the source is otherwise
|
|
321
|
+
awkward. DON'T: recap their resume, list companies, compliment their
|
|
322
|
+
background, name a product their company sells, use source-citation phrasing, or
|
|
323
|
+
use generic nouns like "your work".
|
|
278
324
|
FALLBACK: if unsupported, omit the entire line.]`
|
|
279
325
|
- The rendered personalization line should usually be 6-14 words. If it needs
|
|
280
326
|
two clauses, multiple companies, or abstract tags like `GTM`, `international
|
|
@@ -433,9 +479,9 @@ artifact.**
|
|
|
433
479
|
|
|
434
480
|
Safer shapes:
|
|
435
481
|
|
|
436
|
-
- `hope this is relevant if {{signal_topic}} is part of the plan`
|
|
437
|
-
- `saw you might be interested in {{signal_topic}}, so hope this is relevant`
|
|
438
|
-
- `saw you in a few conversations around {{signal_topic}}, so hope this is relevant`
|
|
482
|
+
- `hope this is relevant if {{signal_topic}} is part of the plan` for non-evergreen weak-signal campaigns only
|
|
483
|
+
- `saw you might be interested in {{signal_topic}}, so hope this is relevant` for non-evergreen weak-signal campaigns only
|
|
484
|
+
- `saw you in a few conversations around {{signal_topic}}, so hope this is relevant` for non-evergreen weak-signal campaigns only
|
|
439
485
|
- `saw you in a few conversations about {{signal_topic}}, so may be off, but this seemed relevant`
|
|
440
486
|
- `appreciate you showing some love on my post about {{signal_topic}}` only when the sender/client authored the source post and the row proves a reaction or comment
|
|
441
487
|
- `thanks for showing support on my {{signal_topic}} post` only when the sender/client authored the source post and the row proves a reaction or comment
|
|
@@ -499,20 +545,22 @@ artifact.**
|
|
|
499
545
|
magnet replies, or scraped conversations), it is acceptable to reference the
|
|
500
546
|
conversation when it explains why the note exists. Keep it topic-level, not
|
|
501
547
|
activity-log-level: `saw you in a few conversations around
|
|
502
|
-
{{signal_topic}}, so hope this is relevant` is acceptable
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
548
|
+
{{signal_topic}}, so hope this is relevant` is acceptable only for
|
|
549
|
+
non-evergreen weak-signal campaigns; it is blocked for Shared Evergreen
|
|
550
|
+
Signal Discovery. `saw you commented on {{post_context}}` and `your LinkedIn
|
|
551
|
+
activity around...` are not acceptable. Reserve `raise your hand` phrasing
|
|
552
|
+
for explicit lead-magnet comments, replies, or opt-ins. For ordinary shared
|
|
553
|
+
evergreen thread discovery, either translate the topic into a concrete
|
|
554
|
+
buyer/problem bridge or omit the source line.
|
|
508
555
|
|
|
509
556
|
Keep the apologetic nature, but aim it at uncertainty, not surveillance.
|
|
510
|
-
Good: `saw you in a few
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
because it asserts fit from a
|
|
557
|
+
Good for non-evergreen weak-signal campaigns: `saw you in a few
|
|
558
|
+
conversations about outbound, so may be off, but this seemed relevant`, `may
|
|
559
|
+
be off, but if outbound is relevant to what you're working on...`, or `hope
|
|
560
|
+
this is relevant if...`. For shared evergreen lanes, these hedges are not
|
|
561
|
+
enough; use a concrete signal/problem bridge or omit the source line. Bad:
|
|
562
|
+
`your role at {{company}} looked close...`, because it asserts fit from a
|
|
563
|
+
title and tells the buyer about themselves.
|
|
516
564
|
|
|
517
565
|
Block wordier source narration such as `you might not remember the thread,
|
|
518
566
|
but I found you through a {{signal_topic}} discussion and your
|
|
@@ -1509,7 +1557,10 @@ Before `confirmed`, run the selected winner against these gates:
|
|
|
1509
1557
|
the lead sample. If desire is inferred, use tentative framing like
|
|
1510
1558
|
`hope this is relevant if...`, `saw you might be interested in...`,
|
|
1511
1559
|
`saw you in a few conversations around...`, `figured this might matter if...`,
|
|
1512
|
-
or `if you've ever wanted...`.
|
|
1560
|
+
or `if you've ever wanted...`. Exception: for Shared Signal Discovery and
|
|
1561
|
+
other shared evergreen lanes, `hope this is relevant`, `might be interested`,
|
|
1562
|
+
and `saw you in a few conversations` are blocked; use a concrete
|
|
1563
|
+
signal/problem bridge or omit the source line.
|
|
1513
1564
|
- **Buyer-first opener:** after the greeting, the first substantive line
|
|
1514
1565
|
should usually enter the buyer's world: a real signal, current-state
|
|
1515
1566
|
pain, buyer-owned priority, or useful artifact. Sender-origin can come
|
|
@@ -1810,8 +1861,11 @@ about`, or `clearly relevant` are BLOCKED. Source-y phrases such as
|
|
|
1810
1861
|
`saw you might be interested in [topic], so hope this is relevant`, `saw you
|
|
1811
1862
|
in a few conversations around [topic], so hope this is relevant`, `found you
|
|
1812
1863
|
in a few conversations about [topic], so may be off, but this seemed
|
|
1813
|
-
relevant`, `figured this might matter if [workflow] is live at [company]`, or
|
|
1814
|
-
line.
|
|
1864
|
+
relevant`, `figured this might matter if [workflow] is live at [company]`, or
|
|
1865
|
+
a similarly natural line. For shared evergreen lanes, skip the `hope this is
|
|
1866
|
+
relevant` / `might be interested` / `saw you in a few conversations` versions
|
|
1867
|
+
and use the concrete bridge version. Longer source-recap forms such as `you
|
|
1868
|
+
might not remember the thread,
|
|
1815
1869
|
but I found you through a [topic] discussion...` are BLOCKED; they narrate
|
|
1816
1870
|
the scrape path instead of creating buyer relevance.
|
|
1817
1871
|
- **Engagement reference is opt-in, not the default opener:** do not
|
|
@@ -1956,9 +2010,9 @@ matters to the buyer, why this might be relevant, or the operator-reality that
|
|
|
1956
2010
|
led to it. Acceptable openers:
|
|
1957
2011
|
|
|
1958
2012
|
- `Hey {{first_name}}, [one plain sentence about what we built].`
|
|
1959
|
-
- `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.`
|
|
1960
|
-
- `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.`
|
|
1961
|
-
- `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.`
|
|
2013
|
+
- `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.` Not for shared evergreen lanes.
|
|
2014
|
+
- `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.` Not for shared evergreen lanes.
|
|
2015
|
+
- `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.` Not for shared evergreen lanes.
|
|
1962
2016
|
- `Hey {{first_name}}, found you in a thread about [topic], so may be off, but this seemed relevant.`
|
|
1963
2017
|
- `Hey {{first_name}}, saw you raise your hand for [topic], so figured this was (hopefully) worth sending.` Only use this for explicit lead-magnet comments, replies, or opt-ins.
|
|
1964
2018
|
- `Hey {{first_name}}, saw you raise your hand for [topic] (creepy to reach out based on that, i know) - but this felt too on the nose to ignore.` Only use this for explicit lead-magnet comments, replies, or opt-ins.
|
|
@@ -2219,9 +2273,9 @@ Rules:
|
|
|
2219
2273
|
- if `lead-sample.json` carries **any** per-lead signal for this lead — a recent post, a recent hire, a visible tool in the headline, a topic engagement, a public initiative — the **message must reference it specifically**. Category-level copy is rejected.
|
|
2220
2274
|
- default placement is **Block 3**, not Block 1. Keep Block 1 substance-first unless the archived motion clearly earns a signal-led opener without falling into source-citation / talk-at phrasing.
|
|
2221
2275
|
- acceptable signal use by default:
|
|
2222
|
-
- `"Hope this is relevant if [topic] is part of the plan."`
|
|
2223
|
-
- `"Saw you might be interested in [topic], so hope this is relevant."`
|
|
2224
|
-
- `"Saw you in a few conversations around [topic], so hope this is relevant."`
|
|
2276
|
+
- `"Hope this is relevant if [topic] is part of the plan."` Non-evergreen weak-signal only; blocked for shared evergreen lanes.
|
|
2277
|
+
- `"Saw you might be interested in [topic], so hope this is relevant."` Non-evergreen weak-signal only; blocked for shared evergreen lanes.
|
|
2278
|
+
- `"Saw you in a few conversations around [topic], so hope this is relevant."` Non-evergreen weak-signal only; blocked for shared evergreen lanes.
|
|
2225
2279
|
- `"Saw you in a few conversations about [topic], so may be off, but this seemed relevant."`
|
|
2226
2280
|
- `"Found you in a thread about [topic], so may be off, but this seemed relevant."`
|
|
2227
2281
|
- `"Thought of {{company}} because [observable signal] points at [problem]."`
|
|
@@ -2239,6 +2293,11 @@ Rules:
|
|
|
2239
2293
|
- `"Saw you raise your hand for [topic], so figured this was worth sending."`
|
|
2240
2294
|
- `"Figured this was worth sending."`
|
|
2241
2295
|
- signal-led opener shape is a **special case**, not the default. Use it only when the archived motion truly depends on it and the line can stay natural. For LinkedIn-post-sourced campaigns, prefer `"saw you in a few conversations around [topic], so hope this is relevant"` or `"found you in a thread about [topic], so may be off, but this seemed relevant"` when referencing the source makes the outreach feel less random. Avoid activity-log phrasing such as `"you commented on..."`, `"you reacted to..."`, or `"your LinkedIn activity..."` unless the approved motion is the deliberately self-aware raise-hand line for an explicit lead-magnet comment, reply, or opt-in.
|
|
2296
|
+
- For Shared Evergreen Signal Discovery, do not use the weak signal-led opener
|
|
2297
|
+
shapes above. Translate the source into a concrete problem bridge, e.g.
|
|
2298
|
+
`"The AI-assisted GTM conversations keep coming back to one problem: turning
|
|
2299
|
+
good LinkedIn signal into review-ready pipeline without another dashboard."`
|
|
2300
|
+
Then connect the product in buyer language.
|
|
2242
2301
|
- tokenized engagement-source opener shape is BLOCKED by default:
|
|
2243
2302
|
`{{first_name}}, saw you {{engagement_context}} on {{post_context}}` reads
|
|
2244
2303
|
like surveillance unless the filled line is explicitly self-aware and
|
|
@@ -2247,7 +2306,9 @@ Rules:
|
|
|
2247
2306
|
this is relevant`, `saw you in a few conversations around [topic], so hope this
|
|
2248
2307
|
is relevant`, `saw you in a few conversations about [topic], so may be off,
|
|
2249
2308
|
but this seemed relevant`, or `found you in a thread about [topic], so may be
|
|
2250
|
-
off, but this seemed relevant`.
|
|
2309
|
+
off, but this seemed relevant`. For shared evergreen lanes, those weak signal
|
|
2310
|
+
bridges are blocked; use a concrete signal/problem bridge instead. Use the
|
|
2311
|
+
self-aware raise-hand shapes only when
|
|
2251
2312
|
the source was an explicit lead-magnet comment, reply, or opt-in: `saw you raise
|
|
2252
2313
|
your hand for [topic], so figured this was (hopefully) worth sending` or `saw you
|
|
2253
2314
|
raise your hand for [topic] (creepy to reach out based on that, i know) - but
|
|
@@ -5,9 +5,6 @@ visibility: public
|
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- mcp__sellable__get_subskill_prompt
|
|
7
7
|
- mcp__sellable__search_subskill_prompts
|
|
8
|
-
- mcp__sellable__list_senders
|
|
9
|
-
- mcp__sellable__get_sender_routing
|
|
10
|
-
- mcp__sellable__get_campaign_waterfall
|
|
11
8
|
- mcp__sellable__resolve_campaign_fill_route
|
|
12
9
|
- mcp__sellable__get_campaign_refill_state
|
|
13
10
|
- mcp__sellable__fill_campaign_horizon
|
|
@@ -38,7 +35,6 @@ allowed-tools:
|
|
|
38
35
|
- mcp__sellable__get_table_rows
|
|
39
36
|
- mcp__sellable__get_campaign_table_schema
|
|
40
37
|
- mcp__sellable__select_campaign_cells
|
|
41
|
-
- mcp__sellable__queue_campaign_cells
|
|
42
38
|
- mcp__sellable__wait_for_campaign_processing
|
|
43
39
|
- mcp__sellable__get_sender
|
|
44
40
|
---
|
|
@@ -48,11 +44,6 @@ allowed-tools:
|
|
|
48
44
|
Use this public wrapper for plain operator requests such as "fill", "refill sends",
|
|
49
45
|
"max out sends", "load everyone up", or "fill horizon sends".
|
|
50
46
|
|
|
51
|
-
Treat "refill senders", "fill senders", "load everyone up", and "max out
|
|
52
|
-
senders" as sender-scoped requests. The target set is senders enrolled in active
|
|
53
|
-
campaign-backed sequence campaigns, not the first active campaign returned by a
|
|
54
|
-
resolver.
|
|
55
|
-
|
|
56
47
|
Load the internal workflow prompt before taking any operational step:
|
|
57
48
|
|
|
58
49
|
```text
|
|
@@ -60,52 +51,10 @@ get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
|
60
51
|
```
|
|
61
52
|
|
|
62
53
|
Then follow that workflow exactly. The default path is read-only research:
|
|
63
|
-
resolve the route,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
approval mode, expected side effects, and stop/rollback condition.
|
|
68
|
-
|
|
69
|
-
For interactive Codex or Claude Code sessions, that approval must use the
|
|
70
|
-
host-native structured question gate, not plain chat:
|
|
71
|
-
|
|
72
|
-
- Codex: use `request_user_input`.
|
|
73
|
-
- Claude Code: use `AskUserQuestion`.
|
|
74
|
-
|
|
75
|
-
The approval question must present the final refill step with exactly two
|
|
76
|
-
choices: `Accept` and `Decline`. The question body must include the operator
|
|
77
|
-
output packet: workspace, sender scope, a campaign-by-campaign table with
|
|
78
|
-
campaign name, sender names, action, target count/cap, source/list, and
|
|
79
|
-
blocker/skip reason, then exact ids, expected side effects, forbidden actions,
|
|
80
|
-
and the stop condition. Treat `Accept` as permission for only the rendered
|
|
81
|
-
target, caps, mode, and side effects. Treat `Decline` as a hard stop with no
|
|
82
|
-
mutation.
|
|
83
|
-
|
|
84
|
-
If Christian includes `--yolo` in the same refill request, treat that flag as
|
|
85
|
-
auto-accept for the rendered bounded refill packet after the required fresh state
|
|
86
|
-
reread. For sender-scoped language with no named senders, `--yolo` means all
|
|
87
|
-
eligible healthy senders enrolled in active campaign-backed sequence campaigns in
|
|
88
|
-
the active workspace. Without `--yolo`, if Christian did not name senders, ask
|
|
89
|
-
which eligible enrolled senders to refill before choosing campaigns or mutating.
|
|
90
|
-
|
|
91
|
-
`--yolo` only covers the exact sender set, per-sender target campaigns, caps,
|
|
92
|
-
approval mode, and side effects in the packet. It does not authorize
|
|
93
|
-
launch/start, sending, archive or delete cleanup, direct scheduler writes, sender
|
|
94
|
-
reassignment, or campaigns outside those selected for the eligible sender set.
|
|
95
|
-
Stop and re-plan if the route, sender set, ids, caps, blockers, or side-effect
|
|
96
|
-
class drift before mutation.
|
|
97
|
-
|
|
98
|
-
In `--yolo`, the default two-day fill horizon is two send days. For each target
|
|
99
|
-
sender, compute the bounded gap from that sender's healthy daily capacity,
|
|
100
|
-
existing future scheduler-owned scheduled sends, and rows already ready to
|
|
101
|
-
schedule across active campaigns enrolled with that sender. Then pick the best
|
|
102
|
-
same-sender campaign to fill the gap: prefer recent/future scheduler-owned sends
|
|
103
|
-
for that sender, then strongest recent result evidence, then source health. Do
|
|
104
|
-
not stop after filling only one sender when the request was sender-scoped. If a
|
|
105
|
-
same-source copy hits the campaign-table row cap, split the current source into
|
|
106
|
-
a bounded LinkedIn profile source list, confirm only that smaller list into the
|
|
107
|
-
same campaign, and operate on the copied review batch. Do not fall back to
|
|
108
|
-
on-demand campaigns or unrelated active-campaign fills.
|
|
54
|
+
resolve the route, read target refill state, report the next safe step, and stop
|
|
55
|
+
before mutation unless the user has explicitly approved the exact workspace,
|
|
56
|
+
campaign/table/source ids, caps/dates, approval mode, expected side effects,
|
|
57
|
+
and stop/rollback condition.
|
|
109
58
|
|
|
110
59
|
Public concepts are regular campaign and evergreen campaign. Internal direct
|
|
111
60
|
campaign types are unsupported refill targets. `fill_campaign_horizon` is only a
|
|
@@ -3,9 +3,6 @@ name: refill-sends-workflow
|
|
|
3
3
|
description: Internal skill-led refill sends workflow for regular campaigns and evergreen campaigns.
|
|
4
4
|
visibility: internal
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- mcp__sellable__list_senders
|
|
7
|
-
- mcp__sellable__get_sender_routing
|
|
8
|
-
- mcp__sellable__get_campaign_waterfall
|
|
9
6
|
- mcp__sellable__resolve_campaign_fill_route
|
|
10
7
|
- mcp__sellable__get_campaign_refill_state
|
|
11
8
|
- mcp__sellable__fill_campaign_horizon
|
|
@@ -36,7 +33,6 @@ allowed-tools:
|
|
|
36
33
|
- mcp__sellable__get_table_rows
|
|
37
34
|
- mcp__sellable__get_campaign_table_schema
|
|
38
35
|
- mcp__sellable__select_campaign_cells
|
|
39
|
-
- mcp__sellable__queue_campaign_cells
|
|
40
36
|
- mcp__sellable__wait_for_campaign_processing
|
|
41
37
|
- mcp__sellable__get_sender
|
|
42
38
|
---
|
|
@@ -52,45 +48,15 @@ prep, readiness, and evergreen primitives.
|
|
|
52
48
|
Plain phrases that enter here include "fill", "refill sends", "max out sends",
|
|
53
49
|
"load everyone up", and "fill horizon sends".
|
|
54
50
|
|
|
55
|
-
Sender-scoped phrases include "refill senders", "fill senders", "max out
|
|
56
|
-
senders", and "load everyone up". A sender-scoped request targets senders
|
|
57
|
-
enrolled in active campaign-backed sequence campaigns, not one arbitrary active
|
|
58
|
-
campaign.
|
|
59
|
-
|
|
60
51
|
1. Call `resolve_campaign_fill_route` first. Use `intent:"plain"` for generic
|
|
61
52
|
fill/load language, `intent:"active"` only when the user explicitly narrowed
|
|
62
53
|
to active regular campaigns, and `intent:"evergreen"` only when the user
|
|
63
54
|
explicitly asked for evergreen or horizon work.
|
|
64
|
-
2.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
- in `--yolo`, target all eligible healthy senders enrolled in active
|
|
70
|
-
campaign-backed sequence campaigns returned by the route/state evidence;
|
|
71
|
-
- outside `--yolo`, ask which eligible enrolled senders to refill before
|
|
72
|
-
choosing campaigns or mutating.
|
|
73
|
-
If the request is campaign-scoped or ambiguous "fill sends" language, infer
|
|
74
|
-
the relevant senders from the most recent scheduler-owned sends in
|
|
75
|
-
refill-state readbacks and report that inference.
|
|
76
|
-
Short form: `--yolo refill senders` means all eligible enrolled senders; non-yolo asks which enrolled senders.
|
|
77
|
-
3. Read `get_campaign_refill_state` for candidate campaigns from the resolver
|
|
78
|
-
result. For a broad `active_campaigns` route, inspect enough candidates to
|
|
79
|
-
identify the campaign or small campaign set that most recently had
|
|
80
|
-
scheduler-owned sends for the relevant sender set. Do not stop after the
|
|
81
|
-
first resolver target unless it is also the most recent sender-relevant send
|
|
82
|
-
lane.
|
|
83
|
-
Short form: Do not stop after the first resolver target unless recent-send evidence supports it.
|
|
84
|
-
In `--yolo` sender-scoped mode, selecting every active campaign is still a
|
|
85
|
-
scope error, but selecting one best refill campaign per eligible sender is
|
|
86
|
-
expected. Pick the single highest-ranked recent-send or best-result campaign
|
|
87
|
-
for each target sender unless the refill-state evidence proves that a sender
|
|
88
|
-
already has enough ready/scheduled rows across enrolled campaigns or that a
|
|
89
|
-
different same-sender campaign is needed because the best lane is blocked.
|
|
90
|
-
Short form: `--yolo refill senders` selects all eligible enrolled senders, then the best campaign per sender.
|
|
91
|
-
4. Pick exact ids from the selected refill-state response. Do not use campaign
|
|
92
|
-
names or table names as target identifiers for tool calls.
|
|
93
|
-
5. Classify the target from refill state:
|
|
55
|
+
2. Pick exact ids from the resolver result. Do not use campaign names or table
|
|
56
|
+
names as target identifiers.
|
|
57
|
+
3. Call `get_campaign_refill_state` for the selected `campaignId` or `tableId`.
|
|
58
|
+
This must be the next target-specific research primitive.
|
|
59
|
+
4. Classify the target from refill state:
|
|
94
60
|
- regular campaign: campaign-backed workflow table with normal source,
|
|
95
61
|
sequence, senders, and send/refill stages.
|
|
96
62
|
- evergreen campaign: managed always-on lane with current source evidence.
|
|
@@ -111,10 +77,7 @@ Use the refill-state response as the current facts receipt:
|
|
|
111
77
|
approved, ready to schedule, scheduled;
|
|
112
78
|
- active message prep job;
|
|
113
79
|
- scheduler-owned scheduled counts by date/action from cells with non-null
|
|
114
|
-
`scheduledFor`;
|
|
115
|
-
- latest scheduled send date, latest scheduled-cell update when present,
|
|
116
|
-
sender overlap with the requested or inferred sender set, and whether future
|
|
117
|
-
scheduled sends already exist;
|
|
80
|
+
`scheduledFor`;
|
|
118
81
|
- `freshness.stateHash` and exact campaign/table/workspace ids.
|
|
119
82
|
|
|
120
83
|
Empty or unsafe states stop with the blocker: no fillable target, missing or deleted campaign,
|
|
@@ -126,76 +89,9 @@ scheduler, or unsupported direct campaign type.
|
|
|
126
89
|
|
|
127
90
|
For regular campaign workspaces, rank regular campaigns from route and
|
|
128
91
|
`get_campaign_refill_state` evidence. Choose the best existing refill target.
|
|
129
|
-
The default campaign-scoped refill interpretation is "continue the campaign that
|
|
130
|
-
was actually sending most recently for the relevant available senders", not
|
|
131
|
-
"touch every active campaign". The default sender-scoped refill interpretation is
|
|
132
|
-
"fill every eligible target sender from the best enrolled active campaign for
|
|
133
|
-
that sender", not "fill only the first/best campaign globally".
|
|
134
|
-
|
|
135
|
-
Default `--yolo` horizon is two send days when the user asks to fill, refill,
|
|
136
|
-
load, or max sends without naming a different horizon. Send days are sender-local
|
|
137
|
-
days with configured sending hours; do not treat weekends or other no-send-hour
|
|
138
|
-
days as fillable capacity. If the user explicitly names a no-send calendar date,
|
|
139
|
-
report that date as unschedulable and continue only for the next valid send day
|
|
140
|
-
when the packet says "send days" or the user asked to max/refill senders broadly.
|
|
141
|
-
|
|
142
|
-
For campaign-scoped requests, compute the target from the selected campaign's
|
|
143
|
-
healthy sender daily capacity for the next two send days, minus already
|
|
144
|
-
scheduler-owned future scheduled sends for those days and minus rows already
|
|
145
|
-
ready to schedule. For sender-scoped requests, compute that gap per target sender
|
|
146
|
-
across all active enrolled campaigns for that sender; count future scheduled
|
|
147
|
-
cells and ready-to-schedule cells in any active enrolled campaign toward that
|
|
148
|
-
sender's gap before preparing more rows. If ready/scheduled rows already cover a
|
|
149
|
-
sender's gap, do not add rows or prep for that sender; report that the sender is
|
|
150
|
-
loaded and awaiting the scheduler. If the gap is positive, prepare only the gap
|
|
151
|
-
in the best same-sender campaign and keep all source-copy/prep caps tied to that
|
|
152
|
-
two-day packet.
|
|
153
|
-
Short form: default `--yolo refill senders` target is each eligible sender's two-send-day gap.
|
|
154
|
-
|
|
155
|
-
Rank candidates in this order:
|
|
156
|
-
|
|
157
|
-
1. **Sender match**: campaigns whose healthy sender ids match the user-named
|
|
158
|
-
senders, or the inferred sender set when the user said only "fill sends" or
|
|
159
|
-
"load senders". Do not include campaigns merely because they are active when
|
|
160
|
-
their sender set is unrelated.
|
|
161
|
-
2. **Recent sends**: campaigns with the newest scheduler-owned scheduled counts
|
|
162
|
-
and non-null `scheduledFor` cells for those senders. Future scheduled sends
|
|
163
|
-
are stronger continuation evidence than old historical sends; otherwise use
|
|
164
|
-
the latest scheduled send date / newest scheduled-cell update from refill
|
|
165
|
-
state.
|
|
166
|
-
3. **Continuation capacity**: campaigns with healthy senders, remaining daily
|
|
167
|
-
capacity, and a gap between current ready-to-schedule rows and the desired
|
|
168
|
-
sender capacity.
|
|
169
|
-
4. **Same-campaign source health**: prefer campaigns whose current source has
|
|
170
|
-
enough `sourceAvailable` inventory to prepare the gap. If source inventory
|
|
171
|
-
is low or exhausted, choose same-campaign row replenishment before switching
|
|
172
|
-
campaigns.
|
|
173
|
-
5. **Campaign scope**: keep the selected set small. For campaign-scoped
|
|
174
|
-
requests, normally choose one campaign. For sender-scoped requests, choose at
|
|
175
|
-
most one best campaign per target sender unless evidence shows one sender
|
|
176
|
-
needs multiple same-sender campaigns because the first is blocked or already
|
|
177
|
-
loaded.
|
|
178
|
-
|
|
179
92
|
Do not create side campaigns, warm-post-engager side campaigns, on-demand campaigns,
|
|
180
93
|
or unrelated campaigns as the default answer to a fill request.
|
|
181
94
|
|
|
182
|
-
For each selected campaign, decide the next action by the smallest sufficient
|
|
183
|
-
step:
|
|
184
|
-
|
|
185
|
-
- **Enrich/prep more rows in the same campaign** when sender health is good,
|
|
186
|
-
recent sends point to this campaign, and `sourceAvailable` can cover the
|
|
187
|
-
ready-to-schedule gap.
|
|
188
|
-
- **Add/import more rows to the same campaign/source path** when the campaign is
|
|
189
|
-
the right recent-send lane but source inventory or viable rows cannot cover
|
|
190
|
-
the gap.
|
|
191
|
-
- **Use a different existing campaign** only when the recent-send/best-result
|
|
192
|
-
campaign for that sender is blocked, archived, missing sequence/source/senders,
|
|
193
|
-
disconnected, exhausted with no viable same-campaign replenishment path,
|
|
194
|
-
already loaded while the sender still has a gap, or the user explicitly asks
|
|
195
|
-
to move to another campaign.
|
|
196
|
-
- **Ask what to create** only after resolver/state evidence shows there is no
|
|
197
|
-
suitable existing campaign for the requested sender set.
|
|
198
|
-
|
|
199
95
|
When the best regular campaign is source-exhausted, recommend same-campaign source-ladder replenishment.
|
|
200
96
|
Keep `selectedLeadListId` source identity distinct
|
|
201
97
|
from the campaign `workflowTableId`.
|
|
@@ -213,30 +109,6 @@ Source replenishment choices:
|
|
|
213
109
|
source prospects into the same campaign/source-list path, then confirm
|
|
214
110
|
readiness.
|
|
215
111
|
|
|
216
|
-
When reusing an existing source list on an already-large campaign, handle the
|
|
217
|
-
campaign-table row cap automatically in `--yolo` mode. If `confirm_lead_list`
|
|
218
|
-
fails with `USER_ADDED_ROWS_LIMIT_EXCEEDED`, parse `remainingRows`,
|
|
219
|
-
`currentRows`, `requestedRows`, and `maxRows`; do not stop just because the full
|
|
220
|
-
source list is too large. Instead, create a bounded same-source split:
|
|
221
|
-
|
|
222
|
-
1. choose a split size no larger than `remainingRows`, the two-day refill row
|
|
223
|
-
budget, and the first-pass processing cap unless the packet named a higher
|
|
224
|
-
cap;
|
|
225
|
-
2. read compact rows from the current `selectedLeadListId` with
|
|
226
|
-
`get_rows_minimal`;
|
|
227
|
-
3. create a temporary bounded LinkedIn profile source list with
|
|
228
|
-
`load_csv_linkedin_leads`, preserving useful source columns such as post URL,
|
|
229
|
-
post author, engagement type/text, keyword, confidence, and why;
|
|
230
|
-
4. call `confirm_lead_list` with that bounded source-list id, the same campaign
|
|
231
|
-
id, and `currentStep:"running"` for ACTIVE campaigns;
|
|
232
|
-
5. verify the campaign table row count and review batch with
|
|
233
|
-
`get_campaign_table_schema` before any prep/approval.
|
|
234
|
-
|
|
235
|
-
Do not use `add_on_demand_leads` or create an on-demand table as the automatic
|
|
236
|
-
regular-campaign fallback. The fallback must stay same-campaign and
|
|
237
|
-
source-list-backed.
|
|
238
|
-
Short form: row-cap fallback means bounded same-source split, not stop or on-demand.
|
|
239
|
-
|
|
240
112
|
### Running Campaign Signal Discovery Recovery
|
|
241
113
|
|
|
242
114
|
For an already-running regular campaign that needs same-campaign Signal
|
|
@@ -274,10 +146,10 @@ returns to Running after same-campaign source rows are copied. Do not call
|
|
|
274
146
|
post-copy state transition.
|
|
275
147
|
|
|
276
148
|
Before any source mutation, show exact approval evidence: workspace id,
|
|
277
|
-
campaign
|
|
278
|
-
|
|
279
|
-
Then reread `get_campaign_refill_state`; if
|
|
280
|
-
changed, stop and ask for a fresh approval.
|
|
149
|
+
campaign id, workflow table id, source/provider id, source-list id when known,
|
|
150
|
+
import caps, target dates/caps, dedupe/DNC/provider exclusion expectations, and
|
|
151
|
+
expected row side effects. Then reread `get_campaign_refill_state`; if
|
|
152
|
+
`freshness.stateHash` or exact ids changed, stop and ask for a fresh approval.
|
|
281
153
|
|
|
282
154
|
After source import, call `wait_for_lead_list_ready` and `confirm_lead_list`
|
|
283
155
|
with the source-list id and campaign id. Imports append to the existing
|
|
@@ -307,87 +179,18 @@ Before prep or approval mutation, reread `get_campaign_refill_state` and compare
|
|
|
307
179
|
If they changed, stop. A second concurrent refill run must see the first run's
|
|
308
180
|
import/prep state on reread and avoid duplicate work.
|
|
309
181
|
|
|
310
|
-
After the final reread and before the first mutating refill primitive, render
|
|
311
|
-
one final approval packet in campaign-name-first language, then ask a
|
|
312
|
-
host-native structured question with exactly two choices: `Accept` and
|
|
313
|
-
`Decline`. The question is the execution boundary.
|
|
314
|
-
Short form: exactly two choices: `Accept` and `Decline`.
|
|
315
|
-
|
|
316
|
-
- In Codex interactive sessions, use `request_user_input`.
|
|
317
|
-
- In Claude Code interactive sessions, use `AskUserQuestion`.
|
|
318
|
-
- The question body must include this exact operator output packet shape before
|
|
319
|
-
the choices:
|
|
320
|
-
- workspace name/id and mode (`--yolo` or approval-required);
|
|
321
|
-
- sender scope, including selected sender names and skipped sender names with
|
|
322
|
-
health/enrollment reasons;
|
|
323
|
-
- a campaign-by-campaign plan table with campaign name, sender names, action,
|
|
324
|
-
target count/cap, source/list, and blocker/skip reason;
|
|
325
|
-
- exact workspace id, campaign id, workflow table id, source/action ids when
|
|
326
|
-
relevant, freshness/state hash, caps/dates, approval mode, and the next
|
|
327
|
-
MCP primitive to call;
|
|
328
|
-
- expected side effects, forbidden actions, and the stop/rollback condition.
|
|
329
|
-
- The `Accept` choice must name the exact campaign, workspace id, campaign id,
|
|
330
|
-
workflow table id, source/action ids when relevant, caps/dates, approval mode,
|
|
331
|
-
expected side effects, and stop/rollback condition.
|
|
332
|
-
- The `Decline` choice must stop with no mutation.
|
|
333
|
-
- Do not proceed from a plain chat "ok", "yes", "go", or "do it" when the
|
|
334
|
-
structured question tool is available. If the structured question tool is not
|
|
335
|
-
available in an interactive session, stop and tell the user the quick question
|
|
336
|
-
panel is required for refill approvals. In non-interactive exec/automation,
|
|
337
|
-
print the approval packet and stop before mutation.
|
|
338
|
-
|
|
339
|
-
`--yolo` mode is explicit auto-accept. If Christian includes `--yolo` in the
|
|
340
|
-
same refill request, do not ask the `Accept` / `Decline` question. Instead:
|
|
341
|
-
|
|
342
|
-
1. render the same final approval packet;
|
|
343
|
-
2. reread `get_campaign_refill_state`;
|
|
344
|
-
3. verify the route, workspace id, campaign id, table id, source/action ids,
|
|
345
|
-
caps/dates, approval mode, blockers, and side-effect class still match the
|
|
346
|
-
packet;
|
|
347
|
-
4. execute only the exact packet.
|
|
348
|
-
|
|
349
|
-
`--yolo` never authorizes launch/start, sending, archive/delete cleanup, raw
|
|
350
|
-
scheduler writes, sender reassignment, unrelated campaigns, extra senders beyond
|
|
351
|
-
the eligible sender set, or higher caps than the packet named. In sender-scoped
|
|
352
|
-
`--yolo`, a bounded packet containing all eligible enrolled senders and at most
|
|
353
|
-
one best campaign per sender is covered; arbitrary expanded campaign sets are
|
|
354
|
-
not. If any state or scope drifts, stop and re-plan instead of auto-accepting the
|
|
355
|
-
changed action.
|
|
356
|
-
Short form: all eligible enrolled senders are covered by sender-scoped `--yolo`; arbitrary expanded campaign sets are not.
|
|
357
|
-
Short form: direct scheduler writes are not covered by `--yolo`.
|
|
358
|
-
Short form: stop and re-plan instead of auto-accepting the changed action.
|
|
359
|
-
|
|
360
182
|
After same-campaign source copy, inspect the actual campaign-table position of
|
|
361
183
|
the copied rows before starting prep. Newly copied rows often land after the first 100 table rows. Use `get_campaign_table_schema` to read the `reviewBatch`,
|
|
362
184
|
then use `select_campaign_cells` diagnostics against
|
|
363
185
|
`rowSelector:{ type:"reviewBatch" }` for `enrich`, `generateMessage`, and
|
|
364
186
|
`approved` roles when needed.
|
|
365
187
|
|
|
366
|
-
For bounded split refills, operate on the review batch first. Queue
|
|
367
|
-
`queue_campaign_cells` for `columnRole:"enrich"` on
|
|
368
|
-
`rowSelector:{ type:"reviewBatch" }`, wait for campaign processing, then queue
|
|
369
|
-
`columnRole:"generateMessage"` for the same review batch or
|
|
370
|
-
`needsGeneratedMessage` rows. If the bounded packet explicitly uses
|
|
371
|
-
`approvalMode:"approve"` because the user asked to fill/schedule sends or
|
|
372
|
-
provided `--yolo` for a two-day send fill, approve only the bounded review-batch
|
|
373
|
-
cohort after current generated messages exist. Do not broad approve existing
|
|
374
|
-
table rows.
|
|
375
|
-
|
|
376
188
|
If review-batch enrich cells are pending or Generate Message cells are
|
|
377
189
|
dependency-blocked, omit `maxRowsToCheck` so the adaptive prep job can cover the
|
|
378
190
|
bounded table scan, or set a bounded cap high enough to include appended rows
|
|
379
191
|
when row count evidence requires it. Do not run a fixed `maxRowsToCheck:100` prep pass after appending rows to a larger existing campaign table; it can spend
|
|
380
192
|
the whole budget on older rows and miss the refill batch.
|
|
381
193
|
|
|
382
|
-
Bound `targetPreparedMessages` to the actual ready-to-schedule gap for the
|
|
383
|
-
selected campaign and sender set. In sender-scoped mode, compute and report the
|
|
384
|
-
gap per sender. If ready/scheduled rows across active enrolled campaigns already
|
|
385
|
-
cover a sender's gap, do not start prep for that sender; report that the sender
|
|
386
|
-
is already loaded and awaiting the scheduler. If source inventory is available
|
|
387
|
-
and the gap is small, prepare only the sender gap instead of filling every active
|
|
388
|
-
campaign.
|
|
389
|
-
Short form: prepare only the per-sender gap instead of filling every active campaign.
|
|
390
|
-
|
|
391
194
|
Scheduled success requires a post-action reread proving scheduler-owned cells
|
|
392
195
|
with non-null `scheduledFor`. Prepared, approved, and ready-to-schedule rows are
|
|
393
196
|
intermediate states; report them as awaiting scheduler unless scheduled cells
|
|
@@ -422,24 +225,9 @@ the current source or ask for more research instead of walking the ladder.
|
|
|
422
225
|
- No mutation in production unless Christian explicitly approves exact
|
|
423
226
|
workspace, campaign/table ids, source/action ids, caps/dates, approval mode,
|
|
424
227
|
expected side effects, and rollback/stop condition.
|
|
425
|
-
- In interactive Codex or Claude Code, that explicit approval must be collected
|
|
426
|
-
through the host-native `Accept` / `Decline` question gate.
|
|
427
|
-
- `--yolo` in the current refill request is explicit auto-accept for the
|
|
428
|
-
rendered bounded refill packet only; it does not loosen the launch/send,
|
|
429
|
-
scheduler-write, archive/delete, or drift rules above.
|
|
430
228
|
|
|
431
229
|
## Report
|
|
432
230
|
|
|
433
|
-
Report
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
- why they were selected, including last scheduled send date/future scheduled
|
|
437
|
-
send evidence and sender overlap;
|
|
438
|
-
- whether the smallest next step is enrich/prep more in that campaign, add rows
|
|
439
|
-
to that campaign/source, use a different existing campaign, or ask what to
|
|
440
|
-
create;
|
|
441
|
-
- source state, blockers, exact next primitive, approval required, and the
|
|
442
|
-
freshness hash used.
|
|
443
|
-
|
|
444
|
-
Keep ids visible but secondary: show them under "Exact target" or "Proof", not
|
|
445
|
-
as the main decision text. Say explicitly: nothing was launched and nothing was sent.
|
|
231
|
+
Report the selected target, target type, source state, blockers, exact next
|
|
232
|
+
primitive, approval required, and the freshness hash used. Say explicitly that
|
|
233
|
+
nothing was launched and nothing was sent.
|