{
  "manifest": {
    "spekkr": 1,
    "id": "dwrtz/newsman",
    "name": "newsman",
    "summary": "Self-host one newsletter on Cloudflare, deliver through Amazon SES, and run every web operation through an allowlisted HTTP MCP server.",
    "keywords": [
      "newsletter",
      "email publishing",
      "beehiiv migration",
      "self-hosted",
      "cloudflare workers",
      "amazon ses",
      "mcp",
      "streamable http",
      "double opt-in"
    ],
    "kind": "web app",
    "version": "0.1.0",
    "author": {
      "id": "dwrtz",
      "name": "David Wurtz"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ],
      "stack": [
        "TypeScript",
        "Cloudflare Workers",
        "Cloudflare D1",
        "Cloudflare R2",
        "Cloudflare KV",
        "Cloudflare Queues",
        "Cloudflare Access",
        "Amazon SES v2",
        "Amazon SNS",
        "Model Context Protocol"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "publication_name",
          "label": "Publication name",
          "default": "My Newsletter",
          "help": "Used in the signup form, confirmation messages and operator console."
        },
        {
          "key": "public_origin",
          "label": "Existing publication origin",
          "default": "https://publication.example",
          "help": "Set the canonical HTTPS origin that owns the public signup page, archive and feed."
        },
        {
          "key": "time_zone",
          "label": "Publication time zone",
          "default": "UTC",
          "help": "Use an IANA time zone for operator scheduling and cohort reporting."
        },
        {
          "key": "archive_lag_days",
          "label": "Days from email to public archive",
          "default": "7",
          "help": "Choose a whole number from 0 to 365. Set 7 for the weekly AudioTech workflow."
        },
        {
          "key": "ses_region",
          "label": "Amazon SES region",
          "default": "us-east-1",
          "help": "Use the AWS region where you verify your identity and obtain production access."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Product scope and nine requirements with acceptance checks."
      },
      {
        "path": "operations.json",
        "about": "Machine-readable operation inventory with JSON Schemas, scopes and UI views for operator and reader tools."
      },
      {
        "path": "parity.md",
        "about": "Shared web/MCP execution contract, wire examples, file transfer and a release-blocking parity test."
      },
      {
        "path": "access.md",
        "about": "Allowlisted identities, delegated OAuth, token revocation, reader proofs and Streamable HTTP."
      },
      {
        "path": "delivery.md",
        "about": "Cloudflare deployment, SES feedback, reliable dispatch, archive handling, quotas, recovery and cost examples."
      },
      {
        "path": "migration.md",
        "about": "Suppression-first beehiiv cutover and rollback, reconciled against a synthetic fixture."
      },
      {
        "path": "acceptance.md",
        "about": "Build sequence and executable acceptance scenarios for a clean installation and the existing AudioTech site."
      },
      {
        "path": "evidence.md",
        "about": "Public signup and archive evidence, REA artifacts identified by digest, and analysis limitations."
      }
    ],
    "needs": {
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {},
    "safety": {
      "commands": [
        "npm ci",
        "npm test",
        "npm run test:parity",
        "npm run test:e2e",
        "npm run build",
        "npx cf deploy --dry-run"
      ],
      "secrets": [
        "AWS_ACCESS_KEY_ID",
        "AWS_SECRET_ACCESS_KEY",
        "AWS_SESSION_TOKEN",
        "READER_TOKEN_KEY",
        "SUPPRESSION_HMAC_KEY",
        "OAUTH_ENCRYPTION_KEY",
        "CSRF_SECRET"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.0",
        "date": "2026-11-24",
        "note": "First specification for a self-hosted publication, Amazon SES delivery, allowlisted access and complete web-to-HTTP-MCP parity."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "acceptance.md": "files/acceptance.md",
      "access.md": "files/access.md",
      "delivery.md": "files/delivery.md",
      "evidence.md": "files/evidence.md",
      "migration.md": "files/migration.md",
      "operations.json": "files/operations.json",
      "parity.md": "files/parity.md",
      "spec.md": "files/spec.md"
    }
  },
  "publishedBy": "dwrtz"
}
