{
  "_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-0088",
    "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 runner requires an array) and WT-0087 (a quoting error corrupted one acceptance test's SQL in transit). 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": "completed",
    "priority": 1,
    "revision": 5,
    "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": {
      "accepted": true,
      "tests_declared": 7,
      "tests_passed": 7,
      "tests_inherited_from": null,
      "results": [
        {
          "id": "ledger_chain_valid",
          "ok": true,
          "detail": "contains \"\\\"valid\\\": true\" in https://miscsubjects.com/api/verify (scope=raw) → true"
        },
        {
          "id": "send_receipt_resolves",
          "ok": true,
          "detail": "contains \"recipient_sha256\" in https://miscsubjects.com/api/verify/snd_6k86q1o69x1i2g (scope=raw) → true"
        },
        {
          "id": "witness_countersigned",
          "ok": true,
          "detail": "contains \"wit_734g5v6q2wa3s9\" in https://miscsubjects.com/api/verify/snd_6k86q1o69x1i2g (scope=raw) → true"
        },
        {
          "id": "article_verify_namespace",
          "ok": true,
          "detail": "contains \"/verify/article/the-send-ledger\" in https://miscsubjects.com/a/the-send-ledger (scope=raw) → true"
        },
        {
          "id": "send_ledger_article_published",
          "ok": true,
          "detail": "status=published"
        },
        {
          "id": "send_ledger_article_hero",
          "ok": true,
          "detail": "hero present"
        },
        {
          "id": "backfill_complete",
          "ok": true,
          "detail": "count=440 (need 440)"
        }
      ],
      "missing_evidence": []
    },
    "completed_at": "2026-08-11T18:38:02-07:00",
    "created_at": "2026-08-11T18:37:58-07:00",
    "updated_at": "2026-08-11T18:38:02-07:00",
    "audit": "/api/work/task/WT-0088/audit",
    "submit_to": "/api/work/task/WT-0088/submit"
  }
}