Skip to content

space.erased

A space was erased from the server by a person: what was said in it, its files and its search entries are gone for everyone. Only this line stays, naming which and by whom.

Direction: Chips → the log
Sent by: Chips only; refused from a client
Requires a run: no
Schema: space.erased.json

Every event also carries the envelope.

Field Required Type Description
v yes 1 Protocol major version.
type yes "space.erased"
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.
erased yes string[] The space, and every thread of it, in that order. Each device forgets them.
spent no object[] What the room cost, per harness, so an erase takes the words and leaves the spend: a budget is not topped up by erasing where it went. Written by Chips.
spent[].harness_id yes string Whose account the room’s cost was on.
spent[].usd yes number What the room had cost that harness, in US dollars.
{
"v": 1,
"type": "space.erased",
"id": "evt_01K4ZQPX0000000000000000E1",
"ts": "2026-09-22T21:10:00.004Z",
"workspace_id": "ws_01K4ZQPX000000000000000001",
"actor": {
"kind": "person",
"id": "usr_01K4ZQPX000000000000000003"
},
"erased": ["spc_01K4ZQPX000000000000000002"],
"spent": [{ "harness_id": "hrn_01K4ZQPX000000000000000004", "usd": 0.42 }]
}