@sellable/install 0.1.240 → 0.1.242
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:
|
|
@@ -266,8 +276,9 @@ stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
|
266
276
|
pass exactly one lane packet per worker.
|
|
267
277
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
268
278
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
269
|
-
original planRevision,
|
|
270
|
-
side-effect caps, and the
|
|
279
|
+
original planRevision, parent postEngagerSenderIds, parent sharedSenderIds,
|
|
280
|
+
receiptArtifactPath, workspace id, sender ids, side-effect caps, and the
|
|
281
|
+
instruction to load packaged prompts through MCP.
|
|
271
282
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
272
283
|
launch at least one visible/durable worker immediately after directory setup,
|
|
273
284
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
@@ -286,6 +297,8 @@ Use $sellable:create-evergreen-campaigns as the governing skill for this one lan
|
|
|
286
297
|
Workspace id: <workspaceId>
|
|
287
298
|
Parent planRevision: <planRevision>
|
|
288
299
|
Parent selectedActionIds: <selectedActionIds JSON>
|
|
300
|
+
Parent postEngagerSenderIds: <postEngagerSenderIds JSON>
|
|
301
|
+
Parent sharedSenderIds: <sharedSenderIds JSON>
|
|
289
302
|
Action id: <actionId>
|
|
290
303
|
Lane key: <laneKey>
|
|
291
304
|
Allowed side effects: <allowedSideEffects JSON>
|
|
@@ -368,7 +381,14 @@ not a parent-thread summary. The receipt must include:
|
|
|
368
381
|
`senderIds`, `campaignId`, `tableId`, and `createIntent`. Do not use
|
|
369
382
|
`laneActionId`, `lanePacketActionId`, `delegatedPlanRevision`,
|
|
370
383
|
`delegatedActionId`, or freeform `requestedCall` text as a substitute for
|
|
371
|
-
these fields.
|
|
384
|
+
these fields. For create lanes, `setupPlanCall.campaignId` and
|
|
385
|
+
`setupPlanCall.tableId` must be the actual created campaign/table ids after
|
|
386
|
+
creation and readback. If the parent lane packet carried null ids before
|
|
387
|
+
creation, preserve that original packet only in a separate `parentLanePacket`
|
|
388
|
+
object; do not leave `setupPlanCall.campaignId:null` or
|
|
389
|
+
`setupPlanCall.tableId:null`.
|
|
390
|
+
Short form: For create lanes, `setupPlanCall.campaignId` and `setupPlanCall.tableId` must be the actual created campaign/table ids.
|
|
391
|
+
Short form: Do not leave `setupPlanCall.campaignId:null` or `setupPlanCall.tableId:null`.
|
|
372
392
|
- `createCampaignWorkflowReceipt`: proof the worker loaded the actual installed
|
|
373
393
|
`$sellable:create-campaign` wrapper instead of doing ad hoc MCP calls. It must
|
|
374
394
|
include `skillCommand:"$sellable:create-campaign"`,
|
|
@@ -705,9 +725,14 @@ the prospect's engagement unless the selected source evidence proves that exact
|
|
|
705
725
|
sender authored the post.
|
|
706
726
|
Shared lanes must reject generic product-summary samples that explain the
|
|
707
727
|
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
|
-
|
|
728
|
+
nearly identical samples after stripping the leading name. Shared lanes must
|
|
729
|
+
fail quality review when any reviewed sample has non-empty `issues`; do not
|
|
730
|
+
approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
731
|
+
If any of these failures appears, revise or rerun the packaged
|
|
732
|
+
create-campaign/generate-messages path from the lane worker before writing a
|
|
733
|
+
success receipt.
|
|
734
|
+
Short form: Shared lanes must fail quality review when any reviewed sample has non-empty `issues`.
|
|
735
|
+
Short form: Do not approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
711
736
|
The generated-message cells are not prompt proof: `currentRevisionGeneratedMessages`,
|
|
712
737
|
Generate Message column counts, `messagesCount`, or rendered row previews prove
|
|
713
738
|
only that table cells exist from the current brief/template, not that the
|
|
@@ -791,6 +816,9 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
791
816
|
say it. Prefer sender-agnostic company/team language such as "we're
|
|
792
817
|
helping CX teams..." or "at cxconnect.ai, we help..." and one clear
|
|
793
818
|
problem question.
|
|
819
|
+
Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
|
|
820
|
+
Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
|
|
821
|
+
Short form: Shared Signal Discovery uses no "I've put together".
|
|
794
822
|
- **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
|
|
795
823
|
It must not pretend there was engagement, must not say "saw you pop up",
|
|
796
824
|
and must not use a standalone name line followed by "Hey there" or other
|
|
@@ -807,6 +835,8 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
807
835
|
create-campaign message workflow proves a better delivery format.
|
|
808
836
|
Short form: Shared Cold Fallback must not pass just because the receipt says `generate-messages` loaded.
|
|
809
837
|
Short form: Shared Cold Fallback uses no self-intro such as "We're building".
|
|
838
|
+
Short form: Shared Cold Fallback uses no self-intro such as "I'm building Sellable".
|
|
839
|
+
Short form: Shared Cold Fallback uses no "I've put together".
|
|
810
840
|
Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
|
|
811
841
|
Short form: Shared Cold Fallback uses no product-stack dump.
|
|
812
842
|
- Every customer-visible lane must run Message Drafting from the current
|
|
@@ -864,13 +894,16 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
864
894
|
reviewed sample messages. For Shared Cold Fallback, reject samples that
|
|
865
895
|
open with a standalone name followed by "Hey there" or a similarly generic
|
|
866
896
|
greeting. For Shared Cold Fallback, also reject samples with a self-intro
|
|
867
|
-
such as "We're building",
|
|
868
|
-
|
|
897
|
+
such as "We're building", "I'm building Sellable", or "I've put
|
|
898
|
+
together", an opt-out shrug such as "If this isn't relevant, ignore me",
|
|
899
|
+
or a product-stack dump that repeats the same
|
|
869
900
|
Sellable/Codex/Claude-Code feature summary across prospects. For all
|
|
870
901
|
shared lanes, reject generic product-summary samples, repeated
|
|
871
|
-
near-identical samples,
|
|
872
|
-
|
|
873
|
-
completion.
|
|
902
|
+
near-identical samples, any sample with non-empty `issues`, and any
|
|
903
|
+
preserved Post Engagers opener; revise or rerun the packaged
|
|
904
|
+
create-campaign/generate-messages path before reporting completion. Do not
|
|
905
|
+
approve or final-report samples with `verdict:"passed"` and non-empty
|
|
906
|
+
`issues`.
|
|
874
907
|
- The first review batch exists and at least 3 review rows have generated
|
|
875
908
|
messages from the approved brief. If fewer than 3 usable rows exist, report
|
|
876
909
|
the actual count and why.
|
|
@@ -944,7 +977,8 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
944
977
|
**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
978
|
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
979
|
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. **
|
|
980
|
+
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.
|
|
981
|
+
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:
|
|
948
982
|
|
|
949
983
|
```
|
|
950
984
|
Evergreen Reconcile — {date}
|
|
@@ -953,6 +987,17 @@ Evergreen Reconcile — {date}
|
|
|
953
987
|
• Sellable.dev - Shared Signal Discovery: repaired (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
954
988
|
• Sellable.dev - Shared Cold Fallback: created (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
955
989
|
All campaigns remain unlaunched. Next: enrich/approve more rows when you want more items ready to schedule.
|
|
990
|
+
|
|
991
|
+
Sample Messaging Review
|
|
992
|
+
• Christian Reyes - Post Engagers (`cmp_...`, row `row_...`, verdict: passed)
|
|
993
|
+
```
|
|
994
|
+
{{full generated first message}}
|
|
995
|
+
```
|
|
996
|
+
• Sellable.dev - Shared Cold Fallback (`cmp_...`, row `row_...`, verdict: passed)
|
|
997
|
+
```
|
|
998
|
+
{{full generated first message}}
|
|
999
|
+
```
|
|
1000
|
+
If any sample is not quite right, ask the AI to update the campaign brief/message template and rerun Generate Message before launch.
|
|
956
1001
|
```
|
|
957
1002
|
</objective>
|
|
958
1003
|
|