{
  "_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-0184",
    "kind": "build",
    "objective": "Personal-world signal layer: a recorder on the owner Mac that enumerates Shortcuts (with decoded action steps, typed inputs/outputs, origin device), App Intents metadata, AppleScript dictionaries, URL schemes and notification emitters, plus a live signal recorder (HTTPS flows through mitmproxy, Shortcut runs, Apple Event log, notifications) that writes every observed signal as a device_observations row and every replayable signal as a discovered_capabilities candidate with a capability_procedures recipe, so the existing invoke → verify → stable → directory-row lifecycle promotes observed owner actions into ordinary Directory rows. One unified event envelope over events/inbound_events/phone_events/capability_invocations/device_observations at GET /api/events/unified. Phone Personal-Automation triggers land as device_event on /api/phone/in without touching ROUTER.",
    "detail": "Owner thesis 2026-09-11: because every capability is one object (row = API = CLI = tag = MCP tool = flow step = sheet line, one authority, one ledger), a signal observed under a real owner action on any device becomes that same object. Capture/replay alone is prior art; the shared grammar is the novelty. Files: scripts/personal-world-recorder.mjs, scripts/signal-recorder/*, functions/api/events/unified.js, functions/api/phone/in.js.",
    "state": "completed",
    "priority": 1,
    "revision": 9,
    "depends_on": [],
    "permitted_capabilities": [
      "capability-census",
      "capability-invoke",
      "D1_QUERY",
      "LOCAL_EXEC"
    ],
    "acceptance_tests": [
      {
        "type": "sql_count_at_least",
        "sql": "SELECT COUNT(*) FROM discovered_capabilities WHERE executor IN ('shortcuts-run','jxa','app-intent','open-url','http-replay')",
        "min": 200
      },
      {
        "type": "sql_count_at_least",
        "sql": "SELECT COUNT(*) FROM discovered_capabilities WHERE executor IN ('shortcuts-run','jxa') AND verified=1",
        "min": 10
      },
      {
        "type": "contains",
        "url": "https://miscsubjects.com/api/events/unified",
        "needle": "not_found"
      },
      {
        "type": "contains",
        "url": "https://miscsubjects.com/api/capability-census",
        "needle": "shortcuts-run"
      },
      {
        "type": "evidence_present",
        "field": "recorder_receipt"
      },
      {
        "type": "evidence_present",
        "field": "unified_sample"
      }
    ],
    "required_evidence": [
      "recorder_receipt",
      "unified_sample",
      "verified_count"
    ],
    "parent_task": null,
    "supersedes": null,
    "failure": null,
    "failure_count": 1,
    "last_result": {
      "accepted": true,
      "tests_declared": 6,
      "tests_passed": 6,
      "tests_inherited_from": null,
      "results": [
        {
          "id": "sql_count_at_least",
          "ok": true,
          "detail": "count=1610 (need 200)"
        },
        {
          "id": "sql_count_at_least",
          "ok": true,
          "detail": "count=28 (need 10)"
        },
        {
          "id": "contains",
          "ok": true,
          "detail": "contains \"not_found\" in https://miscsubjects.com/api/events/unified (scope=content) → true"
        },
        {
          "id": "contains",
          "ok": true,
          "detail": "contains \"shortcuts-run\" in https://miscsubjects.com/api/capability-census (scope=content) → true"
        },
        {
          "id": "evidence_present",
          "ok": true,
          "detail": "checked against required_evidence",
          "evidence_field": "recorder_receipt"
        },
        {
          "id": "evidence_present",
          "ok": true,
          "detail": "checked against required_evidence",
          "evidence_field": "unified_sample"
        }
      ],
      "missing_evidence": []
    },
    "completed_at": "2026-09-11T07:04:59-07:00",
    "created_at": "2026-09-11T05:44:28-07:00",
    "updated_at": "2026-09-11T07:04:59-07:00",
    "audit": "/api/work/task/WT-0184/audit",
    "submit_to": "/api/work/task/WT-0184/submit"
  }
}