5.5 KiB
name, description
| name | description |
|---|---|
| email-list-operator | Prepare, validate, approve, send, and follow up on PaddleNET broadcast campaigns through the deterministic email-list CLI. Use when a human asks to turn an approved PaddleNET Hub update into a campaign preview, approve and send an exact campaign, or run an already authorized campaign follow-up. Use the separate subscriber add/remove skills for subscriber changes. |
PaddleNET Email-List Operator
Skill Shape
service: bounded campaign preparation, delivery, and authorized follow-up workflow.
Contract
Prepare a versioned delivery artifact from the approved PaddleNET Hub update, validate it before mutation, record an exact human directive before an initial send, and stop on authorization, rendering, suppression, provider, backup, deployment, or telemetry failure.
Requires
- A source update in
C:\projects\paddlenet-forge\paddlenet-hub\platform-updatesor an already prepared campaign Markdown file. - Human review before an initial send and an exact send-and-follow-up directive before authorization.
- The deployed reviewed Git revision, complete private
.env, and required email-VM CLI access. - Explicit human instruction before materially changing source wording, sender identity, audience, or the original follow-up subject.
Ensures
- A versioned campaign Markdown artifact under
campaigns/drafts/for the reviewed delivery content. - JSON CLI result and private sanitized receipt for each completed mutation.
- No direct SQLite or telemetry-database mutation.
- At most one scheduled four-day apparent-non-opener follow-up with the original authorized subject.
Inputs
- Hub update source, campaign Markdown, and reviewed campaign template.
- Exact human directive/reference and authorizer for the initial send.
- Runtime health, Postmark suppression, backup, and Ops Monitor telemetry results.
State Scope
project: create or update reviewed campaign Markdown, commit and deploy only after the human approves the exact content, and update private runtime state only through the CLI.
Never commit subscriber operations, runtime databases, receipts, raw telemetry, or credentials.
Workflow
Phase 1: Prepare the delivery artifact
- Read the selected Hub update and identify the exact source file used.
- Create or update
campaigns/drafts/<campaign-id>.mdwith required front matter, stable campaign ID, subject, preheader, PaddleNET sender metadata, and the reviewed source-derived body. - Run
campaign validateandcampaign preview. - Present the rendered campaign for human review. Do not send, approve, or schedule a follow-up in this phase.
Phase 2: Review, commit, deploy, and authorize
- Apply requested content changes, then rerun validation and preview.
- After the human approves the exact content and gives a send-and-follow-up directive, commit the campaign artifact, push it, deploy the reviewed revision, update
EMAIL_LIST_GIT_COMMIT, and rebuild the container. - Run
system check --jsonandsuppression reconcile --dry-run --json. - Record the exact directive with
campaign approve.
Phase 3: Send and schedule
- Run
campaign send --dry-run --json; inspect recipient count and exclusions. - Run
campaign send --jsononly when the approval, campaign hash, template hash, reviewed Git revision, sender, and audience still match. - Confirm backup path, accepted/duplicate counts, receipt path, and delivery webhook health.
- Run
campaign schedule-non-openers <campaign-id> --subject <original-subject> --jsonto record the one authorized four-day follow-up. - If host cron is not enabled, report that the follow-up is recorded but cannot run unattended.
Phase 4: Run a due follow-up
- Run
campaign run-due-followups --dry-run --jsonbefore a due production follow-up when an operator is present. - Require Ops Monitor telemetry, original authorization, recipient snapshot, active local status, and current Postmark suppression checks to pass.
- Stop rather than resend if telemetry is unavailable, no eligible apparent non-openers remain, or any authorization/hash check fails.
Validation
Before reporting completion, inspect JSON output and private receipt paths. For an initial send, confirm the backup, accepted/duplicate counts, Delivery webhook, and one follow-up schedule. Never expose addresses, tokens, raw telemetry, or private receipts.
Edge Cases
- Changed campaign or template after approval: stop and require a new review and directive.
- Missing deployed commit or incomplete
.env: stop before approval or send. - Suppression conflict: exclude the recipient and reconcile; do not bypass it.
- Placeholder welcome template: do not run welcome processing.
- Cron disabled: schedule may be recorded, but no unattended follow-up occurs.
- Telemetry unavailable: do not send a follow-up.
Anti-Patterns
Do not use this skill for subscriber add/remove work, directly edit SQLite, bypass dry runs or suppressions, invent authorization, substitute a follow-up subject, send a campaign from an unreviewed Hub file, or commit private runtime data.
Ratchet Rules
Turn every important operational failure into a regression test, schema rule, fixture, STOP gate, routing example, or documented anti-pattern, then rerun the relevant validation.
Run Receipt
Record privately: skill name, reviewed Git revision, source Hub file, campaign and template hashes, authorization reference, impact counts, validation, receipt paths, scheduler state, and unresolved risks. Use the final report only for sanitized summaries.