Lossless reducer from immutable lifecycle events to channel-neutral Activity.
Wrapper-entry sequence owns row placement and terminal events update rows in place.
Lossless reducer from immutable lifecycle events to channel-neutral Activity. Wrapper-entry sequence owns row placement and terminal events update rows in place.
(detected? state)True once at least one invocation was observed.
A form that ran no tool carries no :activity at all — an empty panel is not
the same statement as a form that did nothing.
True once at least one invocation was observed. A form that ran no tool carries no `:activity` at all — an empty panel is not the same statement as a form that did nothing.
Initial rendered Activity state.
Ownerless: the form that contains this snapshot is its only identity, so no interaction, iteration, form, tool-call or view coordinate appears inside it.
Initial rendered Activity state. Ownerless: the form that contains this snapshot is its only identity, so no interaction, iteration, form, tool-call or view coordinate appears inside it.
(presentation state)Lossless Activity data shared by TUI, Companion, and settled replay.
It contains semantic values only, and no key naming its owner: the form that carries it supplies that. Channel markup stays in each painter, while presenter and signal names arrive as strings so cross-process readers never infer them from operation names. Every collection is realized here, because this value is persisted inside the form and a lazy seq would settle as a placeholder instead of the picture the human watched.
Lossless Activity data shared by TUI, Companion, and settled replay. It contains semantic values only, and no key naming its owner: the form that carries it supplies that. Channel markup stays in each painter, while presenter and signal names arrive as strings so cross-process readers never infer them from operation names. Every collection is realized here, because this value is persisted inside the form and a lazy seq would settle as a placeholder instead of the picture the human watched.
(reduce-event state raw-event)Apply one validated event. The same ordered input always yields the same state.
Apply one validated event. The same ordered input always yields the same state.
(replay events)Reduce a lifecycle event stream into one deterministic snapshot.
Reduce a lifecycle event stream into one deterministic snapshot.
(settle-running state outcome summary)Finalize every invocation still running when its enclosing evaluation ends.
outcome is :failed or :cancelled; no synthetic lifecycle event is
invented. The receipt records that the evaluation, not the tool wrapper,
supplied the terminal boundary.
Finalize every invocation still running when its enclosing evaluation ends. `outcome` is `:failed` or `:cancelled`; no synthetic lifecycle event is invented. The receipt records that the evaluation, not the tool wrapper, supplied the terminal boundary.
(snapshot state)Project every admitted row without shedding history. Transport pages live in storage.
Project every admitted row without shedding history. Transport pages live in storage.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |