{
  "_ai_door": {
    "see": "https://miscsubjects.com/start",
    "note": "Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."
  },
  "task": {
    "task_id": "WT-0087",
    "kind": "work",
    "objective": "Proof of work is structural: every outbound email carries a mintable verification receipt on a public hash-chained send ledger; agents countersign keylessly; articles verify in the same namespace; sends without receipts are refused",
    "detail": "Replaces WT-0086 (required_evidence was an object; the acceptance runner requires an array). Same repair, machine-runnable tests. FAILURE (owner 2026-08-11): outreach invited verification while no surface could verify anything. REPAIR: send_ledger + mechanical mint/inject at /api/email/send + rule 5 at both send paths + keyless witness doors + article verification namespace + 440-row backfill + deploy gate + per-send selection_reason + rule 6 refusing sender-centered subjects.",
    "state": "superseded",
    "priority": 1,
    "revision": 2,
    "depends_on": [],
    "permitted_capabilities": [
      "coding-law",
      "ship.mjs",
      "D1 migrations",
      "/api/email/send",
      "/api/verify"
    ],
    "acceptance_tests": [
      {
        "id": "ledger_chain_valid",
        "type": "contains",
        "url": "/api/verify",
        "needle": "\"valid\": true",
        "scope": "raw"
      },
      {
        "id": "send_receipt_resolves",
        "type": "contains",
        "url": "/api/verify/snd_6k86q1o69x1i2g",
        "needle": "recipient_sha256",
        "scope": "raw"
      },
      {
        "id": "witness_countersigned",
        "type": "contains",
        "url": "/api/verify/snd_6k86q1o69x1i2g",
        "needle": "wit_734g5v6q2wa3s9",
        "scope": "raw"
      },
      {
        "id": "article_verify_namespace",
        "type": "contains",
        "url": "/a/the-send-ledger",
        "needle": "/verify/article/the-send-ledger",
        "scope": "raw"
      },
      {
        "id": "send_ledger_article_published",
        "type": "article_published",
        "slug": "the-send-ledger"
      },
      {
        "id": "send_ledger_article_hero",
        "type": "article_has_hero",
        "slug": "the-send-ledger"
      },
      {
        "id": "backfill_complete",
        "type": "sql_count_at_least",
        "sql": "SELECT COUNT(*) n FROM send_ledger WHERE kind=@email_send_backfill@",
        "min": 440
      }
    ],
    "required_evidence": [
      "verify_index",
      "one_send_verify",
      "witness_row_hash",
      "article_with_block",
      "refusal_json",
      "backfill_count"
    ],
    "parent_task": null,
    "supersedes": null,
    "failure": null,
    "failure_count": 0,
    "last_result": null,
    "completed_at": null,
    "created_at": "2026-08-11T18:37:11-07:00",
    "updated_at": "2026-08-11T18:37:59-07:00",
    "audit": "/api/work/task/WT-0087/audit",
    "submit_to": "/api/work/task/WT-0087/submit"
  }
}