PlayMix.compiled
Emitted each time a Play Mix is compiled.
PlayMix.compile emits PlayMix.compiled when it completes on a Play Mix.
| Property | Value |
|---|---|
| Emitted by | PlayMix.compile |
| Noun | Play Mix |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what PlayMix.compile returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | PlayMix.compiled. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.playMix | Play Mix | required | The new version, or the current one when nothing moved. |
data.playMix.version | integer | required | The version number; each weekly compile that changes a Play’s state or budget adds one. |
data.playMix.plays | json | required | Each Play with its state (gated, running or paused), its monthly budget, its stop rule and its payback last week. |
data.playMix.gates | json | Each gate: the Metric and threshold that opens it, and the Plays it opens. | |
data.playMix.crossover | string | The reading that ends seed mode, such as compounding share at 50 percent for 4 weeks. | |
data.playMix.diff | text | What changed from the previous version, one line per Play, with the reading that moved it. | |
data.playMix.from | string | Lineage: the slot it compiles from, as Hypothesis#<slot>@v<version>. | |
data.playMix.compiledAt | datetime | required | When the compile ran. |
Example
{
"$id": "https: //api.sb/ routewise.dev/ events/ event_1",
"$type": "Event",
"name": "PlayMix.compiled",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"playMix": {
"$id": "https: //api.sb/ routewise.dev/ play-mixes/ play_mix_1",
"$type": "PlayMix",
"version": 1,
"plays": {},
"gates": {},
"crossover": "Example crossover",
"diff": "Example diff",
"from": "Hypothesis#approach@v1",
"compiledAt": "2026-10-22T12: 00: 00Z"
}
},
"seq": 1
}