Skip to content

run.plan

The plan changed. Replaces the steps not yet done; the ones already done or failed keep their place.

Direction: Harness → Chips
Sent by: a harness
Requires a run: yes
Schema: run.plan.json

Every event also carries the envelope.

Field Required Type Description
v yes 1 Protocol major version.
type yes "run.plan"
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.
plan yes object[] The steps still to come, in order. Steps already done or failed stay ahead of these; a step still to do that is not here is dropped.
plan[].step_id yes string Stable for the life of the run, so updates land on the right row.
plan[].title yes string What this step will do.
reason no string Why the plan changed, in a sentence: a steer, a surprise, a shortcut.
{
"v": 1,
"type": "run.plan",
"id": "evt_01K4ZQPX0000000000000000CB",
"ts": "2026-09-02T14:22:20.504Z",
"workspace_id": "ws_01K4ZQPX000000000000000001",
"space_id": "spc_01K4ZQPX000000000000000002",
"actor": {
"kind": "harness",
"id": "hrn_01K4ZQPX000000000000000004"
},
"run_id": "run_01K4ZQPX000000000000000005",
"plan": [
{
"step_id": "email-dana",
"title": "Email Dana to confirm, with the pallet count"
},
{
"step_id": "update-tracker",
"title": "Update the tracker"
}
],
"reason": "Arjun asked for the pallet count in the email."
}