@sellable/mcp 0.1.402 → 0.1.404
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 +0 -0
- package/dist/index.js +0 -0
- package/dist/tools/prompts.js +1 -1
- package/package.json +1 -1
- package/skills/create-campaign/SKILL.md +19 -6
- package/skills/create-campaign-v2/references/ai-tells.md +0 -6
- package/skills/create-campaign-v2/references/gold-standard-message-examples.md +0 -26
- package/skills/create-campaign-v2/references/gold-standard-message-patterns.md +1 -11
- package/skills/create-campaign-v2/references/sellable-cleanup-rules.md +1 -1
- package/skills/create-evergreen-campaigns/SKILL.md +27 -270
- package/skills/generate-messages/SKILL.md +31 -78
- package/skills/refill-sends/SKILL.md +37 -4
- package/skills/refill-sends-workflow/SKILL.md +180 -13
package/dist/index-dev.js
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/tools/prompts.js
CHANGED
|
@@ -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" }) and get_campaign_refill_state before any mutation. Route outcomes are route:"evergreen_horizon", route:"active_campaigns", and route:"ask_create"; 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: calculate the bounded
|
|
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"; 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. In --yolo fill/refill mode, default to one best recent-send campaign and a two-send-day horizon: 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. Use the refill workflow to decide whether to enrich/prep more rows in that same recent-send campaign, add/import more rows to that same campaign/source path, use a different existing campaign only when the recent-send lane is blocked/exhausted, 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. Before source import, prep, or approval, require exact visible approval 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, but still do not launch. 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. Do not call start_campaign as part of refill sends. Launch/start is a separate explicit human action after the operator intentionally wants sends to go out, and it must still verify that the bounded cohort is the only approved 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, use cancel_campaign_message_preparation only for the exact active job. Low-level selectors are diagnostics and recovery only for this lane. start_campaign remains forbidden until explicit launch/start approval outside refill sends.`,
|
|
377
377
|
},
|
|
378
378
|
};
|
|
379
379
|
}
|
package/package.json
CHANGED
|
@@ -123,6 +123,7 @@ such as "fill campaigns", "fill up", "refill sends", "max out sends", or
|
|
|
123
123
|
```text
|
|
124
124
|
get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
125
125
|
resolve_campaign_fill_route({ intent:"plain" })
|
|
126
|
+
list_senders
|
|
126
127
|
get_campaign_refill_state
|
|
127
128
|
```
|
|
128
129
|
|
|
@@ -133,15 +134,27 @@ campaign refill. Route outcomes are `route:"evergreen_horizon"`,
|
|
|
133
134
|
returns `route:"ask_create"`, ask whether to create a normal campaign or
|
|
134
135
|
evergreen campaigns. Campaign creation is allowed only after this route and
|
|
135
136
|
explicit user selection; it is never the default response to plain fill. When
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
choosing among active targets, use refill-state scheduled-count evidence to
|
|
138
|
+
continue the campaign that most recently had scheduler-owned sends for the
|
|
139
|
+
relevant sender set; do not treat every active campaign as a refill candidate.
|
|
140
|
+
In `--yolo` fill/refill mode, default to one best recent-send campaign and a
|
|
141
|
+
two-send-day horizon: subtract future scheduler-owned scheduled sends and
|
|
142
|
+
ready-to-schedule rows from healthy sender daily capacity, then prepare only
|
|
143
|
+
that bounded gap.
|
|
144
|
+
When more leads are needed, the refill workflow must recommend same-campaign
|
|
145
|
+
source-ladder replenishment first; do not create warm-post-engager side
|
|
146
|
+
campaigns, on-demand campaigns, or unrelated campaigns. If same-source copy hits
|
|
147
|
+
`USER_ADDED_ROWS_LIMIT_EXCEEDED`, split the current source into a bounded
|
|
148
|
+
same-source LinkedIn profile list, confirm that smaller list into the same
|
|
149
|
+
campaign, and operate on the copied review batch first. Surface sender-health
|
|
150
|
+
blockers separately from prepared/approved/scheduled counts.
|
|
140
151
|
|
|
141
152
|
Treat active fills as capacity-fill preparation: calculate the bounded target
|
|
142
153
|
from sender capacity when needed, then use the refill workflow to decide source
|
|
143
|
-
replenishment, enrichment/prep, approval policy, and scheduler proof.
|
|
144
|
-
|
|
154
|
+
replenishment, enrichment/prep, approval policy, and scheduler proof. Present
|
|
155
|
+
operator decisions by campaign name and sender name first, with campaign/table
|
|
156
|
+
ids as proof only. Mutation requires exact visible approval and a fresh
|
|
157
|
+
`get_campaign_refill_state` reread.
|
|
145
158
|
For already-running regular campaigns that need Signal Discovery source
|
|
146
159
|
replenishment, the refill workflow owns the guarded recovery: clear
|
|
147
160
|
`currentStep` only with `clearCurrentStepIfMatches:"running"`, load the
|
|
@@ -55,12 +55,6 @@ raise your hand for X (creepy to reach out based on that, i know) - but
|
|
|
55
55
|
this felt too on the nose to ignore"` shapes only when the source was an
|
|
56
56
|
explicit lead-magnet comment, reply, or opt-in.
|
|
57
57
|
|
|
58
|
-
Shared evergreen exception: for Shared Signal Discovery and other shared
|
|
59
|
-
evergreen lanes, the weak-signal permissioned bridge above is still a tell.
|
|
60
|
-
Reject `hope this is relevant`, `might be interested`, and `saw you in a few
|
|
61
|
-
conversations` as openers; require a concrete signal/problem bridge or omit the
|
|
62
|
-
source line.
|
|
63
|
-
|
|
64
58
|
**Severity:** REJECT
|
|
65
59
|
|
|
66
60
|
## Tell #3 — Explicit date or duration references about the recipient
|
|
@@ -203,32 +203,6 @@ 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
|
-
Do not use the Superpower weak-signal hedge pattern for Shared Evergreen Signal Discovery. Shared evergreen lanes are reused across multiple senders and must not open with `hope this is relevant`, `might be interested`, or `saw you in a few conversations`. Use the safe pattern below instead.
|
|
207
|
-
|
|
208
|
-
### Shared Evergreen Signal Discovery Safe Pattern
|
|
209
|
-
|
|
210
|
-
Use when the campaign is a shared evergreen signal lane and the source signal is
|
|
211
|
-
real but not sender-owned.
|
|
212
|
-
|
|
213
|
-
```text
|
|
214
|
-
Hey {{first_name}},
|
|
215
|
-
|
|
216
|
-
The AI-assisted GTM conversations keep coming back to one problem: turning good LinkedIn signal into review-ready pipeline without another outbound dashboard.
|
|
217
|
-
|
|
218
|
-
Sellable helps teams find signal-matched prospects, filter for fit, and generate reviewed LinkedIn copy from one workflow.
|
|
219
|
-
|
|
220
|
-
Curious if LinkedIn outbound is a channel you're trying to make more reliable this quarter?
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
Why it works:
|
|
224
|
-
|
|
225
|
-
- no low-confidence relevance hedge
|
|
226
|
-
- no `I'm building` or founder-only first person
|
|
227
|
-
- no internal workflow vocabulary such as Codex, MCP, agent workflows, workflow
|
|
228
|
-
table, lead source, or signal discovery
|
|
229
|
-
- the signal becomes a buyer problem instead of an activity-log opener
|
|
230
|
-
- safe for multiple senders attached to the same shared lane
|
|
231
|
-
|
|
232
206
|
## Conditional Examples
|
|
233
207
|
|
|
234
208
|
Use these only when the campaign motion matches.
|
|
@@ -199,21 +199,11 @@ 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"
|
|
202
|
+
- an honest line like "hope this is relevant" or "so may be off, but this seemed relevant"
|
|
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
|
-
Shared Evergreen Signal Discovery override:
|
|
208
|
-
|
|
209
|
-
- Do not use `hope this is relevant`, `might be interested`, or `saw you in a
|
|
210
|
-
few conversations` as the opener.
|
|
211
|
-
- Do not use `I'm building`, `I've mapped`, `my company`, or `my team`.
|
|
212
|
-
- Turn the source topic into a buyer problem bridge, then write the product line
|
|
213
|
-
in team/company voice.
|
|
214
|
-
- If the source topic cannot support a concrete bridge, omit the source line and
|
|
215
|
-
start from a role/company/problem observation.
|
|
216
|
-
|
|
217
207
|
Avoid:
|
|
218
208
|
|
|
219
209
|
- copying a gimmick like "from a claude code terminal" unless the brief
|
|
@@ -74,7 +74,7 @@ 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 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."`
|
|
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 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."` Reserve `"raise your hand"` language for explicit lead-magnet comments, replies, or opt-ins. Translate the signal into natural buyer context or omit it.
|
|
78
78
|
- **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
79
|
- **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
80
|
- **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..."`.
|
|
@@ -58,22 +58,6 @@ Default evergreen plan per workspace (override only if the prompt specifies diff
|
|
|
58
58
|
1. **`<Sender Name> - Post Engagers`** — one per sender (warm lane, highest priority)
|
|
59
59
|
2. **`<Workspace/Team> - Shared Signal Discovery`** — one shared warm-signal campaign lane across senders
|
|
60
60
|
3. **`<Workspace/Team> - Shared Cold Fallback`** — one shared cold/fallback campaign lane across senders
|
|
61
|
-
|
|
62
|
-
Sender scope resolution is safety-critical. Do not pass
|
|
63
|
-
`allConnectedSenders:true` unless the invoking prompt explicitly says "all
|
|
64
|
-
connected senders", "every connected sender", "all seats", or names an
|
|
65
|
-
equivalent all-sender scope. If the user says "all 4 campaigns", "the four
|
|
66
|
-
evergreen campaigns", or names specific senders, resolve those exact senders
|
|
67
|
-
and pass explicit `postEngagerSenderIds` plus `sharedSenderIds`; do not broaden
|
|
68
|
-
the plan to every connected sender. In non-interactive or `--yolo` mode, when
|
|
69
|
-
more than two connected senders exist and the prompt does not explicitly
|
|
70
|
-
authorize all connected senders, stop before mutation with
|
|
71
|
-
`blocked: ambiguous_post_engager_sender_scope` and report the sender ids/names
|
|
72
|
-
needed for approval. Never let "workspace default" silently create Post
|
|
73
|
-
Engagers lanes for extra senders.
|
|
74
|
-
Short form: Do not pass `allConnectedSenders:true` unless the prompt explicitly says all/every connected sender.
|
|
75
|
-
Short form: "all 4 campaigns" means explicit sender scope plus two shared lanes, not all connected senders.
|
|
76
|
-
Short form: In `--yolo`, ambiguous multi-sender scope blocks before mutation.
|
|
77
61
|
</inputs>
|
|
78
62
|
|
|
79
63
|
<command_backed_workflow>
|
|
@@ -231,8 +215,7 @@ After bounded delegated approval or safe `--yolo`, fan out lane worker tasks
|
|
|
231
215
|
only from the current plan. Each worker receives the complete lane packet:
|
|
232
216
|
workspace id, sender ids, lane key/type, existing campaign/table binding or
|
|
233
217
|
create intent, source hints, caps, planRevision, actionId, allowed side effects,
|
|
234
|
-
postconditions, the
|
|
235
|
-
`sharedSenderIds`, and the packet's `workerDispatch` policy. Treat
|
|
218
|
+
postconditions, and the packet's `workerDispatch` policy. Treat
|
|
236
219
|
`workerDispatch.requiresVisibleThreadOrDurableReceipt:true` as a hard
|
|
237
220
|
execution boundary, not guidance. Read and preserve `workerDispatch.acceptedRuntimes`,
|
|
238
221
|
`workerDispatch.rejectedRuntimes`, and `workerDispatch.receiptArtifactHint`
|
|
@@ -251,15 +234,6 @@ parent packet, do not mutate and do not use it as `setupPlanCall` proof; stop
|
|
|
251
234
|
with `blocked: worker_plan_scope_drift` and ask the parent to re-plan.
|
|
252
235
|
Short form: If a worker-local plan omits `postEngagerSenderIds:[]`, do not use it as `setupPlanCall` proof.
|
|
253
236
|
Short form: stop with `blocked: worker_plan_scope_drift`.
|
|
254
|
-
Every worker prompt must include both parent scope arrays as explicit fields:
|
|
255
|
-
`Parent postEngagerSenderIds:` and `Parent sharedSenderIds:`. Workers must
|
|
256
|
-
preserve parent postEngagerSenderIds even for shared lanes. Never run a
|
|
257
|
-
shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent
|
|
258
|
-
`postEngagerSenderIds` is exactly `[]`. Every durable receipt must copy these
|
|
259
|
-
arrays to top-level `parentPostEngagerSenderIds` and `parentSharedSenderIds`
|
|
260
|
-
before completion.
|
|
261
|
-
Short form: Workers must preserve parent postEngagerSenderIds even for shared lanes.
|
|
262
|
-
Short form: Never run a shared-lane worker-local plan with `postEngagerSenderIds:[]` unless the parent `postEngagerSenderIds` is exactly `[]`.
|
|
263
237
|
|
|
264
238
|
Worker fan-out must use visible or durable execution. Preferred in local Codex
|
|
265
239
|
is a visible Codex thread created with the actual Codex app thread tools:
|
|
@@ -290,73 +264,20 @@ CLI builds that expose `-a`/`-s` only at top level. Do not use
|
|
|
290
264
|
forms fail on current customer CLI installs. Pipe the lane packet prompt on
|
|
291
265
|
stdin, require the worker to write `workerDispatch.receiptArtifactHint`, and
|
|
292
266
|
pass exactly one lane packet per worker.
|
|
293
|
-
When wrapping multiple local Codex CLI workers in a shell launcher, run the
|
|
294
|
-
wrapper with `/bin/bash -lc` or another explicitly chosen portable shell. Do not
|
|
295
|
-
rely on zsh-specific behavior. Do not use `status` as a shell variable because
|
|
296
|
-
zsh treats it as read-only; use `exit_code` or `rc` instead. Receipt polling
|
|
297
|
-
must use `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print` or an
|
|
298
|
-
explicit nullglob-safe equivalent. Do not use naked `*.json` globs under zsh,
|
|
299
|
-
and keep zero-receipt polls quiet with no `no matches found` diagnostics.
|
|
300
|
-
Do not embed `<<'WORKER_PROMPT'` heredocs inside a single quoted or double
|
|
301
|
-
quoted `/bin/bash -lc '...'` command string; nested quoting is brittle and can
|
|
302
|
-
truncate the first worker before mutation. For multi-worker launchers, write one
|
|
303
|
-
plain prompt file per lane under the current run directory, then start each
|
|
304
|
-
worker with `codex -a never -s danger-full-access exec -C "$REPO" -o
|
|
305
|
-
"$worker_final_file" - < "$worker_prompt_file"`. Keep launcher shell variables
|
|
306
|
-
double-quoted and keep the prompt heredoc only in a standalone script/prompt-file
|
|
307
|
-
write step, not inside an already quoted shell argument. If the first launcher
|
|
308
|
-
attempt exits with a shell parse error or before starting the first worker,
|
|
309
|
-
stop with `blocked: worker_launcher_quoting_failed` and do not retry by
|
|
310
|
-
loosening sender scope or mutating in the parent.
|
|
311
|
-
Short form: run the wrapper with `/bin/bash -lc`.
|
|
312
|
-
Short form: Do not rely on zsh-specific behavior.
|
|
313
|
-
Short form: Do not use `status` as a shell variable; use `exit_code` or `rc`.
|
|
314
|
-
Short form: Receipt polling uses `find <receipt-dir> -maxdepth 1 -name 'evg_*.json' -print`.
|
|
315
|
-
Short form: Do not use naked `*.json` globs under zsh; no `no matches found` diagnostics.
|
|
316
|
-
Short form: Do not embed `<<'WORKER_PROMPT'` heredocs inside a quoted `/bin/bash -lc` command string.
|
|
317
|
-
Short form: Multi-worker launchers write prompt files and run `codex ... - < "$worker_prompt_file"`.
|
|
318
|
-
After the auto-executable plan returns, take at most one short planning pass to
|
|
319
|
-
choose the visible/durable worker runtime and build the worker launch packet.
|
|
320
|
-
Do not keep reasoning, re-reading prompts, or restating the workflow instead of
|
|
321
|
-
dispatching. If the parent cannot name the callable worker runtime and prepare
|
|
322
|
-
the first worker launch command/tool call immediately after that pass, stop with
|
|
323
|
-
`blocked: worker_dispatch_deadline_exceeded` before directory setup or mutation.
|
|
324
267
|
After creating receipt directories, dispatch workers immediately; do not perform extended parent reasoning, extra inventory, or prompt rewriting loops.
|
|
325
|
-
Before any campaign shell creation, the parent must dispatch every selected lane
|
|
326
|
-
worker from the current plan and record the visible thread id or
|
|
327
|
-
`receiptArtifactPath` for each selected actionId. The parent must not call
|
|
328
|
-
`create_campaign`, `import_leads`, `confirm_lead_list`, sequence tools, message
|
|
329
|
-
preparation tools, or `setup_evergreen_campaigns` with `mode:"apply"` or any
|
|
330
|
-
other mutating setup mode. In this wrapper, `setup_evergreen_campaigns` is
|
|
331
|
-
plan/verify authority only; customer-visible creation belongs inside lane
|
|
332
|
-
workers through `$sellable:create-campaign`. If a campaign/table id appears for
|
|
333
|
-
a create lane before that lane has a recorded worker runtime and fresh receipt
|
|
334
|
-
path/thread id, stop with `blocked: parent_mutated_before_worker_receipt` and
|
|
335
|
-
do not continue setup in the parent.
|
|
336
|
-
Short form: dispatch every selected lane worker before shell creation.
|
|
337
|
-
Short form: do not call `setup_evergreen_campaigns` with `mode:"apply"` from the parent.
|
|
338
268
|
Use a compact worker prompt: include lane packet JSON, original selectedActionIds,
|
|
339
|
-
original planRevision,
|
|
340
|
-
|
|
341
|
-
instruction to load packaged prompts through MCP.
|
|
269
|
+
original planRevision, receiptArtifactPath, workspace id, sender ids,
|
|
270
|
+
side-effect caps, and the instruction to load packaged prompts through MCP.
|
|
342
271
|
Do not paste the entire wrapper skill into worker prompts. If the parent cannot
|
|
343
272
|
launch at least one visible/durable worker immediately after directory setup,
|
|
344
273
|
stop with `blocked: worker_dispatch_stalled` before any mutation.
|
|
345
|
-
After launching workers, poll only the expected current-run receipt paths from
|
|
346
|
-
`workerDispatch.receiptArtifactHint`. If no worker receipt file appears within a
|
|
347
|
-
bounded wait, for example 10 minutes in automation, stop with
|
|
348
|
-
`blocked: worker_receipt_timeout`, include the worker ids/final-file paths/stderr
|
|
349
|
-
if available, and do not create or repair campaign shells in the parent.
|
|
350
274
|
Use only the repo-local `workerDispatch.receiptArtifactHint` returned by the
|
|
351
275
|
current lane packet for receipt paths.
|
|
352
276
|
Do not hardcode machine-specific paths, workspace ids, campaign ids, sender ids, or UAT/phase artifact paths in this MCP prompt or any worker prompt.
|
|
353
277
|
After the receipt-directory `mkdir`, the next shell/tool call must launch the first lane worker.
|
|
354
278
|
Do not run `find`, `ls`, extra inventory, or another preflight between directory setup and the first worker launch.
|
|
355
|
-
For the local Codex CLI fallback, use this literal durable CLI worker launch
|
|
356
|
-
|
|
357
|
-
launches you may pipe a heredoc directly to `codex`; for multi-worker shell
|
|
358
|
-
launchers, write the same prompt body to `<worker-prompt-file>` and launch the
|
|
359
|
-
worker with stdin redirected from that file:
|
|
279
|
+
For the local Codex CLI fallback, use this literal durable CLI worker launch template
|
|
280
|
+
and fill only the lane-specific placeholders:
|
|
360
281
|
|
|
361
282
|
```
|
|
362
283
|
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - <<'WORKER_PROMPT'
|
|
@@ -365,8 +286,6 @@ Use $sellable:create-evergreen-campaigns as the governing skill for this one lan
|
|
|
365
286
|
Workspace id: <workspaceId>
|
|
366
287
|
Parent planRevision: <planRevision>
|
|
367
288
|
Parent selectedActionIds: <selectedActionIds JSON>
|
|
368
|
-
Parent postEngagerSenderIds: <postEngagerSenderIds JSON>
|
|
369
|
-
Parent sharedSenderIds: <sharedSenderIds JSON>
|
|
370
289
|
Action id: <actionId>
|
|
371
290
|
Lane key: <laneKey>
|
|
372
291
|
Allowed side effects: <allowedSideEffects JSON>
|
|
@@ -380,9 +299,6 @@ Use mcp__sellable only. Do not use admin tools, direct DB, Prisma, SQL, web sear
|
|
|
380
299
|
Do not launch, start, schedule, send, or use paid InMail.
|
|
381
300
|
Complete only this lane, write the required durable receipt JSON, and stop.
|
|
382
301
|
WORKER_PROMPT
|
|
383
|
-
|
|
384
|
-
# Multi-worker launcher equivalent:
|
|
385
|
-
codex -a never -s danger-full-access exec -C <repo> -o <worker-final-file> - < <worker-prompt-file>
|
|
386
302
|
```
|
|
387
303
|
|
|
388
304
|
If any placeholder cannot be filled from the current lane packet, do not inspect
|
|
@@ -452,14 +368,7 @@ not a parent-thread summary. The receipt must include:
|
|
|
452
368
|
`senderIds`, `campaignId`, `tableId`, and `createIntent`. Do not use
|
|
453
369
|
`laneActionId`, `lanePacketActionId`, `delegatedPlanRevision`,
|
|
454
370
|
`delegatedActionId`, or freeform `requestedCall` text as a substitute for
|
|
455
|
-
these fields.
|
|
456
|
-
`setupPlanCall.tableId` must be the actual created campaign/table ids after
|
|
457
|
-
creation and readback. If the parent lane packet carried null ids before
|
|
458
|
-
creation, preserve that original packet only in a separate `parentLanePacket`
|
|
459
|
-
object; do not leave `setupPlanCall.campaignId:null` or
|
|
460
|
-
`setupPlanCall.tableId:null`.
|
|
461
|
-
Short form: For create lanes, `setupPlanCall.campaignId` and `setupPlanCall.tableId` must be the actual created campaign/table ids.
|
|
462
|
-
Short form: Do not leave `setupPlanCall.campaignId:null` or `setupPlanCall.tableId:null`.
|
|
371
|
+
these fields.
|
|
463
372
|
- `createCampaignWorkflowReceipt`: proof the worker loaded the actual installed
|
|
464
373
|
`$sellable:create-campaign` wrapper instead of doing ad hoc MCP calls. It must
|
|
465
374
|
include `skillCommand:"$sellable:create-campaign"`,
|
|
@@ -514,25 +423,8 @@ not a parent-thread summary. The receipt must include:
|
|
|
514
423
|
evidence field such as `rowCount`, `rowIdsHash`, or `rowEvidence`; do not
|
|
515
424
|
leave those only in `searchSignalsProof`, `importProof`, `coldFallbackProof`,
|
|
516
425
|
or narrative text for the parent/verifier to infer.
|
|
517
|
-
- `filterDecisionReceipt`: saved/applied
|
|
518
|
-
campaign/table basis.
|
|
519
|
-
filtering with `enableICPFilters:true`, call `save_rubrics`, and save at
|
|
520
|
-
least three rubric/filter criteria before Message Drafting. Do not skip
|
|
521
|
-
filtering for evergreen setup. Missing or skipped filter proof is
|
|
522
|
-
`blocked: missing_filter_setup`.
|
|
523
|
-
Before the worker exits, the durable JSON must contain
|
|
524
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
525
|
-
`filterDecisionReceipt.enableICPFilters:true`, the current
|
|
526
|
-
`workflowTableId`, and concrete saved-filter proof such as
|
|
527
|
-
`filterDecisionReceipt.filterIds`, `filterDecisionReceipt.rubricIds`,
|
|
528
|
-
`filterDecisionReceipt.savedRubricCount`, or
|
|
529
|
-
`filterDecisionReceipt.headlineICPCriteria`.
|
|
530
|
-
The exact status string is contractual: use `status:"applied"` only.
|
|
531
|
-
Do not write `status:"confirmed"`, `status:"saved"`, `status:"done"`, or
|
|
532
|
-
any other alias after saving filters; the parent verifier rejects those
|
|
533
|
-
aliases even when saved rubric proof exists.
|
|
534
|
-
Short form: Filter receipt status must be exactly `applied`.
|
|
535
|
-
Short form: Do not write `filterDecisionReceipt.status:"confirmed"`.
|
|
426
|
+
- `filterDecisionReceipt`: saved/applied filter ids or explicit skip-filter
|
|
427
|
+
decision with current campaign/table basis.
|
|
536
428
|
- `messageDraftingReceipt`: the Message Drafting proof described below,
|
|
537
429
|
including packaged `generate-messages` prompt/assets and validation. Raw
|
|
538
430
|
fields like `generateMessagesPromptLoadedToHasMoreFalse`,
|
|
@@ -668,12 +560,7 @@ verification unless the same object also appears inside
|
|
|
668
560
|
"sourceLadderReason": "<why the current source is valid before colder sources>"
|
|
669
561
|
},
|
|
670
562
|
"filterDecisionReceipt": {
|
|
671
|
-
"status": "
|
|
672
|
-
"enableICPFilters": true,
|
|
673
|
-
"filterIds": ["<saved filter/rubric id>"],
|
|
674
|
-
"rubricIds": ["<saved rubric id>"],
|
|
675
|
-
"headlineICPCriteria": ["<saved ICP criterion>", "<saved ICP criterion>", "<saved ICP criterion>"],
|
|
676
|
-
"savedRubricCount": 3,
|
|
563
|
+
"status": "skipped",
|
|
677
564
|
"workflowTableId": "<workflow table id>"
|
|
678
565
|
},
|
|
679
566
|
"messageDraftingReceipt": {
|
|
@@ -754,19 +641,6 @@ path itself in the worker thread:
|
|
|
754
641
|
exactly one semantic Approved cell through `select_campaign_cells` and
|
|
755
642
|
`update_cell`.
|
|
756
643
|
Approval shorthand: approve exactly one semantic Approved cell.
|
|
757
|
-
In this message-drafting path, `update_cell` is allowed only for the semantic
|
|
758
|
-
Approved checkbox. Do not use `update_cell` or any row/cell write to edit
|
|
759
|
-
generated message text, sample copy, or final message bodies in automation.
|
|
760
|
-
If generated copy fails review, update the campaign brief/message template
|
|
761
|
-
with `update_campaign_brief` or `revise_message_template_and_rerun`, then
|
|
762
|
-
rerun Generate Message and review current-revision generated output. Receipt
|
|
763
|
-
`sampleMessages` must come from generated current-revision cells after the
|
|
764
|
-
brief/template rerun, not from hand-edited message cell overrides. If a lane
|
|
765
|
-
used a generated-message body override, report
|
|
766
|
-
`blocked: generated_message_cell_override` instead of success.
|
|
767
|
-
Short form: `update_cell` is allowed only for the semantic Approved checkbox.
|
|
768
|
-
Short form: Do not use `update_cell` to edit generated message text.
|
|
769
|
-
Short form: Bad copy requires brief/template revision plus Generate Message rerun.
|
|
770
644
|
4. Poll `get_campaign_message_preparation_status` until no queued/active cells
|
|
771
645
|
remain or a bounded stop reason is returned.
|
|
772
646
|
5. Use `get_campaign_messages_preview` or `select_campaign_cells` to inspect
|
|
@@ -793,26 +667,6 @@ The only accepted statusSource values are exactly `branch` and
|
|
|
793
667
|
`packaged-generate-messages-worker`; descriptive aliases such as
|
|
794
668
|
`package-readback-local-thread` are rejected.
|
|
795
669
|
|
|
796
|
-
Before any provider-specific source mutation for a newly created campaign,
|
|
797
|
-
reread `get_campaign_navigation_state({ campaignId })` and use that product
|
|
798
|
-
navigation state as the source-step authority. Do not jump from a shell directly
|
|
799
|
-
into `contact-search`, and do not jump from a shell directly into
|
|
800
|
-
`signal-discovery`. Advance through the product-visible source-selection step
|
|
801
|
-
first, then load the provider prompt and write only the provider/source fields
|
|
802
|
-
accepted for that current step. Never include sender reassignment fields in
|
|
803
|
-
source-step updates, never include custom narration fields in source-step
|
|
804
|
-
updates, and do not use guessed `currentStep` or watched narration payloads to
|
|
805
|
-
force the flow forward. If `update_campaign` rejects the source transition
|
|
806
|
-
twice, reread navigation/campaign state once; if the campaign is not already on
|
|
807
|
-
the intended source step, stop the lane with
|
|
808
|
-
`blocked: watched_source_transition_blocked` and include the rejected tool
|
|
809
|
-
result plus the readback. Do not loop on rejected `update_campaign` transitions.
|
|
810
|
-
Short form: do not jump from a shell directly into `contact-search`.
|
|
811
|
-
Short form: do not jump from a shell directly into `signal-discovery`.
|
|
812
|
-
Short form: never include sender reassignment fields in source-step updates.
|
|
813
|
-
Short form: never include custom narration fields in source-step updates.
|
|
814
|
-
Short form: do not loop on rejected `update_campaign` transitions.
|
|
815
|
-
|
|
816
670
|
One lane may produce exactly one CampaignOffer/campaign id and one current
|
|
817
671
|
workflow table id. For `intent:"create"`, the first successful
|
|
818
672
|
`create_campaign` result establishes the lane's only allowed campaign/table
|
|
@@ -851,14 +705,9 @@ the prospect's engagement unless the selected source evidence proves that exact
|
|
|
851
705
|
sender authored the post.
|
|
852
706
|
Shared lanes must reject generic product-summary samples that explain the
|
|
853
707
|
product in the same broad words for every row. Shared lanes must reject three
|
|
854
|
-
nearly identical samples after stripping the leading name.
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
If any of these failures appears, revise or rerun the packaged
|
|
858
|
-
create-campaign/generate-messages path from the lane worker before writing a
|
|
859
|
-
success receipt.
|
|
860
|
-
Short form: Shared lanes must fail quality review when any reviewed sample has non-empty `issues`.
|
|
861
|
-
Short form: Do not approve or final-report samples with `verdict:"passed"` and non-empty `issues`.
|
|
708
|
+
nearly identical samples after stripping the leading name. If either failure
|
|
709
|
+
appears, revise or rerun the packaged create-campaign/generate-messages path
|
|
710
|
+
from the lane worker before writing a success receipt.
|
|
862
711
|
The generated-message cells are not prompt proof: `currentRevisionGeneratedMessages`,
|
|
863
712
|
Generate Message column counts, `messagesCount`, or rendered row previews prove
|
|
864
713
|
only that table cells exist from the current brief/template, not that the
|
|
@@ -878,22 +727,6 @@ duplicate-lane blockers before you call the command finished. If verify blocks,
|
|
|
878
727
|
report the blocker and repair only the missing postconditions from the same
|
|
879
728
|
current plan.
|
|
880
729
|
|
|
881
|
-
Before calling verify, the parent should build compact receipt objects from the
|
|
882
|
-
durable receipt files and pass those compact objects to MCP. The compact receipt
|
|
883
|
-
must preserve every verifier-owned field named above, including top-level ids,
|
|
884
|
-
`createCampaignStepReceipt`, canonical filter/message/review/sequence/final
|
|
885
|
-
proof, and at least three concrete sample messages. It should omit large raw
|
|
886
|
-
search outputs, long post lists, full row arrays, raw provider responses, and
|
|
887
|
-
debug-only narration fields. Do not pass multi-hundred-kilobyte raw receipt
|
|
888
|
-
objects when a compact canonical receipt has the same proof; large raw verify
|
|
889
|
-
payloads can stall local MCP bridges and make UAT ambiguous.
|
|
890
|
-
Do not print or `jq .` full receipt JSON into the terminal. For local checks,
|
|
891
|
-
print only compact summaries such as file, actionId, laneKey, campaignId,
|
|
892
|
-
filter status, sample count, approved count, and final status.
|
|
893
|
-
Short form: Parent verify uses compact canonical receipt objects, not raw giant receipts.
|
|
894
|
-
Short form: Do not dump full receipt JSON with `jq .`.
|
|
895
|
-
Short form: Never change planRevision/actionId/laneKey while compacting receipts.
|
|
896
|
-
|
|
897
730
|
Message proof for every customer-visible lane must come from the current
|
|
898
731
|
campaign/table basis and include at least 3 generated review rows from the
|
|
899
732
|
packaged `generate-messages` path before completion is reported.
|
|
@@ -932,8 +765,6 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
932
765
|
Short form: Do not pass the warm template into Shared Signal Discovery or Shared Cold Fallback.
|
|
933
766
|
Short form: Shared lanes must reject generic product-summary samples.
|
|
934
767
|
Short form: Shared lanes must reject three nearly identical samples.
|
|
935
|
-
Short form: Shared lanes must reject low-confidence relevance hedges.
|
|
936
|
-
Short form: Shared lanes must reject internal workflow vocabulary.
|
|
937
768
|
Short form: revise or rerun the packaged create-campaign/generate-messages path.
|
|
938
769
|
- **Post Engagers** first-message style: short, casual, references the
|
|
939
770
|
sender-authored post they engaged with, closed question, **no internal
|
|
@@ -944,7 +775,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
944
775
|
|
|
945
776
|
Hey there
|
|
946
777
|
|
|
947
|
-
|
|
778
|
+
Thanks for the support on my post about {{post_topic_line}}
|
|
948
779
|
```
|
|
949
780
|
|
|
950
781
|
- **Shared Signal Discovery** first-message style: short, casual, references
|
|
@@ -960,22 +791,6 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
960
791
|
say it. Prefer sender-agnostic company/team language such as "we're
|
|
961
792
|
helping CX teams..." or "at cxconnect.ai, we help..." and one clear
|
|
962
793
|
problem question.
|
|
963
|
-
Before Message Drafting runs, the campaign brief must already include
|
|
964
|
-
these shared-lane hard avoids and source-use rules. Do not rely on a
|
|
965
|
-
failed first generation batch to discover that self-intros, generic
|
|
966
|
-
product summaries, or repeated structure are bad. If the first generated
|
|
967
|
-
batch violates these rules, rerun, but record that as a repaired UAT path
|
|
968
|
-
rather than the desired zero-shot path.
|
|
969
|
-
Do not use low-confidence relevance hedges such as "hope this is
|
|
970
|
-
relevant" in Shared Signal Discovery samples. Translate source/tool terms
|
|
971
|
-
into prospect-facing business language; do not put internal workflow
|
|
972
|
-
vocabulary such as "Codex-style workflow", "MCP", "agent workflows", or
|
|
973
|
-
"Claude-style agent workflows" in customer-facing message one.
|
|
974
|
-
Short form: Shared Signal Discovery uses no self-intro such as "I'm building Sellable".
|
|
975
|
-
Short form: Shared Signal Discovery uses no self-intro such as "We're building Sellable".
|
|
976
|
-
Short form: Shared Signal Discovery uses no "I've put together".
|
|
977
|
-
Short form: no low-confidence relevance hedge such as "hope this is relevant".
|
|
978
|
-
Short form: no internal workflow vocabulary such as "Codex-style workflow", "MCP", "agent workflows", or "Claude-style agent workflows".
|
|
979
794
|
- **Shared Cold Fallback** first-message style: cold, direct, and cohesive.
|
|
980
795
|
It must not pretend there was engagement, must not say "saw you pop up",
|
|
981
796
|
and must not use a standalone name line followed by "Hey there" or other
|
|
@@ -990,52 +805,14 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
990
805
|
Sellable/Codex/Claude-Code feature summary
|
|
991
806
|
across prospects. This is a single-message cold path unless the approved
|
|
992
807
|
create-campaign message workflow proves a better delivery format.
|
|
993
|
-
Do not open with "hope this is relevant" or a similar low-confidence
|
|
994
|
-
relevance hedge. Do not use a repeated product-definition paragraph such
|
|
995
|
-
as "Sellable is a GTM system" across samples; every reviewed cold sample
|
|
996
|
-
should be specific enough to the role, company, or problem that the three
|
|
997
|
-
sample messages do not share the same body skeleton.
|
|
998
|
-
Before Message Drafting runs, the campaign brief must already forbid
|
|
999
|
-
self-intros, generic product summaries, opt-out shrugs, product-stack
|
|
1000
|
-
dumps, and repeated template structure. Do not let the first generation
|
|
1001
|
-
batch use "I'm building", "We're building", "I've put together", or
|
|
1002
|
-
similar language and then rely on a cleanup rerun as the normal path.
|
|
1003
808
|
Short form: Shared Cold Fallback must not pass just because the receipt says `generate-messages` loaded.
|
|
1004
809
|
Short form: Shared Cold Fallback uses no self-intro such as "We're building".
|
|
1005
|
-
Short form: Shared Cold Fallback uses no self-intro such as "I'm building Sellable".
|
|
1006
|
-
Short form: Shared Cold Fallback uses no "I've put together".
|
|
1007
810
|
Short form: Shared Cold Fallback uses no opt-out shrug such as "If this isn't relevant, ignore me".
|
|
1008
811
|
Short form: Shared Cold Fallback uses no product-stack dump.
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
Shared Cold Fallback. Do not skip filtering for evergreen setup, even when
|
|
1014
|
-
the source is warm. Use the normal `$sellable:create-campaign` filter
|
|
1015
|
-
workflow: set or save 3-5 headline ICP criteria, call `save_rubrics`, and
|
|
1016
|
-
persist `enableICPFilters:true` on the campaign before generating
|
|
1017
|
-
messages. Good evergreen filters should be light but real: role/budget
|
|
1018
|
-
relevance, company/market fit, and obvious non-buyer exclusion. For
|
|
1019
|
-
Post Engagers, keep filters permissive enough that warm source rows are not
|
|
1020
|
-
over-pruned, but still save the filter rules. For shared lanes, filter for
|
|
1021
|
-
buyers/operators relevant to the workspace offer and exclude students,
|
|
1022
|
-
job seekers, vendors, and off-topic commenters. The receipt must show
|
|
1023
|
-
`filterDecisionReceipt.status:"applied"`,
|
|
1024
|
-
`filterDecisionReceipt.enableICPFilters:true`, current `workflowTableId`,
|
|
1025
|
-
and saved filter/rubric proof with at least three saved rubric/filter
|
|
1026
|
-
criteria (`filterIds`, `rubricIds`, `headlineICPCriteria`, or
|
|
1027
|
-
`savedRubricCount`). Missing or skipped filter proof is
|
|
1028
|
-
`blocked: missing_filter_setup`.
|
|
1029
|
-
Short form: Customer-visible evergreen lanes must enable ICP filtering.
|
|
1030
|
-
Short form: `enableICPFilters:true`.
|
|
1031
|
-
Short form: Do not skip filtering for evergreen setup.
|
|
1032
|
-
Short form: at least three saved rubric/filter criteria.
|
|
1033
|
-
Short form: missing or skipped filter proof is `blocked: missing_filter_setup`.
|
|
1034
|
-
Short form: run Message Drafting only after saved filters are applied.
|
|
1035
|
-
- Every customer-visible lane must run Message Drafting from the current
|
|
1036
|
-
campaign/table basis after source rows exist. The worker must load the full
|
|
1037
|
-
packaged `generate-messages` prompt, every required asset, and
|
|
1038
|
-
`create-campaign-v2-validation`; if the internal branch handoff is not
|
|
812
|
+
- Every customer-visible lane must run Message Drafting from the current
|
|
813
|
+
campaign/table basis after source rows exist. The worker must load the full
|
|
814
|
+
packaged `generate-messages` prompt, every required asset, and
|
|
815
|
+
`create-campaign-v2-validation`; if the internal branch handoff is not
|
|
1039
816
|
callable in the packaged runtime, the worker must call
|
|
1040
817
|
`start_campaign_message_preparation` and poll
|
|
1041
818
|
`get_campaign_message_preparation_status` from the lane worker. The
|
|
@@ -1065,13 +842,10 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1065
842
|
- A source/list decision has been resolved and campaign rows are loaded. If
|
|
1066
843
|
there is no approved source or no rows can be copied, report `blocked` with
|
|
1067
844
|
the missing source detail; do not call the campaign complete.
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
evergreen setup. Do not leave customer-visible campaigns at
|
|
1073
|
-
`filter-choice`, `filter-rules`, or `apply-icp-rubric` and report success.
|
|
1074
|
-
Do not proceed to Message Drafting until saved filters are applied.
|
|
845
|
+
- The filter step is resolved: either saved/applied filters are present, or
|
|
846
|
+
the campaign explicitly skipped filters. Do not leave customer-visible
|
|
847
|
+
campaigns at `filter-choice`, `filter-rules`, or `apply-icp-rubric` and
|
|
848
|
+
report success.
|
|
1075
849
|
- Message Drafting has run from the current campaign/table basis, using the
|
|
1076
850
|
create-campaign message prompt/assets and validation gate. Updating
|
|
1077
851
|
`currentStep:"messages"` is not proof. Parent-thread handwritten copy is
|
|
@@ -1090,17 +864,13 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1090
864
|
reviewed sample messages. For Shared Cold Fallback, reject samples that
|
|
1091
865
|
open with a standalone name followed by "Hey there" or a similarly generic
|
|
1092
866
|
greeting. For Shared Cold Fallback, also reject samples with a self-intro
|
|
1093
|
-
such as "We're building",
|
|
1094
|
-
|
|
1095
|
-
or a product-stack dump that repeats the same
|
|
867
|
+
such as "We're building", an opt-out shrug such as "If this isn't
|
|
868
|
+
relevant, ignore me", or a product-stack dump that repeats the same
|
|
1096
869
|
Sellable/Codex/Claude-Code feature summary across prospects. For all
|
|
1097
870
|
shared lanes, reject generic product-summary samples, repeated
|
|
1098
|
-
near-identical samples,
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
create-campaign/generate-messages path before reporting completion. Do not
|
|
1102
|
-
approve or final-report samples with `verdict:"passed"` and non-empty
|
|
1103
|
-
`issues`.
|
|
871
|
+
near-identical samples, and any preserved Post Engagers opener; revise or
|
|
872
|
+
rerun the packaged create-campaign/generate-messages path before reporting
|
|
873
|
+
completion.
|
|
1104
874
|
- The first review batch exists and at least 3 review rows have generated
|
|
1105
875
|
messages from the approved brief. If fewer than 3 usable rows exist, report
|
|
1106
876
|
the actual count and why.
|
|
@@ -1174,9 +944,7 @@ Parent-thread handwritten copy or setting `currentStep` is not proof.
|
|
|
1174
944
|
**Also confirm the delivery format and keep config in sync.** Ask the user whether DM lanes should send multiline (paragraph-per-message) or as a single message. Record the answer as the brief's `Delivery format:` line, and when multiline is chosen, set `actionConfig.sendEachParagraphAsMessage: true` on that campaign's `send_dm` column via `update_column` (config edits run no cells and nothing sends from unlaunched campaigns). Never set the paragraph-split flag on InMail columns — the option does not apply to InMail.
|
|
1175
945
|
6. **Interactive polish mode only: prove the template on one real row.** For ONE campaign that has at least one lead row (add one via `add_on_demand_leads` if every lane is empty and the user provides/approves a test lead), generate a message for exactly one row (`queue_campaign_cells` with `columnRole: "generateMessage"`, `rowSelector: { type: "reviewBatch", limit: 1 }` or the single row's ID), wait for it, then show the user the generated message next to the template — AND show how it would split if paragraph-per-message sending is enabled (list each paragraph as `msg 1:`, `msg 2:`, …) so the user confirms each one reads like a real typed message. Check alignment: tone, structure, no internal vocabulary, correct token substitution, no letter punctuation. Do NOT approve the row or generate for more rows — one sample only.
|
|
1176
946
|
7. **Automation mode template/config audit**: inspect existing send-lane briefs for a `Delivery format:` line and chat-native warm template. If a send lane is missing the line and the prompt allows cleanup, update only the campaign brief metadata with the safest default for that lane (`Delivery format: single message (LinkedIn DM; line breaks remain inside one generated message; no follow-up until reply)`). If cleanup is not allowed, flag it. Do not generate a sample row in automation mode unless the invocation explicitly asks for sample proof. In structure-only automation, do not generate a sample row unless the invocation explicitly asks for sample proof. In customer-visible completion, follow the Customer-Visible Completion Contract instead.
|
|
1177
|
-
8. **
|
|
1178
|
-
If the `Sample Messaging Review` section is omitted, the command is incomplete even when the structural campaign setup succeeded.
|
|
1179
|
-
9. **Report the reconcile plan and result** — every slot tagged `reused`, `created`, `repaired`, `flagged`, or `blocked`, plus template/sample details only when that mode ran:
|
|
947
|
+
8. **Report the reconcile plan and result** — every slot tagged `reused`, `created`, `repaired`, `flagged`, or `blocked`, plus template/sample details only when that mode ran:
|
|
1180
948
|
|
|
1181
949
|
```
|
|
1182
950
|
Evergreen Reconcile — {date}
|
|
@@ -1185,17 +953,6 @@ Evergreen Reconcile — {date}
|
|
|
1185
953
|
• Sellable.dev - Shared Signal Discovery: repaired (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1186
954
|
• Sellable.dev - Shared Cold Fallback: created (send review ready; 50 rows, 3 generated, 1 approved gate row, sequence attached, paused)
|
|
1187
955
|
All campaigns remain unlaunched. Next: enrich/approve more rows when you want more items ready to schedule.
|
|
1188
|
-
|
|
1189
|
-
Sample Messaging Review
|
|
1190
|
-
• Christian Reyes - Post Engagers (`cmp_...`, row `row_...`, verdict: passed)
|
|
1191
|
-
```
|
|
1192
|
-
{{full generated first message}}
|
|
1193
|
-
```
|
|
1194
|
-
• Sellable.dev - Shared Cold Fallback (`cmp_...`, row `row_...`, verdict: passed)
|
|
1195
|
-
```
|
|
1196
|
-
{{full generated first message}}
|
|
1197
|
-
```
|
|
1198
|
-
If any sample is not quite right, ask the AI to update the campaign brief/message template and rerun Generate Message before launch.
|
|
1199
956
|
```
|
|
1200
957
|
</objective>
|
|
1201
958
|
|
|
@@ -252,35 +252,6 @@ must read like final create-campaign/generate-messages output.
|
|
|
252
252
|
samples. If two samples would still read the same after replacing names and
|
|
253
253
|
companies, revise or rerun.
|
|
254
254
|
|
|
255
|
-
### Shared Evergreen Signal Discovery hard gate
|
|
256
|
-
|
|
257
|
-
For Shared Signal Discovery and other shared evergreen lanes, signal-led copy
|
|
258
|
-
must be safer than the legacy weak-signal examples. These lanes are reused by
|
|
259
|
-
multiple senders, so the first line cannot sound like a scraped-activity excuse
|
|
260
|
-
or a founder self-intro.
|
|
261
|
-
|
|
262
|
-
- `hope this is relevant`, `might be interested`, and `saw you in a few conversations` are blocked openers for shared evergreen lanes.
|
|
263
|
-
- do not write first-person singular founder language such as `I'm building`,
|
|
264
|
-
`I've mapped`, `my company`, or `my team` unless exactly one sender can
|
|
265
|
-
credibly say it and the lane is not shared.
|
|
266
|
-
- Do not put internal workflow vocabulary in buyer-facing copy: `Codex`, `MCP`,
|
|
267
|
-
`Claude-style agent workflows`, `agent workflows`, `workflow table`, `lead
|
|
268
|
-
source`, or `signal discovery`.
|
|
269
|
-
- Write a concrete signal/problem bridge instead of a relevance hedge. Good
|
|
270
|
-
shapes are `the AI-assisted GTM conversations keep coming back to [buyer
|
|
271
|
-
problem]`, `teams trying to turn LinkedIn signal into pipeline usually hit
|
|
272
|
-
[problem]`, or `when [observable business moment] is live, [buyer workflow]
|
|
273
|
-
gets harder to run consistently`.
|
|
274
|
-
- If the row evidence is too weak to write a concrete bridge, omit the source
|
|
275
|
-
line and start from a buyer problem, event, role, or company observation.
|
|
276
|
-
- Shared evergreen lanes must pass this gate before `confirmed`, before saving a
|
|
277
|
-
reusable template, and before any route-proof approval.
|
|
278
|
-
|
|
279
|
-
Short form: shared evergreen copy cannot use `hope this is relevant`.
|
|
280
|
-
Short form: shared evergreen copy cannot use `might be interested`.
|
|
281
|
-
Short form: shared evergreen copy cannot use `I'm building`.
|
|
282
|
-
Short form: write a concrete signal/problem bridge instead of a relevance hedge.
|
|
283
|
-
|
|
284
255
|
### Rich Personalization Contract
|
|
285
256
|
|
|
286
257
|
The `create-campaign` asset `references/ai-native-tokens.md` is the canonical
|
|
@@ -298,15 +269,12 @@ conditional good/bad fill reference.
|
|
|
298
269
|
- Use this shape for any hook, bridge, or row-specific relevance line:
|
|
299
270
|
`[PERSONALIZATION_LINE — Intent: write one short sentence that anchors the
|
|
300
271
|
note to why this might matter now. DO: connect one observable role/company/
|
|
301
|
-
activity signal to the buyer problem or offer with
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
awkward. DON'T: recap their resume, list companies, compliment their
|
|
308
|
-
background, name a product their company sells, use source-citation phrasing, or
|
|
309
|
-
use generic nouns like "your work".
|
|
272
|
+
activity signal to the buyer problem or offer with low-certainty language like
|
|
273
|
+
"hope this is relevant if...", "saw you might be interested in...", "saw you in
|
|
274
|
+
a few conversations around...", or "figured this might matter if...". DON'T: recap
|
|
275
|
+
their resume, list companies, compliment their background, name a product their
|
|
276
|
+
company sells, use source-citation phrasing, or use generic nouns like "your
|
|
277
|
+
work".
|
|
310
278
|
FALLBACK: if unsupported, omit the entire line.]`
|
|
311
279
|
- The rendered personalization line should usually be 6-14 words. If it needs
|
|
312
280
|
two clauses, multiple companies, or abstract tags like `GTM`, `international
|
|
@@ -465,9 +433,9 @@ artifact.**
|
|
|
465
433
|
|
|
466
434
|
Safer shapes:
|
|
467
435
|
|
|
468
|
-
- `hope this is relevant if {{signal_topic}} is part of the plan`
|
|
469
|
-
- `saw you might be interested in {{signal_topic}}, so hope this is relevant`
|
|
470
|
-
- `saw you in a few conversations around {{signal_topic}}, so hope this is relevant`
|
|
436
|
+
- `hope this is relevant if {{signal_topic}} is part of the plan`
|
|
437
|
+
- `saw you might be interested in {{signal_topic}}, so hope this is relevant`
|
|
438
|
+
- `saw you in a few conversations around {{signal_topic}}, so hope this is relevant`
|
|
471
439
|
- `saw you in a few conversations about {{signal_topic}}, so may be off, but this seemed relevant`
|
|
472
440
|
- `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
|
|
473
441
|
- `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
|
|
@@ -531,22 +499,20 @@ artifact.**
|
|
|
531
499
|
magnet replies, or scraped conversations), it is acceptable to reference the
|
|
532
500
|
conversation when it explains why the note exists. Keep it topic-level, not
|
|
533
501
|
activity-log-level: `saw you in a few conversations around
|
|
534
|
-
{{signal_topic}}, so hope this is relevant` is acceptable
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
buyer/problem bridge or omit the source line.
|
|
502
|
+
{{signal_topic}}, so hope this is relevant` is acceptable; `saw you
|
|
503
|
+
commented on {{post_context}}` and `your LinkedIn activity around...` are
|
|
504
|
+
not. Reserve `raise your hand` phrasing for explicit lead-magnet comments,
|
|
505
|
+
replies, or opt-ins. For ordinary thread discovery, use `saw you in a few
|
|
506
|
+
conversations around {{signal_topic}}...` or `found you in a thread about
|
|
507
|
+
{{signal_topic}}...`.
|
|
541
508
|
|
|
542
509
|
Keep the apologetic nature, but aim it at uncertainty, not surveillance.
|
|
543
|
-
Good
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
title and tells the buyer about themselves.
|
|
510
|
+
Good: `saw you in a few conversations about outbound, so may be off, but
|
|
511
|
+
this seemed relevant`, `may be off, but if outbound is relevant to what
|
|
512
|
+
you're working on...`, `if this is not relevant to your outbound workflow,
|
|
513
|
+
ignore me`, `hope
|
|
514
|
+
this is relevant if...`. Bad: `your role at {{company}} looked close...`,
|
|
515
|
+
because it asserts fit from a title and tells the buyer about themselves.
|
|
550
516
|
|
|
551
517
|
Block wordier source narration such as `you might not remember the thread,
|
|
552
518
|
but I found you through a {{signal_topic}} discussion and your
|
|
@@ -1543,10 +1509,7 @@ Before `confirmed`, run the selected winner against these gates:
|
|
|
1543
1509
|
the lead sample. If desire is inferred, use tentative framing like
|
|
1544
1510
|
`hope this is relevant if...`, `saw you might be interested in...`,
|
|
1545
1511
|
`saw you in a few conversations around...`, `figured this might matter if...`,
|
|
1546
|
-
or `if you've ever wanted...`.
|
|
1547
|
-
other shared evergreen lanes, `hope this is relevant`, `might be interested`,
|
|
1548
|
-
and `saw you in a few conversations` are blocked; use a concrete
|
|
1549
|
-
signal/problem bridge or omit the source line.
|
|
1512
|
+
or `if you've ever wanted...`.
|
|
1550
1513
|
- **Buyer-first opener:** after the greeting, the first substantive line
|
|
1551
1514
|
should usually enter the buyer's world: a real signal, current-state
|
|
1552
1515
|
pain, buyer-owned priority, or useful artifact. Sender-origin can come
|
|
@@ -1847,11 +1810,8 @@ about`, or `clearly relevant` are BLOCKED. Source-y phrases such as
|
|
|
1847
1810
|
`saw you might be interested in [topic], so hope this is relevant`, `saw you
|
|
1848
1811
|
in a few conversations around [topic], so hope this is relevant`, `found you
|
|
1849
1812
|
in a few conversations about [topic], so may be off, but this seemed
|
|
1850
|
-
relevant`, `figured this might matter if [workflow] is live at [company]`, or
|
|
1851
|
-
|
|
1852
|
-
relevant` / `might be interested` / `saw you in a few conversations` versions
|
|
1853
|
-
and use the concrete bridge version. Longer source-recap forms such as `you
|
|
1854
|
-
might not remember the thread,
|
|
1813
|
+
relevant`, `figured this might matter if [workflow] is live at [company]`, or a similarly natural
|
|
1814
|
+
line. Longer source-recap forms such as `you might not remember the thread,
|
|
1855
1815
|
but I found you through a [topic] discussion...` are BLOCKED; they narrate
|
|
1856
1816
|
the scrape path instead of creating buyer relevance.
|
|
1857
1817
|
- **Engagement reference is opt-in, not the default opener:** do not
|
|
@@ -1996,9 +1956,9 @@ matters to the buyer, why this might be relevant, or the operator-reality that
|
|
|
1996
1956
|
led to it. Acceptable openers:
|
|
1997
1957
|
|
|
1998
1958
|
- `Hey {{first_name}}, [one plain sentence about what we built].`
|
|
1999
|
-
- `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.`
|
|
2000
|
-
- `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.`
|
|
2001
|
-
- `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.`
|
|
1959
|
+
- `Hey {{first_name}}, hope this is relevant if [buyer context] is still on your plate.`
|
|
1960
|
+
- `Hey {{first_name}}, saw you might be interested in [topic], so hope this is relevant.`
|
|
1961
|
+
- `Hey {{first_name}}, saw you in a few conversations around [topic], so hope this is relevant.`
|
|
2002
1962
|
- `Hey {{first_name}}, found you in a thread about [topic], so may be off, but this seemed relevant.`
|
|
2003
1963
|
- `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.
|
|
2004
1964
|
- `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.
|
|
@@ -2259,9 +2219,9 @@ Rules:
|
|
|
2259
2219
|
- 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.
|
|
2260
2220
|
- 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.
|
|
2261
2221
|
- acceptable signal use by default:
|
|
2262
|
-
- `"Hope this is relevant if [topic] is part of the plan."`
|
|
2263
|
-
- `"Saw you might be interested in [topic], so hope this is relevant."`
|
|
2264
|
-
- `"Saw you in a few conversations around [topic], so hope this is relevant."`
|
|
2222
|
+
- `"Hope this is relevant if [topic] is part of the plan."`
|
|
2223
|
+
- `"Saw you might be interested in [topic], so hope this is relevant."`
|
|
2224
|
+
- `"Saw you in a few conversations around [topic], so hope this is relevant."`
|
|
2265
2225
|
- `"Saw you in a few conversations about [topic], so may be off, but this seemed relevant."`
|
|
2266
2226
|
- `"Found you in a thread about [topic], so may be off, but this seemed relevant."`
|
|
2267
2227
|
- `"Thought of {{company}} because [observable signal] points at [problem]."`
|
|
@@ -2279,11 +2239,6 @@ Rules:
|
|
|
2279
2239
|
- `"Saw you raise your hand for [topic], so figured this was worth sending."`
|
|
2280
2240
|
- `"Figured this was worth sending."`
|
|
2281
2241
|
- 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 LinkedIn-post-sourced campaigns, prefer `"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"` 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.
|
|
2282
|
-
- For Shared Evergreen Signal Discovery, do not use the weak signal-led opener
|
|
2283
|
-
shapes above. Translate the source into a concrete problem bridge, e.g.
|
|
2284
|
-
`"The AI-assisted GTM conversations keep coming back to one problem: turning
|
|
2285
|
-
good LinkedIn signal into review-ready pipeline without another dashboard."`
|
|
2286
|
-
Then connect the product in buyer language.
|
|
2287
2242
|
- tokenized engagement-source opener shape is BLOCKED by default:
|
|
2288
2243
|
`{{first_name}}, saw you {{engagement_context}} on {{post_context}}` reads
|
|
2289
2244
|
like surveillance unless the filled line is explicitly self-aware and
|
|
@@ -2292,9 +2247,7 @@ Rules:
|
|
|
2292
2247
|
this is relevant`, `saw you in a few conversations around [topic], so hope this
|
|
2293
2248
|
is relevant`, `saw you in a few conversations about [topic], so may be off,
|
|
2294
2249
|
but this seemed relevant`, or `found you in a thread about [topic], so may be
|
|
2295
|
-
off, but this seemed relevant`.
|
|
2296
|
-
bridges are blocked; use a concrete signal/problem bridge instead. Use the
|
|
2297
|
-
self-aware raise-hand shapes only when
|
|
2250
|
+
off, but this seemed relevant`. Use the self-aware raise-hand shapes only when
|
|
2298
2251
|
the source was an explicit lead-magnet comment, reply, or opt-in: `saw you raise
|
|
2299
2252
|
your hand for [topic], so figured this was (hopefully) worth sending` or `saw you
|
|
2300
2253
|
raise your hand for [topic] (creepy to reach out based on that, i know) - but
|
|
@@ -5,6 +5,9 @@ visibility: public
|
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- mcp__sellable__get_subskill_prompt
|
|
7
7
|
- mcp__sellable__search_subskill_prompts
|
|
8
|
+
- mcp__sellable__list_senders
|
|
9
|
+
- mcp__sellable__get_sender_routing
|
|
10
|
+
- mcp__sellable__get_campaign_waterfall
|
|
8
11
|
- mcp__sellable__resolve_campaign_fill_route
|
|
9
12
|
- mcp__sellable__get_campaign_refill_state
|
|
10
13
|
- mcp__sellable__fill_campaign_horizon
|
|
@@ -35,6 +38,7 @@ allowed-tools:
|
|
|
35
38
|
- mcp__sellable__get_table_rows
|
|
36
39
|
- mcp__sellable__get_campaign_table_schema
|
|
37
40
|
- mcp__sellable__select_campaign_cells
|
|
41
|
+
- mcp__sellable__queue_campaign_cells
|
|
38
42
|
- mcp__sellable__wait_for_campaign_processing
|
|
39
43
|
- mcp__sellable__get_sender
|
|
40
44
|
---
|
|
@@ -51,10 +55,39 @@ get_subskill_prompt({ subskillName: "refill-sends-workflow" })
|
|
|
51
55
|
```
|
|
52
56
|
|
|
53
57
|
Then follow that workflow exactly. The default path is read-only research:
|
|
54
|
-
resolve the route,
|
|
55
|
-
|
|
56
|
-
campaign
|
|
57
|
-
|
|
58
|
+
resolve the route, identify the sender-relevant campaign that most recently had
|
|
59
|
+
scheduler-owned sends, read refill state for that target, report the next safe
|
|
60
|
+
step using campaign names first, and stop before mutation unless the user has
|
|
61
|
+
explicitly approved the exact workspace, campaign/table/source ids, caps/dates,
|
|
62
|
+
approval mode, expected side effects, and stop/rollback condition.
|
|
63
|
+
|
|
64
|
+
For interactive Codex or Claude Code sessions, that approval must use the
|
|
65
|
+
host-native structured question gate, not plain chat:
|
|
66
|
+
|
|
67
|
+
- Codex: use `request_user_input`.
|
|
68
|
+
- Claude Code: use `AskUserQuestion`.
|
|
69
|
+
|
|
70
|
+
The approval question must present the final refill step with exactly two
|
|
71
|
+
choices: `Accept` and `Decline`. Treat `Accept` as permission for only the
|
|
72
|
+
rendered target, caps, mode, and side effects. Treat `Decline` as a hard stop
|
|
73
|
+
with no mutation.
|
|
74
|
+
|
|
75
|
+
If Christian includes `--yolo` in the same refill request, treat that flag as
|
|
76
|
+
auto-accept for the rendered bounded refill packet after the required fresh state
|
|
77
|
+
reread. `--yolo` only covers the exact target, caps, approval mode, and side
|
|
78
|
+
effects in the packet. It does not authorize launch/start, sending, archive or
|
|
79
|
+
delete cleanup, direct scheduler writes, sender reassignment, or any expanded
|
|
80
|
+
target set. Stop and re-plan if the route, ids, caps, blockers, or side-effect
|
|
81
|
+
class drift before mutation.
|
|
82
|
+
|
|
83
|
+
In `--yolo`, the default two-day fill horizon is two send days. The workflow must pick
|
|
84
|
+
the best recent-send campaign first, not every active campaign, and compute the
|
|
85
|
+
bounded gap from healthy sender daily capacity, existing future scheduled sends,
|
|
86
|
+
and rows already ready to schedule. If a same-source copy hits the campaign-table
|
|
87
|
+
row cap, split the current source into a bounded LinkedIn profile source list,
|
|
88
|
+
confirm only that smaller list into the same campaign, and operate on the copied
|
|
89
|
+
review batch. Do not fall back to on-demand campaigns or broad active-campaign
|
|
90
|
+
fills.
|
|
58
91
|
|
|
59
92
|
Public concepts are regular campaign and evergreen campaign. Internal direct
|
|
60
93
|
campaign types are unsupported refill targets. `fill_campaign_horizon` is only a
|
|
@@ -3,6 +3,9 @@ name: refill-sends-workflow
|
|
|
3
3
|
description: Internal skill-led refill sends workflow for regular campaigns and evergreen campaigns.
|
|
4
4
|
visibility: internal
|
|
5
5
|
allowed-tools:
|
|
6
|
+
- mcp__sellable__list_senders
|
|
7
|
+
- mcp__sellable__get_sender_routing
|
|
8
|
+
- mcp__sellable__get_campaign_waterfall
|
|
6
9
|
- mcp__sellable__resolve_campaign_fill_route
|
|
7
10
|
- mcp__sellable__get_campaign_refill_state
|
|
8
11
|
- mcp__sellable__fill_campaign_horizon
|
|
@@ -33,6 +36,7 @@ allowed-tools:
|
|
|
33
36
|
- mcp__sellable__get_table_rows
|
|
34
37
|
- mcp__sellable__get_campaign_table_schema
|
|
35
38
|
- mcp__sellable__select_campaign_cells
|
|
39
|
+
- mcp__sellable__queue_campaign_cells
|
|
36
40
|
- mcp__sellable__wait_for_campaign_processing
|
|
37
41
|
- mcp__sellable__get_sender
|
|
38
42
|
---
|
|
@@ -52,11 +56,27 @@ Plain phrases that enter here include "fill", "refill sends", "max out sends",
|
|
|
52
56
|
fill/load language, `intent:"active"` only when the user explicitly narrowed
|
|
53
57
|
to active regular campaigns, and `intent:"evergreen"` only when the user
|
|
54
58
|
explicitly asked for evergreen or horizon work.
|
|
55
|
-
2.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
2. Resolve sender context before choosing a target. Call `list_senders`; when a
|
|
60
|
+
managed program is involved, also call `get_campaign_waterfall`, and call
|
|
61
|
+
`get_sender_routing` when territory rules may constrain sender eligibility.
|
|
62
|
+
If the user named senders, map those names to exact sender ids. If the user
|
|
63
|
+
did not name senders, infer the relevant senders from the most recent
|
|
64
|
+
scheduler-owned sends in refill-state readbacks and report that inference.
|
|
65
|
+
Short form: infer from the most recent scheduler-owned sends when the sender set is not explicit.
|
|
66
|
+
3. Read `get_campaign_refill_state` for candidate campaigns from the resolver
|
|
67
|
+
result. For a broad `active_campaigns` route, inspect enough candidates to
|
|
68
|
+
identify the campaign or small campaign set that most recently had
|
|
69
|
+
scheduler-owned sends for the relevant sender set. Do not stop after the
|
|
70
|
+
first resolver target unless it is also the most recent sender-relevant send
|
|
71
|
+
lane.
|
|
72
|
+
Short form: Do not stop after the first resolver target unless recent-send evidence supports it.
|
|
73
|
+
In `--yolo` mode, selecting every active campaign is a scope error. Pick the
|
|
74
|
+
single highest-ranked recent-send campaign unless the refill-state evidence
|
|
75
|
+
proves multiple distinct sender lanes need separate two-day fills.
|
|
76
|
+
Short form: `--yolo` selects the best recent-send campaign first, not all active campaigns.
|
|
77
|
+
4. Pick exact ids from the selected refill-state response. Do not use campaign
|
|
78
|
+
names or table names as target identifiers for tool calls.
|
|
79
|
+
5. Classify the target from refill state:
|
|
60
80
|
- regular campaign: campaign-backed workflow table with normal source,
|
|
61
81
|
sequence, senders, and send/refill stages.
|
|
62
82
|
- evergreen campaign: managed always-on lane with current source evidence.
|
|
@@ -77,7 +97,10 @@ Use the refill-state response as the current facts receipt:
|
|
|
77
97
|
approved, ready to schedule, scheduled;
|
|
78
98
|
- active message prep job;
|
|
79
99
|
- scheduler-owned scheduled counts by date/action from cells with non-null
|
|
80
|
-
`scheduledFor`;
|
|
100
|
+
`scheduledFor`; treat these as the last sends/continuation signal;
|
|
101
|
+
- latest scheduled send date, latest scheduled-cell update when present,
|
|
102
|
+
sender overlap with the requested or inferred sender set, and whether future
|
|
103
|
+
scheduled sends already exist;
|
|
81
104
|
- `freshness.stateHash` and exact campaign/table/workspace ids.
|
|
82
105
|
|
|
83
106
|
Empty or unsafe states stop with the blocker: no fillable target, missing or deleted campaign,
|
|
@@ -89,9 +112,61 @@ scheduler, or unsupported direct campaign type.
|
|
|
89
112
|
|
|
90
113
|
For regular campaign workspaces, rank regular campaigns from route and
|
|
91
114
|
`get_campaign_refill_state` evidence. Choose the best existing refill target.
|
|
115
|
+
The default refill interpretation is "continue the campaign that was actually
|
|
116
|
+
sending most recently for the relevant available senders", not "touch every
|
|
117
|
+
active campaign".
|
|
118
|
+
|
|
119
|
+
Default `--yolo` horizon is two send days when the user asks to fill, refill,
|
|
120
|
+
load, or max sends without naming a different horizon. Compute the target from
|
|
121
|
+
the selected campaign's healthy sender daily capacity for the next two send
|
|
122
|
+
days, minus already scheduler-owned future scheduled sends for those days and
|
|
123
|
+
minus rows already ready to schedule. If `readyToSchedule` already covers the
|
|
124
|
+
two-day gap, do not add rows or prep; report that the selected campaign is loaded
|
|
125
|
+
and awaiting the scheduler. If the gap is positive, prepare only the gap and keep
|
|
126
|
+
all source-copy/prep caps tied to that two-day packet.
|
|
127
|
+
Short form: default `--yolo` refill target is the selected campaign's two-day send gap.
|
|
128
|
+
|
|
129
|
+
Rank candidates in this order:
|
|
130
|
+
|
|
131
|
+
1. **Sender match**: campaigns whose healthy sender ids match the user-named
|
|
132
|
+
senders, or the inferred sender set when the user said only "fill sends" or
|
|
133
|
+
"load senders". Do not include campaigns merely because they are active when
|
|
134
|
+
their sender set is unrelated.
|
|
135
|
+
2. **Recent sends**: campaigns with the newest scheduler-owned scheduled counts
|
|
136
|
+
and non-null `scheduledFor` cells for those senders. Future scheduled sends
|
|
137
|
+
are stronger continuation evidence than old historical sends; otherwise use
|
|
138
|
+
the latest scheduled send date / newest scheduled-cell update from refill
|
|
139
|
+
state.
|
|
140
|
+
3. **Continuation capacity**: campaigns with healthy senders, remaining daily
|
|
141
|
+
capacity, and a gap between current ready-to-schedule rows and the desired
|
|
142
|
+
sender capacity.
|
|
143
|
+
4. **Same-campaign source health**: prefer campaigns whose current source has
|
|
144
|
+
enough `sourceAvailable` inventory to prepare the gap. If source inventory
|
|
145
|
+
is low or exhausted, choose same-campaign row replenishment before switching
|
|
146
|
+
campaigns.
|
|
147
|
+
5. **Campaign scope**: keep the selected set small. Normally choose one
|
|
148
|
+
campaign; choose multiple only when the recent-send evidence shows multiple
|
|
149
|
+
distinct sender lanes are actively being filled.
|
|
150
|
+
|
|
92
151
|
Do not create side campaigns, warm-post-engager side campaigns, on-demand campaigns,
|
|
93
152
|
or unrelated campaigns as the default answer to a fill request.
|
|
94
153
|
|
|
154
|
+
For each selected campaign, decide the next action by the smallest sufficient
|
|
155
|
+
step:
|
|
156
|
+
|
|
157
|
+
- **Enrich/prep more rows in the same campaign** when sender health is good,
|
|
158
|
+
recent sends point to this campaign, and `sourceAvailable` can cover the
|
|
159
|
+
ready-to-schedule gap.
|
|
160
|
+
- **Add/import more rows to the same campaign/source path** when the campaign is
|
|
161
|
+
the right recent-send lane but source inventory or viable rows cannot cover
|
|
162
|
+
the gap.
|
|
163
|
+
- **Use a different existing campaign** only when the recent-send campaign is
|
|
164
|
+
blocked, archived, missing sequence/source/senders, disconnected, exhausted
|
|
165
|
+
with no viable same-campaign replenishment path, or the user explicitly asks
|
|
166
|
+
to move to another campaign.
|
|
167
|
+
- **Ask what to create** only after resolver/state evidence shows there is no
|
|
168
|
+
suitable existing campaign for the requested sender set.
|
|
169
|
+
|
|
95
170
|
When the best regular campaign is source-exhausted, recommend same-campaign source-ladder replenishment.
|
|
96
171
|
Keep `selectedLeadListId` source identity distinct
|
|
97
172
|
from the campaign `workflowTableId`.
|
|
@@ -109,6 +184,30 @@ Source replenishment choices:
|
|
|
109
184
|
source prospects into the same campaign/source-list path, then confirm
|
|
110
185
|
readiness.
|
|
111
186
|
|
|
187
|
+
When reusing an existing source list on an already-large campaign, handle the
|
|
188
|
+
campaign-table row cap automatically in `--yolo` mode. If `confirm_lead_list`
|
|
189
|
+
fails with `USER_ADDED_ROWS_LIMIT_EXCEEDED`, parse `remainingRows`,
|
|
190
|
+
`currentRows`, `requestedRows`, and `maxRows`; do not stop just because the full
|
|
191
|
+
source list is too large. Instead, create a bounded same-source split:
|
|
192
|
+
|
|
193
|
+
1. choose a split size no larger than `remainingRows`, the two-day refill row
|
|
194
|
+
budget, and the first-pass processing cap unless the packet named a higher
|
|
195
|
+
cap;
|
|
196
|
+
2. read compact rows from the current `selectedLeadListId` with
|
|
197
|
+
`get_rows_minimal`;
|
|
198
|
+
3. create a temporary bounded LinkedIn profile source list with
|
|
199
|
+
`load_csv_linkedin_leads`, preserving useful source columns such as post URL,
|
|
200
|
+
post author, engagement type/text, keyword, confidence, and why;
|
|
201
|
+
4. call `confirm_lead_list` with that bounded source-list id, the same campaign
|
|
202
|
+
id, and `currentStep:"running"` for ACTIVE campaigns;
|
|
203
|
+
5. verify the campaign table row count and review batch with
|
|
204
|
+
`get_campaign_table_schema` before any prep/approval.
|
|
205
|
+
|
|
206
|
+
Do not use `add_on_demand_leads` or create an on-demand table as the automatic
|
|
207
|
+
regular-campaign fallback. The fallback must stay same-campaign and
|
|
208
|
+
source-list-backed.
|
|
209
|
+
Short form: row-cap fallback means bounded same-source split, not stop or on-demand.
|
|
210
|
+
|
|
112
211
|
### Running Campaign Signal Discovery Recovery
|
|
113
212
|
|
|
114
213
|
For an already-running regular campaign that needs same-campaign Signal
|
|
@@ -146,10 +245,10 @@ returns to Running after same-campaign source rows are copied. Do not call
|
|
|
146
245
|
post-copy state transition.
|
|
147
246
|
|
|
148
247
|
Before any source mutation, show exact approval evidence: workspace id,
|
|
149
|
-
campaign id, workflow table id, source/provider id, source-list
|
|
150
|
-
import caps, target dates/caps, dedupe/DNC/provider exclusion expectations, and
|
|
151
|
-
|
|
152
|
-
|
|
248
|
+
campaign name, campaign id, workflow table id, source/provider id, source-list
|
|
249
|
+
id when known, import caps, target dates/caps, dedupe/DNC/provider exclusion expectations, and expected row side effects. Present the campaign name and plain-English reason first; include ids only as proof and execution targets.
|
|
250
|
+
Then reread `get_campaign_refill_state`; if `freshness.stateHash` or exact ids
|
|
251
|
+
changed, stop and ask for a fresh approval.
|
|
153
252
|
|
|
154
253
|
After source import, call `wait_for_lead_list_ready` and `confirm_lead_list`
|
|
155
254
|
with the source-list id and campaign id. Imports append to the existing
|
|
@@ -179,18 +278,71 @@ Before prep or approval mutation, reread `get_campaign_refill_state` and compare
|
|
|
179
278
|
If they changed, stop. A second concurrent refill run must see the first run's
|
|
180
279
|
import/prep state on reread and avoid duplicate work.
|
|
181
280
|
|
|
281
|
+
After the final reread and before the first mutating refill primitive, render
|
|
282
|
+
one final approval packet in campaign-name-first language, then ask a
|
|
283
|
+
host-native structured question with exactly two choices: `Accept` and
|
|
284
|
+
`Decline`. The question is the execution boundary.
|
|
285
|
+
Short form: exactly two choices: `Accept` and `Decline`.
|
|
286
|
+
|
|
287
|
+
- In Codex interactive sessions, use `request_user_input`.
|
|
288
|
+
- In Claude Code interactive sessions, use `AskUserQuestion`.
|
|
289
|
+
- The `Accept` choice must name the exact campaign, workspace id, campaign id,
|
|
290
|
+
workflow table id, source/action ids when relevant, caps/dates, approval mode,
|
|
291
|
+
expected side effects, and stop/rollback condition.
|
|
292
|
+
- The `Decline` choice must stop with no mutation.
|
|
293
|
+
- Do not proceed from a plain chat "ok", "yes", "go", or "do it" when the
|
|
294
|
+
structured question tool is available. If the structured question tool is not
|
|
295
|
+
available in an interactive session, stop and tell the user the quick question
|
|
296
|
+
panel is required for refill approvals. In non-interactive exec/automation,
|
|
297
|
+
print the approval packet and stop before mutation.
|
|
298
|
+
|
|
299
|
+
`--yolo` mode is explicit auto-accept. If Christian includes `--yolo` in the
|
|
300
|
+
same refill request, do not ask the `Accept` / `Decline` question. Instead:
|
|
301
|
+
|
|
302
|
+
1. render the same final approval packet;
|
|
303
|
+
2. reread `get_campaign_refill_state`;
|
|
304
|
+
3. verify the route, workspace id, campaign id, table id, source/action ids,
|
|
305
|
+
caps/dates, approval mode, blockers, and side-effect class still match the
|
|
306
|
+
packet;
|
|
307
|
+
4. execute only the exact packet.
|
|
308
|
+
|
|
309
|
+
`--yolo` never authorizes launch/start, sending, archive/delete cleanup, raw
|
|
310
|
+
scheduler writes, sender reassignment, unrelated campaigns, expanded campaign
|
|
311
|
+
sets, or higher caps than the packet named. If any state or scope drifts, stop
|
|
312
|
+
and re-plan instead of auto-accepting the changed action.
|
|
313
|
+
Short form: expanded campaign sets are not covered by `--yolo`.
|
|
314
|
+
Short form: direct scheduler writes are not covered by `--yolo`.
|
|
315
|
+
Short form: stop and re-plan instead of auto-accepting the changed action.
|
|
316
|
+
|
|
182
317
|
After same-campaign source copy, inspect the actual campaign-table position of
|
|
183
318
|
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`,
|
|
184
319
|
then use `select_campaign_cells` diagnostics against
|
|
185
320
|
`rowSelector:{ type:"reviewBatch" }` for `enrich`, `generateMessage`, and
|
|
186
321
|
`approved` roles when needed.
|
|
187
322
|
|
|
323
|
+
For bounded split refills, operate on the review batch first. Queue
|
|
324
|
+
`queue_campaign_cells` for `columnRole:"enrich"` on
|
|
325
|
+
`rowSelector:{ type:"reviewBatch" }`, wait for campaign processing, then queue
|
|
326
|
+
`columnRole:"generateMessage"` for the same review batch or
|
|
327
|
+
`needsGeneratedMessage` rows. If the bounded packet explicitly uses
|
|
328
|
+
`approvalMode:"approve"` because the user asked to fill/schedule sends or
|
|
329
|
+
provided `--yolo` for a two-day send fill, approve only the bounded review-batch
|
|
330
|
+
cohort after current generated messages exist. Do not broad approve existing
|
|
331
|
+
table rows.
|
|
332
|
+
|
|
188
333
|
If review-batch enrich cells are pending or Generate Message cells are
|
|
189
334
|
dependency-blocked, omit `maxRowsToCheck` so the adaptive prep job can cover the
|
|
190
335
|
bounded table scan, or set a bounded cap high enough to include appended rows
|
|
191
336
|
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
|
|
192
337
|
the whole budget on older rows and miss the refill batch.
|
|
193
338
|
|
|
339
|
+
Bound `targetPreparedMessages` to the actual ready-to-schedule gap for the
|
|
340
|
+
selected campaign and sender set. If `readyToSchedule` already covers the gap,
|
|
341
|
+
do not start prep; report that the campaign is already loaded and awaiting the
|
|
342
|
+
scheduler. If source inventory is available and the gap is small, prepare only
|
|
343
|
+
the gap instead of filling every active campaign.
|
|
344
|
+
Short form: prepare only the gap instead of filling every active campaign.
|
|
345
|
+
|
|
194
346
|
Scheduled success requires a post-action reread proving scheduler-owned cells
|
|
195
347
|
with non-null `scheduledFor`. Prepared, approved, and ready-to-schedule rows are
|
|
196
348
|
intermediate states; report them as awaiting scheduler unless scheduled cells
|
|
@@ -225,9 +377,24 @@ the current source or ask for more research instead of walking the ladder.
|
|
|
225
377
|
- No mutation in production unless Christian explicitly approves exact
|
|
226
378
|
workspace, campaign/table ids, source/action ids, caps/dates, approval mode,
|
|
227
379
|
expected side effects, and rollback/stop condition.
|
|
380
|
+
- In interactive Codex or Claude Code, that explicit approval must be collected
|
|
381
|
+
through the host-native `Accept` / `Decline` question gate.
|
|
382
|
+
- `--yolo` in the current refill request is explicit auto-accept for the
|
|
383
|
+
rendered bounded refill packet only; it does not loosen the launch/send,
|
|
384
|
+
scheduler-write, archive/delete, or drift rules above.
|
|
228
385
|
|
|
229
386
|
## Report
|
|
230
387
|
|
|
231
|
-
Report
|
|
232
|
-
|
|
233
|
-
|
|
388
|
+
Report in campaign-name-first language:
|
|
389
|
+
|
|
390
|
+
- selected campaign name(s), target type, and sender names;
|
|
391
|
+
- why they were selected, including last scheduled send date/future scheduled
|
|
392
|
+
send evidence and sender overlap;
|
|
393
|
+
- whether the smallest next step is enrich/prep more in that campaign, add rows
|
|
394
|
+
to that campaign/source, use a different existing campaign, or ask what to
|
|
395
|
+
create;
|
|
396
|
+
- source state, blockers, exact next primitive, approval required, and the
|
|
397
|
+
freshness hash used.
|
|
398
|
+
|
|
399
|
+
Keep ids visible but secondary: show them under "Exact target" or "Proof", not
|
|
400
|
+
as the main decision text. Say explicitly: nothing was launched and nothing was sent.
|