@sellable/mcp 0.1.309 → 0.1.310

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.
@@ -331,8 +331,8 @@ export function getPostFindLeadsScoutRegistry() {
331
331
  "basis.campaignId",
332
332
  "basis.selectedLeadListId",
333
333
  "basis.workflowTableId",
334
- "basis.currentExecutionSliceNonEmpty",
335
- "basis.sampleRows or basis.sampleRowSummary",
334
+ "basis.reviewBatchRowHash or basis.reviewBatchRowIds",
335
+ "basis.filterChoice",
336
336
  ],
337
337
  promptRequired: 'Load current campaign brief/table state through scoped tools. Before drafting: get_subskill_prompt({ subskillName: "generate-messages" }); every required message asset named by generate-messages Mode 0 through get_subskill_asset, including gold-standard-message-examples.md, gold-standard-message-patterns.md, ai-tells.md, sellable-cleanup-rules.md, ai-native-tokens.md, and token-fill-examples.md. Do not use shell/local filesystem reads, repo paths, plugin-cache paths, /Users paths, local artifacts, alternate prompts, or examples-only prompts. After candidate generation/revision and before returning ready: get_subskill_prompt({ subskillName: "create-campaign-v2-validation" }) as the final internal validation gate. If required prompts/assets cannot load through MCP tools, return blocked/retry-needed instead of drafting from memory.',
