@sellable/mcp 0.1.443 → 0.1.445

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/dist/index-dev.js CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
@@ -6,7 +6,7 @@ async function postPrepareMessages(body) {
6
6
  export const campaignMessagePreparationToolDefinitions = [
7
7
  {
8
8
  name: "start_campaign_message_preparation",
9
- description: 'Start a bounded message-preparation job for a specific existing CampaignOffer campaignId/tableId. This is the active_campaigns existing-row path after resolve_campaign_fill_route, exact target re-read, and active prep-job check; it is not campaign creation and not evergreen horizon fill. It never launches the campaign, sends messages, or directly writes scheduledFor. The job queues pending Enrich Prospect cells first, lets ICP/rubric and Generate Message cascade, then marks ready or approves only the bounded cohort. Prepared/approved/ready rows are intermediate only; scheduled completion requires a later re-read proving scheduler-owned scheduled cells with non-null scheduledFor. Surface active preparation jobs, exhausted source rows, disconnected Sales Nav/deleted sender accounts, missing sequence state, and other sender-health blockers separately from prepared/approved/scheduled counts. Omit maxRowsToCheck and batchSize for the adaptive default: calibrate on at least 100 actually-enriched rows, estimate the row budget from observed rubric/pass yield, cap rows at 300, and process at most 100 newly checked rows at a time. The worker will not pull another row batch while the current checked batch still has queueable or active cells. Do not interpret checkedRows as enriched rows; use progress.enrichedRows, needsEnrichRows, activeCellCount, preparedMessages, approvedMessages, and stopReason.',
9
+ description: 'Start a bounded message-preparation job for a specific existing CampaignOffer campaignId/tableId. This is the active_campaigns existing-row path after resolve_campaign_fill_route, exact target re-read, and active prep-job check; it is not campaign creation and not evergreen horizon fill. It never launches the campaign, sends messages, or directly writes scheduledFor. The job processes rows top-down by WorkflowTableRow.position, queues pending Enrich Prospect cells first, lets ICP/rubric and Generate Message cascade, then marks ready or approves only the bounded cohort. Use this or rowSelector:{type:"needsEnrichment"} for regular refill frontiers; needsGeneratedMessage is only for already-passed generated-message repair and can skip earlier unenriched rows. Prepared/approved/ready rows are intermediate only; scheduled completion requires a later re-read proving scheduler-owned scheduled cells with non-null scheduledFor. Surface active preparation jobs, exhausted source rows, disconnected Sales Nav/deleted sender accounts, missing sequence state, and other sender-health blockers separately from prepared/approved/scheduled counts. Omit maxRowsToCheck and batchSize for the adaptive default: calibrate on at least 100 actually-enriched rows, estimate the row budget from observed rubric/pass yield, cap rows at 300, and process at most 100 newly checked rows at a time. The worker will not pull another row batch while the current checked batch still has queueable or active cells. Do not interpret checkedRows as enriched rows; use progress.enrichedRows, needsEnrichRows, activeCellCount, preparedMessages, approvedMessages, and stopReason.',
10
10
  inputSchema: {
11
11
  type: "object",
12
12
  properties: {
@@ -5,6 +5,12 @@ type RowSelector = {
5
5
  } | {
6
6
  type: "rowIds";
7
7
  rowIds: string[];
8
+ } | {
9
+ type: "needsEnrichment";
10
+ limit?: number;
11
+ } | {
12
+ type: "needsApproval";
13
+ limit?: number;
8
14
  } | {
9
15
  type: "passedRows";
10
16
  limit?: number;
@@ -40,7 +40,7 @@ export const campaignProcessingToolDefinitions = [
40
40
  },
41
41
  {
42
42
  name: "select_campaign_cells",
43
- description: "Dry-run semantic campaign-cell selection. Returns compact counts and a tiny sample, never bulky row data. Use before queue_campaign_cells only when debugging or explaining a recovery action.",
43
+ description: "Dry-run semantic campaign-cell selection. Returns compact counts and a tiny sample, never bulky row data. For regular refill diagnostics, use rowSelector:{type:\"needsEnrichment\"} to find the earliest unenriched rows by table position, then rowSelector:{type:\"needsApproval\"} to inspect current generated messages that are not approved. needsGeneratedMessage only sees rows that already passed rubric and can skip earlier unenriched rows; use it for generated-message repair, not top-down refill.",
44
44
  inputSchema: {
45
45
  type: "object",
46
46
  properties: {
@@ -64,6 +64,8 @@ export const campaignProcessingToolDefinitions = [
64
64
  enum: [
65
65
  "reviewBatch",
66
66
  "rowIds",
67
+ "needsEnrichment",
68
+ "needsApproval",
67
69
  "passedRows",
68
70
  "needsGeneratedMessage",
69
71
  "staleGeneratedMessages",
@@ -84,7 +86,7 @@ export const campaignProcessingToolDefinitions = [
84
86
  },
85
87
  {
86
88
  name: "queue_campaign_cells",
87
- description: "Resolve and queue campaign cells by semantic role and row selector. Normal create-campaign tail should use this instead of fetching rows only to discover cell IDs. Use forceRerun:true for message-template revisions.",
89
+ description: "Resolve and queue campaign cells by semantic role and row selector. Normal create-campaign tail should use this instead of fetching rows only to discover cell IDs. For regular refill enrichment, queue columnRole:\"enrich\" with rowSelector:{type:\"needsEnrichment\"} or use start_campaign_message_preparation for the full top-down prep loop. For approval, rowSelector:{type:\"needsApproval\"} selects current generated rows missing Approved=true, but mutating Approved cells still requires explicit bounded approval. Do not use needsGeneratedMessage as a refill cursor because it only selects already-passed rows. Use forceRerun:true for message-template revisions.",
88
90
  inputSchema: {
89
91
  type: "object",
90
92
  properties: {
@@ -102,6 +104,8 @@ export const campaignProcessingToolDefinitions = [
102
104
  enum: [
103
105
  "reviewBatch",
104
106
  "rowIds",
107
+ "needsEnrichment",
108
+ "needsApproval",
105
109
  "passedRows",
106
110
  "needsGeneratedMessage",
107
111
  "staleGeneratedMessages",
@@ -6,7 +6,7 @@ async function postCampaignRefillState(body) {
6
6
  export const campaignRefillStateToolDefinitions = [
7
7
  {
8
8
  name: "get_campaign_refill_state",
9
- description: "read-only refill research primitive to call after resolve_campaign_fill_route and before any source import, message preparation, approval, scheduling, or horizon fill decision. It returns current campaign/table/source/sender/funnel/scheduler diagnostics plus freshness state for one exact campaignId or tableId only. This tool does not create rows, does not import leads, does not prepare messages, does not approve messages, does not schedule sends, does not launch campaigns, and does not expose direct campaign types as refillable targets. Exact targeting uses campaignId or tableId only; never pass campaign names or table names.",
9
+ description: "read-only refill research primitive to call after resolve_campaign_fill_route and before any source import, message preparation, approval, scheduling, or horizon fill decision. It returns current campaign/table/source/sender/funnel/scheduler diagnostics, preparationFrontier for earliest unenriched rows and later prepared islands, plus freshness state for one exact campaignId or tableId only. This tool does not create rows, does not import leads, does not prepare messages, does not approve messages, does not schedule sends, does not launch campaigns, and does not expose direct campaign types as refillable targets. Exact targeting uses campaignId or tableId only; never pass campaign names or table names.",
10
10
  inputSchema: {
11
11
  type: "object",
12
12
  properties: {
@@ -373,7 +373,7 @@ export function getPostFindLeadsScoutRegistry() {
373
373
  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.',
374
374
  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.",
375
375
  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.',
376
- prepareMessagesRule: `Default create-campaign stays on the existing reviewBatchLimit:15 first campaign-table execution slice. For plain post-mint fill/load/refill requests, load get_subskill_prompt({ subskillName: "refill-sends-workflow" }), then call resolve_campaign_fill_route({ intent:"plain" }), list_senders, and get_campaign_refill_state for enough candidate campaigns to identify the campaign that most recently had scheduler-owned sends for the relevant sender set before any mutation. Route outcomes are route:"evergreen_horizon", route:"active_campaigns", and route:"ask_create"; if a plain managed-waterfall route has archived/completed skipped slots or does not cover the named sender set, immediately refetch with resolve_campaign_fill_route({ intent:"active" }) and inspect current dashboard-active ACTIVE/PAUSED campaign-backed sequence campaigns before declaring a sender blocked; stay in the same campaignOfferId/campaignId context after minting. Plain fill is not an alias for fill_campaign_horizon or campaign creation. fill_campaign_horizon is evergreen-only and is not the generic regular-campaign fill path. Campaign creation is allowed only after route:"ask_create" and explicit user selection; it is never the default response to plain fill. Treat "fill up/load sends" as capacity-fill preparation, and treat "refill senders", "fill senders", "max out senders", and "load everyone up" as sender-scoped capacity-fill preparation. For sender-scoped requests with no named senders, --yolo means all eligible healthy senders enrolled in active campaign-backed sequence campaigns in the active workspace; without --yolo, ask which eligible enrolled senders to refill before choosing campaigns or mutating. In non-yolo interactive Codex or Claude Code sessions, the sender/campaign/action approval packet must be asked through request_user_input/AskUserQuestion with exactly Accept and Decline; do not use plain chat approval. The approval question body must show workspace, sender scope, a campaign-by-campaign table, exact ids/caps/dates, side effects, forbidden actions, and stop condition before mutation. Default --yolo horizon is a two-send-day horizon: two sender-local send days, skipping no-send-hour days. For campaign-scoped fill/refill, select the best recent-send campaign and calculate the bounded gap from healthy sender daily capacity minus future scheduler-owned scheduled sends and ready-to-schedule rows, then prepare only that gap. For sender-scoped fill/refill, calculate the bounded gap per eligible sender across active enrolled campaigns, counting future scheduled and ready-to-schedule rows across those campaigns, then choose the best same-sender campaign to fill each sender gap: prefer recent/future scheduler-owned sends for that sender, then strongest recent result evidence, then source health. Maintain a horizon saturation ledger per selected sender with selected send days, gross capacity, future scheduler-owned scheduled counts, ready-to-schedule buffer, remaining scheduled gap, remaining ready-or-scheduled gap, and the next MCP primitive. Do not stop after filling only one sender when the request was sender-scoped. In --yolo, continue through every safe selected sender/campaign action covered by the rendered packet, reread after each terminal apply/prep/start result, recompute the horizon saturation ledger, and keep going until scheduler-owned scheduledFor cells fill the requested horizon or a concrete blocker/timeout is proven. Ready-to-schedule rows are buffer, not completion; if ready covers the gap but scheduled cells do not, run a bounded scheduler-settle loop and report awaiting_scheduler_after_ready_buffer as not complete when timeout is reached. When no safe in-packet action remains return concrete continuation options with campaign names, exact ids, and which options require a new approval packet. Use the refill workflow to decide whether to enrich/prep more rows in that same recent-send/best-result campaign, add/import more rows to that same campaign/source path, use a different existing campaign only when the selected same-sender lane is blocked/exhausted/already loaded while the sender still has a gap, or ask what to create. Do not create warm-post-engager side campaigns. Surface sender-health blockers separately from prepared/approved/scheduled counts. User-facing refill decisions must be campaign-name-first and sender-name-first, with ids as proof/execution targets only. For already-running regular campaigns that need Signal Discovery source replenishment, use the guarded currentStep clear with clearCurrentStepIfMatches:"running", campaign-scoped provider prompt/search/select, and import_leads with the existing sourceLeadListId when a newly approved selected-post scrape would otherwise return reusedExistingSourceList. After confirm_lead_list copies rows into an existing table, avoid fixed maxRowsToCheck:100; if confirm_lead_list returns USER_ADDED_ROWS_LIMIT_EXCEEDED, create a bounded same-source split from selectedLeadListId with get_rows_minimal/load_csv_linkedin_leads, confirm that smaller source list into the same campaign, and operate on the reviewBatch first; inspect reviewBatch/table selectors or use adaptive/wider bounded prep so appended rows are included. Do not interpret checkedRows as enriched rows; it is only the table cursor. Prepared, approved, and ready_to_schedule rows are intermediate states; never call them scheduled unless a re-read proves scheduler-owned scheduled cells with non-null scheduledFor fill the requested horizon, and never call them complete unless a final re-read proves the same. Before source import, prep, approval, or selected paused campaign start, require exact visible approval or --yolo packet auto-accept and a fresh get_campaign_refill_state reread; stop if freshness.stateHash or exact ids changed. For "approve X messages", use approvalMode:approve only when explicitly requested. For "schedule X sends" or "fill sender sends", approve only when explicitly requested, then re-read campaign/table scheduled counts; if scheduler-owned scheduledFor cells are not present, report prepared/approved/ready - awaiting scheduler instead of success. Do not call start_campaign as part of fill/schedule horizon. start_campaign is allowed in refill only for exact selected PAUSED, dashboard-active, campaign-backed sequence targets named in the bounded packet, and the packet must state that starting can let the product scheduler schedule/send approved eligible sequence actions. Never start unrelated, archived, completed, draft, direct, or non-selected campaigns, never broad approve-all, and never use direct scheduler writes. campaignId is CampaignOffer.id. If the user asks to stop preparation, the target is wrong, or status shows the wrong campaign/table, use cancel_campaign_message_preparation only for the exact active job. Low-level selectors are diagnostics and recovery only for this lane.`,
376
+ prepareMessagesRule: `Default create-campaign stays on the existing reviewBatchLimit:15 first campaign-table execution slice. For plain post-mint fill/load/refill requests, load get_subskill_prompt({ subskillName: "refill-sends-workflow" }), then call resolve_campaign_fill_route({ intent:"plain" }), list_senders, and get_campaign_refill_state for enough candidate campaigns to identify the campaign that most recently had scheduler-owned sends for the relevant sender set before any mutation. Route outcomes are route:"evergreen_horizon", route:"active_campaigns", and route:"ask_create"; if a plain managed-waterfall route has archived/completed skipped slots or does not cover the named sender set, immediately refetch with resolve_campaign_fill_route({ intent:"active" }) and inspect current dashboard-active ACTIVE/PAUSED campaign-backed sequence campaigns before declaring a sender blocked; stay in the same campaignOfferId/campaignId context after minting. Plain fill is not an alias for fill_campaign_horizon or campaign creation. fill_campaign_horizon is evergreen-only and is not the generic regular-campaign fill path. Campaign creation is allowed only after route:"ask_create" and explicit user selection; it is never the default response to plain fill. Treat "fill up/load sends" as capacity-fill preparation, and treat "refill senders", "fill senders", "max out senders", and "load everyone up" as sender-scoped capacity-fill preparation. For sender-scoped requests with no named senders, --yolo means all eligible healthy senders enrolled in active campaign-backed sequence campaigns in the active workspace; without --yolo, ask which eligible enrolled senders to refill before choosing campaigns or mutating. In non-yolo interactive Codex or Claude Code sessions, the sender/campaign/action approval packet must be asked through request_user_input/AskUserQuestion with exactly Accept and Decline; do not use plain chat approval. The approval question body must show workspace, sender scope, a campaign-by-campaign table, exact ids/caps/dates, side effects, forbidden actions, and stop condition before mutation. Default --yolo horizon is a two-send-day horizon: two sender-local send days, skipping no-send-hour days. For campaign-scoped fill/refill, select the best recent-send campaign and calculate the bounded gap from healthy sender daily capacity minus future scheduler-owned scheduled sends and ready-to-schedule rows, then prepare only that gap. For sender-scoped fill/refill, calculate the bounded gap per eligible sender across active enrolled campaigns, counting future scheduled and ready-to-schedule rows across those campaigns, then choose the best same-sender campaign to fill each sender gap: prefer recent/future scheduler-owned sends for that sender, then strongest recent result evidence, then source health. Maintain a horizon saturation ledger per selected sender with selected send days, gross capacity, future scheduler-owned scheduled counts, ready-to-schedule buffer, remaining scheduled gap, remaining ready-or-scheduled gap, and the next MCP primitive. Do not stop after filling only one sender when the request was sender-scoped. In --yolo, continue through every safe selected sender/campaign action covered by the rendered packet, reread after each terminal apply/prep/start result, recompute the horizon saturation ledger, and keep going until scheduler-owned scheduledFor cells fill the requested horizon or a concrete blocker/timeout is proven. Ready-to-schedule rows are buffer, not completion; if ready covers the gap but scheduled cells do not, run a bounded scheduler-settle loop and report awaiting_scheduler_after_ready_buffer as not complete when timeout is reached. When no safe in-packet action remains return concrete continuation options with campaign names, exact ids, and which options require a new approval packet. Use the refill workflow to decide whether to enrich/prep more rows in that same recent-send/best-result campaign, add/import more rows to that same campaign/source path, use a different existing campaign only when the selected same-sender lane is blocked/exhausted/already loaded while the sender still has a gap, or ask what to create. Do not create warm-post-engager side campaigns. Surface sender-health blockers separately from prepared/approved/scheduled counts. User-facing refill decisions must be campaign-name-first and sender-name-first, with ids as proof/execution targets only. For already-running regular campaigns that need Signal Discovery source replenishment, use the guarded currentStep clear with clearCurrentStepIfMatches:"running", campaign-scoped provider prompt/search/select, and import_leads with the existing sourceLeadListId when a newly approved selected-post scrape would otherwise return reusedExistingSourceList. Before prep, inspect get_campaign_refill_state.preparationFrontier. If hasLaterPreparedIsland:true or earliestUnpreparedRow exists before later successful enrichment, use rowSelector:{type:"needsEnrichment"} with columnRole:"enrich" in table-position order or start_campaign_message_preparation adaptive defaults; do not use the UI Jump anchor or needsGeneratedMessage as the refill cursor. After confirm_lead_list copies rows into an existing table, avoid fixed maxRowsToCheck:100; if confirm_lead_list returns USER_ADDED_ROWS_LIMIT_EXCEEDED, create a bounded same-source split from selectedLeadListId with get_rows_minimal/load_csv_linkedin_leads, confirm that smaller source list into the same campaign, and inspect reviewBatch only as diagnostics unless the approved packet explicitly prioritizes the just-copied split and earlier needsEnrichment rows are exhausted, dependency-blocked, or excluded. For approval diagnostics use rowSelector:{type:"needsApproval"} after current generated messages exist; mutating Approved cells still requires approvalMode:approve and exact bounded approval. Do not interpret checkedRows as enriched rows; it is only the table cursor. Prepared, approved, and ready_to_schedule rows are intermediate states; never call them scheduled unless a re-read proves scheduler-owned scheduled cells with non-null scheduledFor fill the requested horizon, and never call them complete unless a final re-read proves the same. Before source import, prep, approval, or selected paused campaign start, require exact visible approval or --yolo packet auto-accept and a fresh get_campaign_refill_state reread; stop if freshness.stateHash or exact ids changed. For "approve X messages", use approvalMode:approve only when explicitly requested. For "schedule X sends" or "fill sender sends", approve only when explicitly requested, then re-read campaign/table scheduled counts; if scheduler-owned scheduledFor cells are not present, report prepared/approved/ready - awaiting scheduler instead of success. Do not call start_campaign as part of fill/schedule horizon. start_campaign is allowed in refill only for exact selected PAUSED, dashboard-active, campaign-backed sequence targets named in the bounded packet, and the packet must state that starting can let the product scheduler schedule/send approved eligible sequence actions. Never start unrelated, archived, completed, draft, direct, or non-selected campaigns, never broad approve-all, and never use direct scheduler writes. campaignId is CampaignOffer.id. If the user asks to stop preparation, the target is wrong, or status shows the wrong campaign/table, use cancel_campaign_message_preparation only for the exact active job. Low-level selectors are diagnostics and recovery only for this lane.`,
377
377
  },
378
378
  };
379
379
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellable/mcp",
3
- "version": "0.1.443",
3
+ "version": "0.1.445",
4
4
  "type": "module",
5
5
  "description": "Sellable MCP server for Claude Code and Codex campaign workflows",
6
6
  "main": "dist/index.js",
@@ -56,12 +56,10 @@ raise your hand for X (creepy to reach out based on that, i know) - but
56
56
  this felt too on the nose to ignore"` shapes only when the source was an
57
57
  explicit lead-magnet comment, reply, or opt-in.
58
58
 
59
- Shared lane handling: for Shared Signal Discovery, a high-level topic bridge is
60
- allowed and usually preferred when source evidence supports the topic:
61
- `"Saw you around conversations about X, so hope this is relevant."` Keep it at
62
- topic level and do not recap the source, reaction, comment, post, author, or
63
- scraper path. For Shared Cold Fallback, source/conversation language is still a
64
- tell; start from a cold buyer problem or row-supported observation instead.
59
+ Shared evergreen exception: for Shared Signal Discovery, `hope this is
60
+ relevant` and topic-level `saw you in a few conversations about/around X, so
61
+ hope this is relevant` are allowed when evidence-backed and not engagement-
62
+ claiming. `Might be interested` remains blocked because it assumes intent.
65
63
 
66
64
  **Severity:** REJECT
67
65
 
@@ -203,9 +203,60 @@ Why it works:
203
203
  **Proof ranks used:** rank 1 (mechanism - 1,000+ conditions from one blood
204
204
  draw), rank 3 (risk before claims).
205
205
 
206
- Use the Superpower weak-signal hedge pattern as a valid model for Shared Signal Discovery when the source topic is real, third-party, and high-level enough to mention without activity-log phrasing. Shared Cold Fallback must not use this source language.
206
+ ### Dotwork Shared Signal Discovery Gold Standard
207
207
 
208
- ### Shared Evergreen Signal Discovery Topic Bridge Pattern
208
+ Use this as the gold standard when a shared Signal Discovery lane has real
209
+ topic evidence, an InMail format, and enough founder/operator proof to make the
210
+ note feel earned.
211
+
212
+ ```text
213
+ Subject: initiatives + business outcomes + one live picture
214
+
215
+ Hey {{first_name}},
216
+
217
+ Saw you might be interested in {{signal_topic}}, so hope this is relevant.
218
+
219
+ I helped build {{credible_prior_company}}, so I've seen firsthand where {{buyer_category}} tools fall short.
220
+
221
+ {{product}} keeps {{buyer_object_1}}, {{buyer_object_2}}, and {{buyer_object_3}} connected in one live model.
222
+
223
+ It also gives AI agents structured context to work from, instead of stale exports.
224
+
225
+ Open to a quick look at how {{company}}'s operating model would map in?
226
+
227
+ P.S. We're backed by {{proof_point}} as a modern alternative to {{competitor_set}}.
228
+ ```
229
+
230
+ Why it works:
231
+
232
+ - the subject follows the plus-sign A + B + C pattern: topic + outcome + concrete picture
233
+ - the opener is topic-level and low-certainty without exposing scrape mechanics
234
+ - the credibility line explains why the sender has earned the point of view
235
+ - the product is specific, not three generic product-summary sentences
236
+ - the CTA offers a concrete mapped view for the recipient's company
237
+ - the PS uses proof to answer a category objection, not to brag
238
+
239
+ Transfer limits:
240
+
241
+ - Use `Saw you might be interested in [topic], so hope this is relevant` or
242
+ `Saw you in a few conversations about/around [topic], so hope this is
243
+ relevant` only for Shared Signal Discovery when the source evidence supports
244
+ the topic and the line does not claim a reaction, comment, sender-authored
245
+ post, or other unproven engagement.
246
+ - Do not use `found you in a thread`; that exposes sourcing mechanics.
247
+ - Do not use founder/operator proof unless the brief supports it and every
248
+ attached sender can credibly send the line.
249
+ - For InMail, keep the body as one cohesive message and use a concrete
250
+ plus-sign subject like `initiatives + business outcomes + one live picture`.
251
+
252
+ The Superpower weak-signal hedge can also work for Shared Evergreen Signal
253
+ Discovery when the line is topic-level and evidence-backed. Prefer the Dotwork
254
+ shape above when the brief supports an InMail subject, sender credibility,
255
+ specific product mechanism, company-specific CTA, and PS proof. Use the safe
256
+ pattern below when a concrete signal/problem bridge is stronger than a
257
+ low-certainty source opener.
258
+
259
+ ### Shared Evergreen Signal Discovery Safe Pattern
209
260
 
210
261
  Use when the campaign is a shared evergreen signal lane and the source signal is
211
262
  real but not sender-owned.
@@ -213,22 +264,20 @@ real but not sender-owned.
213
264
  ```text
214
265
  Hey {{first_name}},
215
266
 
216
- saw you around conversations about agentic AI governance, so hope this is relevant.
217
-
218
- Traditional governance often treats AI like predictable software, which leaves a gap between strategy and real-time delivery.
267
+ The AI-assisted GTM conversations keep coming back to one problem: turning good LinkedIn signal into review-ready pipeline without another outbound dashboard.
219
268
 
220
- Persona is a multi-tenant control plane for auditing agentic identities across complex environments.
269
+ Sellable helps teams find signal-matched prospects, filter for fit, and generate reviewed LinkedIn copy from one workflow.
221
270
 
222
- Open to a 15-minute walkthrough?
271
+ Curious if LinkedIn outbound is a channel you're trying to make more reliable this quarter?
223
272
  ```
224
273
 
225
274
  Why it works:
226
275
 
227
- - low-confidence relevance is aimed at source/topic fit, not buyer intent
276
+ - no blocked low-confidence relevance hedge
228
277
  - no `I'm building` or founder-only first person
229
278
  - no internal workflow vocabulary such as Codex, MCP, agent workflows, workflow
230
279
  table, lead source, or signal discovery
231
- - the signal becomes a buyer problem without a generic LinkedIn-pipeline claim
280
+ - the signal becomes a buyer problem instead of an activity-log opener
232
281
  - safe for multiple senders attached to the same shared lane
233
282
 
234
283
  ## Conditional Examples
@@ -199,24 +199,28 @@ Shape:
199
199
  Prefer:
200
200
 
201
201
  - lowercase or casual casing when the motion supports it
202
- - an honest line like "hope this is relevant" or "so may be off, but this seemed relevant" for non-evergreen weak-signal campaigns; for Shared Signal Discovery, use the high-level topic bridge override below
202
+ - an honest line like "hope this is relevant" or "so may be off, but this seemed relevant" for Shared Signal Discovery or non-evergreen weak-signal campaigns
203
203
  - a concrete CTA that names the useful conversation or asset
204
204
  - binary options only when the brief explicitly supports two real next steps
205
205
  - direct wording over polished marketing language
206
206
 
207
207
  Shared Evergreen Signal Discovery override:
208
208
 
209
- - Shared Signal Discovery may use `saw you around conversations about [topic],
210
- so hope this is relevant` when source evidence supports a high-level topic.
211
- - Keep the topic bridge at business-theme level; do not recap the source,
212
- reaction, comment, post, author, or scraper path.
213
- - Shared Cold Fallback must not use `hope this is relevant`, `might be
214
- interested`, or `saw you in a few conversations` as the opener.
209
+ - `Saw you in a few conversations about/around [topic], so hope this is
210
+ relevant` is allowed when the source evidence supports the topic and the line
211
+ does not claim a reaction, comment, sender-authored post, or other unproven
212
+ engagement.
213
+ - The Dotwork opener `Saw you might be interested in [topic], so hope this is
214
+ relevant` is also allowed for Shared Signal Discovery when the source
215
+ evidence supports the topic. Do not use bare `might be interested` as a
216
+ generic intent claim.
217
+ - Do not use `found you in a thread`; that exposes sourcing mechanics.
215
218
  - Do not use `I'm building`, `I've mapped`, `my company`, or `my team`.
216
- - Turn the source topic into a buyer problem bridge only when it is more
217
- specific and less presumptive than the topic bridge.
218
- - If the source topic cannot support a high-level bridge, omit the source line and
219
- start from a role/company/problem observation.
219
+ - Prefer the Dotwork shape when the message is InMail: a concrete A + B + C
220
+ subject, topic-level relevance opener, proof of earned sender perspective,
221
+ specific product mechanism, company-specific CTA, and optional PS proof.
222
+ - If the source topic cannot support a low-certainty topic bridge, omit the
223
+ source line and start from a role/company/problem observation.
220
224
 
221
225
  Avoid:
222
226
 
@@ -74,7 +74,33 @@ Revise or reject the sample when any of these happen.
74
74
  - **actions are implied, not stated** — e.g. "runs that chain as AI agents" when a clearer version would name the specific actions (verb + object, one per line)
75
75
  - **category-level opener used when a per-lead signal exists** — if `lead-sample.json` carries any per-lead signal (post, hire, visible tool, topic engagement), the opener must reference it. Category-level openers of shape `"Most [category] teams still do X by hand"` are only acceptable when zero per-lead signal is in the sample. When a category-level opener is used as fallback, Findings must flag it explicitly
76
76
  - **mind-reading from engagement signals** — a topic engagement, post, public activity, role, company, or hiring trigger does not prove buyer intent. Reject phrases like `"AI-GTM stack is clearly on your mind"`, `"you're clearly focused on..."`, `"obviously relevant"`, or `"already thinking about..."` unless that exact priority is explicitly present in `lead-sample.json`. Translate to low-certainty buyer context or omit the signal from copy.
77
- - **source-y signal narration** — reject `"saw you on..."`, `"saw you engaging with..."`, `"you commented on..."`, `"your LinkedIn activity..."`, `"you might not remember the thread..."`, `"found you through [source] and your role looked close..."`, or any line that makes the recipient feel watched unless the chosen archived motion is intentionally self-aware about the signal. For sender-owned LinkedIn post sources, a light first-person acknowledgment is allowed when row data proves a reaction/comment: `"appreciate you showing some love on my post about [topic]"` or `"thanks for showing support on my [topic] post"`. Do not name a comment unless comment text is present. Follow the acknowledgment with a soft relevance bridge before broad pain/product copy, e.g. `"figured this might be relevant if LinkedIn is becoming more of a GTM channel for [company]"`. For Shared Signal Discovery, prefer a high-level topic bridge when source evidence supports the topic: `"saw you around conversations about [topic], so hope this is relevant."` For non-evergreen third-party LinkedIn-post-sourced campaigns, a topic-level bridge is allowed when it explains why the note exists and stays apologetically uncertain: `"saw you in a few conversations about [topic], so may be off, but this seemed relevant."`, `"saw you in a few conversations around [topic], so hope this is relevant."`, or `"found you in a thread about [topic], so may be off, but this seemed relevant."` The topic must be a business theme, not raw source mechanics or activity-log detail. Shared Cold Fallback must not use this source language. Reserve `"raise your hand"` language for explicit lead-magnet comments, replies, or opt-ins. Translate the signal into natural buyer context or omit it.
77
+ - **source-y signal narration** — reject `"saw you on..."`, `"saw you
78
+ engaging with..."`, `"you commented on..."`, `"your LinkedIn activity..."`,
79
+ `"you might not remember the thread..."`, `"found you through [source] and
80
+ your role looked close..."`, or any line that makes the recipient feel
81
+ watched unless the chosen archived motion is intentionally self-aware about
82
+ the signal. For sender-owned LinkedIn post sources, a light first-person
83
+ acknowledgment is allowed when row data proves a reaction/comment:
84
+ `"appreciate you showing some love on my post about [topic]"` or `"thanks for
85
+ showing support on my [topic] post"`. Do not name a comment unless comment
86
+ text is present. Follow the acknowledgment with a soft relevance bridge
87
+ before broad pain/product copy, e.g. `"figured this might be relevant if
88
+ LinkedIn is becoming more of a GTM channel for [company]"`. For Shared Signal
89
+ Discovery and non-evergreen third-party LinkedIn-post-sourced campaigns, a
90
+ topic-level bridge is allowed when it explains why the note exists and stays
91
+ apologetically uncertain: `"saw you might be interested in [topic], so hope
92
+ this is relevant."`, `"saw you in a few conversations about [topic], so may be
93
+ off, but this seemed relevant."`, `"saw you in a few conversations around
94
+ [topic], so hope this is relevant."`, or `"hope this is relevant if [topic] is
95
+ still on your plate."` Shared evergreen signal override: Dotwork-style `saw
96
+ you might be interested` can be used for Shared Signal Discovery when the
97
+ named Dotwork pattern applies, topic-level and evidence-backed; otherwise
98
+ prefer the conversation/topic bridge. `found you in a thread` remains blocked
99
+ because it exposes sourcing mechanics.
100
+ Shared Cold Fallback should use a concrete signal/problem
101
+ bridge or omit the source line. Reserve `"raise your hand"` language for
102
+ explicit lead-magnet comments, replies, or opt-ins. Translate the signal into
103
+ natural buyer context or omit it.
78
104
  - **sender-owned source rendered as third-party** — hard fail when the source post is sender-owned and the draft says `"found you in a thread"`, `"saw you in a thread"`, `"saw you in conversations"`, or `"saw you in a few conversations"` as if the post were third-party. For sender-owned sources, the copy must either use a light first-person acknowledgment plus a soft relevance bridge, or omit the source line. If multiple senders may send the campaign, or the final sender/source-owner match is ambiguous, do not assume a specific `my post` voice or name a specific sender; omit the sender-owned source line until row-level sender ownership is proven. Neutral low-certainty thread/source language is only for truly third-party sources.
79
105
  - **fake line-to-line continuity** — reject line stacks where the source acknowledgment, relevance bridge, product line, and CTA do not actually build on each other. Each line must make the next line feel earned. If two adjacent lines could be swapped, deleted, or joined with `"anyway"` without changing the meaning, the transition is fake. In sender-owned post campaigns, the chain should be: support on my post -> why this topic may matter for the company -> what the product/problem does about that same topic -> low-friction next step.
80
106
  - **assumptive title-fit opener** — reject `"Your [role] role at [company] looked close to this problem"` or `"looked close to this outbound campaign problem"`. This asserts fit from title/company. Keep the apologetic uncertainty instead: `"may be off, but if [workflow] is relevant to what you're working on..."`.
@@ -375,14 +401,11 @@ who scraped me."
375
401
  - `Hey {{first_name}}, I'm building [X] — [what it does in one plain
376
402
  sentence].`
377
403
  - `Hey {{first_name}}, hope this is relevant if [buyer context] is
378
- still on your plate.` Non-evergreen weak-signal only.
404
+ still on your plate.` Shared Signal Discovery or non-evergreen weak-signal only.
379
405
  - `Hey {{first_name}}, may be off, but if [workflow] is relevant to what
380
406
  you're working on, this might be useful.`
381
407
  - `Hey {{first_name}}, saw you might be interested in [topic], so hope
382
- this is relevant.` Non-evergreen weak-signal only.
383
- - `Hey {{first_name}}, saw you around conversations about [topic], so
384
- hope this is relevant.` Preferred for Shared Signal Discovery when the
385
- topic is high-level and source-supported.
408
+ this is relevant.` Dotwork Shared Signal Discovery or non-evergreen weak-signal only.
386
409
  - `Hey {{first_name}}, saw you in a few conversations around [topic],
387
410
  so hope this is relevant.` Shared Signal Discovery or non-evergreen weak-signal only.
388
411
  - `Hey {{first_name}}, found you in a thread about [topic], so may be
@@ -1306,7 +1306,6 @@ Message, and verify current-revision sample messages before final completion.
1306
1306
  Short form: Do not pass the warm template into Shared Signal Discovery or Shared Cold Fallback.
1307
1307
  Short form: Shared lanes must reject generic product-summary samples.
1308
1308
  Short form: Shared lanes must reject three nearly identical samples.
1309
- Short form: Shared lanes must reject unsupported low-confidence relevance hedges.
1310
1309
  Short form: Shared lane message quality is owned by the packaged generate-messages prompt and validation; evergreen does not author source-thread bridge phrasing.
1311
1310
  Short form: Shared lanes must reject internal workflow vocabulary.
1312
1311
  Short form: revise or rerun the packaged create-campaign/generate-messages path.
@@ -1348,12 +1347,21 @@ Message, and verify current-revision sample messages before final completion.
1348
1347
  product summaries, or repeated structure are bad. If the first generated
1349
1348
  batch violates these rules, rerun, but record that as a repaired UAT path
1350
1349
  rather than the desired zero-shot path.
1351
- Shared Signal Discovery samples may use a supported topic bridge such as
1352
- "saw you around conversations about [high-level topic], so hope this is
1353
- relevant" when the topic is grounded in source evidence and not
1354
- activity-log phrasing. Translate source/tool terms into prospect-facing
1355
- business language; do not put internal workflow vocabulary such as
1356
- "Codex-style workflow", "MCP", "agent workflows",
1350
+ Use the Dotwork gold-standard shape for Shared Signal Discovery samples
1351
+ when the row supports a topic-level weak signal: "saw you might be
1352
+ interested in [topic], so hope this is relevant", "saw you in a few
1353
+ conversations about [topic], so hope this is relevant", or "saw you in a
1354
+ few conversations around [topic], so hope this is relevant". These bridges
1355
+ are allowed only when source evidence supports the topic and the line does
1356
+ not claim a reaction, comment, sender-authored post, or other engagement
1357
+ that is not proven. Do not use "found you in a thread" or other raw
1358
+ source/discovery mechanics.
1359
+ Shared Signal Discovery InMail subjects should follow the Dotwork plus-sign
1360
+ A + B + C pattern: concrete topic + buyer outcome + useful artifact/picture,
1361
+ for example "initiatives + business outcomes + one live picture".
1362
+ Translate source/tool terms into prospect-facing business language; do not
1363
+ put internal workflow
1364
+ vocabulary such as "Codex-style workflow", "MCP", "agent workflows",
1357
1365
  "Claude Code", or "Claude-style agent workflows" in customer-facing
1358
1366
  message one. Also avoid generic product-process nouns such as "dashboard",
1359
1367
  "workflow", "source", "send-ready copy", "reviewed prospect lists",
@@ -1364,7 +1372,6 @@ Message, and verify current-revision sample messages before final completion.
1364
1372
  Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
1365
1373
  Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
1366
1374
  Short form: Shared Signal Discovery uses no "I've put together".
1367
- Short form: Shared Signal Discovery may use "saw you around conversations about [topic], so hope this is relevant" when source-supported.
1368
1375
  Short form: topic-level bridge rules are owned by the packaged generate-messages prompt and validation, not by the evergreen wrapper.
1369
1376
  Short form: no internal workflow vocabulary such as "Codex-style workflow", "MCP", "agent workflows", "Claude Code", or "Claude-style agent workflows".
1370
1377
  - **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
@@ -1381,15 +1388,14 @@ Message, and verify current-revision sample messages before final completion.
1381
1388
  Sellable/Codex/Claude-Code feature summary
1382
1389
  across prospects. This is a single-message cold path unless the approved
1383
1390
  create-campaign message workflow proves a better delivery format.
1384
- Do not open with "hope this is relevant" or a similar low-confidence
1385
- relevance hedge in Shared Cold Fallback. Do not use a repeated product-definition paragraph such
1386
- as "Sellable is a GTM system" across samples; every reviewed cold sample
1387
- should be specific enough to the role, company, or problem that the three
1388
- sample messages do not share the same body skeleton.
1389
- Do not use source-thread hedges such as "might be interested", "saw you
1390
- around conversations about...", or "saw you in a few conversations" in
1391
- Shared Cold Fallback. Start from a concrete role, company, or buyer-problem
1392
- observation instead.
1391
+ Do not use source-thread hedges such as "hope this is relevant", "might be
1392
+ interested", or "saw you in a few conversations" in Shared Cold Fallback.
1393
+ Start from a concrete role, company, or buyer-problem observation instead.
1394
+ Do not use a repeated
1395
+ product-definition paragraph such as "Sellable is a GTM system" across
1396
+ samples; every reviewed cold sample should be specific enough to the role,
1397
+ company, or problem that the three sample messages do not share the same
1398
+ body skeleton.
1393
1399
  Do not use mechanical Sellable process language such as "campaign idea into
1394
1400
  prospects, filters, messages, and sequence setup", "sequence-prospects",
1395
1401
  "dashboard overhead", "campaign map", "send-ready copy", or "reviewed
@@ -1406,8 +1412,7 @@ Message, and verify current-revision sample messages before final completion.
1406
1412
  Short form: Shared Cold Fallback uses no "I've put together".
1407
1413
  Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
1408
1414
  Short form: Shared Cold Fallback uses no product-stack dump.
1409
- Short form: Shared Cold Fallback uses no low-confidence relevance hedge such as "hope this is relevant".
1410
- Short form: no "hope this is relevant", "might be interested", "saw you around conversations about", or "saw you in a few conversations" in Shared Cold Fallback; Shared Signal Discovery has the topic-level conversation-bridge exception above.
1415
+ Short form: no "hope this is relevant", "might be interested", or "saw you in a few conversations" in Shared Cold Fallback; Shared Signal Discovery has the topic-level conversation-bridge exception above.
1411
1416
  Short form: no repeated product-definition paragraph such as "Sellable is a GTM system".
1412
1417
  - Customer-visible evergreen lanes must enable ICP filtering before Message
1413
1418
  Drafting. This applies to Post Engagers, Shared Signal Discovery, and
@@ -1508,18 +1513,13 @@ Message, and verify current-revision sample messages before final completion.
1508
1513
  or a product-stack dump that repeats the same
1509
1514
  Sellable/Codex/Claude-Code feature summary across prospects. For all
1510
1515
  shared lanes, reject generic product-summary samples, repeated
1511
- near-identical samples, unsupported low-confidence relevance hedges, internal
1512
- workflow vocabulary, any sample with non-empty `issues`, and any preserved
1513
- Post Engagers opener; revise or rerun the packaged
1514
- create-campaign/generate-messages path before reporting completion. Do not
1515
- approve or final-report samples with `verdict:"passed"` and non-empty
1516
- `issues`.
1517
- Shared Signal Discovery samples may use `"saw you around conversations
1518
- about [high-level topic], so hope this is relevant"` when the topic is
1519
- supported by source evidence and not activity-log phrasing. Shared Cold
1520
- Fallback samples must still reject source/conversation hedges such as
1521
- `"hope this is relevant"`, `"might be interested"`, or `"saw you in a few
1522
- conversations"`.
1516
+ near-identical samples, intent-assumptive hedges such as "might be
1517
+ interested", source-context mismatches such as "saw you in a few
1518
+ conversations" in Shared Cold Fallback, internal workflow vocabulary, any
1519
+ sample with non-empty `issues`, and any preserved Post Engagers opener;
1520
+ revise or rerun the packaged create-campaign/generate-messages path before
1521
+ reporting completion. Do not approve or final-report samples
1522
+ with `verdict:"passed"` and non-empty `issues`.
1523
1523
  - The first review batch exists and at least 3 review rows have generated
1524
1524
  messages from the approved brief. If fewer than 3 usable rows exist, report
1525
1525
  the actual count and why.
@@ -246,12 +246,6 @@ says `generate-messages` loaded or because generated cells exist. The samples
246
246
  must read like final create-campaign/generate-messages output.
247
247
 
248
248
  - Start from a concrete row-supported role/company/problem observation.
249
- - Do not turn a company category into a certainty claim about the buyer's
250
- channel strategy. Reject lines shaped like `Building [product/category] for
251
- [buyers] means LinkedIn attention maps to pipeline`, `because you sell to
252
- enterprise, LinkedIn is obviously a pipeline lever`, or other inferred
253
- inevitability claims unless the row explicitly states that fact. A company
254
- category can inform targeting; it is not buyer-facing proof.
255
249
  - Ask one clear buyer problem question.
256
250
  - Keep the product line minimal and buyer-readable; do not turn the note into a
257
251
  product-stack dump.
@@ -275,15 +269,15 @@ must be safer than the legacy weak-signal examples. These lanes are reused by
275
269
  multiple senders, so the first line cannot sound like a scraped-activity excuse
276
270
  or a founder self-intro.
277
271
 
278
- - Shared Signal Discovery may use a soft, high-level topic bridge when source
279
- evidence supports the topic: `saw you around conversations about
280
- {{signal_topic}}, so hope this is relevant`. Keep the topic broad and
281
- business-relevant; do not recap the source, reaction, comment, post, author,
282
- or scraper path.
283
- - Shared Cold Fallback must not use Signal Discovery source language such as
284
- `saw you around conversations about...`, `saw you in a few conversations...`,
285
- `might be interested`, or `hope this is relevant`. It is a true cold lane and
286
- should start from a buyer problem or row-supported observation.
272
+ - For Shared Signal Discovery, low-certainty topic bridges are allowed when
273
+ evidence-backed: `saw you might be interested in [topic], so hope this is
274
+ relevant`, `saw you in a few conversations about/around [topic], so hope this
275
+ is relevant`, and `hope this is relevant if [topic] is part of the plan`. The
276
+ line must not claim a reaction, comment, sender-authored post, or other
277
+ engagement that is not proven.
278
+ - `found you in a thread` is blocked for Shared Signal Discovery because it
279
+ exposes source mechanics. Shared Cold Fallback should use concrete
280
+ role/company/problem context instead of source-thread phrasing.
287
281
  - do not write first-person singular founder language such as `I'm building`,
288
282
  `I've mapped`, `my company`, or `my team` unless exactly one sender can
289
283
  credibly say it and the lane is not shared.
@@ -294,18 +288,24 @@ or a founder self-intro.
294
288
  `source`, `sequence`, `send-ready copy`, or `reviewed prospect list` as
295
289
  buyer-facing explanation in shared evergreen samples unless the buyer's own
296
290
  company/product category uses that exact word and the line still sounds human.
297
- - Use a concrete signal/problem bridge only when it is less presumptive than the
298
- topic bridge. Do not force a generic `LinkedIn signal into pipeline` line just
299
- because the lane is shared.
300
- - If the row evidence is too weak to name a high-level topic, omit the source
291
+ - Write a concrete signal/problem bridge instead of a rejected relevance hedge.
292
+ Good shapes are `the AI-assisted GTM conversations keep coming back to [buyer
293
+ problem]`, `teams trying to turn LinkedIn signal into pipeline usually hit
294
+ [problem]`, or `when [observable business moment] is live, [buyer workflow]
295
+ gets harder to run consistently`.
296
+ - If the row evidence is too weak to write a concrete bridge, omit the source
301
297
  line and start from a buyer problem, event, role, or company observation.
302
298
  - Shared evergreen lanes must pass this gate before `confirmed`, before saving a
303
299
  reusable template, and before any route-proof approval.
304
300
 
305
- Short form: Shared Signal Discovery can use `saw you around conversations about {{signal_topic}}, so hope this is relevant`.
306
- Short form: Shared Cold Fallback cannot use Signal Discovery source language.
301
+ Short form: shared evergreen copy must start from buyer context or an
302
+ evidence-backed topic bridge, not assumed intent.
303
+ Short form: Shared Signal Discovery may use `saw you might be interested in
304
+ [topic], so hope this is relevant`, `saw you in a few conversations
305
+ about/around [topic], so hope this is relevant`, or `hope this is relevant if
306
+ [topic] is part of the plan` when it is topic-level and evidence-backed.
307
307
  Short form: shared evergreen copy cannot use `I'm building`.
308
- Short form: do not force generic LinkedIn-pipeline assumptions when a topic bridge is safer.
308
+ Short form: write a concrete signal/problem bridge instead of a rejected relevance hedge.
309
309
 
310
310
  ### Rich Personalization Contract
311
311
 
@@ -325,15 +325,16 @@ conditional good/bad fill reference.
325
325
  `[PERSONALIZATION_LINE — Intent: write one short sentence that anchors the
326
326
  note to why this might matter now. DO: connect one observable role/company/
327
327
  activity signal to the buyer problem or offer with a permissioned bridge. For
328
- Shared Signal Discovery, prefer `saw you around conversations about [high-level
329
- topic], so hope this is relevant` when source evidence supports the topic.
330
- For Shared Cold Fallback, do not use source/conversation language; start from a
331
- buyer problem or row-supported observation. Legacy low-certainty language like
332
- "so may be off, but this seemed relevant" can be considered for non-evergreen
333
- weak-signal campaigns when the source is otherwise awkward. DON'T: recap their
334
- resume, list companies, compliment their
335
- background, name a product their company sells, use source-citation phrasing,
336
- or use generic nouns like "your work".
328
+ shared evergreen lanes, do not use source-thread disclaimers that expose
329
+ mechanics. For Shared Signal Discovery, `saw you might be interested in [topic],
330
+ so hope this is relevant`, `saw you in a few conversations about/around [topic],
331
+ so hope this is relevant`, and topic-backed `hope this is relevant` bridges are
332
+ allowed when topic-level and evidence-backed. Use a concrete buyer/problem
333
+ bridge when that is stronger. Low-certainty language like
334
+ "so may be off, but this seemed relevant" can be considered only for
335
+ non-evergreen weak-signal campaigns when the source is otherwise awkward. DON'T: recap their resume, list companies, compliment their
336
+ background, name a product their company sells, use source-citation phrasing, or
337
+ use generic nouns like "your work".
337
338
  FALLBACK: if unsupported, omit the entire line.]`
338
339
  - The rendered personalization line should usually be 6-14 words. If it needs
339
340
  two clauses, multiple companies, or abstract tags like `GTM`, `international
@@ -485,19 +486,17 @@ artifact.**
485
486
  - `your {{role}} role at {{company}} looked close to this problem`
486
487
  - `your {{role}} role at {{company}} looked close to this outbound campaign problem`
487
488
  - `saw you on {{recent_signal}}`
488
- - `saw you around {{recent_signal}}` when `recent_signal` is raw
489
- post/source/activity text instead of a high-level topic
489
+ - `saw you around {{recent_signal}}`
490
490
  - `saw you engaging with {{recent_signal}}`
491
491
  - `saw you raise your hand for {{signal_topic}}, so figured this was worth sending`
492
492
  - `figured this was worth sending`
493
493
 
494
494
  Safer shapes:
495
495
 
496
- - `hope this is relevant if {{signal_topic}} is part of the plan` for non-evergreen weak-signal campaigns
497
- - `saw you might be interested in {{signal_topic}}, so hope this is relevant` for non-evergreen weak-signal campaigns
498
- - `saw you around conversations about {{signal_topic}}, so hope this is relevant` for Shared Signal Discovery and other third-party weak-signal campaigns when the topic is high-level and supported by source evidence
499
- - `saw you in a few conversations around {{signal_topic}}, so hope this is relevant` for Shared Signal Discovery and other third-party weak-signal campaigns when the topic is high-level and supported by source evidence
500
- - `saw you in a few conversations about {{signal_topic}}, so may be off, but this seemed relevant` for non-evergreen weak-signal campaigns
496
+ - `hope this is relevant if {{signal_topic}} is part of the plan` for Shared Signal Discovery or non-evergreen weak-signal campaigns only
497
+ - `saw you might be interested in {{signal_topic}}, so hope this is relevant` for Shared Signal Discovery or non-evergreen weak-signal campaigns only
498
+ - `saw you in a few conversations around {{signal_topic}}, so hope this is relevant` for Shared Signal Discovery or non-evergreen weak-signal campaigns only
499
+ - `saw you in a few conversations about {{signal_topic}}, so may be off, but this seemed relevant` for non-evergreen weak-signal campaigns only
501
500
  - `appreciate you showing some love on my post about {{signal_topic}}` only when the sender/client authored the source post and the row proves a reaction or comment
502
501
  - `thanks for showing support on my {{signal_topic}} post` only when the sender/client authored the source post and the row proves a reaction or comment
503
502
  - `figured this might be relevant if {{channel_context}} is becoming more of a {{workflow_context}} for {{company_context}}` as the bridge after a sender-owned post acknowledgment
@@ -505,7 +504,7 @@ artifact.**
505
504
  - `if {{workflow_signal}} is not relevant to what you're working on, ignore me`
506
505
  - `figured this might matter if {{workflow_signal}} is live at {{company}}`
507
506
  - `thought of {{company}} because {{observable_signal}} points at {{problem_context}}`
508
- - `found you in a thread about {{signal_topic}}, so may be off, but this seemed relevant` for non-evergreen weak-signal campaigns only
507
+ - `found you in a thread about {{signal_topic}}, so may be off, but this seemed relevant`
509
508
  - `saw you raise your hand for {{signal_topic}}, so figured this was (hopefully) worth sending` only when the source was an explicit lead-magnet comment, reply, or opt-in. The parenthetical uncertainty is load-bearing; do not flatten it to `so figured this was worth sending`.
510
509
  - `saw you raise your hand for {{signal_topic}} (creepy to reach out based on that, i know) - but this felt too on the nose to ignore` only when the source was an explicit lead-magnet comment, reply, or opt-in and the sender's voice can carry the cheekier aside
511
510
 
@@ -559,26 +558,27 @@ artifact.**
559
558
  For third-party LinkedIn-post-sourced campaigns (commenters, reactors, lead
560
559
  magnet replies, or scraped conversations), it is acceptable to reference the
561
560
  conversation when it explains why the note exists. Keep it topic-level, not
562
- activity-log-level: `saw you around conversations about {{signal_topic}}, so
563
- hope this is relevant` is preferred for Shared Signal Discovery when the
564
- topic is high-level and supported by source evidence. `saw you in a few
565
- conversations around {{signal_topic}}, so hope this is relevant` is also
566
- acceptable when it reads more natural. `saw you commented on
567
- {{post_context}}` and `your LinkedIn activity around...` are not acceptable.
568
- Reserve `raise your hand` phrasing for explicit lead-magnet comments,
569
- replies, or opt-ins. For Shared Cold Fallback, omit the source line and start
570
- from a buyer problem or row-supported cold observation.
561
+ activity-log-level. `saw you commented on {{post_context}}` and `your
562
+ LinkedIn activity around...` are not acceptable. Reserve `raise your hand`
563
+ phrasing for explicit lead-magnet comments, replies, or opt-ins. For ordinary
564
+ shared evergreen thread discovery, Shared Signal Discovery may use
565
+ `saw you might be interested in {{signal_topic}}, so hope this is relevant`
566
+ or `saw you in a few conversations about/around {{signal_topic}}, so hope this
567
+ is relevant` when evidence-backed.
568
+ Shared Cold Fallback should translate the source topic into a concrete
569
+ buyer/problem bridge or omit the source line.
571
570
 
572
571
  Keep the apologetic nature, but aim it at uncertainty, not surveillance.
573
572
  Good for non-evergreen weak-signal campaigns: `saw you in a few
574
573
  conversations about outbound, so may be off, but this seemed relevant`, `may
575
574
  be off, but if outbound is relevant to what you're working on...`, or `hope
576
- this is relevant if...`. For Shared Signal Discovery, prefer `saw you around
577
- conversations about [high-level topic], so hope this is relevant` when the
578
- source topic is supported. For Shared Cold Fallback, these source hedges are
579
- blocked; use cold buyer-context copy instead. Bad:
580
- `your role at {{company}} looked close...`, because it asserts fit from a
581
- title and tells the buyer about themselves.
575
+ this is relevant if...`. For Shared Signal Discovery, topic-backed `hope this
576
+ is relevant`, `saw you might be interested in...`, and `saw you in a few
577
+ conversations about/around...` are allowed when topic-level and
578
+ evidence-backed. For
579
+ Shared Cold Fallback, use a concrete signal/problem bridge. Bad: `your role
580
+ at {{company}} looked close...`, because it asserts fit from a title and
581
+ tells the buyer about themselves.
582
582
 
583
583
  Block wordier source narration such as `you might not remember the thread,
584
584
  but I found you through a {{signal_topic}} discussion and your
@@ -1575,11 +1575,11 @@ Before `confirmed`, run the selected winner against these gates:
1575
1575
  the lead sample. If desire is inferred, use tentative framing like
1576
1576
  `hope this is relevant if...`, `saw you might be interested in...`,
1577
1577
  `saw you in a few conversations around...`, `figured this might matter if...`,
1578
- or `if you've ever wanted...`. For Shared Signal Discovery, the preferred
1579
- opener is a high-level topic bridge such as `saw you around conversations
1580
- about [topic], so hope this is relevant` when source evidence supports the
1581
- topic. For Shared Cold Fallback, do not use source/conversation language; use
1582
- a cold buyer-problem opener instead.
1578
+ or `if you've ever wanted...`. Exception: for Shared Signal Discovery,
1579
+ topic-backed `hope this is relevant`, `saw you might be interested in...`, and
1580
+ `saw you in a few conversations around...` are allowed when topic-level and
1581
+ evidence-backed. Other shared evergreen lanes should start from the
1582
+ public business theme, row role/company context, or buyer problem.
1583
1583
  - **Buyer-first opener:** after the greeting, the first substantive line
1584
1584
  should usually enter the buyer's world: a real signal, current-state
1585
1585
  pain, buyer-owned priority, or useful artifact. Sender-origin can come
@@ -1875,18 +1875,18 @@ infrastructure signal`, or `rails can match` unless that exact buyer
1875
1875
  about`, or `clearly relevant` are BLOCKED. Source-y phrases such as
1876
1876
  `saw you on...`, bare `saw you around...`, and `saw you engaging with...`
1877
1877
  are also blocked unless the archived winner explicitly depends on that
1878
- self-aware signal style. For non-evergreen weak-signal campaigns, translate
1879
- the signal into low-certainty buyer context instead: `hope this is relevant if
1880
- [topic] is part of the plan`, `saw you might be interested in [topic], so hope
1881
- this is relevant`, `saw you in a few conversations around [topic], so hope
1882
- this is relevant`, `found you in a few conversations about [topic], so may be
1883
- off, but this seemed relevant`, `figured this might matter if [workflow] is
1884
- live at [company]`, or a similarly natural line. For Shared Signal Discovery,
1885
- keep the source bridge at high-level topic only:
1886
- `saw you around conversations about [topic], so hope this is relevant`. For
1887
- Shared Cold Fallback, skip the `hope this is relevant` / `might be interested`
1888
- / `saw you in a few conversations` versions and use cold buyer-context copy.
1889
- Longer source-recap forms such as `you
1878
+ self-aware signal style. Translate the signal into low-certainty buyer
1879
+ context instead: `hope this is relevant if [topic] is part of the plan`,
1880
+ `saw you might be interested in [topic], so hope this is relevant`, `saw you
1881
+ in a few conversations around [topic], so hope this is relevant`, `found you
1882
+ in a few conversations about [topic], so may be off, but this seemed
1883
+ relevant`, `figured this might matter if [workflow] is live at [company]`, or
1884
+ a similarly natural line. For Shared Signal Discovery, topic-backed `hope this
1885
+ is relevant`, `saw you might be interested ... hope this is relevant`, and
1886
+ `saw you in a few conversations ... hope this is relevant` are allowed when
1887
+ they stay topic-level and avoid false engagement claims. Other shared evergreen lanes should use
1888
+ the concrete bridge version. Longer
1889
+ source-recap forms such as `you
1890
1890
  might not remember the thread,
1891
1891
  but I found you through a [topic] discussion...` are BLOCKED; they narrate
1892
1892
  the scrape path instead of creating buyer relevance.
@@ -2032,11 +2032,10 @@ matters to the buyer, why this might be relevant, or the operator-reality that
2032
2032
  led to it. Acceptable openers:
2033
2033
 
2034
2034
  - `Hey {{first_name}}, [one plain sentence about what we built].`
2035
- - `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.` Non-evergreen weak-signal only.
2036
- - `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.` Non-evergreen weak-signal only.
2037
- - `Hey {{first_name}}, saw you around conversations about [topic], so hope this is relevant.` Preferred for Shared Signal Discovery when source evidence supports a high-level topic.
2038
- - `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.` Allowed for Shared Signal Discovery when it stays high-level and not activity-log-like.
2039
- - `Hey {{first_name}}, found you in a thread about [topic], so may be off, but this seemed relevant.` Non-evergreen weak-signal only.
2035
+ - `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.` For Shared Signal Discovery or non-evergreen weak-signal campaigns only.
2036
+ - `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.` For Shared Signal Discovery or non-evergreen weak-signal campaigns only.
2037
+ - `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.` For Shared Signal Discovery or non-evergreen weak-signal campaigns only.
2038
+ - `Hey {{first_name}}, found you in a thread about [topic], so may be off, but this seemed relevant.`
2040
2039
  - `Hey {{first_name}}, saw you raise your hand for [topic], so figured this was (hopefully) worth sending.` Only use this for explicit lead-magnet comments, replies, or opt-ins.
2041
2040
  - `Hey {{first_name}}, saw you raise your hand for [topic] (creepy to reach out based on that, i know) - but this felt too on the nose to ignore.` Only use this for explicit lead-magnet comments, replies, or opt-ins.
2042
2041
  - Do not use the flattened line `so figured this was worth sending`; either keep
@@ -2296,12 +2295,11 @@ Rules:
2296
2295
  - if `lead-sample.json` carries **any** per-lead signal for this lead — a recent post, a recent hire, a visible tool in the headline, a topic engagement, a public initiative — the **message must reference it specifically**. Category-level copy is rejected.
2297
2296
  - default placement is **Block 3**, not Block 1. Keep Block 1 substance-first unless the archived motion clearly earns a signal-led opener without falling into source-citation / talk-at phrasing.
2298
2297
  - acceptable signal use by default:
2299
- - `"Hope this is relevant if [topic] is part of the plan."` Non-evergreen weak-signal only.
2300
- - `"Saw you might be interested in [topic], so hope this is relevant."` Non-evergreen weak-signal only.
2301
- - `"Saw you around conversations about [topic], so hope this is relevant."` Preferred for Shared Signal Discovery when source evidence supports a high-level topic.
2302
- - `"Saw you in a few conversations around [topic], so hope this is relevant."` Allowed for Shared Signal Discovery when it stays high-level and not activity-log-like.
2303
- - `"Saw you in a few conversations about [topic], so may be off, but this seemed relevant."` Non-evergreen weak-signal only.
2304
- - `"Found you in a thread about [topic], so may be off, but this seemed relevant."` Non-evergreen weak-signal only.
2298
+ - `"Hope this is relevant if [topic] is part of the plan."`
2299
+ - `"Saw you might be interested in [topic], so hope this is relevant."` Shared Signal Discovery or non-evergreen weak-signal only.
2300
+ - `"Saw you in a few conversations around [topic], so hope this is relevant."` Shared Signal Discovery or non-evergreen weak-signal only.
2301
+ - `"Saw you in a few conversations about [topic], so may be off, but this seemed relevant."` Shared Signal Discovery or non-evergreen weak-signal only.
2302
+ - `"Found you in a thread about [topic], so may be off, but this seemed relevant."` Non-evergreen weak-signal only; blocked for shared evergreen lanes.
2305
2303
  - `"Thought of {{company}} because [observable signal] points at [problem]."`
2306
2304
  - `"Figured this might matter if [workflow] is live at {{company}}."`
2307
2305
  - `"Saw you raise your hand for [topic], so figured this was (hopefully) worth sending."` Only for explicit lead-magnet comments, replies, or opt-ins.
@@ -2316,26 +2314,32 @@ Rules:
2316
2314
  - `"Saw you engaging with [topic]."`
2317
2315
  - `"Saw you raise your hand for [topic], so figured this was worth sending."`
2318
2316
  - `"Figured this was worth sending."`
2319
- - signal-led opener shape is a **special case**, not the default. Use it only when the archived motion truly depends on it and the line can stay natural. For Shared Signal Discovery, prefer `"saw you around conversations about [topic], so hope this is relevant"` when source evidence supports a high-level topic. For non-evergreen LinkedIn-post-sourced campaigns, `"saw you in a few conversations around [topic], so hope this is relevant"` or `"found you in a thread about [topic], so may be off, but this seemed relevant"` can be used when referencing the source makes the outreach feel less random. Avoid activity-log phrasing such as `"you commented on..."`, `"you reacted to..."`, or `"your LinkedIn activity..."` unless the approved motion is the deliberately self-aware raise-hand line for an explicit lead-magnet comment, reply, or opt-in.
2320
- - For Shared Signal Discovery, prefer the high-level topic bridge above when it
2321
- is supported by source evidence. Use a concrete problem bridge only when it is
2322
- more specific and less presumptive than the topic bridge.
2317
+ - signal-led opener shape is a **special case**, not the default. Use it only when the archived motion truly depends on it and the line can stay natural. For Shared Signal Discovery and non-evergreen LinkedIn-post-sourced campaigns, source bridges such as `"saw you in a few conversations around [topic], so hope this is relevant"` or `"saw you in a few conversations about [topic], so may be off, but this seemed relevant"` can be used when referencing the source makes the outreach feel less random. Avoid activity-log phrasing such as `"you commented on..."`, `"you reacted to..."`, or `"your LinkedIn activity..."` unless the approved motion is the deliberately self-aware raise-hand line for an explicit lead-magnet comment, reply, or opt-in.
2318
+ - For Shared Evergreen Signal Discovery, topic-backed weak signal-led openers
2319
+ such as `hope this is relevant if [topic] is part of the plan`, `saw you
2320
+ might be interested in [topic], so hope this is relevant`, and `saw you in a
2321
+ few conversations about/around [topic], so hope this is relevant` are allowed
2322
+ when evidence-backed and not engagement-claiming. Translate the source into a
2323
+ concrete problem bridge when that is stronger, e.g.
2324
+ `"The AI-assisted GTM conversations keep coming back to one problem: turning
2325
+ good LinkedIn signal into review-ready pipeline without another dashboard."`
2326
+ Then connect the product in buyer language.
2323
2327
  - tokenized engagement-source opener shape is BLOCKED by default:
2324
2328
  `{{first_name}}, saw you {{engagement_context}} on {{post_context}}` reads
2325
2329
  like surveillance unless the filled line is explicitly self-aware and
2326
- low-certainty. For Shared Signal Discovery, prefer `saw you around
2327
- conversations about [topic], so hope this is relevant`. For non-evergreen
2328
- weak-signal campaigns, use `hope this is relevant if [topic] is part of the
2329
- plan`, `saw you might be interested in [topic], so hope this is relevant`,
2330
- `saw you in a few conversations around [topic], so hope this is relevant`,
2331
- `saw you in a few conversations about [topic], so may be off, but this seemed
2332
- relevant`, or `found you in a thread about [topic], so may be off, but this
2333
- seemed relevant`. For Shared Cold Fallback, those weak signal bridges are
2334
- blocked; use cold buyer-context copy instead. Use the self-aware raise-hand
2335
- shapes only when the source was an explicit lead-magnet comment, reply, or
2336
- opt-in: `saw you raise your hand for [topic], so figured this was (hopefully)
2337
- worth sending` or `saw you raise your hand for [topic] (creepy to reach out
2338
- based on that, i know) - but
2330
+ low-certainty. Prefer a concise bridge such as `hope this is relevant if
2331
+ [topic] is part of the plan`, `saw you might be interested in [topic], so hope
2332
+ this is relevant`, `saw you in a few conversations around [topic], so hope this
2333
+ is relevant`, `saw you in a few conversations about [topic], so may be off,
2334
+ but this seemed relevant`, or `found you in a thread about [topic], so may be
2335
+ off, but this seemed relevant`. For Shared Signal Discovery, topic-backed `hope
2336
+ this is relevant`, `saw you might be interested ... hope this is relevant`, and
2337
+ `saw you in a few conversations ... hope this is relevant` are allowed when
2338
+ topic-level and evidence-backed. Other shared evergreen lanes should use a concrete signal/problem bridge. Use
2339
+ the self-aware raise-hand shapes only when
2340
+ the source was an explicit lead-magnet comment, reply, or opt-in: `saw you raise
2341
+ your hand for [topic], so figured this was (hopefully) worth sending` or `saw you
2342
+ raise your hand for [topic] (creepy to reach out based on that, i know) - but
2339
2343
  this felt too on the nose to ignore`. Do not use the longer `you might not remember the thread...` shape;
2340
2344
  if the concise source bridge still feels awkward, omit the engagement reference.
2341
2345
  - do not describe the sender/client in third person inside the outbound message.
@@ -447,26 +447,39 @@ Short form: all eligible enrolled senders are covered by sender-scoped `--yolo`;
447
447
  Short form: direct scheduler writes are not covered by `--yolo`.
448
448
  Short form: stop and re-plan instead of auto-accepting the changed action.
449
449
 
450
+ Before choosing a refill prep primitive, inspect the table frontier from
451
+ `get_campaign_refill_state.preparationFrontier`. If
452
+ `hasLaterPreparedIsland:true` or `earliestUnpreparedRow` exists before later
453
+ successful enrichment, treat that as a top-down gap: use
454
+ `select_campaign_cells`/`queue_campaign_cells` with
455
+ `rowSelector:{ type:"needsEnrichment" }` and `columnRole:"enrich"` in bounded
456
+ row-position order, or use `start_campaign_message_preparation` with the
457
+ adaptive defaults for the full enrich -> rubric -> Generate Message loop. Do not
458
+ use the UI Jump anchor as the automation cursor; Jump is a navigation affordance
459
+ and can be fooled by a later enriched island.
460
+
450
461
  After same-campaign source copy, inspect the actual campaign-table position of
451
- the copied rows before starting prep. Newly copied rows often land after the first 100 table rows. Use `get_campaign_table_schema` to read the `reviewBatch`,
452
- then use `select_campaign_cells` diagnostics against
453
- `rowSelector:{ type:"reviewBatch" }` for `enrich`, `generateMessage`, and
454
- `approved` roles when needed.
455
-
456
- For bounded split refills, operate on the review batch first. Queue
457
- `queue_campaign_cells` for `columnRole:"enrich"` on
458
- `rowSelector:{ type:"reviewBatch" }`, wait for campaign processing, then queue
459
- `columnRole:"generateMessage"` for the same review batch or
460
- `needsGeneratedMessage` rows. If the bounded packet explicitly uses
461
- `approvalMode:"approve"` because the user asked to fill/schedule sends or
462
- provided `--yolo` for a two-day send fill, approve only the bounded review-batch
463
- cohort after current generated messages exist. Do not broad approve existing
464
- table rows.
465
-
466
- If review-batch enrich cells are pending or Generate Message cells are
467
- dependency-blocked, omit `maxRowsToCheck` so the adaptive prep job can cover the
468
- bounded table scan, or set a bounded cap high enough to include appended rows
469
- when row count evidence requires it. Do not run a fixed `maxRowsToCheck:100` prep pass after appending rows to a larger existing campaign table; it can spend
462
+ the copied rows before starting prep. Newly copied rows often land after the
463
+ first 100 table rows. Use `get_campaign_table_schema` to read the `reviewBatch`
464
+ and `select_campaign_cells` diagnostics against
465
+ `rowSelector:{ type:"reviewBatch" }` only to understand the copied row set. Do
466
+ not operate on `reviewBatch` before earlier `needsEnrichment` rows unless the
467
+ approved packet explicitly says to prioritize the just-copied bounded split and
468
+ the earlier rows are exhausted, dependency-blocked, or intentionally excluded.
469
+
470
+ For bounded split refills, prefer top-down `needsEnrichment` or adaptive
471
+ `start_campaign_message_preparation` first. If the bounded packet explicitly
472
+ uses `approvalMode:"approve"` because the user asked to fill/schedule sends or
473
+ provided `--yolo` for a two-day send fill, inspect approval candidates with
474
+ `rowSelector:{ type:"needsApproval" }` after current generated messages exist,
475
+ then approve only the bounded cohort covered by the packet. Do not broad approve
476
+ existing table rows.
477
+
478
+ If enrich cells are pending or Generate Message cells are dependency-blocked,
479
+ omit `maxRowsToCheck` so the adaptive prep job can cover the bounded table scan,
480
+ or set a bounded cap high enough to include the necessary row-position frontier
481
+ when row count evidence requires it. Do not run a fixed `maxRowsToCheck:100`
482
+ prep pass after appending rows to a larger existing campaign table; it can spend
470
483
  the whole budget on older rows and miss the refill batch.
471
484
 
472
485
  Bound `targetPreparedMessages` to the actual ready-to-schedule gap for the