---
name: autonomous-sales-machine
description: Agent handbook for W4-F03 Autonomous-Sales-Machine (https://outbound.fastmesh.dev) — 4-stage Harvest + Verify + Batch + Pitch B2B proof-microsite engine over Remote JSON-RPC 2.0 /mcp and REST. Supports multi-format CSV/TSV/JSON/JSONL/SQLite resumable batch waterfalls with hard max_budget_micros caps, $0 billing on dead/NXDOMAIN/WAF/fake-200/SSRF targets, 7d-30d adaptive archive caching (90% same-tenant repeat savings), canonical SHA-256 evidence receipts, and 3 human-reviewed zero-spam English openers.
---

# Autonomous-Sales-Machine (`outbound.fastmesh.dev`) — Agent Skill Handbook

> **Hard Invariants**: Pure read-only public HTTPS GET + public DoH DNS (`cloudflare-dns.com/dns-query` + `dns.google/resolve` fallback) + stdlib TLS · Hard pre-socket & post-DNS SSRF block · **Strictly `$0` billed (`verified: false`, `billing_status: "zero_charge"`, `cost_micros: 0`)** on dead domains, NXDOMAIN, SSRF blocks, parked shells, WAF/CAPTCHA challenges, fake-200 traps, or zero verifiable evidence (and NEVER cached) · Atomic SQLite WAL `max_budget_micros` pause/resume with zero duplicate billing · Canonical SHA-256 evidence digest (`evidence_sha256`) · **Zero Spam Sending (`human_review_required: true`) · Zero Personal Email / PII / Prospect Data Resale**.

## Integration Surfaces & Pricing

| Surface | Endpoint / Identifier | Protocol & Pricing |
| :--- | :--- | :--- |
| **Remote MCP Server** | `https://outbound.fastmesh.dev/mcp` | JSON-RPC 2.0 (`initialize`, `tools/list`, `tools/call`: `prospect_run`, `batch_quote`, `batch_submit`, `batch_status`, `batch_resume`, `verify_evidence_hash`, `tools_search`, `tools_inspect`, `tools_execute`, `tools_poll_receipt`) |
| **REST + OpenAPI 3.1** | `https://outbound.fastmesh.dev/openapi.json` | `/v1/prospect/run`, `/v1/batch/quote`, `/v1/batch/submit`, `/v1/batch/{job_id}`, `/v1/batch/{job_id}/resume`, `/microsite/{dossier_id}`, `/health`, `/webhooks/creem` |
| **Creem Prepaid Packs** | `https://outbound.fastmesh.dev/#pricing` | `sku_outbound_growth_99` (`$99` / 100 proofs, `$0.99/ea`) · `sku_outbound_agency_299` (`$299` / 500 proofs, `$0.598/ea`) · `sku_outbound_enterprise_899` (`$899` / 2,500 proofs, `$0.3596/ea`) |
| **Causal Bazaar Public Card** | `autonomous_sales_machine_proof_teardown_v1` | `is_public=1`, `<= $2.00` ceiling, strictly `$0` on dead/unverified targets |
| **`treg hub` (`0%` Commission)** | `autonomous-sales-machine` | Black-box merchant package; `ctx.charge` runs strictly when `verified === true` and non-empty evidence exists (`$0` otherwise) |
| **Try-Now Storefront & Guides** | `https://outbound.fastmesh.dev/` · `https://outbound.fastmesh.dev/seo_geo/` | 5-second no-signup Single Domain & 5-Row CSV studio + 24 English SEO/GEO technical guides |

---

## 1. Remote `/mcp` JSON-RPC 2.0 Workflows

### A. Initialize & Discover Tools

```bash
# 1. Initialize MCP session
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"revops-agent","version":"1.0"}}}'

# 2. List all direct tools + DualMcpFacade meta-tools
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
```

### B. Direct MCP Tools & DualMcpFacade Meta-Tools

| Tool Name | Purpose | Billing Behavior |
| :--- | :--- | :--- |
| `prospect_run` | Run 4-stage Harvest+Verify+Compile on a single public domain (returns dossier, `/microsite/{dossier_id}`, `evidence_sha256`, 3 human-reviewed openers) | `990,000` micros (`$0.99`) on `verified: true`; `99,000` micros (`10%`) same-tenant repeat; `$0` on dead/WAF/fake-200/SSRF |
| `batch_quote` | Parse CSV/TSV/JSON/JSONL/SQLite, deduplicate domains, estimate warm cache hits & max/min cost | Strictly `$0` (`cost_micros: 0`) |
| `batch_submit` | Execute multi-format batch under strict atomic `max_budget_micros` ceiling | Pauses cleanly at `paused_budget`; `$0` deducted on dead/WAF/fake-200/SSRF rows |
| `batch_status` | Read job status, `verified_rows`, `zero_charge_rows`, `spent_micros`, `remaining_budget_micros`, and per-row `microsite_path` | Strictly `$0` |
| `batch_resume` | Resume a `paused_budget` job with optional `max_budget_micros` or `add_budget_micros` strictly on `pending` rows | Zero duplicate charges on already-completed rows |
| `verify_evidence_hash` | Verify canonical SHA-256 integrity of a stored dossier or supplied dossier payload | Strictly `$0` |
| `tools_search` | DualMcpFacade lazy tool search by keyword | Strictly `$0` |
| `tools_inspect` | DualMcpFacade schema inspection for a named tool | Strictly `$0` |
| `tools_execute` | DualMcpFacade flat execution dispatch to any registered W4-F03 tool | Inherits target tool's billing & `$0` guardrails |
| `tools_poll_receipt` | DualMcpFacade receipt & batch status poller | Strictly `$0` |

### C. Complete MCP Call Examples

```bash
# 1. Single-domain 4-stage proof microsite compilation
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "tools/call",
    "params": {
      "name": "prospect_run",
      "arguments": {
        "domain": "cloudflare.com",
        "seller_name": "FastMesh Advisory",
        "seller_offer": "48-hour DMARC, security headers, and /llms.txt sprint",
        "tenant_id": "agent_revops"
      }
    }
  }'

# 2. Pre-flight batch quote ($0)
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 4,
    "method": "tools/call",
    "params": {
      "name": "batch_quote",
      "arguments": {
        "input_format": "csv",
        "data": "domain\ncloudflare.com\niana.org\nnonexistent-w4f03-dead-domain.invalid\n",
        "tenant_id": "agent_revops"
      }
    }
  }'

# 3. Budget-capped batch submit (pauses cleanly if max_budget_micros reached)
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 5,
    "method": "tools/call",
    "params": {
      "name": "batch_submit",
      "arguments": {
        "input_format": "csv",
        "data": "domain\ncloudflare.com\niana.org\npython.org\nsqlite.org\n",
        "max_budget_micros": 1500000,
        "tenant_id": "agent_revops"
      }
    }
  }'

# 4. Check batch status and resume paused job without duplicate billing
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 6,
    "method": "tools/call",
    "params": {
      "name": "batch_status",
      "arguments": {"job_id": "<job_id>"}
    }
  }'

curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 7,
    "method": "tools/call",
    "params": {
      "name": "batch_resume",
      "arguments": {"job_id": "<job_id>", "add_budget_micros": 3000000}
    }
  }'

# 5. Verify canonical SHA-256 tamper integrity
curl -fsSL -X POST "https://outbound.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 8,
    "method": "tools/call",
    "params": {
      "name": "verify_evidence_hash",
      "arguments": {"dossier_id": "<dossier_id>"}
    }
  }'
```

---

## 2. REST API Workflows (`https://outbound.fastmesh.dev`)

### A. Single Domain or Quick Pasted-CSV Preview (`POST /v1/prospect/run`)

```bash
curl -fsSL -X POST "https://outbound.fastmesh.dev/v1/prospect/run" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "iana.org",
    "vertical_id": "b2b_saas",
    "seller_name": "FastMesh Technical Advisory",
    "seller_offer": "DMARC p=reject rollout and passive HTTP header hardening",
    "tenant_id": "agency_demo"
  }'
```

Key response fields:
- `ok` (bool), `verified` (bool), `billing_status` (`"charged"`, `"charged_repeat_cache"`, `"zero_charge"`), `chargeable` (bool), `cost_micros` (`990000` verified, `99000` same-tenant cache repeat, strictly `0` on unverified/dead/WAF/SSRF)
- `dossier_id`, `microsite_path` (`"/microsite/{dossier_id}"`), `microsite_url` (`"https://outbound.fastmesh.dev/microsite/{dossier_id}"`), `evidence_sha256`
- `vertical_id` (one of `b2b_saas`, `dtc_ecommerce`, `professional_local_chains`, `oss_devtools`, `b2b_manufacturing_export`), `scorecard` (`overall_score`, `grade`, `dimensions` across `email_deliverability`, `security_and_tls`, `performance_and_conversion`, `ai_and_search_readiness`, `trust_and_vertical_hygiene`)
- `evidence` (`dns`, `tls`, `http`, `headers`, `seo`, `ai_readiness`, `i18n`, `tech_stack`), `findings` (strictly `[]` on healthy domains — zero fabricated flaws), `verified_strengths`, `conservative_impact`, `remediation_roadmap`
- `pitch_drafts`: 3 restrained English openers (`executive_brief`, `technical_peer`, `quick_win_teardown`), each `{"angle_id", "subject", "body", "word_count", "human_review_required": true, "zero_spam_verified": true}`
- `cache`: `{"hit", "status", "is_repeat", "key_hash", "ttl_s", "age_s"}`
- `compliance`: `{"zero_spam_sending": true, "human_review_required": true, "zero_intrusive_probing": true, "zero_data_resale": true}`
- Unverified / SSRF / dead error codes (`cost_micros: 0`, NEVER cached): `ssrf_blocked`, `invalid_input`, `nxdomain`, `fake_200_detected`, `unreachable_target`, `zero_evidence`

### B. Multi-Format Resumable Batch Waterfall (`quote -> submit -> status -> resume`)

Supported formats: `csv`, `tsv`, `json`, `jsonl`, `rows`/`targets`, plus direct `sqlite_path` table input (`sqlite_table`, `domain_column`).

```bash
# 1. Pre-flight quote ($0)
curl -fsSL -X POST "https://outbound.fastmesh.dev/v1/batch/quote" \
  -H "Content-Type: application/json" \
  -d '{
    "input_format": "jsonl",
    "data": "{\"domain\":\"cloudflare.com\"}\n{\"domain\":\"python.org\"}\n{\"domain\":\"nonexistent-w4f03-dead-domain.invalid\"}\n",
    "tenant_id": "revops_batch"
  }'

# 2. Submit with hard SQLite WAL budget cap (micro-USD: 990000 = $0.99/verified)
curl -fsSL -X POST "https://outbound.fastmesh.dev/v1/batch/submit" \
  -H "Content-Type: application/json" \
  -d '{
    "input_format": "csv",
    "data": "domain\ncloudflare.com\niana.org\npython.org\nsqlite.org\n",
    "max_budget_micros": 1500000,
    "tenant_id": "revops_batch"
  }'

# 3. Inspect job status (verified_rows, zero_charge_rows, spent_micros, remaining_budget_micros, microsite_path)
curl -fsSL "https://outbound.fastmesh.dev/v1/batch/<job_id>"

# 4. Resume a paused_budget job cleanly (executes ONLY pending rows; 0 duplicate charges)
curl -fsSL -X POST "https://outbound.fastmesh.dev/v1/batch/<job_id>/resume" \
  -H "Content-Type: application/json" \
  -d '{"add_budget_micros": 3000000}'
```

### C. Fetch Hosted Standalone Proof Microsite (`GET /microsite/{dossier_id}`)

```bash
curl -fsSL "https://outbound.fastmesh.dev/microsite/<dossier_id>" -o proof_microsite.html
```

Every microsite is standalone zero-CDN XSS-escaped HTML containing the 5-dimension scorecard, raw observed evidence table + UTC timestamp, conservative impact & remediation roadmap, canonical `evidence_sha256` receipt, and Zero-Spam / Zero-Intrusive / Zero-Data-Resale disclosure.

### D. Health Check & OpenAPI Discovery

```bash
curl -fsSL "https://outbound.fastmesh.dev/health"
curl -fsSL "https://outbound.fastmesh.dev/openapi.json"
```

---

## 3. Calling via `treg hub` (`0%` Commission) & Local CLI (`run_hand.py`)

```bash
# 1. treg hub (0% seller commission; strictly $0 on dead/WAF/fake-200/SSRF)
treg call autonomous-sales-machine --data '{"domain":"iana.org","seller_offer":"DMARC p=reject and security header hardening"}'

# 2. Local CLI / Causal Bazaar stdin-stdout hand mode
python3 run_hand.py health
python3 run_hand.py run --domain cloudflare.com
echo '{"action":"run","domain":"example.com"}' | python3 run_hand.py
```

---

## 4. Strict Fail-Closed Safety, Anti-Spam & Zero-Charge Rules

1. **SSRF Firewall (`cost_micros: 0`)**: Blocks loopback interfaces, RFC 1918 private networks, link-local cloud metadata endpoints, IPv6 unique-local/link-local space, multicast/reserved ranges, `.local`/`.internal` hostnames, non-`http`/`https` schemes, and post-DNS private resolution.
2. **Dead Domain & Anti-Fake-200 Shield (`cost_micros: 0`, Never Cached)**: NXDOMAIN, unreachable hosts, TLS failures, HTTP `403`/`429`/`503`, Cloudflare/Akamai JS challenges, CAPTCHA gates, domain parking shells, empty payloads, and zero verifiable evidence always settle at `verified: false`, `billing_status: "zero_charge"`, `cost_micros: 0`.
3. **Adaptive `7d–30d` Archive Cache**: Only verified non-empty hits enter the SQLite WAL archive cache. Same-tenant repeats pay `10%` (`90%` savings, `$0` upstream network calls). Pass `bypass_cache: true` to force a fresh live probe.
4. **Zero Spam & Zero Data Resale**: Never auto-sends outreach, never scrapes/stores personal email addresses, and never sells or trains external AI models on customer lists, offers, or outputs.

Machine index: `https://outbound.fastmesh.dev/llms.txt` · Knowledge hub (24 guides): `https://outbound.fastmesh.dev/seo_geo/` · Sitemap: `https://outbound.fastmesh.dev/sitemap.xml`
