# Proposed changes

A **proposal** is a change to an element that waits for a keeper's word. Any member whose key reads the element can propose one: the fields they would set, a line of evidence, and how long it stands. The element does not change. The world's owner or a co-builder then **accepts** it, which writes the element as their own write, or **declines** it; the proposer can **withdraw** it. Nothing about a proposal reaches the [change feed](/docs/development/api/changes): only the accept's write does, as one row by the keeper.

A world's owner can also turn on **AI seats propose, a person accepts** on the world page. Under that switch every change an [AI seat](/docs/development/api/members#ai-seats) makes to an existing element becomes a proposal instead of a write, and the seat's new elements carry a mark saying they are proposed. A person's key is never held by the switch.

**A proposal's life:** a change to an element that waits for a keeper's word.

- `propose` (any member whose key reads the element): `POST /api/v2/{type}/{id}/proposals`, `201`; the element does not change. `expires`: 1 to 365 days from now, default 30 days.
- `open`: waits for a keeper's word.
- `lapsed`: once `expires` has passed; can still be accepted or declined.

From `open` or `lapsed` (undecided):

- `accept` (the owner or a co-builder with the PIN): `POST /api/v2/{type}/{id}/proposals/{pid}/accept`, `200`. The row turns `accepted`: writes the element as their own write; the feed gets one row. Refused: `403 own_proposal` their own proposal; `409 stale_proposal` a proposed field moved since: nothing is written; `422` already decided.
- `decline` (the owner or a co-builder with the PIN): `POST /api/v2/{type}/{id}/proposals/{pid}/decline`, `200`. The row turns `declined`: the element does not change. Refused: `403 own_proposal` their own proposal; `422` already decided.
- `withdraw` (the proposer): `DELETE /api/v2/{type}/{id}/proposals/{pid}`, `204`. The row goes. Refused: `422` already decided.

