feat: add read-only preview tools and production-send hard gate #10

Merged
jlxq0 merged 1 commit from feat/read-only-hardgate into master 2026-09-08 04:07:27 +00:00
Owner

Deployable Listmonk MCP hard-gate release. Adds read-only preview tools and documents the policy boundary: no production send or schedule capability; Listmonk remains absent. Local exact commit test evidence: 73 passed.

Deployable Listmonk MCP hard-gate release. Adds read-only preview tools and documents the policy boundary: no production send or schedule capability; Listmonk remains absent. Local exact commit test evidence: 73 passed.
feat(listmonk-mcp): add read-only preview tools and production-send hard-gate design
All checks were successful
CI / python (pull_request) Successful in 17s
CI / docker (pull_request) Successful in 13s
2e9404729a
- Add preview_existing_campaign tool: parameterized by ID, calls the
  existing read-only preview endpoint, rejects malformed IDs via Pydantic
  Field(gt=0), cannot invoke mutation paths.
- Add preview_existing_template tool: parameterized by ID, calls the
  existing read-only get-template endpoint, same validation guards.
- Add focused test suite (7 tests): tools registered, routing to only
  the read API/preview logic, malformed IDs rejected before client call.
- Run full quality gate: 73/73 tests pass, ruff clean, mypy clean.
- Document HARDGATE_DESIGN.md: config-driven PRODUCTION_SEND_KEY decorator
  gating send_campaign/schedule_campaign, Prometheus metrics, audit trail,
  zero new API calls or credentials.

Suitable for upstream merge and safe for later secure deployment by Clark.
jlxq0 merged commit 632b27001c into master 2026-09-08 04:07:27 +00:00
Sign in to join this conversation.
No description provided.