feat(outreach): trust-grade campaign generator#62
Merged
Conversation
GET /api/v1/admin/outreach (x-admin-token) turns the live grade graph into ready-to-send personalized rows (CSV/JSON): - segment=audit → low-graded commercial servers (payments/finance first), each with its real top finding + OWASP code + report URL. - segment=verified → A-tier servers with live percentile + free-badge copy. Copy is written plain — no em-dashes, no AI tells (test asserts it). Feeds an email-finder + cold-email platform; the send runs on the operator's warmed domain. Playbooks: launch/grade-outbound.md (audit, Snyk model — grades stay honest) + launch/verified-pitch.md (A-grade Verified upsell). 3 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The cold-email platform POSTs replies to /api/v1/admin/outreach/reply. We classify and act so the operator barely touches it: optout → auto-suppressed (GET /outreach/suppression feeds the platform) bounce/ooo/cold → logged, never surfaced hot/unknown → ping LEAD_ALERT_WEBHOOK with a pre-drafted, ready-to-send reply Rules-based classifier (no API key), 'not interested' beats the 'interested' substring, copy is dash-free. 13 tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Hot/unknown replies now go to OPERATOR_EMAIL via Resend (the existing sender), with the message + the pre-drafted reply, so you handle leads from your inbox. Still supports LEAD_ALERT_WEBHOOK; set either or both. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GEO: /api/v1/mcp/stats (+ /mcp/stats.json) — CORS-open, cached JSON of the live trust data with a ready-to-quote citation, so AI answer engines + agents cite wmcp.sh as the source for MCP trust/security. llms.txt now leads with the citable data + the per-server 'is X safe' answer. Internal linking: every grade page now links to its category leaderboard hub + the report, interlinking the 6,771 (previously near-orphaned) grade pages into topical clusters so authority flows. 229 tests green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns the trust graph into a revenue engine: an admin endpoint that generates ready-to-send, personalized outreach from the live grades.
GET /api/v1/admin/outreach?segment=audit|verified&max=30&format=csv|json(x-admin-token)emailleft blank for the enrichment step. Regenerates from live grades.Copy hygiene: generated subjects/bodies are written plain — no em-dashes, no en-dashes, no AI tells (a test asserts
/[—–]/never appears, and that boilerplate says 'A to F' not 'A–F').Playbooks included:
launch/grade-outbound.md(F-grade audit/monitoring; the one rule = grades stay honest) +launch/verified-pitch.md(A-grade Verified, at the independent-auditor bar).The send executes on the operator's warmed sending domain via their platform; this generates + (next) triages. 214 tests green on main; 3 new here. Deployed to prod (
f7c047af), endpoint live + admin-gated (401 without token).🤖 Generated with Claude Code