**AI seats propose, a person accepts** (`agent_writes_proposed`, read-only on the API; a person's key is never held by the switch):

- an existing element: `PATCH`, `PUT` or a link edit becomes a proposal instead of a write, `202`, the proposal `open` as above.
- a new element: created and carries `x_review_proposed`, waits in the queue as a `new_element` row (`open` or `lapsed`); `POST /api/v2/{type}/{id}/review` (the owner or a co-builder with the PIN): `accept` clears the mark, `decline` deletes the element.

**The queue:** `GET /api/v2/world/proposals`, `state` `open` (the default), `lapsed`, `accepted`, `declined` or `all`; two kinds of row, told apart by `kind`: `proposal` and `new_element`; a marked element is listed under `open`, `lapsed` and `all`, never `accepted` or `declined`. A proposal never enters the feed; an accept's write does.

Four states, the Proposal's `state`; every route is the same on all 22 element types. Generated from the API's own document (`openapi.json`): the proposal routes, the queue and the schemas they answer, as read on 2026-11-28.

## Propose

`POST /api/v2/{type}/{id}/proposals` with `{"fields": {...}, "evidence": "..."}`. Any member key that reads the element may call it, a read key included; the owner uses the world's write key and PIN. The answer is `201 {"proposal": {...}}`; the element is unchanged.

A proposal carries `kind` (`"proposal"`), `id`, `element_type`, `element_id`, `house` (since 2026-11-21, [below](#the-house-rules)), `state` (`open`, `lapsed`, `accepted`, `declined`), `fields` (what it would set: since 2026-10-23, only the fields whose proposed value differs from the element's), `omitted` (the fields a `PUT` left out that were not empty on the element: proposed empty, so a card can say "left empty by this replace"; `[]` for a `PATCH`, a link edit or this route), `base` (the element's values for the fields the write named when it was made) and `base_seq` (the element's `change_seq` then), `evidence`, `expires`, `by` (a membership id, or `"owner"`), `via` and `client` (the [door](/docs/development/api/writes#agent-writes) it came through), `decided_by`, `decided_at`, `decline_reason`, `created_at`, `updated_at`.

- `evidence` is 1 to 2,000 characters. `expires` is a date-time (ISO 8601, UTC when it has no offset; a date alone is its midnight UTC) 1 to 365 days from now, default 30 days; a number is a `422`; a row past its date reads as `lapsed` on every read and can still be accepted or declined.
- `fields` follows the element's own [field rules](/docs/development/api/writes#field-rules). A field the caller cannot see (one a [known-of](/docs/schema/folders#known-of-elements) stub withholds) is `422 field_not_visible`. A link to an id the world does not hold is `400 invalid_link`, as on any write.
- A proposer may hold five open proposals on one element and fifty in one world: past either, `422 too_many_open`. Lapsed rows do not count.
- `Idempotency-Key` is honoured as on a create: since 2026-10-28 a retry after a failed answer never proposes twice, and a key whose proposal is gone since (withdrawn, or deleted with its element) answers `409 idempotency_error`: send again with a new key.
- An element the caller cannot see, and the keyless public view, answer `404`; a read key that belongs to no member answers `403`.
- Below co-builder, `fields` that set a [review mark](/docs/schema/profiles#review) (`x_review_proposed` or `x_review_checked`) with a `by` other than the proposer's own membership id exactly as `GET /api/v2/me` gives it, in a mark that is not exactly the one the element holds, answer `403` [`review_by_another`](/api/errors/#review_by_another) (since 2026-11-11), as the same mark does on a write.

`GET /api/v2/{type}/{id}/proposals` lists an element's proposals: keepers see every row, other members their own.

A proposal with nothing that differs is refused: `422 invalid_request`, `param` `fields`. Under the switch, a seat's write that changes nothing makes no proposal and answers `200` with the element as it is.

## Accept, decline, withdraw

- **Accept**: `POST /api/v2/{type}/{id}/proposals/{pid}/accept`, by the owner or a co-builder with the PIN. The answer is `200 {"proposal": {...}, "element": {...}}`. The write is the keeper's own: `changed_by` names the keeper, the element takes one new `change_seq`, and the feed gets one row. A keeper cannot accept their own proposal (`403 own_proposal`). If a proposed field moved since the proposal was made, nothing is written: `409 stale_proposal` with `conflicts: [{"field", "base", "current"}]` and the element under `current` beside the envelope; only a moved proposed field counts, so a change elsewhere on the element does not block an accept. A link that died in the meantime is `400 invalid_link` and the row stays open.
- **Decline**: `POST /api/v2/{type}/{id}/proposals/{pid}/decline` with an optional `{"reason": "..."}` (up to 2,000 characters, as on a new element's [review](#the-switch)), by the owner or a co-builder with the PIN: `200` with the row. A keeper's own proposal is not theirs to decline either (`403 own_proposal`).
- **Withdraw**: `DELETE /api/v2/{type}/{id}/proposals/{pid}` by the proposer: `204`. A keeper on another member's row is `403`; anyone else `404`.
- Deciding a row already decided is `422 invalid_request`. Deleting an element drops its undecided rows and keeps the decided ones.

## The queue

`GET /api/v2/world/proposals?state=open&since=&element=&limit=&cursor=` answers `{"data": [...], "has_more": ..., "next_cursor": ...}`, newest first. `state` is `open` (the default), `lapsed`, `accepted`, `declined` or `all`; `since` filters on `updated_at`; `element` on one element's id; `limit` is up to 1,000 rows a page, 100 when left out, here and on one element's list (`GET /api/v2/{type}/{id}/proposals`). Keepers see every row; any other member sees the proposals it made and the marked new elements whose mark's `by` is exactly its own membership id (the mark's word, not a record of who wrote the element). The owner reads both lists with the world's read key too, or its write key with no PIN, every row, as the accept and decline routes see them; a read key still never proposes or withdraws. A demo-range key and the keyless public view get `404`.

Since 2026-10-23 the queue holds two kinds of row, told apart by `kind`: proposals (`"proposal"`), and every element that carries an `x_review_proposed` mark, whether a seat's new element under the switch or any writer's mark (`"new_element"`: `id` and `element_id` the element's, `element_type`, `state` `open` or `lapsed` from the mark's `expires`, `by` (the mark's own, the writer's word for who proposed it: a claim, never a record of who wrote the element or the mark, and since 2026-11-11 `null` when it names nobody, a value that is not a string or is whitespace alone), `evidence` and `expires` (the mark's own values as stored, since 2026-11-11: a string as written, any other JSON value as itself, `null` when the mark has none; an `expires` that is not a date or a date-time never lapses), `house` (since 2026-11-21, [below](#the-house-rules)), and the element's `created_at` and `updated_at`). A marked element is listed under `open`, `lapsed` and `all`, never `accepted` or `declined`; a request lists the 500 newest at most, and leaves the older ones out. Both kinds come in one order, newest first; the cursor is opaque, so pass `next_cursor` back as it came.

The queue carries an `ETag` of `"<newest updated_at>:<open count>:<marked count>"` (an element's own list keeps `"<newest updated_at>:<open count>"` and holds proposals only); send it back as `If-None-Match` and an unchanged queue answers `304` with no body, refunded against your [request budget](/docs/development/api-reference#limits) as the [head poll](/docs/development/api/changes#walking-the-feed) is. Poll the queue, not the feed, to learn of new proposals: a proposal never enters the feed; an accept's write does. The [TypeScript SDK](/docs/development/typescript-accounts#proposed-changes) takes the tag as `ifNoneMatch` on `worldProposals` and `listProposals` (since 4.221.0).

## The house rules

A world's Charter (every Law that carries `x_charter_of`) and the Objects its text names are changed only by the owner and co-builders (since 2026-11-21): any other member's change, link edit, delete or file on one of them is `403` [`keeper_only`](/api/errors/#keeper_only), so a proposal is that member's way to change them or edit their links. A delete, a file and a new Object under an id the Charter names have no proposal form: that member asks the owner or a co-builder, and the delete's refusal says so. Every row of both kinds carries `house`, what part of the house rules it would change: `charter` (a Law that carries the mark), `skill` (an Object the text of such a Law names), `new_charter` (on a proposal, a Law an accept would make a Charter: it sets the mark, and the Law's supertype after it is `Charter`; on a new element's row, a new Law that carries the mark), or `null` for anything else. It is read when the row is served, as the world stands then, and worked out only for the owner and co-builders: any other reader is served `null`.

## The switch

`agent_writes_proposed` on [`GET /world`](/docs/development/api/reads#the-world) is `true` when the owner has turned on **AI seats propose, a person accepts** on the world page. It is read-only on the API and off by default; a `PATCH /world` carrying it is refused like `public_read`.

With it on, for an [AI seat](/docs/development/api/members#ai-seats)'s key only:

- `PATCH`, `PUT` and a [link edit](/docs/development/api/links) on an existing element answer `202 {"proposal": {...}}` instead of writing. `If-Match` is checked first: a stale one is still `412`. The proposal's evidence is the seat's client name, or else its door.
- A `/bulk` item answers a slot `{"status": 202, "id": ..., "proposal": {...}}`.
- The MCP's `update_element`, `edit_links` and `bulk_apply` answer `{"proposed": true, "proposal": {...}}`.
- A new element is created and carries `x_review_proposed` (`{by, evidence, expires}`, the [review profile](/docs/schema/profiles#review)'s mark), and waits in the queue as a `new_element` row. A keeper settles it with `POST /api/v2/{type}/{id}/review` `{"decision": "accept" | "decline", "reason": "..."}` (the owner or a co-builder, with the PIN): `accept` clears the mark, one keeper write, `200` `{"element": ...}`; `decline` deletes the element, `200` `{"deleted": id}`, the reason answered back and kept nowhere. An element with no mark is `422` [`not_proposed`](/api/errors/#not_proposed); the member the mark names gets `403` `proposed_only`. No MCP tool settles a mark.
- A seat deletes only what it created; deleting anything else, and a seat's accept or decline, answer `403 proposed_only`.

Not held by the switch: adopt, hide and unhide, and files. A `PUT` proposal is a whole replace: schema fields the body leaves out that are not empty are proposed empty and named in `omitted`, and extension keys are merged at accept. An accept writes exactly `fields`, and a stale check reads only those, so a keeper's edit to another field survives. A guest's proposal keeps the links it cannot see.

## In the clients

The TypeScript SDK and the Python package carry the six calls and type the `202`: a write that was turned into a proposal is raised as its own error (`OwProposedError` with `isProposed`; `ProposedError` with `is_proposed`) carrying the proposal, never returned as if the element had changed; a `/bulk` slot keeps its `202` as the document shapes it. See [TypeScript](/docs/development/typescript) and [Python](/docs/development/python).