@sellable/install 0.1.250 → 0.1.251
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/package.json
CHANGED
|
@@ -123,6 +123,7 @@ such as "fill campaigns", "fill up", "refill sends", "max out sends", or
|
|
|
123
123
|
```text
|
|
124
124
|
get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
125
125
|
resolve_campaign_fill_route({ intent:"plain" })
|
|
126
|
+
list_senders
|
|
126
127
|
get_campaign_refill_state
|
|
127
128
|
```
|
|
128
129
|
|
|
@@ -133,15 +134,27 @@ campaign refill. Route outcomes are `route:"evergreen_horizon"`,
|
|
|
133
134
|
returns `route:"ask_create"`, ask whether to create a normal campaign or
|
|
134
135
|
evergreen campaigns. Campaign creation is allowed only after this route and
|
|
135
136
|
explicit user selection; it is never the default response to plain fill. When
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
choosing among active targets, use refill-state scheduled-count evidence to
|
|
138
|
+
continue the campaign that most recently had scheduler-owned sends for the
|
|
139
|
+
relevant sender set; do not treat every active campaign as a refill candidate.
|
|
140
|
+
In `--yolo` fill/refill mode, default to one best recent-send campaign and a
|
|
141
|
+
two-send-day horizon: subtract future scheduler-owned scheduled sends and
|
|
142
|
+
ready-to-schedule rows from healthy sender daily capacity, then prepare only
|
|
143
|
+
that bounded gap.
|
|
144
|
+
When more leads are needed, the refill workflow must recommend same-campaign
|
|
145
|
+
source-ladder replenishment first; do not create warm-post-engager side
|
|
146
|
+
campaigns, on-demand campaigns, or unrelated campaigns. If same-source copy hits
|
|
147
|
+
`USER_ADDED_ROWS_LIMIT_EXCEEDED`, split the current source into a bounded
|
|
148
|
+
same-source LinkedIn profile list, confirm that smaller list into the same
|
|
149
|
+
campaign, and operate on the copied review batch first. Surface sender-health
|
|
150
|
+
blockers separately from prepared/approved/scheduled counts.
|
|
140
151
|
|
|
141
152
|
Treat active fills as capacity-fill preparation: calculate the bounded target
|
|
142
153
|
from sender capacity when needed, then use the refill workflow to decide source
|
|
143
|
-
replenishment, enrichment/prep, approval policy, and scheduler proof.
|
|
144
|
-
|
|
154
|
+
replenishment, enrichment/prep, approval policy, and scheduler proof. Present
|
|
155
|
+
operator decisions by campaign name and sender name first, with campaign/table
|
|
156
|
+
ids as proof only. Mutation requires exact visible approval and a fresh
|
|
157
|
+
`get_campaign_refill_state` reread.
|
|
145
158
|
For already-running regular campaigns that need Signal Discovery source
|
|
146
159
|
replenishment, the refill workflow owns the guarded recovery: clear
|
|
147
160
|
`currentStep` only with `clearCurrentStepIfMatches:"running"`, load the
|
|
@@ -14,33 +14,6 @@ producing duplicates. This skill never launches campaigns; customer-visible
|
|
|
14
14
|
completion stops at paused send review.
|
|
15
15
|
</role>
|
|
16
16
|
|
|
17
|
-
## Operational Fast Path
|
|
18
|
-
|
|
19
|
-
In automation or `--yolo` customer-visible setup, use this path before the
|
|
20
|
-
long-form contract below:
|
|
21
|
-
|
|
22
|
-
1. Resolve the active workspace and explicit sender scopes, then call
|
|
23
|
-
`setup_evergreen_campaigns({ mode:"plan", yolo:true, postEngagerSenderIds,
|
|
24
|
-
sharedSenderIds })`.
|
|
25
|
-
2. If the plan is not current, lacks lane packets, or has
|
|
26
|
-
`autoExecutable:false`, return the exact blocker before mutation.
|
|
27
|
-
3. Choose the worker runtime immediately. When running under Codex CLI or on VPS,
|
|
28
|
-
the local Codex CLI fallback is the default accepted runtime. Use visible
|
|
29
|
-
Codex app threads only when the callable thread tools are actually available.
|
|
30
|
-
If shell execution is unavailable and no visible/durable thread surface is
|
|
31
|
-
callable, return `blocked: missing_visible_or_durable_lane_worker_runtime`
|
|
32
|
-
before mutation.
|
|
33
|
-
4. Write one compact prompt file per selected lane packet, create the receipt
|
|
34
|
-
directory, and launch all lane workers in parallel with the literal Codex CLI
|
|
35
|
-
worker command shape below. The parent does not create campaign shells.
|
|
36
|
-
5. Collect fresh durable receipts, verify with the original planRevision and
|
|
37
|
-
selectedActionIds, then run the idempotency plan and show sample messages.
|
|
38
|
-
|
|
39
|
-
Do not keep reasoning, re-reading prompts, or restating this workflow instead of
|
|
40
|
-
dispatching workers. If the first worker cannot be launched after at most one
|
|
41
|
-
short planning pass, return `blocked: worker_dispatch_deadline_exceeded` before
|
|
42
|
-
directory setup or product mutation.
|
|
43
|
-
|
|
44
17
|
<inputs>
|
|
45
18
|
The invoking prompt names the senders ("create evergreen campaigns for csreyes92 and thomas"). Resolve each via `list_senders`.
|
|
46
19
|
|
|
@@ -85,22 +58,6 @@ Default evergreen plan per workspace (override only if the prompt specifies diff
|
|
|
85
58
|
1. **`<Sender Name> - Post Engagers`** — one per sender (warm lane, highest priority)
|
|
86
59
|
2. **`<Workspace/Team> - Shared Signal Discovery`** — one shared warm-signal campaign lane across senders
|
|
87
60
|
3. **`<Workspace/Team> - Shared Cold Fallback`** — one shared cold/fallback campaign lane across senders
|
|
88
|
-
|
|
89
|
-
Sender scope resolution is safety-critical. Do not pass
|
|
90
|
-
`allConnectedSenders:true` unless the invoking prompt explicitly says "all
|
|
91
|
-
connected senders", "every connected sender", "all seats", or names an
|
|
92
|
-
equivalent all-sender scope. If the user says "all 4 campaigns", "the four
|
|
93
|
-
evergreen campaigns", or names specific senders, resolve those exact senders
|
|
94
|
-
and pass explicit `postEngagerSenderIds` plus `sharedSenderIds`; do not broaden
|
|
95
|
-
the plan to every connected sender. In non-interactive or `--yolo` mode, when
|
|
96
|
-
more than two connected senders exist and the prompt does not explicitly
|
|
97
|
-
authorize all connected senders, stop before mutation with
|
|
98
|
-
`blocked: ambiguous_post_engager_sender_scope` and report the sender ids/names
|
|
99
|
-
needed for approval. Never let "workspace default" silently create Post
|
|
100
|
-
Engagers lanes for extra senders.
|
|
101
|
-
Short form: Do not pass `allConnectedSenders:true` unless the prompt explicitly says all/every connected sender.
|
|
102
|
-
Short form: "all 4 campaigns" means explicit sender scope plus two shared lanes, not all connected senders.
|
|
103
|
-
Short form: In `--yolo`, ambiguous multi-sender scope blocks before mutation.
|
|
104
61
|
</inputs>
|
|
105
62
|
|
|
106
63
|
<command_backed_workflow>
|
|
@@ -258,8 +215,7 @@ After bounded delegated approval or safe `--yolo`, fan out lane worker tasks
|
|
|
258
215
|
only from the current plan. Each worker receives the complete lane packet:
|
|
259
216
|
workspace id, sender ids, lane key/type, existing campaign/table binding or
|
|
260
217
|
create intent, source hints, caps, planRevision, actionId, allowed side effects,
|
|
261
|
-
postconditions, the
|
|
262
|
-
`sharedSenderIds`, and the packet's `workerDispatch` policy. Treat
|
|
218
|
+
postconditions, and the packet's `workerDispatch` policy. Treat
|
|
263
219
|
`workerDispatch.requiresVisibleThreadOrDurableReceipt:true` as a hard
|
|
264
220
|
execution boundary, not guidance. Read and preserve `workerDispatch.acceptedRuntimes`,
|
|
265
221
|
`workerDispatch.rejectedRuntimes`, and `workerDispatch.receiptArtifactHint`
|
|
@@ -278,15 +234,6 @@ parent packet, do not mutate and do not use it as `setupPlanCall` proof; stop
|
|
|
278
234
|
with `blocked: worker_plan_scope_drift` and ask the parent to re-plan.
|
|
279
235
|
Short form: If a worker-local plan omits `postEngagerSenderIds:[]`, do not use it as `setupPlanCall` proof.
|
|
280
236
|
Short form: stop with `blocked: worker_plan_scope_drift`.
|
|
281
|
-
Every worker prompt must include both parent scope arrays as explicit fields:
|
|
282
|
-
`Parent postEngagerSenderIds:` and `Parent sharedSenderIds:`. Workers must
|
|
283
|
-
preserve parent postEngagerSenderIds even for shared lanes. Never run a
|
|
284
|
-
shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent
|
|
285
|
-
`postEngagerSenderIds` is exactly `[]`. Every durable receipt must copy these
|
|
286
|
-
arrays to top-level `parentPostEngagerSenderIds` and `parentSharedSenderIds`
|
|
287
|
-
before completion.
|
|
288
|
-
Short form: Workers must preserve parent postEngagerSenderIds even for shared lanes.
|
|
289
|
-
Short form: Never run a shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent `postEngagerSenderIds` is exactly `[]`.
|
|
290
237
|
|
|
291
238
|
Worker fan-out must use visible or durable execution. Preferred in local Codex
|
|
292
239
|
is a visible Codex thread created with the actual Codex app thread tools:
|
|
@@ -317,73 +264,20 @@ CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
|
317
264
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
318
265
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
319
266
|
pass exactly one lane packet per worker.
|
|
320
|
-
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
321
|
-
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
322
|
-
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
323
|
-
zsh treats it as read-only; use `exit_code` or `rc` instead. Receipt polling
|
|
324
|
-
must use `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print` or an
|
|
325
|
-
explicit nullglob-safe equivalent. Do not use naked `*.json` globs under zsh,
|
|
326
|
-
and keep zero-receipt polls quiet with no `no matches found` diagnostics.
|
|
327
|
-
Do not embed `<<'WORKER_PROMPT'` heredocs inside a single quoted or double
|
|
328
|
-
quoted `/bin/bash -lc '...'` command string; nested quoting is brittle and can
|
|
329
|
-
truncate the first worker before mutation. For multi-worker launchers, write one
|
|
330
|
-
plain prompt file per lane under the current run directory, then start each
|
|
331
|
-
worker with `codex -a never -s danger-full-access exec -C "$REPO" -o
|
|
332
|
-
"$worker_final_file" - < "$worker_prompt_file"`. Keep launcher shell variables
|
|
333
|
-
double-quoted and keep the prompt heredoc only in a standalone script/prompt-file
|
|
334
|
-
write step, not inside an already quoted shell argument. If the first launcher
|
|
335
|
-
attempt exits with a shell parse error or before starting the first worker,
|
|
336
|
-
stop with `blocked: worker_launcher_quoting_failed` and do not retry by
|
|
337
|
-
loosening sender scope or mutating in the parent.
|
|
338
|
-
Short form: run the wrapper with `/bin/bash -lc`.
|
|
339
|
-
Short form: Do not rely on zsh-specific behavior.
|
|
340
|
-
Short form: Do not use `status` as a shell variable; use `exit_code` or `rc`.
|
|
341
|
-
Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print`.
|
|
342
|
-
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
343
|
-
Short form: Do not embed `<<'WORKER_PROMPT'` heredocs inside a quoted `/bin/bash -lc` command string.
|
|
344
|
-
Short form: Multi-worker launchers write prompt files and run `codex ... - < "$worker_prompt_file"`.
|
|
345
|
-
After the auto-executable plan returns, take at most one short planning pass to
|
|
346
|
-
choose the visible/durable worker runtime and build the worker launch packet.
|
|
347
|
-
Do not keep reasoning, re-reading prompts, or restating the workflow instead of
|
|
348
|
-
dispatching. If the parent cannot name the callable worker runtime and prepare
|
|
349
|
-
the first worker launch command/tool call immediately after that pass, stop with
|
|
350
|
-
`blocked: worker_dispatch_deadline_exceeded` before directory setup or mutation.
|
|
351
267
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
352
|
-
Before any campaign shell creation, the parent must dispatch every selected lane
|
|
353
|
-
worker from the current plan and record the visible thread id or
|
|
354
|
-
`receiptArtifactPath` for each selected actionId. The parent must not call
|
|
355
|
-
`create_campaign`, `import_leads`, `confirm_lead_list`, sequence tools, message
|
|
356
|
-
preparation tools, or `setup_evergreen_campaigns` with `mode:"apply"` or any
|
|
357
|
-
other mutating setup mode. In this wrapper, `setup_evergreen_campaigns` is
|
|
358
|
-
plan/verify authority only; customer-visible creation belongs inside lane
|
|
359
|
-
workers through `$sellable:create-campaign`. If a campaign/table id appears for
|
|
360
|
-
a create lane before that lane has a recorded worker runtime and fresh receipt
|
|
361
|
-
path/thread id, stop with `blocked: parent_mutated_before_worker_receipt` and
|
|
362
|
-
do not continue setup in the parent.
|
|
363
|
-
Short form: dispatch every selected lane worker before shell creation.
|
|
364
|
-
Short form: do not call `setup_evergreen_campaigns` with `mode:"apply"` from the parent.
|
|
365
268
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
366
|
-
original planRevision,
|
|
367
|
-
|
|
368
|
-
instruction to load packaged prompts through MCP.
|
|
269
|
+
original planRevision, receiptArtifactPath, workspace id, sender ids,
|
|
270
|
+
side-effect caps, and the instruction to load packaged prompts through MCP.
|
|
369
271
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
370
272
|
launch at least one visible/durable worker immediately after directory setup,
|
|
371
273
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
372
|
-
After launching workers, poll only the expected current-run receipt paths from
|
|
373
|
-
`workerDispatch.receiptArtifactHint`. If no worker receipt file appears within a
|
|
374
|
-
bounded wait, for example 10 minutes in automation, stop with
|
|
375
|
-
`blocked: worker_receipt_timeout`, include the worker ids/final-file paths/stderr
|
|
376
|
-
if available, and do not create or repair campaign shells in the parent.
|
|
377
274
|
Use only the repo-local `workerDispatch.receiptArtifactHint` returned by the
|
|
378
275
|
current lane packet for receipt paths.
|
|
379
276
|
Do not hardcode machine-specific paths, workspace ids, campaign ids, sender ids, or UAT/phase artifact paths in this MCP prompt or any worker prompt.
|
|
380
277
|
After the receipt-directory `mkdir`, the next shell/tool call must launch the first lane worker.
|
|
381
278
|
Do not run `find`, `ls`, extra inventory, or another preflight between directory setup and the first worker launch.
|
|
382
|
-
For the local Codex CLI fallback, use this literal durable CLI worker launch
|
|
383
|
-
|
|
384
|
-
launches you may pipe a heredoc directly to `codex`; for multi-worker shell
|
|
385
|
-
launchers, write the same prompt body to `<worker-prompt-file>` and launch the
|
|
386
|
-
worker with stdin redirected from that file:
|
|
279
|
+
For the local Codex CLI fallback, use this literal durable CLI worker launch template
|
|
280
|
+
and fill only the lane-specific placeholders:
|
|
387
281
|
|
|
388
282
|
```
|
|
389
283
|
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - <<'WORKER_PROMPT'
|
|
@@ -392,8 +286,6 @@ Use $sellable:create-evergreen-campaigns as the governing skill for this one lan
|
|
|
392
286
|
Workspace id: <workspaceId>
|
|
393
287
|
Parent planRevision: <planRevision>
|
|
394
288
|
Parent selectedActionIds: <selectedActionIds JSON>
|
|
395
|
-
Parent postEngagerSenderIds: <postEngagerSenderIds JSON>
|
|
396
|
-
Parent sharedSenderIds: <sharedSenderIds JSON>
|
|
397
289
|
Action id: <actionId>
|
|
398
290
|
Lane key: <laneKey>
|
|
399
291
|
Allowed side effects: <allowedSideEffects JSON>
|
|
@@ -407,9 +299,6 @@ Use mcp__sellable only. Do not use admin tools, direct DB, Prisma, SQL, web sear
|
|
|
407
299
|
Do not launch, start, schedule, send, or use paid InMail.
|
|
408
300
|
Complete only this lane, write the required durable receipt JSON, and stop.
|
|
409
301
|
WORKER_PROMPT
|
|
410
|
-
|
|
411
|
-
# Multi-worker launcher equivalent:
|
|
412
|
-
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - < <worker-prompt-file>
|
|
413
302
|
```
|
|
414
303
|
|
|
415
304
|
If any placeholder cannot be filled from the current lane packet, do not inspect
|
|
@@ -479,14 +368,7 @@ not a parent-thread summary. The receipt must include:
|
|
|
479
368
|
`senderIds`, `campaignId`, `tableId`, and `createIntent`. Do not use
|
|
480
369
|
`laneActionId`, `lanePacketActionId`, `delegatedPlanRevision`,
|
|
481
370
|
`delegatedActionId`, or freeform `requestedCall` text as a substitute for
|
|
482
|
-
these fields.
|
|
483
|
-
`setupPlanCall.tableId` must be the actual created campaign/table ids after
|
|
484
|
-
creation and readback. If the parent lane packet carried null ids before
|
|
485
|
-
creation, preserve that original packet only in a separate `parentLanePacket`
|
|
486
|
-
object; do not leave `setupPlanCall.campaignId:null` or
|
|
487
|
-
`setupPlanCall.tableId:null`.
|
|
488
|
-
Short form: For create lanes, `setupPlanCall.campaignId` and `setupPlanCall.tableId` must be the actual created campaign/table ids.
|
|
489
|
-
Short form: Do not leave `setupPlanCall.campaignId:null` or `setupPlanCall.tableId:null`.
|
|
371
|
+
these fields.
|
|
490
372
|
- `createCampaignWorkflowReceipt`: proof the worker loaded the actual installed
|
|
491
373
|
`$sellable:create-campaign` wrapper instead of doing ad hoc MCP calls. It must
|
|
492
374
|
include `skillCommand:"$sellable:create-campaign"`,
|
|
@@ -541,25 +423,8 @@ not a parent-thread summary. The receipt must include:
|
|
|
541
423
|
evidence field such as `rowCount`, `rowIdsHash`, or `rowEvidence`; do not
|
|
542
424
|
leave those only in `searchSignalsProof`, `importProof`, `coldFallbackProof`,
|
|
543
425
|
or narrative text for the parent/verifier to infer.
|
|
544
|
-
- `filterDecisionReceipt`: saved/applied
|
|
545
|
-
campaign/table basis.
|
|
546
|
-
filtering with `enableICPFilters:true`, call `save_rubrics`, and save at
|
|
547
|
-
least three rubric/filter criteria before Message Drafting. Do not skip
|
|
548
|
-
filtering for evergreen setup. Missing or skipped filter proof is
|
|
549
|
-
`blocked: missing_filter_setup`.
|
|
550
|
-
Before the worker exits, the durable JSON must contain
|
|
551
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
552
|
-
`filterDecisionReceipt.enableICPFilters:true`, the current
|
|
553
|
-
`workflowTableId`, and concrete saved-filter proof such as
|
|
554
|
-
`filterDecisionReceipt.filterIds`, `filterDecisionReceipt.rubricIds`,
|
|
555
|
-
`filterDecisionReceipt.savedRubricCount`, or
|
|
556
|
-
`filterDecisionReceipt.headlineICPCriteria`.
|
|
557
|
-
The exact status string is contractual: use `status:"applied"` only.
|
|
558
|
-
Do not write `status:"confirmed"`, `status:"saved"`, `status:"done"`, or
|
|
559
|
-
any other alias after saving filters; the parent verifier rejects those
|
|
560
|
-
aliases even when saved rubric proof exists.
|
|
561
|
-
Short form: Filter receipt status must be exactly `applied`.
|
|
562
|
-
Short form: Do not write `filterDecisionReceipt.status:"confirmed"`.
|
|
426
|
+
- `filterDecisionReceipt`: saved/applied filter ids or explicit skip-filter
|
|
427
|
+
decision with current campaign/table basis.
|
|
563
428
|
- `messageDraftingReceipt`: the Message Drafting proof described below,
|
|
564
429
|
including packaged `generate-messages` prompt/assets and validation. Raw
|
|
565
430
|
fields like `generateMessagesPromptLoadedToHasMoreFalse`,
|
|
@@ -695,12 +560,7 @@ verification unless the same object also appears inside
|
|
|
695
560
|
"sourceLadderReason": "<why the current source is valid before colder sources>"
|
|
696
561
|
},
|
|
697
562
|
"filterDecisionReceipt": {
|
|
698
|
-
"status": "
|
|
699
|
-
"enableICPFilters": true,
|
|
700
|
-
"filterIds": ["<saved filter/rubric id>"],
|
|
701
|
-
"rubricIds": ["<saved rubric id>"],
|
|
702
|
-
"headlineICPCriteria": ["<saved ICP criterion>", "<saved ICP criterion>", "<saved ICP criterion>"],
|
|
703
|
-
"savedRubricCount": 3,
|
|
563
|
+
"status": "skipped",
|
|
704
564
|
"workflowTableId": "<workflow table id>"
|
|
705
565
|
},
|
|
706
566
|
"messageDraftingReceipt": {
|
|
@@ -781,19 +641,6 @@ path itself in the worker thread:
|
|
|
781
641
|
exactly one semantic Approved cell through `select_campaign_cells` and
|
|
782
642
|
`update_cell`.
|
|
783
643
|
Approval shorthand: approve exactly one semantic Approved cell.
|
|
784
|
-
In this message-drafting path, `update_cell` is allowed only for the semantic
|
|
785
|
-
Approved checkbox. Do not use `update_cell` or any row/cell write to edit
|
|
786
|
-
generated message text, sample copy, or final message bodies in automation.
|
|
787
|
-
If generated copy fails review, update the campaign brief/message template
|
|
788
|
-
with `update_campaign_brief` or `revise_message_template_and_rerun`, then
|
|
789
|
-
rerun Generate Message and review current-revision generated output. Receipt
|
|
790
|
-
`sampleMessages` must come from generated current-revision cells after the
|
|
791
|
-
brief/template rerun, not from hand-edited message cell overrides. If a lane
|
|
792
|
-
used a generated-message body override, report
|
|
793
|
-
`blocked: generated_message_cell_override` instead of success.
|
|
794
|
-
Short form: `update_cell` is allowed only for the semantic Approved checkbox.
|
|
795
|
-
Short form: Do not use `update_cell` to edit generated message text.
|
|
796
|
-
Short form: Bad copy requires brief/template revision plus Generate Message rerun.
|
|
797
644
|
4. Poll `get_campaign_message_preparation_status` until no queued/active cells
|
|
798
645
|
remain or a bounded stop reason is returned.
|
|
799
646
|
5. Use `get_campaign_messages_preview` or `select_campaign_cells` to inspect
|
|
@@ -820,26 +667,6 @@ The only accepted statusSource values are exactly `branch` and
|
|
|
820
667
|
`packaged-generate-messages-worker`; descriptive aliases such as
|
|
821
668
|
`package-readback-local-thread` are rejected.
|
|
822
669
|
|
|
823
|
-
Before any provider-specific source mutation for a newly created campaign,
|
|
824
|
-
reread `get_campaign_navigation_state({ campaignId })` and use that product
|
|
825
|
-
navigation state as the source-step authority. Do not jump from a shell directly
|
|
826
|
-
into `contact-search`, and do not jump from a shell directly into
|
|
827
|
-
`signal-discovery`. Advance through the product-visible source-selection step
|
|
828
|
-
first, then load the provider prompt and write only the provider/source fields
|
|
829
|
-
accepted for that current step. Never include sender reassignment fields in
|
|
830
|
-
source-step updates, never include custom narration fields in source-step
|
|
831
|
-
updates, and do not use guessed `currentStep` or watched narration payloads to
|
|
832
|
-
force the flow forward. If `update_campaign` rejects the source transition
|
|
833
|
-
twice, reread navigation/campaign state once; if the campaign is not already on
|
|
834
|
-
the intended source step, stop the lane with
|
|
835
|
-
`blocked: watched_source_transition_blocked` and include the rejected tool
|
|
836
|
-
result plus the readback. Do not loop on rejected `update_campaign` transitions.
|
|
837
|
-
Short form: do not jump from a shell directly into `contact-search`.
|
|
838
|
-
Short form: do not jump from a shell directly into `signal-discovery`.
|
|
839
|
-
Short form: never include sender reassignment fields in source-step updates.
|
|
840
|
-
Short form: never include custom narration fields in source-step updates.
|
|
841
|
-
Short form: do not loop on rejected `update_campaign` transitions.
|
|
842
|
-
|
|
843
670
|
One lane may produce exactly one CampaignOffer/campaign id and one current
|
|
844
671
|
workflow table id. For `intent:"create"`, the first successful
|
|
845
672
|
`create_campaign` result establishes the lane's only allowed campaign/table
|
|
@@ -878,14 +705,9 @@ the prospect's engagement unless the selected source evidence proves that exact
|
|
|
878
705
|
sender authored the post.
|
|
879
706
|
Shared lanes must reject generic product-summary samples that explain the
|
|
880
707
|
product in the same broad words for every row. Shared lanes must reject three
|
|
881
|
-
nearly identical samples after stripping the leading name.
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
If any of these failures appears, revise or rerun the packaged
|
|
885
|
-
create-campaign/generate-messages path from the lane worker before writing a
|
|
886
|
-
success receipt.
|
|
887
|
-
Short form: Shared lanes must fail quality review when any reviewed sample has non-empty `issues`.
|
|
888
|
-
Short form: Do not approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
708
|
+
nearly identical samples after stripping the leading name. If either failure
|
|
709
|
+
appears, revise or rerun the packaged create-campaign/generate-messages path
|
|
710
|
+
from the lane worker before writing a success receipt.
|
|
889
711
|
The generated-message cells are not prompt proof: `currentRevisionGeneratedMessages`,
|
|
890
712
|
Generate Message column counts, `messagesCount`, or rendered row previews prove
|
|
891
713
|
only that table cells exist from the current brief/template, not that the
|
|
@@ -905,22 +727,6 @@ duplicate-lane blockers before you call the command finished. If verify blocks,
|
|
|
905
727
|
report the blocker and repair only the missing postconditions from the same
|
|
906
728
|
current plan.
|
|
907
729
|
|
|
908
|
-
Before calling verify, the parent should build compact receipt objects from the
|
|
909
|
-
durable receipt files and pass those compact objects to MCP. The compact receipt
|
|
910
|
-
must preserve every verifier-owned field named above, including top-level ids,
|
|
911
|
-
`createCampaignStepReceipt`, canonical filter/message/review/sequence/final
|
|
912
|
-
proof, and at least three concrete sample messages. It should omit large raw
|
|
913
|
-
search outputs, long post lists, full row arrays, raw provider responses, and
|
|
914
|
-
debug-only narration fields. Do not pass multi-hundred-kilobyte raw receipt
|
|
915
|
-
objects when a compact canonical receipt has the same proof; large raw verify
|
|
916
|
-
payloads can stall local MCP bridges and make UAT ambiguous.
|
|
917
|
-
Do not print or `jq .` full receipt JSON into the terminal. For local checks,
|
|
918
|
-
print only compact summaries such as file, actionId, laneKey, campaignId,
|
|
919
|
-
filter status, sample count, approved count, and final status.
|
|
920
|
-
Short form: Parent verify uses compact canonical receipt objects, not raw giant receipts.
|
|
921
|
-
Short form: Do not dump full receipt JSON with `jq .`.
|
|
922
|
-
Short form: Never change planRevision/actionId/laneKey while compacting receipts.
|
|
923
|
-
|
|
924
730
|
Message proof for every customer-visible lane must come from the current
|
|
925
731
|
campaign/table basis and include at least 3 generated review rows from the
|
|
926
732
|
packaged `generate-messages` path before completion is reported.
|
|
@@ -959,8 +765,6 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
959
765
|
Short form: Do not pass the warm template into Shared Signal Discovery or Shared Cold Fallback.
|
|
960
766
|
Short form: Shared lanes must reject generic product-summary samples.
|
|
961
767
|
Short form: Shared lanes must reject three nearly identical samples.
|
|
962
|
-
Short form: Shared lanes must reject low-confidence relevance hedges.
|
|
963
|
-
Short form: Shared lanes must reject internal workflow vocabulary.
|
|
964
768
|
Short form: revise or rerun the packaged create-campaign/generate-messages path.
|
|
965
769
|
- **Post Engagers** first-message style: short, casual, references the
|
|
966
770
|
sender-authored post they engaged with, closed question, **no internal
|
|
@@ -971,7 +775,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
971
775
|
|
|
972
776
|
Hey there
|
|
973
777
|
|
|
974
|
-
|
|
778
|
+
Thanks for the support on my post about {{post_topic_line}}
|
|
975
779
|
```
|
|
976
780
|
|
|
977
781
|
- **Shared Signal Discovery** first-message style: short, casual, references
|
|
@@ -987,22 +791,6 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
987
791
|
say it. Prefer sender-agnostic company/team language such as "we're
|
|
988
792
|
helping CX teams..." or "at cxconnect.ai, we help..." and one clear
|
|
989
793
|
problem question.
|
|
990
|
-
Before Message Drafting runs, the campaign brief must already include
|
|
991
|
-
these shared-lane hard avoids and source-use rules. Do not rely on a
|
|
992
|
-
failed first generation batch to discover that self-intros, generic
|
|
993
|
-
product summaries, or repeated structure are bad. If the first generated
|
|
994
|
-
batch violates these rules, rerun, but record that as a repaired UAT path
|
|
995
|
-
rather than the desired zero-shot path.
|
|
996
|
-
Do not use low-confidence relevance hedges such as "hope this is
|
|
997
|
-
relevant" in Shared Signal Discovery samples. Translate source/tool terms
|
|
998
|
-
into prospect-facing business language; do not put internal workflow
|
|
999
|
-
vocabulary such as "Codex-style workflow", "MCP", "agent workflows", or
|
|
1000
|
-
"Claude-style agent workflows" in customer-facing message one.
|
|
1001
|
-
Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
|
|
1002
|
-
Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
|
|
1003
|
-
Short form: Shared Signal Discovery uses no "I've put together".
|
|
1004
|
-
Short form: no low-confidence relevance hedge such as "hope this is relevant".
|
|
1005
|
-
Short form: no internal workflow vocabulary such as "Codex-style workflow", "MCP", "agent workflows", or "Claude-style agent workflows".
|
|
1006
794
|
- **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
|
|
1007
795
|
It must not pretend there was engagement, must not say "saw you pop up",
|
|
1008
796
|
and must not use a standalone name line followed by "Hey there" or other
|
|
@@ -1017,52 +805,14 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1017
805
|
Sellable/Codex/Claude-Code feature summary
|
|
1018
806
|
across prospects. This is a single-message cold path unless the approved
|
|
1019
807
|
create-campaign message workflow proves a better delivery format.
|
|
1020
|
-
Do not open with "hope this is relevant" or a similar low-confidence
|
|
1021
|
-
relevance hedge. Do not use a repeated product-definition paragraph such
|
|
1022
|
-
as "Sellable is a GTM system" across samples; every reviewed cold sample
|
|
1023
|
-
should be specific enough to the role, company, or problem that the three
|
|
1024
|
-
sample messages do not share the same body skeleton.
|
|
1025
|
-
Before Message Drafting runs, the campaign brief must already forbid
|
|
1026
|
-
self-intros, generic product summaries, opt-out shrugs, product-stack
|
|
1027
|
-
dumps, and repeated template structure. Do not let the first generation
|
|
1028
|
-
batch use "I'm building", "We're building", "I've put together", or
|
|
1029
|
-
similar language and then rely on a cleanup rerun as the normal path.
|
|
1030
808
|
Short form: Shared Cold Fallback must not pass just because the receipt says `generate-messages` loaded.
|
|
1031
809
|
Short form: Shared Cold Fallback uses no self-intro such as "We're building".
|
|
1032
|
-
Short form: Shared Cold Fallback uses no self-intro such as "I'm building Sellable".
|
|
1033
|
-
Short form: Shared Cold Fallback uses no "I've put together".
|
|
1034
810
|
Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
|
|
1035
811
|
Short form: Shared Cold Fallback uses no product-stack dump.
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
Shared Cold Fallback. Do not skip filtering for evergreen setup, even when
|
|
1041
|
-
the source is warm. Use the normal `$sellable:create-campaign` filter
|
|
1042
|
-
workflow: set or save 3-5 headline ICP criteria, call `save_rubrics`, and
|
|
1043
|
-
persist `enableICPFilters:true` on the campaign before generating
|
|
1044
|
-
messages. Good evergreen filters should be light but real: role/budget
|
|
1045
|
-
relevance, company/market fit, and obvious non-buyer exclusion. For
|
|
1046
|
-
Post Engagers, keep filters permissive enough that warm source rows are not
|
|
1047
|
-
over-pruned, but still save the filter rules. For shared lanes, filter for
|
|
1048
|
-
buyers/operators relevant to the workspace offer and exclude students,
|
|
1049
|
-
job seekers, vendors, and off-topic commenters. The receipt must show
|
|
1050
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
1051
|
-
`filterDecisionReceipt.enableICPFilters:true`, current `workflowTableId`,
|
|
1052
|
-
and saved filter/rubric proof with at least three saved rubric/filter
|
|
1053
|
-
criteria (`filterIds`, `rubricIds`, `headlineICPCriteria`, or
|
|
1054
|
-
`savedRubricCount`). Missing or skipped filter proof is
|
|
1055
|
-
`blocked: missing_filter_setup`.
|
|
1056
|
-
Short form: Customer-visible evergreen lanes must enable ICP filtering.
|
|
1057
|
-
Short form: `enableICPFilters:true`.
|
|
1058
|
-
Short form: Do not skip filtering for evergreen setup.
|
|
1059
|
-
Short form: at least three saved rubric/filter criteria.
|
|
1060
|
-
Short form: missing or skipped filter proof is `blocked: missing_filter_setup`.
|
|
1061
|
-
Short form: run Message Drafting only after saved filters are applied.
|
|
1062
|
-
- Every customer-visible lane must run Message Drafting from the current
|
|
1063
|
-
campaign/table basis after source rows exist. The worker must load the full
|
|
1064
|
-
packaged `generate-messages` prompt, every required asset, and
|
|
1065
|
-
`create-campaign-v2-validation`; if the internal branch handoff is not
|
|
812
|
+
- Every customer-visible lane must run Message Drafting from the current
|
|
813
|
+
campaign/table basis after source rows exist. The worker must load the full
|
|
814
|
+
packaged `generate-messages` prompt, every required asset, and
|
|
815
|
+
`create-campaign-v2-validation`; if the internal branch handoff is not
|
|
1066
816
|
callable in the packaged runtime, the worker must call
|
|
1067
817
|
`start_campaign_message_preparation` and poll
|
|
1068
818
|
`get_campaign_message_preparation_status` from the lane worker. The
|
|
@@ -1092,13 +842,10 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1092
842
|
- A source/list decision has been resolved and campaign rows are loaded. If
|
|
1093
843
|
there is no approved source or no rows can be copied, report `blocked` with
|
|
1094
844
|
the missing source detail; do not call the campaign complete.
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
evergreen setup. Do not leave customer-visible campaigns at
|
|
1100
|
-
`filter-choice`, `filter-rules`, or `apply-icp-rubric` and report success.
|
|
1101
|
-
Do not proceed to Message Drafting until saved filters are applied.
|
|
845
|
+
- The filter step is resolved: either saved/applied filters are present, or
|
|
846
|
+
the campaign explicitly skipped filters. Do not leave customer-visible
|
|
847
|
+
campaigns at `filter-choice`, `filter-rules`, or `apply-icp-rubric` and
|
|
848
|
+
report success.
|
|
1102
849
|
- Message Drafting has run from the current campaign/table basis, using the
|
|
1103
850
|
create-campaign message prompt/assets and validation gate. Updating
|
|
1104
851
|
`currentStep:"messages"` is not proof. Parent-thread handwritten copy is
|
|
@@ -1117,17 +864,13 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1117
864
|
reviewed sample messages. For Shared Cold Fallback, reject samples that
|
|
1118
865
|
open with a standalone name followed by "Hey there" or a similarly generic
|
|
1119
866
|
greeting. For Shared Cold Fallback, also reject samples with a self-intro
|
|
1120
|
-
such as "We're building",
|
|
1121
|
-
|
|
1122
|
-
or a product-stack dump that repeats the same
|
|
867
|
+
such as "We're building", an opt-out shrug such as "If this isn't
|
|
868
|
+
relevant, ignore me", or a product-stack dump that repeats the same
|
|
1123
869
|
Sellable/Codex/Claude-Code feature summary across prospects. For all
|
|
1124
870
|
shared lanes, reject generic product-summary samples, repeated
|
|
1125
|
-
near-identical samples,
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
create-campaign/generate-messages path before reporting completion. Do not
|
|
1129
|
-
approve or final-report samples with `verdict:"passed"` and non-empty
|
|
1130
|
-
`issues`.
|
|
871
|
+
near-identical samples, and any preserved Post Engagers opener; revise or
|
|
872
|
+
rerun the packaged create-campaign/generate-messages path before reporting
|
|
873
|
+
completion.
|
|
1131
874
|
- The first review batch exists and at least 3 review rows have generated
|
|
1132
875
|
messages from the approved brief. If fewer than 3 usable rows exist, report
|
|
1133
876
|
the actual count and why.
|
|
@@ -1201,9 +944,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1201
944
|
**Also confirm the delivery format and keep config in sync.** Ask the user whether DM lanes should send multiline (paragraph-per-message) or as a single message. Record the answer as the brief's `Delivery format:` line, and when multiline is chosen, set `actionConfig.sendEachParagraphAsMessage: true` on that campaign's `send_dm` column via `update_column` (config edits run no cells and nothing sends from unlaunched campaigns). Never set the paragraph-split flag on InMail columns — the option does not apply to InMail.
|
|
1202
945
|
6. **Interactive polish mode only: prove the template on one real row.** For ONE campaign that has at least one lead row (add one via `add_on_demand_leads` if every lane is empty and the user provides/approves a test lead), generate a message for exactly one row (`queue_campaign_cells` with `columnRole: "generateMessage"`, `rowSelector: { type: "reviewBatch", limit: 1 }` or the single row's ID), wait for it, then show the user the generated message next to the template — AND show how it would split if paragraph-per-message sending is enabled (list each paragraph as `msg 1:`, `msg 2:`, …) so the user confirms each one reads like a real typed message. Check alignment: tone, structure, no internal vocabulary, correct token substitution, no letter punctuation. Do NOT approve the row or generate for more rows — one sample only.
|
|
1203
946
|
7. **Automation mode template/config audit**: inspect existing send-lane briefs for a `Delivery format:` line and chat-native warm template. If a send lane is missing the line and the prompt allows cleanup, update only the campaign brief metadata with the safest default for that lane (`Delivery format: single message (LinkedIn DM; line breaks remain inside one generated message; no follow-up until reply)`). If cleanup is not allowed, flag it. Do not generate a sample row in automation mode unless the invocation explicitly asks for sample proof. In structure-only automation, do not generate a sample row unless the invocation explicitly asks for sample proof. In customer-visible completion, follow the Customer-Visible Completion Contract instead.
|
|
1204
|
-
8. **
|
|
1205
|
-
If the `Sample Messaging Review` section is omitted, the command is incomplete even when the structural campaign setup succeeded.
|
|
1206
|
-
9. **Report the reconcile plan and result** — every slot tagged `reused`, `created`, `repaired`, `flagged`, or `blocked`, plus template/sample details only when that mode ran:
|
|
947
|
+
8. **Report the reconcile plan and result** — every slot tagged `reused`, `created`, `repaired`, `flagged`, or `blocked`, plus template/sample details only when that mode ran:
|
|
1207
948
|
|
|
1208
949
|
```
|
|
1209
950
|
Evergreen Reconcile — {date}
|
|
@@ -1212,17 +953,6 @@ Evergreen Reconcile — {date}
|
|
|
1212
953
|
• Sellable.dev - Shared Signal Discovery: repaired (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1213
954
|
• Sellable.dev - Shared Cold Fallback: created (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1214
955
|
All campaigns remain unlaunched. Next: enrich/approve more rows when you want more items ready to schedule.
|
|
1215
|
-
|
|
1216
|
-
Sample Messaging Review
|
|
1217
|
-
• Christian Reyes - Post Engagers (`cmp_...`, row `row_...`, verdict: passed)
|
|
1218
|
-
```
|
|
1219
|
-
{{full generated first message}}
|
|
1220
|
-
```
|
|
1221
|
-
• Sellable.dev - Shared Cold Fallback (`cmp_...`, row `row_...`, verdict: passed)
|
|
1222
|
-
```
|
|
1223
|
-
{{full generated first message}}
|
|
1224
|
-
```
|
|
1225
|
-
If any sample is not quite right, ask the AI to update the campaign brief/message template and rerun Generate Message before launch.
|
|
1226
956
|
```
|
|
1227
957
|
</objective>
|
|
1228
958
|
|
|
@@ -5,6 +5,9 @@ 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
|
|
8
11
|
- mcp__sellable__resolve_campaign_fill_route
|
|
9
12
|
- mcp__sellable__get_campaign_refill_state
|
|
10
13
|
- mcp__sellable__fill_campaign_horizon
|
|
@@ -35,6 +38,7 @@ allowed-tools:
|
|
|
35
38
|
- mcp__sellable__get_table_rows
|
|
36
39
|
- mcp__sellable__get_campaign_table_schema
|
|
37
40
|
- mcp__sellable__select_campaign_cells
|
|
41
|
+
- mcp__sellable__queue_campaign_cells
|
|
38
42
|
- mcp__sellable__wait_for_campaign_processing
|
|
39
43
|
- mcp__sellable__get_sender
|
|
40
44
|
---
|
|
@@ -51,10 +55,39 @@ get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
|
51
55
|
```
|
|
52
56
|
|
|
53
57
|
Then follow that workflow exactly. The default path is read-only research:
|
|
54
|
-
resolve the route,
|
|
55
|
-
|
|
56
|
-
campaign
|
|
57
|
-
|
|
58
|
+
resolve the route, identify the sender-relevant campaign that most recently had
|
|
59
|
+
scheduler-owned sends, read refill state for that target, report the next safe
|
|
60
|
+
step using campaign names first, and stop before mutation unless the user has
|
|
61
|
+
explicitly approved the exact workspace, campaign/table/source ids, caps/dates,
|
|
62
|
+
approval mode, expected side effects, and stop/rollback condition.
|
|
63
|
+
|
|
64
|
+
For interactive Codex or Claude Code sessions, that approval must use the
|
|
65
|
+
host-native structured question gate, not plain chat:
|
|
66
|
+
|
|
67
|
+
- Codex: use `request_user_input`.
|
|
68
|
+
- Claude Code: use `AskUserQuestion`.
|
|
69
|
+
|
|
70
|
+
The approval question must present the final refill step with exactly two
|
|
71
|
+
choices: `Accept` and `Decline`. Treat `Accept` as permission for only the
|
|
72
|
+
rendered target, caps, mode, and side effects. Treat `Decline` as a hard stop
|
|
73
|
+
with no mutation.
|
|
74
|
+
|
|
75
|
+
If Christian includes `--yolo` in the same refill request, treat that flag as
|
|
76
|
+
auto-accept for the rendered bounded refill packet after the required fresh state
|
|
77
|
+
reread. `--yolo` only covers the exact target, caps, approval mode, and side
|
|
78
|
+
effects in the packet. It does not authorize launch/start, sending, archive or
|
|
79
|
+
delete cleanup, direct scheduler writes, sender reassignment, or any expanded
|
|
80
|
+
target set. Stop and re-plan if the route, ids, caps, blockers, or side-effect
|
|
81
|
+
class drift before mutation.
|
|
82
|
+
|
|
83
|
+
In `--yolo`, the default two-day fill horizon is two send days. The workflow must pick
|
|
84
|
+
the best recent-send campaign first, not every active campaign, and compute the
|
|
85
|
+
bounded gap from healthy sender daily capacity, existing future scheduled sends,
|
|
86
|
+
and rows already ready to schedule. If a same-source copy hits the campaign-table
|
|
87
|
+
row cap, split the current source into a bounded LinkedIn profile source list,
|
|
88
|
+
confirm only that smaller list into the same campaign, and operate on the copied
|
|
89
|
+
review batch. Do not fall back to on-demand campaigns or broad active-campaign
|
|
90
|
+
fills.
|
|
58
91
|
|
|
59
92
|
Public concepts are regular campaign and evergreen campaign. Internal direct
|
|
60
93
|
campaign types are unsupported refill targets. `fill_campaign_horizon` is only a
|