ONE groups:seat
← Receivers

groups:seat

groups family

mcp

An app on its own stack seats a person ONE already knows at viewer, the lowest role, in the group its key is homed in — only while the group's owner has granted this key `signal:groups:seat` (agents:approve). Never makes an account; the group comes from the key, never the body; raise-only; a person the group removed is not put back

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
agent_key
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

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/groups:seat \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "person": "visitor" }}'

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.

  • person string required Who to seat: a ONE uid (the user id), or an email whose mailbox the person proved. A slug names nobody here. Anything else, a name ONE does not know included, is `person_not_found`; no account is ever created. At most 30 calls a minute per key (`rate_limit_exceeded`). Any `gid`, `group`, `workspace` or `role` sent beside it is ignored

Response

What comes back from the call.

  • ok boolean
  • gid string The group seated in: the key's own home, `group:<slug>`
  • aid string The actor seated
  • role "viewer" Always the floor role
  • verdict seated | unchanged `unchanged`: the person already held a seat there at viewer or above, which is left as it was
  • retry boolean
  • error string key_required (a session, or no key) · no_home_group · bad_request · grant_required (names the grant to ask the owner for) · grant_unreadable · rate_limit_exceeded · person_not_found · person_unreadable · chain_group · not_seated (the group removed this person) · no_db
  • grant object On grant_required: what the owner must approve, and the door that writes it

Traffic

Every call to groups:seat, 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 groups:seat, 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

API route 3
  • one.ie/web/src/lib/app-signup.ts:84
  • one.ie/web/src/lib/receiver-index.generated.ts:258
  • one.ie/web/src/lib/resolvers/_shared.ts:525
CLI 2
  • packages/cli/src/lib/receivers-index.generated.ts:261
  • packages/cli/src/lib/receivers.generated.ts:261
→

Answered by

groups:seat one.ie/web/src/lib/resolvers/groups.ts:213 Dispatched through POST /api/ask/groups:seat, after the envelope validates the payload.
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "person": {
      "type": "string",
      "minLength": 1,
      "maxLength": 254,
      "description": "Who to seat: a ONE uid (the user id), or an email whose mailbox the person proved. A slug names nobody here. Anything else, a name ONE does not know included, is `person_not_found`; no account is ever created. At most 30 calls a minute per key (`rate_limit_exceeded`). Any `gid`, `group`, `workspace` or `role` sent beside it is ignored"
    }
  },
  "required": [
    "person"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "gid": {
      "description": "The group seated in: the key's own home, `group:<slug>`",
      "type": "string"
    },
    "aid": {
      "description": "The actor seated",
      "type": "string"
    },
    "role": {
      "description": "Always the floor role",
      "type": "string",
      "const": "viewer"
    },
    "verdict": {
      "description": "`unchanged`: the person already held a seat there at viewer or above, which is left as it was",
      "type": "string",
      "enum": [
        "seated",
        "unchanged"
      ]
    },
    "retry": {
      "type": "boolean"
    },
    "error": {
      "description": "key_required (a session, or no key) · no_home_group · bad_request · grant_required (names the grant to ask the owner for) · grant_unreadable · rate_limit_exceeded · person_not_found · person_unreadable · chain_group · not_seated (the group removed this person) · no_db",
      "type": "string"
    },
    "grant": {
      "description": "On grant_required: what the owner must approve, and the door that writes it",
      "type": "object",
      "properties": {
        "capability": {
          "type": "string"
        },
        "actor": {
          "type": "string"
        },
        "workspace": {
          "type": "string"
        },
        "door": {
          "type": "string"
        }
      },
      "required": [
        "capability",
        "actor",
        "workspace",
        "door"
      ]
    }
  },
  "required": [
    "ok"
  ]
}