← Receivers

tasks:bulk

tasks family

mcp

Apply up to 25 task edits in ONE request. Each row may set any of title/status/priority/notes/assignee/addTags/removeTags. Returns a receipt PER ROW (ok, per-field reason, retryable) plus total/attempted/applied/failed — a row never attempted says so by name, so a partial run can never read as a success.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
member
The class of authority the caller must already hold, decided from the attested context with no round trip.
Reversible
yes
The effect can be undone by a later call.
Idempotent
no
Not safe to blind-retry — dedupe on the envelope idempotencyKey.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/tasks:bulk \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "edits": [ { "tid": "task:abc", "status": "dissolved" }, { "tid": "task:def", "notes": "Done when X", "addTags": [ "planning" ] } ], "workspace": "one" }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • edits object[] required
  • workspace string optional Workspace to act in, for every row. Honoured only if you are staff or control it.

Response

What comes back from the call.

  • ok boolean The CALL's outcome, not the rows'. Read applied/failed.
  • total number
  • attempted number
  • applied number
  • failed number
  • notAttempted number
  • error string
  • detail string
  • results object[]

Traffic

Every call to tasks:bulk, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names tasks:bulk, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

No caller in this repo. It is reached from outside — an agent, your code, or an MCP client.
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "edits": {
      "minItems": 1,
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tid": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "description": "open | blocked | picked | done | verified | failed | dissolved",
            "type": "string"
          },
          "priority": {
            "description": "1-100 slider, same scale as tasks:priority",
            "type": "number"
          },
          "notes": {
            "description": "Prose goal; empty string clears",
            "type": "string"
          },
          "assignee": {
            "description": "Actor slug; empty string unassigns",
            "type": "string"
          },
          "addTags": {
            "description": "Bare words only — no ':' and no leading '@'",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "removeTags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "workspace": {
            "description": "Per-row override of the envelope workspace. A request, never a grant.",
            "type": "string"
          }
        },
        "required": [
          "tid"
        ]
      }
    },
    "workspace": {
      "description": "Workspace to act in, for every row. Honoured only if you are staff or control it.",
      "type": "string"
    }
  },
  "required": [
    "edits"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "The CALL's outcome, not the rows'. Read applied/failed."
    },
    "total": {
      "type": "number"
    },
    "attempted": {
      "type": "number"
    },
    "applied": {
      "type": "number"
    },
    "failed": {
      "type": "number"
    },
    "notAttempted": {
      "type": "number"
    },
    "error": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tid": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "reason": {
            "type": "string"
          },
          "retryable": {
            "type": "boolean"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string"
                },
                "ok": {
                  "type": "boolean"
                },
                "reason": {
                  "type": "string"
                },
                "detail": {
                  "type": "string"
                },
                "retryable": {
                  "type": "boolean"
                }
              },
              "required": [
                "field",
                "ok"
              ]
            }
          }
        },
        "required": [
          "tid",
          "ok"
        ]
      }
    }
  },
  "required": [
    "ok"
  ]
}