338
338
  basisFields: [
@@ -342,6 +342,7 @@ export function getPostFindLeadsScoutRegistry() {
342
342
  "selectedLeadListId",
343
343
  "workflowTableId",
344
344
  "filter choice",
345
+ "runtime proof row identity: reviewBatchRowHash or reviewBatchRowIds",
345
346
  "concise brief summary: offer, buyer, safe proof, blocked claims",
346
347
  "concise source summary and source-use rule",
347
348
  "3-5 sample campaign-table rows with name, title, company when available, and signal",
@@ -363,9 +364,9 @@ export function getPostFindLeadsScoutRegistry() {
363
364
  reusePolicy: "The first completed Message Drafting recommendation remains the default review candidate. Later Lead Fit Builder, Filter Leads, enrichment, or rubric completion may make an enriched rewrite available, but does not automatically retry or replace the initial draft unless campaign/brief/source/list/table/execution-slice identity mismatches or the initial output failed. If filters were chosen but leadScoringRubrics are not yet visible when the branch reads campaign state, Message Drafting must not wait, retry, or return blocked; missing saved rubrics are parent-owned filter setup, and the branch should return status ready with basisStatus usable_initial when campaign/list/table identity and the non-empty execution slice match. User copy feedback before approve-message is an explicit Message Drafting revision and must be routed back through the message branch with the current recommendation and basis.",
364
365
  },
365
366
  usage: {
366
- codex: "After confirm_lead_list copies source rows and the initial campaign-table execution slice exists, ask the filter-choice question immediately. Do not spawn anything before that question. After the answer, launch only Message Drafting. The filter-choice answer is the post-import user gate for this single worker; do not ask another question about starting it in step-wise or YOLO mode. The registry lookup is not a launch: after get_post_find_leads_scout_registry, immediately invoke Task/spawn_agent or the host background-agent mechanism before loading filter-leads.md, before saving rubrics, and before treating skip-filters as ready for message review. Both choices route through this kickoff; do not let filters_skipped jump straight from filter-choice to message-generation. If filters are chosen, the parent stays on Filter Rules and drafts/saves rubrics with MCP tools while Message Drafting runs in the background. If filters are skipped, move to Messages/message review only after Message Drafting has started or is ready; update_campaign(currentStep=messages) is not proof of launch. If the named Message Drafting custom agent is unavailable, spawn a generic gpt-5.5 xhigh Message Drafting background agent with the same lean campaign/table basis. If no background-agent tool is callable, start the same full message branch inline before filter drafting or before skip-filter message review, record it as statusSource parent-thread-fallback, and require the same live context, prompt, assets, and validation gate before message review; do not wait until filters are saved and then call the registry.",
367
+ codex: 'After confirm_lead_list copies source rows and the initial campaign-table execution slice exists, ask the filter-choice question immediately. Do not spawn anything before that question. After the answer, launch only Message Drafting. The filter-choice answer is the post-import user gate for this single worker; do not ask another question about starting it in step-wise or YOLO mode. The registry lookup is not a launch: after get_post_find_leads_scout_registry, immediately invoke Task/spawn_agent or the host background-agent mechanism before loading filter-leads.md, before saving rubrics, and before treating skip-filters as ready for message review. Both choices route through this kickoff; do not let filters_skipped jump straight from filter-choice to message-generation. If filters are chosen, the parent stays on Filter Rules and drafts/saves rubrics with MCP tools while Message Drafting runs in the background. If filters are skipped, move to Messages/message review only after Message Drafting has started or is ready; update_campaign(currentStep=messages) is not proof of launch. If the named Message Drafting custom agent is unavailable, spawn a generic gpt-5.5 xhigh Message Drafting background agent with the same lean campaign/table basis. When the background worker starts, persist workerDetails.messageDraftBuilder with statusSource "branch", status "branch-running", runId, startedAt, updatedAt, basisToken when known, and basis containing campaignId, selectedLeadListId, workflowTableId, filterChoice, and reviewBatchRowHash or reviewBatchRowIds; workerStatuses.messageDraftBuilder may be "running" as a simple badge only. Never put rich proof under workerStatuses and never use workerStatuses.messageDrafting. If no background-agent tool is callable, start the same full message branch inline before filter drafting or before skip-filter message review, record workerDetails.messageDraftBuilder with statusSource "parent-thread-fallback" and status "fallback-active", and require the same live context, prompt, assets, and validation gate before message review; do not wait until filters are saved and then call the registry.',
367
368
  claude: "After confirm_lead_list copies source rows and the initial campaign-table execution slice exists, ask the filter-choice question immediately. Do not invoke any Task/Agent before that question. After the answer, invoke only Message Drafting. If filters are chosen, parent drafts/saves rubrics with MCP tools while Message Drafting runs, asks filter approval, then joins Message Drafting. If filters are skipped, invoke only Message Drafting and move to Messages/message review.",
368
- parentThreadRule: 'Named agents are optional acceleration, but message drafting is not optional. The only normal background worker is Message Drafting. The filter-choice answer is the campaign-scoped go-ahead for this single post-import worker; do not ask another question to start it in step-wise or YOLO mode. If a named agent is unavailable, use a generic gpt-5.5 xhigh Message Drafting background agent. source work and filter work stay in the parent thread with MCP tools. If post-find-leads-message-scout is available, run it as the background Message Draft Builder after the filter-choice answer. The registry lookup is not a launch: get_post_find_leads_scout_registry only identifies the worker, and Message Drafting counts as started only after Task/spawn_agent or the host background-agent tool is invoked, or after the parent begins the same full message branch inline because no background-agent tool is callable. This launch must happen before loading filter-leads.md, save_rubrics, filter approval, or skip-filter message review; currentStep=messages is not proof of launch. If post-find-leads-message-scout is absent, do not customer-surface install status. Do not silently treat message drafting as started; the main thread must either launch the background worker or execute the same message branch from CampaignOffer state, selected source state, workflowTableId, and initial campaign-table execution slice rows. If no background-agent tool is callable, start that same full message branch inline before filter drafting or before skip-filter message review, record statusSource parent-thread-fallback / status fallback-active then ready, and require the same live context, prompt, assets, and validation gate before message review; do not report that as a background worker failure. If neither branch nor inline fallback can run, return blocked/retry-needed; do not wait until filters are saved and then call the registry. The Message Drafting handoff must be lean. Do not paste copied row counts, brief hashes, review-batch hashes, full reviewBatchRowIds, broad row data, or local debug artifacts into the spawn prompt. Local markdown/json files are not normal-path inputs. The filter-choice question is the first post-import user gate; do not load post-lead registries or filter references before it. Message drafting starts after the filter-choice answer, must load get_subskill_prompt({ subskillName: "generate-messages" }), and must load every required message asset named by generate-messages Mode 0 through get_subskill_asset before drafting. Reference Asset Loading means loading the required pre-draft reference pack before drafting; return blocked/retry-needed if required assets cannot be loaded; load ai-tells.md because it is never optional. The branch or parent-thread fallback loads the full generate-messages prompt and every referenced asset through get_subskill_asset. After generating/revising the candidate and before returning ready, must load get_subskill_prompt({ subskillName: "create-campaign-v2-validation" }) as the final internal validation gate, must read live campaign table state through scoped MCP/product tools, and must reject mismatched selectedLeadListId/workflowTableId/campaign/workspace input. Do not block when filters were chosen but leadScoringRubrics are not yet visible in the branch read; the parent owns save_rubrics and filter approval in parallel, so Message Drafting should return status ready with basisStatus usable_initial when the campaign/list/table and non-empty execution slice match. Do not use any alternate, local-artifact, or examples-only message prompt. User copy feedback, message QA, or rewrite requests before approve-message must be routed back to Message Drafting with the current recommendation, lean campaign/table basis, and latest user text; the parent must not rewrite or QA the template from memory and must not call update_campaign_brief before approve-message. The worker validates internally and returns only templateRecommendation, tokenFillRules, renderedGoodSample, status, approveOrReviseRecommendation, validationStatus, outputAt, outputHash, and blocked/retry detail. Do not render renderedFallbackSample, risk notes, or a qaReceipt on the normal happy path. On the filter path, save_rubrics keeps the browser on Filter Rules after save_rubrics so the user can approve the saved criteria; after saved-filter approval, move to Filter Leads with currentStep=apply-icp-rubric whether Message Drafting is ready or still running. Wait there for message approval. Enrichment, filtering, Generate Message cells, sender setup, sequence attach, and launch wait for template approval on the Use Template path. On the skip path, move to Messages/message review after Message Drafting has started or is ready and wait for message approval before enrichment or Settings. Do not render message review from checklist or shortcut instructions; message review requires a messageDraftRecommendation whose basis proves the generate-messages prompt, required message assets, and validation gate ran for the current campaign/table execution slice. Do not automatically rerun Message Drafting after filters/enrichment finish; show the initial draft by default and offer an enriched rewrite only with explicit user opt-in. Handoff and recommendation output are Markdown with labeled fields, not raw JSON.',
369
+ parentThreadRule: 'Named agents are optional acceleration, but message drafting is not optional. The only normal background worker is Message Drafting. The filter-choice answer is the campaign-scoped go-ahead for this single post-import worker; do not ask another question to start it in step-wise or YOLO mode. If a named agent is unavailable, use a generic gpt-5.5 xhigh Message Drafting background agent. source work and filter work stay in the parent thread with MCP tools. If post-find-leads-message-scout is available, run it as the background Message Draft Builder after the filter-choice answer. The registry lookup is not a launch: get_post_find_leads_scout_registry only identifies the worker, and Message Drafting counts as started only after Task/spawn_agent or the host background-agent tool is invoked, or after the parent begins the same full message branch inline because no background-agent tool is callable. This launch must happen before loading filter-leads.md, save_rubrics, filter approval, or skip-filter message review; currentStep=messages is not proof of launch. If post-find-leads-message-scout is absent, do not customer-surface install status. Do not silently treat message drafting as started; the main thread must either launch the background worker or execute the same message branch from CampaignOffer state, selected source state, workflowTableId, and initial campaign-table execution slice rows. For a spawned worker, record workerDetails.messageDraftBuilder with statusSource branch / status branch-running, runId, startedAt, updatedAt, and basis containing campaignId, selectedLeadListId, workflowTableId, filterChoice, and reviewBatchRowHash or reviewBatchRowIds. workerStatuses.messageDraftBuilder is optional simple badge text only ("running", "ready", "blocked", "idle"); never put runId/statusSource/basis under workerStatuses and never use workerStatuses.messageDrafting. If no background-agent tool is callable, start that same full message branch inline before filter drafting or before skip-filter message review, record workerDetails.messageDraftBuilder with statusSource parent-thread-fallback / status fallback-active then ready, and require the same live context, prompt, assets, and validation gate before message review; do not report that as a background worker failure. If neither branch nor inline fallback can run, return blocked/retry-needed; do not wait until filters are saved and then call the registry. The Message Drafting handoff must be lean. Do not paste copied row counts, brief hashes, review-batch hashes, full reviewBatchRowIds, broad row data, or local debug artifacts into the spawn prompt. Local markdown/json files are not normal-path inputs. The filter-choice question is the first post-import user gate; do not load post-lead registries or filter references before it. Message drafting starts after the filter-choice answer, must load get_subskill_prompt({ subskillName: "generate-messages" }), and must load every required message asset named by generate-messages Mode 0 through get_subskill_asset before drafting. Reference Asset Loading means loading the required pre-draft reference pack before drafting; return blocked/retry-needed if required assets cannot be loaded; load ai-tells.md because it is never optional. The branch or parent-thread fallback loads the full generate-messages prompt and every referenced asset through get_subskill_asset. After generating/revising the candidate and before returning ready, must load get_subskill_prompt({ subskillName: "create-campaign-v2-validation" }) as the final internal validation gate, must read live campaign table state through scoped MCP/product tools, and must reject mismatched selectedLeadListId/workflowTableId/campaign/workspace input. Do not block when filters were chosen but leadScoringRubrics are not yet visible in the branch read; the parent owns save_rubrics and filter approval in parallel, so Message Drafting should return status ready with basisStatus usable_initial when campaign/list/table identity and the non-empty execution slice match. Do not use any alternate, local-artifact, or examples-only message prompt. User copy feedback, message QA, or rewrite requests before approve-message must be routed back to Message Drafting with the current recommendation, lean campaign/table basis, and latest user text; the parent must not rewrite or QA the template from memory and must not call update_campaign_brief before approve-message. The worker validates internally and returns only templateRecommendation, tokenFillRules, renderedGoodSample, status, approveOrReviseRecommendation, validationStatus, outputAt, outputHash, and blocked/retry detail. Do not render renderedFallbackSample, risk notes, or a qaReceipt on the normal happy path. On the filter path, save_rubrics keeps the browser on Filter Rules after save_rubrics so the user can approve the saved criteria; after saved-filter approval, move to Filter Leads with currentStep=apply-icp-rubric whether Message Drafting is ready or still running. Wait there for message approval. Enrichment, filtering, Generate Message cells, sender setup, sequence attach, and launch wait for template approval on the Use Template path. On the skip path, move to Messages/message review after Message Drafting has started or is ready and wait for message approval before enrichment or Settings. Do not render message review from checklist or shortcut instructions; message review requires a messageDraftRecommendation whose basis proves the generate-messages prompt, required message assets, and validation gate ran for the current campaign/table execution slice. Do not automatically rerun Message Drafting after filters/enrichment finish; show the initial draft by default and offer an enriched rewrite only with explicit user opt-in. Handoff and recommendation output are Markdown with labeled fields, not raw JSON.',
369
370
  prepareMessagesRule: 'Default create-campaign stays on the existing reviewBatchLimit:15 first campaign-table execution slice. Only call start_campaign_message_preparation when the user explicitly asks for more prepared messages or a send count. For "prepare/generate X messages", set targetPreparedMessages:X, omit maxRowsToCheck so the backend calibrates on at least 100 rows, estimates the row budget from observed rubric/pass yield, caps maxRowsToCheck at 2500, and use approvalMode:mark_ready. After the calibration sample settles, the backend adapts later batches up to 250 rows while recalculating yield. Poll get_campaign_message_preparation_status and summarize preparation-job status: checked rows, passed/prepared/approved count, target, estimated row budget remaining, and stop reason. For "approve X messages", use approvalMode:approve but still do not launch. For "schedule X sends", use approvalMode:approve to approve exactly the bounded X-message cohort during preparation, then continue through sender, sequence, and final launch greenlight; final launch must verify that bounded cohort and must not broad approve-all. campaignId is CampaignOffer.id. If the user asks to stop preparation, the target is wrong, or status shows the wrong campaign/table, call cancel_campaign_message_preparation; otherwise do not cancel a healthy prepare run. cancel_campaign_message_preparation cancels the same pending workflow-table cells as the UI Cancel Pending Cells action. Low-level selectors are diagnostics and recovery only for this lane. start_campaign remains forbidden until final launch greenlight.',
370
371
  },
371
372
  };
@@ -1110,6 +1110,90 @@ export declare const allTools: ({
1110
1110
  };
1111
1111
  workerStatuses: {
1112
1112
  type: string;
1113
+ description: string;
1114
+ properties: {
1115
+ leadFitBuilder: {
1116
+ type: string[];
1117
+ enum: (string | null)[];
1118
+ };
1119
+ messageDraftBuilder: {
1120
+ type: string[];
1121
+ enum: (string | null)[];
1122
+ };
1123
+ };
1124
+ additionalProperties: boolean;
1125
+ };
1126
+ workerDetails: {
1127
+ type: string;
1128
+ description: string;
1129
+ properties: {
1130
+ messageDraftBuilder: {
1131
+ type: string[];
1132
+ description: string;
1133
+ properties: {
1134
+ statusSource: {
1135
+ type: string;
1136
+ enum: string[];
1137
+ };
1138
+ status: {
1139
+ type: string;
1140
+ enum: string[];
1141
+ };
1142
+ runId: {
1143
+ type: string[];
1144
+ };
1145
+ fallbackId: {
1146
+ type: string[];
1147
+ };
1148
+ startedAt: {
1149
+ type: string;
1150
+ };
1151
+ updatedAt: {
1152
+ type: string;
1153
+ };
1154
+ basisToken: {
1155
+ type: string[];
1156
+ };
1157
+ basis: {
1158
+ type: string;
1159
+ properties: {
1160
+ campaignId: {
1161
+ type: string[];
1162
+ };
1163
+ selectedLeadListId: {
1164
+ type: string[];
1165
+ };
1166
+ workflowTableId: {
1167
+ type: string[];
1168
+ };
1169
+ reviewBatchRowHash: {
1170
+ type: string[];
1171
+ };
1172
+ reviewBatchRowIds: {
1173
+ type: string[];
1174
+ items: {
1175
+ type: string;
1176
+ };
1177
+ };
1178
+ filterChoice: {
1179
+ type: string[];
1180
+ };
1181
+ };
1182
+ };
1183
+ messageDraftOutputRef: {
1184
+ type: string[];
1185
+ };
1186
+ messageDraftOutput: {
1187
+ type: string[];
1188
+ };
1189
+ error: {
1190
+ type: string[];
1191
+ };
1192
+ };
1193
+ required: string[];
1194
+ };
1195
+ };
1196
+ additionalProperties: boolean;
1113
1197
  };
1114
1198
  };
1115
1199
  required: string[];
@@ -1225,6 +1309,90 @@ export declare const allTools: ({
1225
1309
  };
1226
1310
  workerStatuses: {
1227
1311
  type: string;
1312
+ description: string;
1313
+ properties: {
1314
+ leadFitBuilder: {
1315
+ type: string[];
1316
+ enum: (string | null)[];
1317
+ };
1318
+ messageDraftBuilder: {
1319
+ type: string[];
1320
+ enum: (string | null)[];
1321
+ };
1322
+ };
1323
+ additionalProperties: boolean;
1324
+ };
1325
+ workerDetails: {
1326
+ type: string;
1327
+ description: string;
1328
+ properties: {
1329
+ messageDraftBuilder: {
1330
+ type: string[];
1331
+ description: string;
1332
+ properties: {
1333
+ statusSource: {
1334
+ type: string;
1335
+ enum: string[];
1336
+ };
1337
+ status: {
1338
+ type: string;
1339
+ enum: string[];
1340
+ };
1341
+ runId: {
1342
+ type: string[];
1343
+ };
1344
+ fallbackId: {
1345
+ type: string[];
1346
+ };
1347
+ startedAt: {
1348
+ type: string;
1349
+ };
1350
+ updatedAt: {
1351
+ type: string;
1352
+ };
1353
+ basisToken: {
1354
+ type: string[];
1355
+ };
1356
+ basis: {
1357
+ type: string;
1358
+ properties: {
1359
+ campaignId: {
1360
+ type: string[];
1361
+ };
1362
+ selectedLeadListId: {
1363
+ type: string[];
1364
+ };
1365
+ workflowTableId: {
1366
+ type: string[];
1367
+ };
1368
+ reviewBatchRowHash: {
1369
+ type: string[];
1370
+ };
1371
+ reviewBatchRowIds: {
1372
+ type: string[];
1373
+ items: {
1374
+ type: string;
1375
+ };
1376
+ };
1377
+ filterChoice: {
1378
+ type: string[];
1379
+ };
1380
+ };
1381
+ };
1382
+ messageDraftOutputRef: {
1383
+ type: string[];
1384
+ };
1385
+ messageDraftOutput: {
1386
+ type: string[];
1387
+ };
1388
+ error: {
1389
+ type: string[];
1390
+ };
1391
+ };
1392
+ required: string[];
1393
+ };
1394
+ };
1395
+ additionalProperties: boolean;
1228
1396
  };
1229
1397
  };
1230
1398
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.309",
3
+ "version": "0.1.310",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -114,12 +114,6 @@ sends", use `approvalMode:"approve"` to approve exactly the bounded X-message
114
114
  cohort during preparation, then continue through sender, sequence, and final
115
115
  launch greenlight; the launch path must verify that bounded cohort and must not
116
116
  broad approve-all.
117
- When approving reviewed draft rows in the campaign table, resolve the actual
118
- visible `Approved` cells with `select_campaign_cells({ columnRole: "approved",
119
- rowSelector: { type: "rowIds", rowIds } })` and `update_cell` those returned
120
- cell IDs. Do not rely on `approveCellId` from `get_rows` unless it matches the
121
- semantic selector result; it may be a row-level helper and leave the UI checkbox
122
- unchecked.
123
117
  Treat `campaignId` as `CampaignOffer.id`. Low level selector/queue tools are
124
118
  diagnostics and recovery only for this lane. If the user asks to stop
125
119
  preparation, the target is wrong, or status shows the wrong campaign/table, call
@@ -174,12 +168,6 @@ person/company this campaign is for, then I’ll turn that into a campaign brief
174
168
  before we move into lead sourcing.
175
169
  ```
176
170
 
177
- Exception: if `bootstrap_create_campaign.modelQuality.status === "warn"`,
178
- the first visible campaign message must be the model-quality warning from
179
- `modelQuality.message`. Ask the user to switch to the configured minimum model
180
- or explicitly continue anyway before identity setup, research, lead filtering,
181
- message generation, or launch review.
182
-
183
171
  If a linked/local skill file is stale or missing, silently use the installed
184
172
  `sellable@sellable` plugin copy. Do not tell the user about the stale link,
185
173
  the old version, or the replacement path.
@@ -924,11 +912,8 @@ updates.
924
912
  - Do not call `mcp__sellable__get_campaigns`.
925
913
  - Do not call `mcp__sellable__get_campaign` to hunt for IDs.
926
914
  - Do not call `mcp__sellable__create_campaign({ campaignId: ... })` unless the user supplied that id.
927
- 6. Call `mcp__sellable__bootstrap_create_campaign({ flowVersion: "v2", campaignId?, host?, model?, reasoningEffort? })`.
928
- Pass the current host, model, and reasoning when the host exposes them.
915
+ 6. Call `mcp__sellable__bootstrap_create_campaign({ flowVersion: "v2", campaignId? })`.
929
916
  7. If `safeToProceed !== true`, stop and show `blockingErrors` + `nextStep`.
930
- 8. If `modelQuality.status === "warn"`, show `modelQuality.message` before any
931
- setup/research and wait for the user to switch or explicitly continue.
932
917
 
933
918
  ## Execute Workflow
934
919
 
@@ -965,6 +950,13 @@ updates.
965
950
  background-agent tool is callable, start the same full message branch inline
966
951
  before filter drafting or skip-filter message review and record it as
967
952
  `statusSource: "parent-thread-fallback"`.
953
+ After a spawned branch starts, persist rich proof under
954
+ `watchNarration.workerDetails.messageDraftBuilder` with
955
+ `statusSource: "branch"`, `status: "branch-running"`, `runId`, timestamps,
956
+ selectedLeadListId, workflowTableId, filterChoice, and reviewBatchRowHash or
957
+ reviewBatchRowIds. `workerStatuses.messageDraftBuilder` is only the optional
958
+ simple badge (`running`); never put rich proof under `workerStatuses` or use
959
+ a `messageDrafting` key.
968
960
  Do not use any alternate, examples-only, or local-artifact message prompt. Message review and
969
961
  message QA require Message Drafting output:
970
962
  do not draft from a checklist, local markdown artifact, or parent-thread
@@ -273,7 +273,7 @@ customer-facing source-choice labels.
273
273
 
274
274
  After `confirm_lead_list` copies source rows and records the review batch, ask the filter-choice question immediately. Do not call `get_post_find_leads_scout_registry`, load filter/message prompts, or spawn Message Drafting before that question. Before it: short setup summary plus add filters, skip filters, or revise source; no extra watch link.
275
275
 
276
- After filter choice, the only normal background worker is Message Drafting (`post-find-leads-message-scout`). The registry lookup is not a launch. Both choices must run this kickoff: call the registry, then start Message Drafting via `Task`/`spawn_agent` before filter refs, `save_rubrics`, or skip review. YOLO follows the same no-extra-question kickoff rule. If no background tool is callable, run the same full branch inline as `parent-thread-fallback`; otherwise return `blocked` / `retry-needed`. `update_campaign({ currentStep: "messages" })` is not proof of kickoff.
276
+ After filter choice, the only normal background worker is Message Drafting (`post-find-leads-message-scout`). The registry lookup is not a launch. Both choices must run this kickoff: call the registry, then start Message Drafting via `Task`/`spawn_agent` before filter refs, `save_rubrics`, or skip review. YOLO follows the same no-extra-question kickoff rule. If no background tool is callable, run the same full branch inline as `parent-thread-fallback`; otherwise return `blocked` / `retry-needed`. `update_campaign({ currentStep: "messages" })` is not proof of kickoff. After launch, persist rich proof under `watchNarration.workerDetails.messageDraftBuilder` with `statusSource: "branch"`, `status: "branch-running"`, `runId`, timestamps, selectedLeadListId, workflowTableId, filterChoice, and reviewBatchRowHash or reviewBatchRowIds; `workerStatuses.messageDraftBuilder` is only the optional simple badge (`running`). Never put rich proof under `workerStatuses` or use a `messageDrafting` key.
277
277
 
278
278
  Parent thread writes filters. On the filters path, start Message Drafting, load `references/filter-leads.md`, save rubrics, and ask users to approve saved criteria. Keep Filter Rules until criteria approval. After approval, move to `currentStep: "apply-icp-rubric"` so the app shows Filter Leads while Message Drafting finishes; no cells until template approval. Say Message Drafting is preparing it.
279
279