@sellable/mcp 0.1.400 → 0.1.402
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
|
@@ -315,7 +315,26 @@ Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.js
|
|
|
315
315
|
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
316
316
|
Short form: Do not embed `<<'WORKER_PROMPT'` heredocs inside a quoted `/bin/bash -lc` command string.
|
|
317
317
|
Short form: Multi-worker launchers write prompt files and run `codex ... - < "$worker_prompt_file"`.
|
|
318
|
+
After the auto-executable plan returns, take at most one short planning pass to
|
|
319
|
+
choose the visible/durable worker runtime and build the worker launch packet.
|
|
320
|
+
Do not keep reasoning, re-reading prompts, or restating the workflow instead of
|
|
321
|
+
dispatching. If the parent cannot name the callable worker runtime and prepare
|
|
322
|
+
the first worker launch command/tool call immediately after that pass, stop with
|
|
323
|
+
`blocked: worker_dispatch_deadline_exceeded` before directory setup or mutation.
|
|
318
324
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
325
|
+
Before any campaign shell creation, the parent must dispatch every selected lane
|
|
326
|
+
worker from the current plan and record the visible thread id or
|
|
327
|
+
`receiptArtifactPath` for each selected actionId. The parent must not call
|
|
328
|
+
`create_campaign`, `import_leads`, `confirm_lead_list`, sequence tools, message
|
|
329
|
+
preparation tools, or `setup_evergreen_campaigns` with `mode:"apply"` or any
|
|
330
|
+
other mutating setup mode. In this wrapper, `setup_evergreen_campaigns` is
|
|
331
|
+
plan/verify authority only; customer-visible creation belongs inside lane
|
|
332
|
+
workers through `$sellable:create-campaign`. If a campaign/table id appears for
|
|
333
|
+
a create lane before that lane has a recorded worker runtime and fresh receipt
|
|
334
|
+
path/thread id, stop with `blocked: parent_mutated_before_worker_receipt` and
|
|
335
|
+
do not continue setup in the parent.
|
|
336
|
+
Short form: dispatch every selected lane worker before shell creation.
|
|
337
|
+
Short form: do not call `setup_evergreen_campaigns` with `mode:"apply"` from the parent.
|
|
319
338
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
320
339
|
original planRevision, parent postEngagerSenderIds, parent sharedSenderIds,
|
|
321
340
|
receiptArtifactPath, workspace id, sender ids, side-effect caps, and the
|
|
@@ -323,6 +342,11 @@ instruction to load packaged prompts through MCP.
|
|
|
323
342
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
324
343
|
launch at least one visible/durable worker immediately after directory setup,
|
|
325
344
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
345
|
+
After launching workers, poll only the expected current-run receipt paths from
|
|
346
|
+
`workerDispatch.receiptArtifactHint`. If no worker receipt file appears within a
|
|
347
|
+
bounded wait, for example 10 minutes in automation, stop with
|
|
348
|
+
`blocked: worker_receipt_timeout`, include the worker ids/final-file paths/stderr
|
|
349
|
+
if available, and do not create or repair campaign shells in the parent.
|
|
326
350
|
Use only the repo-local `workerDispatch.receiptArtifactHint` returned by the
|
|
327
351
|
current lane packet for receipt paths.
|
|
328
352
|
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.
|