{
  "_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-0302",
    "kind": "work",
    "objective": "No enabled capability row is offered to a model without documentation",
    "detail": "Measured 2026-09-13: 1,423 enabled directory rows, 460 of which carry no '# WHAT:' line at all. A row with no WHAT has no summary, so the projection hands models a bare key and whatever prose happens to sit in content. That is why misc_find('purge cloudflare cache for a zone') answered with zone details: it was ranking against 460 rows that had nothing to rank.\n\nThe five lines the projection reads, in order: TITLE (a human name, not the SCREAMING_SNAKE key), WHAT, WHEN_TO_USE, RETURNS (what comes back - the line that decides whether a model calls it at all), NEVER (the adjacent case a sibling row owns). RETURNS and NEVER matter most and are rarest: 51 and 27 rows.\n\nTwo children split the work by family. The CF_* rows were bulk-imported and their text can be derived from the upstream schema; the rest are hand-built and need a human sentence each.\n\nThe acceptance test counts rows that are MISSING the line and passes only at zero, so it cannot be satisfied by deleting rows to move a ratio, and it does not go stale when rows are added.",
    "state": "completed",
    "priority": 2,
    "revision": 4,
    "depends_on": [],
    "permitted_capabilities": [
      "D1_QUERY",
      "DIR_GET"
    ],
    "acceptance_tests": [
      {
        "type": "sql_count_at_least",
        "id": "zero_enabled_rows_lack_a_what_line",
        "sql": "SELECT CASE WHEN (SELECT COUNT(*) FROM directory WHERE enabled=1 AND instr(COALESCE(content,''),'# WHAT:')=0)=0 THEN 1 ELSE 0 END",
        "min": 1
      }
    ],
    "required_evidence": [
      "verification"
    ],
    "parent_task": null,
    "supersedes": null,
    "failure": null,
    "failure_count": 0,
    "last_result": {
      "accepted": true,
      "tests_declared": 1,
      "tests_passed": 1,
      "tests_inherited_from": null,
      "results": [
        {
          "id": "zero_enabled_rows_lack_a_what_line",
          "ok": true,
          "detail": "count=1 (need 1)"
        }
      ],
      "missing_evidence": []
    },
    "completed_at": "2026-09-14T03:34:03-07:00",
    "created_at": "2026-09-13T21:40:03-07:00",
    "updated_at": "2026-09-14T03:34:03-07:00",
    "audit": "/api/work/task/WT-0302/audit",
    "submit_to": "/api/work/task/WT-0302/submit"
  }
}