@sellable/install 0.1.246 → 0.1.247
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,20 @@ 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
|
+
When more leads are needed, the refill workflow must recommend same-campaign
|
|
141
|
+
source-ladder replenishment first; do not create warm-post-engager side
|
|
142
|
+
campaigns, on-demand campaigns, or unrelated campaigns. Surface sender-health
|
|
143
|
+
blockers separately from prepared/approved/scheduled counts.
|
|
140
144
|
|
|
141
145
|
Treat active fills as capacity-fill preparation: calculate the bounded target
|
|
142
146
|
from sender capacity when needed, then use the refill workflow to decide source
|
|
143
|
-
replenishment, enrichment/prep, approval policy, and scheduler proof.
|
|
144
|
-
|
|
147
|
+
replenishment, enrichment/prep, approval policy, and scheduler proof. Present
|
|
148
|
+
operator decisions by campaign name and sender name first, with campaign/table
|
|
149
|
+
ids as proof only. Mutation requires exact visible approval and a fresh
|
|
150
|
+
`get_campaign_refill_state` reread.
|
|
145
151
|
For already-running regular campaigns that need Signal Discovery source
|
|
146
152
|
replenishment, the refill workflow owns the guarded recovery: clear
|
|
147
153
|
`currentStep` only with `clearCurrentStepIfMatches:"running"`, load the
|
|
@@ -58,22 +58,6 @@ Default evergreen plan per workspace (override only if the prompt specifies diff
|
|
|
58
58
|
1. **`<Sender Name> - Post Engagers`** — one per sender (warm lane, highest priority)
|
|
59
59
|
2. **`<Workspace/Team> - Shared Signal Discovery`** — one shared warm-signal campaign lane across senders
|
|
60
60
|
3. **`<Workspace/Team> - Shared Cold Fallback`** — one shared cold/fallback campaign lane across senders
|
|
61
|
-
|
|
62
|
-
Sender scope resolution is safety-critical. Do not pass
|
|
63
|
-
`allConnectedSenders:true` unless the invoking prompt explicitly says "all
|
|
64
|
-
connected senders", "every connected sender", "all seats", or names an
|
|
65
|
-
equivalent all-sender scope. If the user says "all 4 campaigns", "the four
|
|
66
|
-
evergreen campaigns", or names specific senders, resolve those exact senders
|
|
67
|
-
and pass explicit `postEngagerSenderIds` plus `sharedSenderIds`; do not broaden
|
|
68
|
-
the plan to every connected sender. In non-interactive or `--yolo` mode, when
|
|
69
|
-
more than two connected senders exist and the prompt does not explicitly
|
|
70
|
-
authorize all connected senders, stop before mutation with
|
|
71
|
-
`blocked: ambiguous_post_engager_sender_scope` and report the sender ids/names
|
|
72
|
-
needed for approval. Never let "workspace default" silently create Post
|
|
73
|
-
Engagers lanes for extra senders.
|
|
74
|
-
Short form: Do not pass `allConnectedSenders:true` unless the prompt explicitly says all/every connected sender.
|
|
75
|
-
Short form: "all 4 campaigns" means explicit sender scope plus two shared lanes, not all connected senders.
|
|
76
|
-
Short form: In `--yolo`, ambiguous multi-sender scope blocks before mutation.
|
|
77
61
|
</inputs>
|
|
78
62
|
|
|
79
63
|
<command_backed_workflow>
|
|
@@ -231,8 +215,7 @@ After bounded delegated approval or safe `--yolo`, fan out lane worker tasks
|
|
|
231
215
|
only from the current plan. Each worker receives the complete lane packet:
|
|
232
216
|
workspace id, sender ids, lane key/type, existing campaign/table binding or
|
|
233
217
|
create intent, source hints, caps, planRevision, actionId, allowed side effects,
|
|
234
|
-
postconditions, the
|
|
235
|
-
`sharedSenderIds`, and the packet's `workerDispatch` policy. Treat
|
|
218
|
+
postconditions, and the packet's `workerDispatch` policy. Treat
|
|
236
219
|
`workerDispatch.requiresVisibleThreadOrDurableReceipt:true` as a hard
|
|
237
220
|
execution boundary, not guidance. Read and preserve `workerDispatch.acceptedRuntimes`,
|
|
238
221
|
`workerDispatch.rejectedRuntimes`, and `workerDispatch.receiptArtifactHint`
|
|
@@ -251,15 +234,6 @@ parent packet, do not mutate and do not use it as `setupPlanCall` proof; stop
|
|
|
251
234
|
with `blocked: worker_plan_scope_drift` and ask the parent to re-plan.
|
|
252
235
|
Short form: If a worker-local plan omits `postEngagerSenderIds:[]`, do not use it as `setupPlanCall` proof.
|
|
253
236
|
Short form: stop with `blocked: worker_plan_scope_drift`.
|
|
254
|
-
Every worker prompt must include both parent scope arrays as explicit fields:
|
|
255
|
-
`Parent postEngagerSenderIds:` and `Parent sharedSenderIds:`. Workers must
|
|
256
|
-
preserve parent postEngagerSenderIds even for shared lanes. Never run a
|
|
257
|
-
shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent
|
|
258
|
-
`postEngagerSenderIds` is exactly `[]`. Every durable receipt must copy these
|
|
259
|
-
arrays to top-level `parentPostEngagerSenderIds` and `parentSharedSenderIds`
|
|
260
|
-
before completion.
|
|
261
|
-
Short form: Workers must preserve parent postEngagerSenderIds even for shared lanes.
|
|
262
|
-
Short form: Never run a shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent `postEngagerSenderIds` is exactly `[]`.
|
|
263
237
|
|
|
264
238
|
Worker fan-out must use visible or durable execution. Preferred in local Codex
|
|
265
239
|
is a visible Codex thread created with the actual Codex app thread tools:
|
|
@@ -290,36 +264,10 @@ CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
|
290
264
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
291
265
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
292
266
|
pass exactly one lane packet per worker.
|
|
293
|
-
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
294
|
-
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
295
|
-
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
296
|
-
zsh treats it as read-only; use `exit_code` or `rc` instead. Receipt polling
|
|
297
|
-
must use `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print` or an
|
|
298
|
-
explicit nullglob-safe equivalent. Do not use naked `*.json` globs under zsh,
|
|
299
|
-
and keep zero-receipt polls quiet with no `no matches found` diagnostics.
|
|
300
|
-
Do not embed `<<'WORKER_PROMPT'` heredocs inside a single quoted or double
|
|
301
|
-
quoted `/bin/bash -lc '...'` command string; nested quoting is brittle and can
|
|
302
|
-
truncate the first worker before mutation. For multi-worker launchers, write one
|
|
303
|
-
plain prompt file per lane under the current run directory, then start each
|
|
304
|
-
worker with `codex -a never -s danger-full-access exec -C "$REPO" -o
|
|
305
|
-
"$worker_final_file" - < "$worker_prompt_file"`. Keep launcher shell variables
|
|
306
|
-
double-quoted and keep the prompt heredoc only in a standalone script/prompt-file
|
|
307
|
-
write step, not inside an already quoted shell argument. If the first launcher
|
|
308
|
-
attempt exits with a shell parse error or before starting the first worker,
|
|
309
|
-
stop with `blocked: worker_launcher_quoting_failed` and do not retry by
|
|
310
|
-
loosening sender scope or mutating in the parent.
|
|
311
|
-
Short form: run the wrapper with `/bin/bash -lc`.
|
|
312
|
-
Short form: Do not rely on zsh-specific behavior.
|
|
313
|
-
Short form: Do not use `status` as a shell variable; use `exit_code` or `rc`.
|
|
314
|
-
Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print`.
|
|
315
|
-
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
316
|
-
Short form: Do not embed `<<'WORKER_PROMPT'` heredocs inside a quoted `/bin/bash -lc` command string.
|
|
317
|
-
Short form: Multi-worker launchers write prompt files and run `codex ... - < "$worker_prompt_file"`.
|
|
318
267
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
319
268
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
320
|
-
original planRevision,
|
|
321
|
-
|
|
322
|
-
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.
|
|
323
271
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
324
272
|
launch at least one visible/durable worker immediately after directory setup,
|
|
325
273
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
@@ -328,11 +276,8 @@ current lane packet for receipt paths.
|
|
|
328
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.
|
|
329
277
|
After the receipt-directory `mkdir`, the next shell/tool call must launch the first lane worker.
|
|
330
278
|
Do not run `find`, `ls`, extra inventory, or another preflight between directory setup and the first worker launch.
|
|
331
|
-
For the local Codex CLI fallback, use this literal durable CLI worker launch
|
|
332
|
-
|
|
333
|
-
launches you may pipe a heredoc directly to `codex`; for multi-worker shell
|
|
334
|
-
launchers, write the same prompt body to `<worker-prompt-file>` and launch the
|
|
335
|
-
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:
|
|
336
281
|
|
|
337
282
|
```
|
|
338
283
|
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - <<'WORKER_PROMPT'
|
|
@@ -341,8 +286,6 @@ Use $sellable:create-evergreen-campaigns as the governing skill for this one lan
|
|
|
341
286
|
Workspace id: <workspaceId>
|
|
342
287
|
Parent planRevision: <planRevision>
|
|
343
288
|
Parent selectedActionIds: <selectedActionIds JSON>
|
|
344
|
-
Parent postEngagerSenderIds: <postEngagerSenderIds JSON>
|
|
345
|
-
Parent sharedSenderIds: <sharedSenderIds JSON>
|
|
346
289
|
Action id: <actionId>
|
|
347
290
|
Lane key: <laneKey>
|
|
348
291
|
Allowed side effects: <allowedSideEffects JSON>
|
|
@@ -356,9 +299,6 @@ Use mcp__sellable only. Do not use admin tools, direct DB, Prisma, SQL, web sear
|
|
|
356
299
|
Do not launch, start, schedule, send, or use paid InMail.
|
|
357
300
|
Complete only this lane, write the required durable receipt JSON, and stop.
|
|
358
301
|
WORKER_PROMPT
|
|
359
|
-
|
|
360
|
-
# Multi-worker launcher equivalent:
|
|
361
|
-
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - < <worker-prompt-file>
|
|
362
302
|
```
|
|
363
303
|
|
|
364
304
|
If any placeholder cannot be filled from the current lane packet, do not inspect
|
|
@@ -428,14 +368,7 @@ not a parent-thread summary. The receipt must include:
|
|
|
428
368
|
`senderIds`, `campaignId`, `tableId`, and `createIntent`. Do not use
|
|
429
369
|
`laneActionId`, `lanePacketActionId`, `delegatedPlanRevision`,
|
|
430
370
|
`delegatedActionId`, or freeform `requestedCall` text as a substitute for
|
|
431
|
-
these fields.
|
|
432
|
-
`setupPlanCall.tableId` must be the actual created campaign/table ids after
|
|
433
|
-
creation and readback. If the parent lane packet carried null ids before
|
|
434
|
-
creation, preserve that original packet only in a separate `parentLanePacket`
|
|
435
|
-
object; do not leave `setupPlanCall.campaignId:null` or
|
|
436
|
-
`setupPlanCall.tableId:null`.
|
|
437
|
-
Short form: For create lanes, `setupPlanCall.campaignId` and `setupPlanCall.tableId` must be the actual created campaign/table ids.
|
|
438
|
-
Short form: Do not leave `setupPlanCall.campaignId:null` or `setupPlanCall.tableId:null`.
|
|
371
|
+
these fields.
|
|
439
372
|
- `createCampaignWorkflowReceipt`: proof the worker loaded the actual installed
|
|
440
373
|
`$sellable:create-campaign` wrapper instead of doing ad hoc MCP calls. It must
|
|
441
374
|
include `skillCommand:"$sellable:create-campaign"`,
|
|
@@ -490,25 +423,8 @@ not a parent-thread summary. The receipt must include:
|
|
|
490
423
|
evidence field such as `rowCount`, `rowIdsHash`, or `rowEvidence`; do not
|
|
491
424
|
leave those only in `searchSignalsProof`, `importProof`, `coldFallbackProof`,
|
|
492
425
|
or narrative text for the parent/verifier to infer.
|
|
493
|
-
- `filterDecisionReceipt`: saved/applied
|
|
494
|
-
campaign/table basis.
|
|
495
|
-
filtering with `enableICPFilters:true`, call `save_rubrics`, and save at
|
|
496
|
-
least three rubric/filter criteria before Message Drafting. Do not skip
|
|
497
|
-
filtering for evergreen setup. Missing or skipped filter proof is
|
|
498
|
-
`blocked: missing_filter_setup`.
|
|
499
|
-
Before the worker exits, the durable JSON must contain
|
|
500
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
501
|
-
`filterDecisionReceipt.enableICPFilters:true`, the current
|
|
502
|
-
`workflowTableId`, and concrete saved-filter proof such as
|
|
503
|
-
`filterDecisionReceipt.filterIds`, `filterDecisionReceipt.rubricIds`,
|
|
504
|
-
`filterDecisionReceipt.savedRubricCount`, or
|
|
505
|
-
`filterDecisionReceipt.headlineICPCriteria`.
|
|
506
|
-
The exact status string is contractual: use `status:"applied"` only.
|
|
507
|
-
Do not write `status:"confirmed"`, `status:"saved"`, `status:"done"`, or
|
|
508
|
-
any other alias after saving filters; the parent verifier rejects those
|
|
509
|
-
aliases even when saved rubric proof exists.
|
|
510
|
-
Short form: Filter receipt status must be exactly `applied`.
|
|
511
|
-
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.
|
|
512
428
|
- `messageDraftingReceipt`: the Message Drafting proof described below,
|
|
513
429
|
including packaged `generate-messages` prompt/assets and validation. Raw
|
|
514
430
|
fields like `generateMessagesPromptLoadedToHasMoreFalse`,
|
|
@@ -644,12 +560,7 @@ verification unless the same object also appears inside
|
|
|
644
560
|
"sourceLadderReason": "<why the current source is valid before colder sources>"
|
|
645
561
|
},
|
|
646
562
|
"filterDecisionReceipt": {
|
|
647
|
-
"status": "
|
|
648
|
-
"enableICPFilters": true,
|
|
649
|
-
"filterIds": ["<saved filter/rubric id>"],
|
|
650
|
-
"rubricIds": ["<saved rubric id>"],
|
|
651
|
-
"headlineICPCriteria": ["<saved ICP criterion>", "<saved ICP criterion>", "<saved ICP criterion>"],
|
|
652
|
-
"savedRubricCount": 3,
|
|
563
|
+
"status": "skipped",
|
|
653
564
|
"workflowTableId": "<workflow table id>"
|
|
654
565
|
},
|
|
655
566
|
"messageDraftingReceipt": {
|
|
@@ -730,19 +641,6 @@ path itself in the worker thread:
|
|
|
730
641
|
exactly one semantic Approved cell through `select_campaign_cells` and
|
|
731
642
|
`update_cell`.
|
|
732
643
|
Approval shorthand: approve exactly one semantic Approved cell.
|
|
733
|
-
In this message-drafting path, `update_cell` is allowed only for the semantic
|
|
734
|
-
Approved checkbox. Do not use `update_cell` or any row/cell write to edit
|
|
735
|
-
generated message text, sample copy, or final message bodies in automation.
|
|
736
|
-
If generated copy fails review, update the campaign brief/message template
|
|
737
|
-
with `update_campaign_brief` or `revise_message_template_and_rerun`, then
|
|
738
|
-
rerun Generate Message and review current-revision generated output. Receipt
|
|
739
|
-
`sampleMessages` must come from generated current-revision cells after the
|
|
740
|
-
brief/template rerun, not from hand-edited message cell overrides. If a lane
|
|
741
|
-
used a generated-message body override, report
|
|
742
|
-
`blocked: generated_message_cell_override` instead of success.
|
|
743
|
-
Short form: `update_cell` is allowed only for the semantic Approved checkbox.
|
|
744
|
-
Short form: Do not use `update_cell` to edit generated message text.
|
|
745
|
-
Short form: Bad copy requires brief/template revision plus Generate Message rerun.
|
|
746
644
|
4. Poll `get_campaign_message_preparation_status` until no queued/active cells
|
|
747
645
|
remain or a bounded stop reason is returned.
|
|
748
646
|
5. Use `get_campaign_messages_preview` or `select_campaign_cells` to inspect
|
|
@@ -769,26 +667,6 @@ The only accepted statusSource values are exactly `branch` and
|
|
|
769
667
|
`packaged-generate-messages-worker`; descriptive aliases such as
|
|
770
668
|
`package-readback-local-thread` are rejected.
|
|
771
669
|
|
|
772
|
-
Before any provider-specific source mutation for a newly created campaign,
|
|
773
|
-
reread `get_campaign_navigation_state({ campaignId })` and use that product
|
|
774
|
-
navigation state as the source-step authority. Do not jump from a shell directly
|
|
775
|
-
into `contact-search`, and do not jump from a shell directly into
|
|
776
|
-
`signal-discovery`. Advance through the product-visible source-selection step
|
|
777
|
-
first, then load the provider prompt and write only the provider/source fields
|
|
778
|
-
accepted for that current step. Never include sender reassignment fields in
|
|
779
|
-
source-step updates, never include custom narration fields in source-step
|
|
780
|
-
updates, and do not use guessed `currentStep` or watched narration payloads to
|
|
781
|
-
force the flow forward. If `update_campaign` rejects the source transition
|
|
782
|
-
twice, reread navigation/campaign state once; if the campaign is not already on
|
|
783
|
-
the intended source step, stop the lane with
|
|
784
|
-
`blocked: watched_source_transition_blocked` and include the rejected tool
|
|
785
|
-
result plus the readback. Do not loop on rejected `update_campaign` transitions.
|
|
786
|
-
Short form: do not jump from a shell directly into `contact-search`.
|
|
787
|
-
Short form: do not jump from a shell directly into `signal-discovery`.
|
|
788
|
-
Short form: never include sender reassignment fields in source-step updates.
|
|
789
|
-
Short form: never include custom narration fields in source-step updates.
|
|
790
|
-
Short form: do not loop on rejected `update_campaign` transitions.
|
|
791
|
-
|
|
792
670
|
One lane may produce exactly one CampaignOffer/campaign id and one current
|
|
793
671
|
workflow table id. For `intent:"create"`, the first successful
|
|
794
672
|
`create_campaign` result establishes the lane's only allowed campaign/table
|
|
@@ -827,14 +705,9 @@ the prospect's engagement unless the selected source evidence proves that exact
|
|
|
827
705
|
sender authored the post.
|
|
828
706
|
Shared lanes must reject generic product-summary samples that explain the
|
|
829
707
|
product in the same broad words for every row. Shared lanes must reject three
|
|
830
|
-
nearly identical samples after stripping the leading name.
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
If any of these failures appears, revise or rerun the packaged
|
|
834
|
-
create-campaign/generate-messages path from the lane worker before writing a
|
|
835
|
-
success receipt.
|
|
836
|
-
Short form: Shared lanes must fail quality review when any reviewed sample has non-empty `issues`.
|
|
837
|
-
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.
|
|
838
711
|
The generated-message cells are not prompt proof: `currentRevisionGeneratedMessages`,
|
|
839
712
|
Generate Message column counts, `messagesCount`, or rendered row previews prove
|
|
840
713
|
only that table cells exist from the current brief/template, not that the
|
|
@@ -854,22 +727,6 @@ duplicate-lane blockers before you call the command finished. If verify blocks,
|
|
|
854
727
|
report the blocker and repair only the missing postconditions from the same
|
|
855
728
|
current plan.
|
|
856
729
|
|
|
857
|
-
Before calling verify, the parent should build compact receipt objects from the
|
|
858
|
-
durable receipt files and pass those compact objects to MCP. The compact receipt
|
|
859
|
-
must preserve every verifier-owned field named above, including top-level ids,
|
|
860
|
-
`createCampaignStepReceipt`, canonical filter/message/review/sequence/final
|
|
861
|
-
proof, and at least three concrete sample messages. It should omit large raw
|
|
862
|
-
search outputs, long post lists, full row arrays, raw provider responses, and
|
|
863
|
-
debug-only narration fields. Do not pass multi-hundred-kilobyte raw receipt
|
|
864
|
-
objects when a compact canonical receipt has the same proof; large raw verify
|
|
865
|
-
payloads can stall local MCP bridges and make UAT ambiguous.
|
|
866
|
-
Do not print or `jq .` full receipt JSON into the terminal. For local checks,
|
|
867
|
-
print only compact summaries such as file, actionId, laneKey, campaignId,
|
|
868
|
-
filter status, sample count, approved count, and final status.
|
|
869
|
-
Short form: Parent verify uses compact canonical receipt objects, not raw giant receipts.
|
|
870
|
-
Short form: Do not dump full receipt JSON with `jq .`.
|
|
871
|
-
Short form: Never change planRevision/actionId/laneKey while compacting receipts.
|
|
872
|
-
|
|
873
730
|
Message proof for every customer-visible lane must come from the current
|
|
874
731
|
campaign/table basis and include at least 3 generated review rows from the
|
|
875
732
|
packaged `generate-messages` path before completion is reported.
|
|
@@ -918,7 +775,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
918
775
|
|
|
919
776
|
Hey there
|
|
920
777
|
|
|
921
|
-
|
|
778
|
+
Thanks for the support on my post about {{post_topic_line}}
|
|
922
779
|
```
|
|
923
780
|
|
|
924
781
|
- **Shared Signal Discovery** first-message style: short, casual, references
|
|
@@ -934,15 +791,6 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
934
791
|
say it. Prefer sender-agnostic company/team language such as "we're
|
|
935
792
|
helping CX teams..." or "at cxconnect.ai, we help..." and one clear
|
|
936
793
|
problem question.
|
|
937
|
-
Before Message Drafting runs, the campaign brief must already include
|
|
938
|
-
these shared-lane hard avoids and source-use rules. Do not rely on a
|
|
939
|
-
failed first generation batch to discover that self-intros, generic
|
|
940
|
-
product summaries, or repeated structure are bad. If the first generated
|
|
941
|
-
batch violates these rules, rerun, but record that as a repaired UAT path
|
|
942
|
-
rather than the desired zero-shot path.
|
|
943
|
-
Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
|
|
944
|
-
Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
|
|
945
|
-
Short form: Shared Signal Discovery uses no "I've put together".
|
|
946
794
|
- **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
|
|
947
795
|
It must not pretend there was engagement, must not say "saw you pop up",
|
|
948
796
|
and must not use a standalone name line followed by "Hey there" or other
|
|
@@ -957,45 +805,14 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
957
805
|
Sellable/Codex/Claude-Code feature summary
|
|
958
806
|
across prospects. This is a single-message cold path unless the approved
|
|
959
807
|
create-campaign message workflow proves a better delivery format.
|
|
960
|
-
Before Message Drafting runs, the campaign brief must already forbid
|
|
961
|
-
self-intros, generic product summaries, opt-out shrugs, product-stack
|
|
962
|
-
dumps, and repeated template structure. Do not let the first generation
|
|
963
|
-
batch use "I'm building", "We're building", "I've put together", or
|
|
964
|
-
similar language and then rely on a cleanup rerun as the normal path.
|
|
965
808
|
Short form: Shared Cold Fallback must not pass just because the receipt says `generate-messages` loaded.
|
|
966
809
|
Short form: Shared Cold Fallback uses no self-intro such as "We're building".
|
|
967
|
-
Short form: Shared Cold Fallback uses no self-intro such as "I'm building Sellable".
|
|
968
|
-
Short form: Shared Cold Fallback uses no "I've put together".
|
|
969
810
|
Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
|
|
970
811
|
Short form: Shared Cold Fallback uses no product-stack dump.
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
workflow: set or save 3-5 headline ICP criteria, call `save_rubrics`, and
|
|
976
|
-
persist `enableICPFilters:true` on the campaign before generating
|
|
977
|
-
messages. Good evergreen filters should be light but real: role/budget
|
|
978
|
-
relevance, company/market fit, and obvious non-buyer exclusion. For
|
|
979
|
-
Post Engagers, keep filters permissive enough that warm source rows are not
|
|
980
|
-
over-pruned, but still save the filter rules. For shared lanes, filter for
|
|
981
|
-
buyers/operators relevant to the workspace offer and exclude students,
|
|
982
|
-
job seekers, vendors, and off-topic commenters. The receipt must show
|
|
983
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
984
|
-
`filterDecisionReceipt.enableICPFilters:true`, current `workflowTableId`,
|
|
985
|
-
and saved filter/rubric proof with at least three saved rubric/filter
|
|
986
|
-
criteria (`filterIds`, `rubricIds`, `headlineICPCriteria`, or
|
|
987
|
-
`savedRubricCount`). Missing or skipped filter proof is
|
|
988
|
-
`blocked: missing_filter_setup`.
|
|
989
|
-
Short form: Customer-visible evergreen lanes must enable ICP filtering.
|
|
990
|
-
Short form: `enableICPFilters:true`.
|
|
991
|
-
Short form: Do not skip filtering for evergreen setup.
|
|
992
|
-
Short form: at least three saved rubric/filter criteria.
|
|
993
|
-
Short form: missing or skipped filter proof is `blocked: missing_filter_setup`.
|
|
994
|
-
Short form: run Message Drafting only after saved filters are applied.
|
|
995
|
-
- Every customer-visible lane must run Message Drafting from the current
|
|
996
|
-
campaign/table basis after source rows exist. The worker must load the full
|
|
997
|
-
packaged `generate-messages` prompt, every required asset, and
|
|
998
|
-
`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
|
|
999
816
|
callable in the packaged runtime, the worker must call
|
|
1000
817
|
`start_campaign_message_preparation` and poll
|
|
1001
818
|
`get_campaign_message_preparation_status` from the lane worker. The
|
|
@@ -1025,13 +842,10 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1025
842
|
- A source/list decision has been resolved and campaign rows are loaded. If
|
|
1026
843
|
there is no approved source or no rows can be copied, report `blocked` with
|
|
1027
844
|
the missing source detail; do not call the campaign complete.
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
evergreen setup. Do not leave customer-visible campaigns at
|
|
1033
|
-
`filter-choice`, `filter-rules`, or `apply-icp-rubric` and report success.
|
|
1034
|
-
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.
|
|
1035
849
|
- Message Drafting has run from the current campaign/table basis, using the
|
|
1036
850
|
create-campaign message prompt/assets and validation gate. Updating
|
|
1037
851
|
`currentStep:"messages"` is not proof. Parent-thread handwritten copy is
|
|
@@ -1050,16 +864,13 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1050
864
|
reviewed sample messages. For Shared Cold Fallback, reject samples that
|
|
1051
865
|
open with a standalone name followed by "Hey there" or a similarly generic
|
|
1052
866
|
greeting. For Shared Cold Fallback, also reject samples with a self-intro
|
|
1053
|
-
such as "We're building",
|
|
1054
|
-
|
|
1055
|
-
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
|
|
1056
869
|
Sellable/Codex/Claude-Code feature summary across prospects. For all
|
|
1057
870
|
shared lanes, reject generic product-summary samples, repeated
|
|
1058
|
-
near-identical samples, any
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
approve or final-report samples with `verdict:"passed"` and non-empty
|
|
1062
|
-
`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.
|
|
1063
874
|
- The first review batch exists and at least 3 review rows have generated
|
|
1064
875
|
messages from the approved brief. If fewer than 3 usable rows exist, report
|
|
1065
876
|
the actual count and why.
|
|
@@ -1133,9 +944,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1133
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.
|
|
1134
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.
|
|
1135
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.
|
|
1136
|
-
8. **
|
|
1137
|
-
If the `Sample Messaging Review` section is omitted, the command is incomplete even when the structural campaign setup succeeded.
|
|
1138
|
-
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:
|
|
1139
948
|
|
|
1140
949
|
```
|
|
1141
950
|
Evergreen Reconcile — {date}
|
|
@@ -1144,17 +953,6 @@ Evergreen Reconcile — {date}
|
|
|
1144
953
|
• Sellable.dev - Shared Signal Discovery: repaired (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1145
954
|
• Sellable.dev - Shared Cold Fallback: created (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1146
955
|
All campaigns remain unlaunched. Next: enrich/approve more rows when you want more items ready to schedule.
|
|
1147
|
-
|
|
1148
|
-
Sample Messaging Review
|
|
1149
|
-
• Christian Reyes - Post Engagers (`cmp_...`, row `row_...`, verdict: passed)
|
|
1150
|
-
```
|
|
1151
|
-
{{full generated first message}}
|
|
1152
|
-
```
|
|
1153
|
-
• Sellable.dev - Shared Cold Fallback (`cmp_...`, row `row_...`, verdict: passed)
|
|
1154
|
-
```
|
|
1155
|
-
{{full generated first message}}
|
|
1156
|
-
```
|
|
1157
|
-
If any sample is not quite right, ask the AI to update the campaign brief/message template and rerun Generate Message before launch.
|
|
1158
956
|
```
|
|
1159
957
|
</objective>
|
|
1160
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
|
|
@@ -51,10 +54,11 @@ get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
|
51
54
|
```
|
|
52
55
|
|
|
53
56
|
Then follow that workflow exactly. The default path is read-only research:
|
|
54
|
-
resolve the route,
|
|
55
|
-
|
|
56
|
-
campaign
|
|
57
|
-
|
|
57
|
+
resolve the route, identify the sender-relevant campaign that most recently had
|
|
58
|
+
scheduler-owned sends, read refill state for that target, report the next safe
|
|
59
|
+
step using campaign names first, and stop before mutation unless the user has
|
|
60
|
+
explicitly approved the exact workspace, campaign/table/source ids, caps/dates,
|
|
61
|
+
approval mode, expected side effects, and stop/rollback condition.
|
|
58
62
|
|
|
59
63
|
Public concepts are regular campaign and evergreen campaign. Internal direct
|
|
60
64
|
campaign types are unsupported refill targets. `fill_campaign_horizon` is only a
|