This commit is contained in:
eddiesoehnel committed 2026-08-15 15:05:39 -06:00
1 parent eac3d5dc45
commit 2a2b00733b
83 files changed
+4840

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# Documentation
- [Architecture](architecture.md)
- [Deployment](deployment.md)
- [Data model and CLI contract](data-model.md)
- [System map](system-map.md)
- [Ops Monitor telemetry API](telemetry-api.md)
- [Scheduler](scheduler.md)
- [AI operating skill](ai-operator.md)
- [Release and deployment checklist](release-checklist.md)
- [Git deployment access](git-deployment-access.md)
- [Operational baseline](operational-baseline.md)
+9
View File
@@ -0,0 +1,9 @@
# AI operating skills
The repository contains three bounded production skills. They follow the `Prompt, Skill, And Self-Improving Agent Design Template` v0.3.1 by Eddie Soehnel, using the reusable-skill contract and ratchet framework from the local approved template copy.
- [Add PaddleNET Subscriber](../skills/email-list-add-subscriber/SKILL.md): add one consented address through a private JSONL operation, dry run, and deterministic import.
- [Remove PaddleNET Subscriber](../skills/email-list-remove-subscriber/SKILL.md): remove one address through a private JSONL operation, dry run, and deterministic import.
- [PaddleNET Email-List Operator](../skills/email-list-operator/SKILL.md): prepare a Hub-derived campaign, obtain human approval, deploy, send, and schedule one authorized four-day apparent-non-opener follow-up.
Use the narrow add/remove skills for subscriber changes. Use the operator skill only for campaign work and already authorized due follow-ups. None of these skills permits direct SQLite changes, exposure of private data, or bypassing deterministic validation, authorization, suppression, backup, and telemetry gates.
+22
View File
@@ -0,0 +1,22 @@
# Architecture
The application is a deterministic Python command-line system. Humans and authorized AI agents use the same CLI; cron invokes that CLI for unattended work.
## Runtime boundaries
- Git contains application code, schemas, campaign Markdown, templates, documentation, and sanitized examples only.
- The email-list VM stores SQLite state, detailed receipts, logs, backups, private subscriber operations, and credentials outside Git.
- Postmark delivers email and provides current delivery suppressions.
- Ops Monitor receives Postmark events and exposes a separate authenticated, versioned read API for campaign summaries and apparent-non-opener selection.
## Initial runtime choices
- Sender: `PaddleNET <[email protected]>`; replies go to the same address.
- Postmark stream: `broadcast-list` for broadcasts and welcome email.
- A follow-up is limited to one authorized resend, due four days after the initial campaign.
- Host cron invokes the Dockerized CLI. The application does not expose a public HTTP port.
- SQLite data and daily backups remain on the VM; daily backups are retained for 14 days and copied off-host manually in v1.
Campaign Markdown is rendered into the versioned `templates/campaign.html` layout. It supplies PaddleNET's physical address and a visible Postmark-managed one-click unsubscribe link. The HTML and plain-text bodies must retain Postmark's `{{{ pm:unsubscribe }}}` placeholder; Postmark replaces it at send time and manages the resulting Broadcast Stream suppression.
Campaign Markdown and templates are included in the reviewed container image. A campaign authorization in the next stage will bind its source and template hashes to the deployed Git revision.
+15
View File
@@ -0,0 +1,15 @@
# Data model and CLI contract
All runtime state is private SQLite data. The schemas in `schemas/` define stable boundary formats; `schema_version: "1.0"` is included in all machine-readable CLI results.
## Database migrations
Migrations are numbered, committed with the application, and run transactionally by `email-list system init`. The CLI defaults to a non-mutating check; initialization has an explicit `--dry-run` plan mode.
The first migrations create subscriber state/history and idempotent operation records, campaign and authorization records, immutable recipient snapshots, individual send attempts, welcome attempts, durable follow-up schedules, and sanitized execution-receipt metadata.
## State and privacy
The database path is `EMAIL_LIST_DATA_DIR/email-list.sqlite`. It must be on the VM's persistent private volume and is excluded from Git and Docker build context. Schema files and synthetic examples may be committed; real subscriber operations never are.
`email-list backup create --dry-run --json` previews the backup path. `email-list backup create --json` uses SQLite's backup API to write a consistent private backup under `EMAIL_LIST_DATA_DIR/backups/`. Scheduled retention/pruning will be added with the scheduler stage; v1 retains daily backups for 14 days.
+40
View File
@@ -0,0 +1,40 @@
# Deployment
Production runs on `10.0.0.10` from `/srv/email-list-system`.
Deployment uses a reviewed Git revision, followed by a Docker Compose build on the VM. Secrets are supplied only through the VM's private `.env` file. The application has no public port; cron invokes its CLI commands.
Before build, deployment sets `EMAIL_LIST_GIT_COMMIT` to the exact reviewed revision. Docker injects it into the image, allowing authorization records to bind campaign content and templates to that revision without copying `.git` into the image.
## Private environment
The VM's `.env` is a complete private configuration file. It must retain the runtime path and telemetry settings when Postmark settings are added or changed. Required production keys are:
```dotenv
EMAIL_LIST_GIT_COMMIT=<reviewed Git revision>
EMAIL_LIST_PROVIDER=postmark
EMAIL_LIST_HOST_DATA_DIR=/srv/email-list-system/runtime
TELEMETRY_BASE_URL=http://10.0.0.20:8000
TELEMETRY_API_TOKEN=<private token>
POSTMARK_SERVER_TOKEN=<private server token>
POSTMARK_BROADCAST_STREAM_ID=broadcast-list
POSTMARK_FROM_NAME=PaddleNET
[email protected]
[email protected]
```
Never replace the file with only newly added keys. In particular, omitting `EMAIL_LIST_HOST_DATA_DIR` makes Docker use its empty named-volume fallback instead of the private runtime directory containing the production SQLite database.
## Release procedure
1. Pull the reviewed revision with the [HTTPS Git deployment procedure](git-deployment-access.md).
2. Update `EMAIL_LIST_GIT_COMMIT` in the VM's private `.env` to the pulled revision.
3. Run `docker compose build`.
4. Run `docker compose run --rm email-list system check --json`.
5. For a Postmark configuration or template change, run `docker compose run --rm email-list suppression reconcile --dry-run --json` and complete one separately authorized, single-recipient verification before any list-wide send.
Set `EMAIL_LIST_HOST_DATA_DIR=/srv/email-list-system/runtime` in the VM's private `.env`. This mounts the private runtime directory at `/data`, including `/data/inbox/subscriber-operations.jsonl`; it must never be committed or copied into the image.
The container runs as non-root UID `1000`, matching the deployed `deploy-user` account. Keep the runtime directory owned by that account so SQLite, backups, logs, and receipts can be written without granting the container root access.
Before a production send, deployment validation must confirm the container health check, database backup creation, Postmark suppression access, delivery webhook health, and the Ops Monitor telemetry API contract.
+35
View File
@@ -0,0 +1,35 @@
# Git deployment access
A deployment VM can clone this public repository over HTTPS using a dedicated, read-only Git access token when anonymous access is unavailable. The token is used as Git's password; it is never committed, placed in `.env`, included in a clone URL, or printed in receipts.
## One-time clone
1. In Gitea, create a dedicated token with repository read access only. Use a clear name such as `email-campaigns-prod-app-readonly`.
2. Connect interactively to the VM as `deploy-user`.
3. Run:
```bash
git clone https://git.example.com/example-org/email-list-system.git /srv/email-list-system
```
4. At Git's prompts, enter the Gitea username and paste the token as the password.
Do not use a URL containing `username:token`, because shell history, process listings, and copied terminal output can expose it.
## Subsequent releases
From the checked-out repository, first inspect the revision and working tree, then pull the reviewed branch:
```bash
cd /srv/email-list-system
git status --short --branch
git pull --ff-only origin main
```
After a successful pull, update `EMAIL_LIST_GIT_COMMIT` in the VM's private `.env` to the exact checked-out revision before running `docker compose build`. Campaign approvals record this value, so it must match the reviewed code that is actually deployed.
`--ff-only` prevents Git from creating an unexpected merge commit on the VM. If the token is not cached or has expired, Git prompts for the same username and token again. Rotate or revoke the token in Gitea if the VM is decommissioned or the token may have been exposed.
## SSH deploy keys
An SSH deploy key can be used only when the Git server's SSH clone endpoint is reachable from the VM. If a proxy or access layer intercepts that route, use a scoped HTTPS token instead.
+40
View File
@@ -0,0 +1,40 @@
# Operational baseline
This document records the sanitized shape of a verified v1 integration. The addresses, hostnames, user names, tunnel names, and repository URL are placeholders; it contains no credentials, private recipients, or raw telemetry.
## Verified services
- Email-list VM: `10.0.0.10`, deployed at `/srv/email-list-system`.
- Private runtime: `/srv/email-list-system/runtime`, mounted in the container as `/data`.
- Ops Monitor telemetry service: `10.0.0.20:8000`.
- Public Postmark webhook: `https://telemetry.example.com/postmark`.
- Delivery provider: Postmark Broadcast Message Stream `broadcast-list`, through the REST API.
## Public webhook route
Cloudflare Tunnel `example-tunnel` publishes `telemetry.example.com` to Caddy's loopback listener at `http://127.0.0.1:8080`. The Caddyfile must therefore include a host handler **inside** its `http://:8080` tunnel-ingress block:
```caddy
@emaildata_paddlenet host telemetry.example.com
handle @emaildata_paddlenet {
reverse_proxy 10.0.0.20:8000
}
```
An HTTPS site block for the hostname alone does not serve Cloudflare Tunnel traffic on port 8080; without the tunnel-ingress handler, Postmark receives HTTP 404 responses.
## Verified delivery safeguards
1. The email system reads Postmark suppressions before a send.
2. An approved campaign records its content hash, template hash, and `EMAIL_LIST_GIT_COMMIT`.
3. A dry-run confirms recipient count and exclusions before a real send.
4. A SQLite backup and a private sanitized receipt are created for a real send.
5. Postmark delivery webhooks are stored by Ops Monitor under the PaddleNET tenant.
6. Both HTML and plain-text messages include Postmark's `{{{ pm:unsubscribe }}}` placeholder. Its visible link was verified in a delivered message.
## Deliberately not enabled
- Welcome processing remains disabled until `templates/welcome.md` is replaced with approved copy.
- No cron entries are installed yet.
- No real subscriber list has been imported.
- No apparent-non-opener follow-up has been scheduled.
+38
View File
@@ -0,0 +1,38 @@
# Release and deployment checklist
## Before committing
1. Review both working trees: the email-list system and the Ops Monitor companion change.
2. Run the complete unit suites and Docker acceptance tests using synthetic data only.
3. Confirm `.env`, runtime databases, private inbox files, logs, backups, and generated receipts are ignored.
4. Replace `templates/welcome.md` with approved PaddleNET copy before enabling welcome cron.
## Ops Monitor deployment first
1. Deploy the reviewed `email-telemetry` companion source to `/opt/example-email-telemetry` on Ops Monitor.
2. Add a distinct `EMAIL_TELEMETRY_API_TOKEN` to that service's private environment and restart it.
3. Create `telemetry.example.com` DNS/Caddy routing and configure the Postmark `broadcast-list` webhook.
4. Confirm webhook writes reach `/srv/example-telemetry/email/brand/raw/`.
5. Test both bearer-token read endpoints with synthetic event data.
## Email-list VM deployment
1. On `10.0.0.10`, create `/srv/email-list-system/runtime/inbox`.
2. Clone or pull the reviewed Git revision into `/srv/email-list-system` using the [Git deployment access procedure](git-deployment-access.md).
3. Create the private `.env` from `.env.example`; set the reviewed commit, private runtime path, `EMAIL_LIST_PROVIDER=postmark`, Postmark settings, and telemetry settings.
4. Build the image, run `system init --dry-run`, then `system init`.
5. Run `system check`, a Postmark suppression reconciliation dry run, and a synthetic/test-mode provider validation before any real subscriber import.
6. Import the initial private list with `subscriber import ... --no-welcome --dry-run`, review it, then execute it.
7. Install cron only after approved welcome copy and telemetry API validation are complete.
## Release gate
Do not enable live sends until a human reviews the exact campaign preview, dry-run recipient count/exclusions, Postmark stream configuration, sender identity, webhook health, backup result, and authorization reference. Tag the validated release only after these checks pass.
## Operational baseline verified 2026-08-14
The initial production integration was verified with separately authorized, one-recipient test campaigns. The verified path is Postmark `broadcast-list` -> `https://telemetry.example.com/postmark` -> Cloudflare Tunnel -> Caddy -> Ops Monitor. Postmark accepted each test send, Ops Monitor recorded the delivery webhook, and the visible Postmark-managed unsubscribe link was verified after the template fix in commit `<reviewed-commit>`.
The production `.env` uses the Postmark REST API adapter, not SMTP. The initial test subscriber was imported with `--no-welcome`; no welcome email or apparent-non-opener follow-up was scheduled.
Remaining pre-list tasks are to approve real welcome copy before enabling welcome processing, import the reviewed initial subscriber list with `--no-welcome`, and install cron only after a separate scheduler review.
+15
View File
@@ -0,0 +1,15 @@
# Scheduler
Host cron invokes the same Docker CLI used by an operator. The production crontab is installed only after deployment review.
Suggested v1 schedule:
```cron
*/15 * * * * cd /srv/email-list-system && docker compose run --rm email-list subscriber import /data/inbox/subscriber-operations.jsonl --json
*/15 * * * * cd /srv/email-list-system && docker compose run --rm email-list welcome run --json
15 * * * * cd /srv/email-list-system && docker compose run --rm email-list suppression reconcile --json
30 * * * * cd /srv/email-list-system && docker compose run --rm email-list campaign run-due-followups --campaign-dir /app/campaigns/sent --json
10 2 * * * cd /srv/email-list-system && docker compose run --rm email-list backup create --json
```
The initial subscriber import uses `--no-welcome`. `welcome run` fails closed while `templates/welcome.md` remains the explicit placeholder. The due-follow-up command fails closed if telemetry is unavailable, no matching campaign artifact is present, the original authorization is invalid, or the Postmark suppression check fails.
+241
View File
@@ -0,0 +1,241 @@
# System Map
This document shows the system boundaries, replaceable module contracts, and primary operating flows for the Automation-Based Email List System.
## System Context
```mermaid
flowchart LR
human["Human architect<br/>writes Markdown + gives<br/>send-and-schedule directive"]
agent["Persistent AI operator<br/>documented skill + restricted<br/>terminal access"]
repo[("Public Git repository<br/>Markdown, templates, schemas,<br/>code, tests, sanitized receipts")]
subgraph emailvm["Email-list VM"]
container["Email-list Docker container<br/>deterministic Python application"]
runtime[("Private persistent volume<br/>SQLite, backups, logs,<br/>detailed receipts")]
scheduler["Cron / VM scheduler<br/>subscriber imports, welcomes,<br/>due follow-ups, reconciliation"]
container <--> runtime
scheduler --> container
end
postmark["Postmark<br/>delivery, broadcast unsubscribe,<br/>suppression"]
telemetry["Existing telemetry server<br/>Postmark webhook ingestion<br/>and campaign analysis"]
recipient["Email recipient"]
human -->|"writes finished campaign"| repo
human -->|"one directive authorizes initial send<br/>+ configured follow-up"| agent
agent -->|"reads, validates, schedules,<br/>verifies, and reports"| repo
agent -->|"runs authorized deterministic commands"| container
repo -->|"Git deployment / checked-out content"| container
container -->|"provider adapter"| postmark
postmark -->|"email"| recipient
recipient -->|"open, click, unsubscribe,<br/>complaint"| postmark
postmark -->|"existing webhooks"| telemetry
container <-->|"versioned telemetry contract"| telemetry
container -->|"sanitized receipts only"| repo
```
## Human Handoff and AI Operating Envelope
```mermaid
flowchart LR
human["Human"]
handoff["Finished Markdown + directive<br/>send now; resend apparent<br/>non-openers in 4 or 5 days"]
agent["Authorized AI agent"]
cli["Deterministic CLI safety boundary"]
send["Validate + send initial campaign"]
schedule["Create durable follow-up schedule"]
monitor["Monitor + verify + write receipt"]
followup["Query telemetry + recheck suppressions<br/>+ send one authorized follow-up"]
exception["Return only unresolved exception<br/>or scope change to human"]
human --> handoff --> agent --> cli
cli --> send --> schedule --> monitor --> followup --> monitor
cli -->|"failed check, ambiguous authority,<br/>or material change required"| exception --> human
```
The intended steady state has one human handoff, not one approval per mechanical step. The CLI enforces the authorization and safety boundary while the AI handles orchestration and exceptions.
## Application Modules and Replaceable Boundaries
```mermaid
flowchart TB
cli["CLI contract<br/>--dry-run, --json, exit codes"]
skill["AI skill<br/>workflow, authorization,<br/>and escalation rules"]
scheduler["Scheduler entrypoint"]
cli --> usecases["Application use cases<br/>campaigns, subscribers, resends,<br/>reconciliation, backups"]
skill --> cli
scheduler --> cli
usecases --> campaign["Campaign module"]
usecases --> subscriber["Subscriber module"]
usecases --> authorization["Authorization guard"]
usecases --> sendstate["Send-state module"]
usecases --> receipt["Receipt module"]
campaign --> renderer{{"Renderer contract"}}
subscriber --> store{{"Storage contract"}}
sendstate --> provider{{"Email-provider contract"}}
usecases --> telemetrycontract{{"Telemetry contract"}}
renderer --> markdown["v1: Markdown + templates"]
store --> sqlite[("v1: SQLite")]
provider --> postmark["v1: Postmark"]
telemetrycontract --> telemetry["v1: existing telemetry server"]
migrations["Versioned migrations"] --> sqlite
backups["Backup / restore"] --> sqlite
schemas["Versioned schemas"] -. "validate boundaries" .-> cli
schemas -.-> renderer
schemas -.-> telemetrycontract
schemas -.-> receipt
```
The diamond-shaped contracts are deliberate swap points. Core campaign and subscriber rules depend on those contracts, not on Postmark, SQLite, a specific Markdown library, or the telemetry server's internal implementation.
## Campaign Send Flow
```mermaid
sequenceDiagram
participant Human as Human
participant Agent as Authorized AI agent
participant Repo as Git repository
participant CLI as Email-list CLI
participant Cron as Cron scheduler
participant DB as SQLite
participant PM as Postmark
participant TS as Telemetry server
Human->>Repo: Write or revise campaign Markdown
Human->>Agent: Send campaign and follow up in 4 to 5 days
Agent->>CLI: Validate and preview exact campaign
CLI->>Repo: Read exact content and template
CLI-->>Agent: Rendered preview, checks, recipient estimate
Agent->>CLI: Record human directive and execute authorized send
CLI->>DB: Store authorization hashes and follow-up parameters
CLI->>DB: Create immutable recipient snapshot
CLI->>PM: Reconcile current suppressions
PM-->>CLI: Current suppression result
CLI->>DB: Exclude ineligible recipients
loop Idempotent batches
CLI->>PM: Submit unsent recipients
PM-->>CLI: Request and message identifiers
CLI->>DB: Record per-recipient acceptance or failure
end
Agent->>Cron: Schedule durable apparent-non-opener follow-up
Agent->>CLI: Verify initial completion and write receipt
PM-->>TS: Delivery and engagement webhooks
Cron->>CLI: Run due follow-ups
CLI->>TS: Query apparent non-openers
TS-->>CLI: Versioned campaign telemetry response
CLI->>PM: Recheck suppressions and send authorized follow-up
PM-->>CLI: Follow-up request and message identifiers
CLI->>DB: Record follow-up completion
Agent->>CLI: Inspect status and exceptions
CLI->>Repo: Write sanitized initial and follow-up receipts
```
## Subscriber and Welcome Flow
```mermaid
flowchart LR
request["Human appends subscribe record<br/>to private JSON / JSONL inbox"]
cron["Cron reads inbox on schedule"]
validate["CLI validates schema, operation ID,<br/>source, consent, and duplication"]
apply["Transactional SQLite update<br/>with status history"]
welcome["Exactly-once welcome send"]
postmark["Postmark"]
receipt["Sanitized receipt"]
agent["AI inspects exceptions<br/>when needed"]
request --> cron --> validate --> apply --> welcome --> postmark
apply --> receipt
welcome --> receipt
receipt --> agent
```
## Unsubscribe and Suppression Flow
```mermaid
flowchart LR
recipient["Recipient"]
human["Human observes an external<br/>unsubscribe request"]
inbox["Private JSON / JSONL<br/>operations inbox"]
cron["Cron import"]
postmark["Postmark one-click unsubscribe<br/>and Broadcast suppression"]
telemetry["Existing telemetry server<br/>subscription-change webhook"]
reconcile["Email-list suppression<br/>reconciliation command"]
sqlite[("Local SQLite status mirror")]
sendguard["Pre-batch suppression guard"]
recipient -->|"unsubscribe or complaint"| postmark
human -->|"append unsubscribe operation"| inbox --> cron
cron -->|"idempotent local suppression"| sqlite
postmark -->|"webhook"| telemetry
telemetry -->|"versioned query response"| reconcile
postmark -->|"authoritative suppression query"| reconcile
reconcile -->|"reviewed, idempotent update"| sqlite
sqlite --> sendguard
postmark --> sendguard
sendguard -->|"only eligible recipients proceed"| send["Campaign send"]
```
## AI Access Rights
```mermaid
flowchart TB
identity["Dedicated AI agent identity"]
terminal["Restricted persistent terminal<br/>or task-runner access"]
repo["Read campaign and operational repo<br/>write only through normal Git authority"]
commands["Allowed email-list CLI commands"]
status["Read health, receipts,<br/>campaign and telemetry status"]
secrets["Runtime injects scoped secrets<br/>secrets are not shown or committed"]
blocked["Blocked boundaries<br/>no direct SQLite mutation<br/>no telemetry DB access<br/>no suppression bypass<br/>no unauthorized send"]
identity --> terminal
terminal --> repo
terminal --> commands
terminal --> status
secrets --> commands
terminal -. "enforced least privilege" .-> blocked
```
The model and persistent-agent implementation may change. These access boundaries remain stable and determine what any selected agent is allowed to do.
## Trust and Data Boundaries
| Boundary | May cross | Must not cross |
| --- | --- | --- |
| Public Git repository | Code, schemas, templates, campaign content, synthetic examples, sanitized receipts | Subscriber addresses, credentials, production databases, raw telemetry, private logs |
| AI/human to CLI | Validated structured input and documented commands | Direct production database manipulation or authorization bypass |
| AI agent identity to VM | Allowlisted CLI commands, required repository files, scoped runtime status, and approved network endpoints | General administrator access, unrelated applications, raw secrets, or unrestricted shell authority |
| Email app to Postmark | Required recipient and campaign delivery data | Database credentials or unrelated telemetry |
| Email app to telemetry server | Authenticated versioned queries and minimum necessary results | Direct access to the telemetry database |
| Docker container to host | Declared configuration, network endpoints, persistent-volume paths | Undeclared host filesystem or shared application dependencies |
## Failure Boundaries
- A telemetry outage prevents telemetry-dependent resends but does not corrupt subscriber or send state.
- A Postmark outage leaves recipients pending or safely retryable; it does not cause a whole-campaign resend.
- A renderer replacement cannot approve or send email.
- A scheduler failure can be recovered by running the same idempotent CLI command manually.
- A container replacement preserves state through the private persistent volume.
- A database migration is not allowed without a backup, versioned migration, and validation.
- An unresolved suppression mismatch fails closed for the affected recipient.
## Deployment and Release Flow
```mermaid
flowchart LR
dev["Isolated development<br/>implementation + tests"]
review["Human review<br/>docs, diff, tests, receipts"]
git["Git remote<br/>approved revision"]
deploy["Email-list VM<br/>pull/build pinned revision"]
migrate["Backup + versioned migration"]
validate["Health check + test-mode send"]
release["Validated release + version tag"]
dev --> review --> git --> deploy --> migrate --> validate --> release
validate -->|"failure: roll back image and restore if needed"| deploy
```
+14
View File
@@ -0,0 +1,14 @@
# Ops Monitor telemetry API contract
Ops Monitor remains the owner of raw Postmark event ingestion. The email-list system consumes an authenticated bearer-token API rather than reading Ops Monitor files directly.
## Required v1 endpoints
- `GET /v1/email/paddlenet/campaigns/{campaign_id}/summary`
- `GET /v1/email/paddlenet/campaigns/{campaign_id}/apparent-non-openers`
Both return `schema_version: "1.0"`. The apparent-non-opener response includes only normalized email addresses eligible for one authorized follow-up. The client applies current local and Postmark suppression checks again before delivery.
The endpoint receives `Authorization: Bearer <TELEMETRY_API_TOKEN>`. The token is distinct from Postmark credentials and is stored only in each VM's private `.env` file.
The v1 follow-up uses the original authorized subject unchanged and runs at most once per campaign. A scheduled execution reads this endpoint, intersects the result with the original recipient snapshot, then rechecks active local status and current Postmark suppressions.