@sellable/install 0.1.241 → 0.1.243
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
|
@@ -215,7 +215,8 @@ After bounded delegated approval or safe `--yolo`, fan out lane worker tasks
|
|
|
215
215
|
only from the current plan. Each worker receives the complete lane packet:
|
|
216
216
|
workspace id, sender ids, lane key/type, existing campaign/table binding or
|
|
217
217
|
create intent, source hints, caps, planRevision, actionId, allowed side effects,
|
|
218
|
-
postconditions,
|
|
218
|
+
postconditions, the parent `postEngagerSenderIds`, the parent
|
|
219
|
+
`sharedSenderIds`, and the packet's `workerDispatch` policy. Treat
|
|
219
220
|
`workerDispatch.requiresVisibleThreadOrDurableReceipt:true` as a hard
|
|
220
221
|
execution boundary, not guidance. Read and preserve `workerDispatch.acceptedRuntimes`,
|
|
221
222
|
`workerDispatch.rejectedRuntimes`, and `workerDispatch.receiptArtifactHint`
|
|
@@ -234,6 +235,15 @@ parent packet, do not mutate and do not use it as `setupPlanCall` proof; stop
|
|
|
234
235
|
with `blocked: worker_plan_scope_drift` and ask the parent to re-plan.
|
|
235
236
|
Short form: If a worker-local plan omits `postEngagerSenderIds:[]`, do not use it as `setupPlanCall` proof.
|
|
236
237
|
Short form: stop with `blocked: worker_plan_scope_drift`.
|
|
238
|
+
Every worker prompt must include both parent scope arrays as explicit fields:
|
|
239
|
+
`Parent postEngagerSenderIds:` and `Parent sharedSenderIds:`. Workers must
|
|
240
|
+
preserve parent postEngagerSenderIds even for shared lanes. Never run a
|
|
241
|
+
shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent
|
|
242
|
+
`postEngagerSenderIds` is exactly `[]`. Every durable receipt must copy these
|
|
243
|
+
arrays to top-level `parentPostEngagerSenderIds` and `parentSharedSenderIds`
|
|
244
|
+
before completion.
|
|
245
|
+
Short form: Workers must preserve parent postEngagerSenderIds even for shared lanes.
|
|
246
|
+
Short form: Never run a shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent `postEngagerSenderIds` is exactly `[]`.
|
|
237
247
|
|
|
238
248
|
Worker fan-out must use visible or durable execution. Preferred in local Codex
|
|
239
249
|
is a visible Codex thread created with the actual Codex app thread tools:
|
|
@@ -264,10 +274,23 @@ CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
|
264
274
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
265
275
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
266
276
|
pass exactly one lane packet per worker.
|
|
277
|
+
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
278
|
+
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
279
|
+
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
280
|
+
zsh treats it as read-only; use `exit_code` or `rc` instead. Receipt polling
|
|
281
|
+
must use `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print` or an
|
|
282
|
+
explicit nullglob-safe equivalent. Do not use naked `*.json` globs under zsh,
|
|
283
|
+
and keep zero-receipt polls quiet with no `no matches found` diagnostics.
|
|
284
|
+
Short form: run the wrapper with `/bin/bash -lc`.
|
|
285
|
+
Short form: Do not rely on zsh-specific behavior.
|
|
286
|
+
Short form: Do not use `status` as a shell variable; use `exit_code` or `rc`.
|
|
287
|
+
Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print`.
|
|
288
|
+
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
267
289
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
268
290
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
269
|
-
original planRevision,
|
|
270
|
-
side-effect caps, and the
|
|
291
|
+
original planRevision, parent postEngagerSenderIds, parent sharedSenderIds,
|
|
292
|
+
receiptArtifactPath, workspace id, sender ids, side-effect caps, and the
|
|
293
|
+
instruction to load packaged prompts through MCP.
|
|
271
294
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
272
295
|
launch at least one visible/durable worker immediately after directory setup,
|
|
273
296
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
@@ -286,6 +309,8 @@ Use $sellable:create-evergreen-campaigns as the governing skill for this one lan
|
|
|
286
309
|
Workspace id: <workspaceId>
|
|
287
310
|
Parent planRevision: <planRevision>
|
|
288
311
|
Parent selectedActionIds: <selectedActionIds JSON>
|
|
312
|
+
Parent postEngagerSenderIds: <postEngagerSenderIds JSON>
|
|
313
|
+
Parent sharedSenderIds: <sharedSenderIds JSON>
|
|
289
314
|
Action id: <actionId>
|
|
290
315
|
Lane key: <laneKey>
|
|
291
316
|
Allowed side effects: <allowedSideEffects JSON>
|
|
@@ -368,7 +393,14 @@ not a parent-thread summary. The receipt must include:
|
|
|
368
393
|
`senderIds`, `campaignId`, `tableId`, and `createIntent`. Do not use
|
|
369
394
|
`laneActionId`, `lanePacketActionId`, `delegatedPlanRevision`,
|
|
370
395
|
`delegatedActionId`, or freeform `requestedCall` text as a substitute for
|
|
371
|
-
these fields.
|
|
396
|
+
these fields. For create lanes, `setupPlanCall.campaignId` and
|
|
397
|
+
`setupPlanCall.tableId` must be the actual created campaign/table ids after
|
|
398
|
+
creation and readback. If the parent lane packet carried null ids before
|
|
399
|
+
creation, preserve that original packet only in a separate `parentLanePacket`
|
|
400
|
+
object; do not leave `setupPlanCall.campaignId:null` or
|
|
401
|
+
`setupPlanCall.tableId:null`.
|
|
402
|
+
Short form: For create lanes, `setupPlanCall.campaignId` and `setupPlanCall.tableId` must be the actual created campaign/table ids.
|
|
403
|
+
Short form: Do not leave `setupPlanCall.campaignId:null` or `setupPlanCall.tableId:null`.
|
|
372
404
|
- `createCampaignWorkflowReceipt`: proof the worker loaded the actual installed
|
|
373
405
|
`$sellable:create-campaign` wrapper instead of doing ad hoc MCP calls. It must
|
|
374
406
|
include `skillCommand:"$sellable:create-campaign"`,
|
|
@@ -641,6 +673,19 @@ path itself in the worker thread:
|
|
|
641
673
|
exactly one semantic Approved cell through `select_campaign_cells` and
|
|
642
674
|
`update_cell`.
|
|
643
675
|
Approval shorthand: approve exactly one semantic Approved cell.
|
|
676
|
+
In this message-drafting path, `update_cell` is allowed only for the semantic
|
|
677
|
+
Approved checkbox. Do not use `update_cell` or any row/cell write to edit
|
|
678
|
+
generated message text, sample copy, or final message bodies in automation.
|
|
679
|
+
If generated copy fails review, update the campaign brief/message template
|
|
680
|
+
with `update_campaign_brief` or `revise_message_template_and_rerun`, then
|
|
681
|
+
rerun Generate Message and review current-revision generated output. Receipt
|
|
682
|
+
`sampleMessages` must come from generated current-revision cells after the
|
|
683
|
+
brief/template rerun, not from hand-edited message cell overrides. If a lane
|
|
684
|
+
used a generated-message body override, report
|
|
685
|
+
`blocked: generated_message_cell_override` instead of success.
|
|
686
|
+
Short form: `update_cell` is allowed only for the semantic Approved checkbox.
|
|
687
|
+
Short form: Do not use `update_cell` to edit generated message text.
|
|
688
|
+
Short form: Bad copy requires brief/template revision plus Generate Message rerun.
|
|
644
689
|
4. Poll `get_campaign_message_preparation_status` until no queued/active cells
|
|
645
690
|
remain or a bounded stop reason is returned.
|
|
646
691
|
5. Use `get_campaign_messages_preview` or `select_campaign_cells` to inspect
|
|
@@ -667,6 +712,26 @@ The only accepted statusSource values are exactly `branch` and
|
|
|
667
712
|
`packaged-generate-messages-worker`; descriptive aliases such as
|
|
668
713
|
`package-readback-local-thread` are rejected.
|
|
669
714
|
|
|
715
|
+
Before any provider-specific source mutation for a newly created campaign,
|
|
716
|
+
reread `get_campaign_navigation_state({ campaignId })` and use that product
|
|
717
|
+
navigation state as the source-step authority. Do not jump from a shell directly
|
|
718
|
+
into `contact-search`, and do not jump from a shell directly into
|
|
719
|
+
`signal-discovery`. Advance through the product-visible source-selection step
|
|
720
|
+
first, then load the provider prompt and write only the provider/source fields
|
|
721
|
+
accepted for that current step. Never include sender reassignment fields in
|
|
722
|
+
source-step updates, never include custom narration fields in source-step
|
|
723
|
+
updates, and do not use guessed `currentStep` or watched narration payloads to
|
|
724
|
+
force the flow forward. If `update_campaign` rejects the source transition
|
|
725
|
+
twice, reread navigation/campaign state once; if the campaign is not already on
|
|
726
|
+
the intended source step, stop the lane with
|
|
727
|
+
`blocked: watched_source_transition_blocked` and include the rejected tool
|
|
728
|
+
result plus the readback. Do not loop on rejected `update_campaign` transitions.
|
|
729
|
+
Short form: do not jump from a shell directly into `contact-search`.
|
|
730
|
+
Short form: do not jump from a shell directly into `signal-discovery`.
|
|
731
|
+
Short form: never include sender reassignment fields in source-step updates.
|
|
732
|
+
Short form: never include custom narration fields in source-step updates.
|
|
733
|
+
Short form: do not loop on rejected `update_campaign` transitions.
|
|
734
|
+
|
|
670
735
|
One lane may produce exactly one CampaignOffer/campaign id and one current
|
|
671
736
|
workflow table id. For `intent:"create"`, the first successful
|
|
672
737
|
`create_campaign` result establishes the lane's only allowed campaign/table
|
|
@@ -705,9 +770,14 @@ the prospect's engagement unless the selected source evidence proves that exact
|
|
|
705
770
|
sender authored the post.
|
|
706
771
|
Shared lanes must reject generic product-summary samples that explain the
|
|
707
772
|
product in the same broad words for every row. Shared lanes must reject three
|
|
708
|
-
nearly identical samples after stripping the leading name.
|
|
709
|
-
|
|
710
|
-
|
|
773
|
+
nearly identical samples after stripping the leading name. Shared lanes must
|
|
774
|
+
fail quality review when any reviewed sample has non-empty `issues`; do not
|
|
775
|
+
approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
776
|
+
If any of these failures appears, revise or rerun the packaged
|
|
777
|
+
create-campaign/generate-messages path from the lane worker before writing a
|
|
778
|
+
success receipt.
|
|
779
|
+
Short form: Shared lanes must fail quality review when any reviewed sample has non-empty `issues`.
|
|
780
|
+
Short form: Do not approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
711
781
|
The generated-message cells are not prompt proof: `currentRevisionGeneratedMessages`,
|
|
712
782
|
Generate Message column counts, `messagesCount`, or rendered row previews prove
|
|
713
783
|
only that table cells exist from the current brief/template, not that the
|
|
@@ -791,6 +861,9 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
791
861
|
say it. Prefer sender-agnostic company/team language such as "we're
|
|
792
862
|
helping CX teams..." or "at cxconnect.ai, we help..." and one clear
|
|
793
863
|
problem question.
|
|
864
|
+
Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
|
|
865
|
+
Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
|
|
866
|
+
Short form: Shared Signal Discovery uses no "I've put together".
|
|
794
867
|
- **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
|
|
795
868
|
It must not pretend there was engagement, must not say "saw you pop up",
|
|
796
869
|
and must not use a standalone name line followed by "Hey there" or other
|
|
@@ -807,6 +880,8 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
807
880
|
create-campaign message workflow proves a better delivery format.
|
|
808
881
|
Short form: Shared Cold Fallback must not pass just because the receipt says `generate-messages` loaded.
|
|
809
882
|
Short form: Shared Cold Fallback uses no self-intro such as "We're building".
|
|
883
|
+
Short form: Shared Cold Fallback uses no self-intro such as "I'm building Sellable".
|
|
884
|
+
Short form: Shared Cold Fallback uses no "I've put together".
|
|
810
885
|
Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
|
|
811
886
|
Short form: Shared Cold Fallback uses no product-stack dump.
|
|
812
887
|
- Every customer-visible lane must run Message Drafting from the current
|
|
@@ -864,13 +939,16 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
864
939
|
reviewed sample messages. For Shared Cold Fallback, reject samples that
|
|
865
940
|
open with a standalone name followed by "Hey there" or a similarly generic
|
|
866
941
|
greeting. For Shared Cold Fallback, also reject samples with a self-intro
|
|
867
|
-
such as "We're building",
|
|
868
|
-
|
|
942
|
+
such as "We're building", "I'm building Sellable", or "I've put
|
|
943
|
+
together", an opt-out shrug such as "If this isn't relevant, ignore me",
|
|
944
|
+
or a product-stack dump that repeats the same
|
|
869
945
|
Sellable/Codex/Claude-Code feature summary across prospects. For all
|
|
870
946
|
shared lanes, reject generic product-summary samples, repeated
|
|
871
|
-
near-identical samples,
|
|
872
|
-
|
|
873
|
-
completion.
|
|
947
|
+
near-identical samples, any sample with non-empty `issues`, and any
|
|
948
|
+
preserved Post Engagers opener; revise or rerun the packaged
|
|
949
|
+
create-campaign/generate-messages path before reporting completion. Do not
|
|
950
|
+
approve or final-report samples with `verdict:"passed"` and non-empty
|
|
951
|
+
`issues`.
|
|
874
952
|
- The first review batch exists and at least 3 review rows have generated
|
|
875
953
|
messages from the approved brief. If fewer than 3 usable rows exist, report
|
|
876
954
|
the actual count and why.
|
|
@@ -944,7 +1022,8 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
944
1022
|
**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.
|
|
945
1023
|
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.
|
|
946
1024
|
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.
|
|
947
|
-
8. **Final customer-facing completion must include sample messaging**: after customer-visible verify and the idempotency rerun pass, add a `Sample Messaging Review` section to the final answer. For every completed lane, show at least one full generated first message for every completed lane with campaign name, campaign id, row id, and verdict. Prefer the approved route-proof row when it is quality-valid; otherwise use the best reviewed generated row from the verified receipt. Do not summarize the sample into a copy theme. Show the actual message text so the user can inspect tone and specificity. If any sample is not quite right, tell the user they can ask the AI to update the campaign brief/message template and rerun Generate Message before launch. Never suggest launching, scheduling, or sending as the next step from this command.
|
|
1025
|
+
8. **Final customer-facing completion must include sample messaging**: after customer-visible verify and the idempotency rerun pass, add a `Sample Messaging Review` section to the final answer. For every completed lane, show at least one full generated first message for every completed lane with campaign name, campaign id, row id, and verdict. Extract samples from nested `createCampaignStepReceipt.messageDraftingReceipt.sampleMessages`, not from top-level summaries; extract samples from nested `createCampaignStepReceipt.messageDraftingReceipt.sampleMessages` when building the final answer. Prefer the approved route-proof row when it is quality-valid; otherwise use the best reviewed generated row from the verified receipt. A final `passed` sample must have `issues:[]`; if every reviewed sample has issues, report the lane as needing message revision instead of presenting a passed sample. Do not summarize the sample into a copy theme. Show the actual message text so the user can inspect tone and specificity. If any sample is not quite right, tell the user they can ask the AI to update the campaign brief/message template and rerun Generate Message before launch. Never suggest launching, scheduling, or sending as the next step from this command.
|
|
1026
|
+
If the `Sample Messaging Review` section is omitted, the command is incomplete even when the structural campaign setup succeeded.
|
|
948
1027
|
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:
|
|
949
1028
|
|
|
950
1029
|
```
|