role.changed
An owner or admin changed a person’s role in the workspace.
Direction: Chips → the log
Sent by: a person
Requires a run: no
Schema: role.changed.json
Fields
Section titled “Fields”Every event also carries the envelope.
| Field | Required | Type | Description |
|---|---|---|---|
v |
yes | 1 |
Protocol major version. |
type |
yes | "role.changed" |
|
id |
yes | string |
The event’s own id. Stable across a retry of the same event. |
ts |
yes | string |
When it happened, by Chips’ clock. Stamped on the way in; a value the sender writes is replaced. |
workspace_id |
yes | string |
A workspace identifier: ws_ followed by a ULID. |
space_id |
no | string |
The space, when the event belongs to one. |
run_id |
no | string |
The run, when the event belongs to one. |
seq |
no | number |
Assigned by the server on append, monotonic per workspace. Absent on the way in. |
idempotency_key |
no | string |
Required on every client-originated write. Sending the same key twice is a no-op. |
actor |
yes | object | The participant an event is attributed to. |
actor.kind |
yes | "person" | "harness" | "agent" | "system" |
Whether a person, a harness, one of a harness’s agents or Chips itself acted. |
actor.id |
yes | string |
The participant id, or system for Chips. |
actor.harness_id |
no | string |
For an agent: the harness it speaks through, whose budget and runs are the agent’s (ADR 0087). Filled in by Chips. |
participant_id |
yes | string |
Whose role changed. |
role |
yes | "owner" | "admin" | "member" | "guest" |
What it is now. |
reason |
no | string |
Why, for the audit. |
Example
Section titled “Example”{ "v": 1, "type": "role.changed", "id": "evt_01K4ZQPX0000000000000000D2", "ts": "2026-09-06T09:05:00.004Z", "workspace_id": "ws_01K4ZQPX000000000000000001", "actor": { "kind": "person", "id": "usr_01K4ZQPX000000000000000003" }, "idempotency_key": "role-usr_01K4ZQPX000000000000000009-1", "participant_id": "usr_01K4ZQPX000000000000000009", "role": "admin", "reason": "Dana runs the finance harnesses now."}