{
  "_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-0114",
    "kind": "work",
    "objective": "Give flows a transform step and an each step so compositions can build real composite capabilities",
    "detail": "$PREV is one opaque string: subVars has no JSON path and the flow language has no iteration. So pulling one field out of step one's response requires a JavaScript fn, which is a large part of why 566 of 1,066 rows are type fn. Add two steps — a JSON-path extraction over $PREV and an EACH that maps a step over an array — plus a merge that builds one object from several branches. Then CUSTOMER_LOOKUP composing a commerce call, an email-platform call and a payments call into one result is a directory row rather than an application, and because a flow is an ordinary member it inherits every invocation surface the moment it exists.",
    "state": "superseded",
    "priority": 2,
    "revision": 6,
    "depends_on": [],
    "permitted_capabilities": [
      "D1_QUERY",
      "DIR_GET",
      "DIR_PATCH",
      "FILE_GET",
      "FILE_PUT"
    ],
    "acceptance_tests": [
      {
        "id": "composite_runs",
        "type": "http_ok",
        "url": "/api/dispatch?invoke=NOW"
      },
      {
        "id": "flow_documented",
        "type": "contains",
        "url": "/api/environment?format=markdown",
        "needle": "flow",
        "scope": "raw"
      }
    ],
    "required_evidence": [
      "flow_row_key",
      "composite_output",
      "no_new_fn_row"
    ],
    "parent_task": null,
    "supersedes": null,
    "failure": null,
    "failure_count": 1,
    "last_result": null,
    "completed_at": null,
    "created_at": "2026-09-06T07:56:04-07:00",
    "updated_at": "2026-09-06T08:42:45-07:00",
    "audit": "/api/work/task/WT-0114/audit",
    "submit_to": "/api/work/task/WT-0114/submit"
  }
}