ordinary_app_machine.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_app_machine.bend as Ordinary_app_machine
14 imports
import Base import ./ordinary_machine_initialization.bend as Init import ./ordinary_app_composer.bend as Build import ./ordinary_app_recipe.bend as Tree import ./ordinary_app_observation_data.bend as DTO import ./ordinary_app_registration_fields.bend as Fields import ./world.bend as W import ./inspector.bend as I import ./ordinary_machine_declaration.bend as OD import ./ordinary_machine_operations.bend as Ops import ./machine.bend as M import ./capabilities.bend as Cap import ./transaction.bend as T import ./commands.bend as Cmd
Templates
template current_text source · line 17 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-render:(@_:V -> String) -> @view:0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V> -> String
A declaration-derived value observer, not a fabricated resource/system record.
template vocabulary_text source · line 23 · raw
@-V:Data -> @-render:(@_:V -> String) -> @values:List<&2, V> -> List<&2, String>
The ordered vocabulary comes from the same operational declaration. The registered observer is invoked only on the enabled snapshot branch.
template vocabulary_description source · line 27 · raw
@-V:Data -> @-render:(@_:V -> String) -> @name:String -> @value:Maybe<&2, List<&2, V>> -> List<&2, String>
template presented source · line 31 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>)
template observe source · line 37 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>)
Advanced declaration-derived current-value observer with detached rendering and optional vocabulary. Returns World; the retained slot projector/render function are trusted setup, not a newly validated arbitrary resource adapter.
template attach source · line 41 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.observe_pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>, prior, observe(S, K, V, C, R, E, take, declaration, render)), fold>
Advanced observer attachment pairing prior rows with declared machine current view. Retains World, registration owners and debug; does not create machine state.
template queue source · line 49 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-Error:Data -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @request:0x14a72e1c180a5ab1f8a056d43822425c/machine.QueueInput<V> -> @outcome:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error> -> 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Returned<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error>
Operational queue and debug current grant are generated from the SAME declaration. Queue a machine request through declaration-derived write caps in one Tx, then finish with the supplied outcome. Success retains queued state; failure restores recorded changes. This does not commit a transition or execute handler phases; vocabulary metadata is not a value-membership validation gate.
template Application source · line 55 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> Type
Ordinary operational binding: setup derives the observer from the same declaration. Composer App type adding this declaration's detached current-value observation. Machine storage remains in World resources; no fabricated system owner is added.
template install source · line 59 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold)
Install the declaration-derived machine observer, preserving actual App owners. Does not initialize state, register handlers or apply a queued transition.
template returned source · line 61 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-Error:Data -> @owners:Owners -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.observe_pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>, prior, observe(S, K, V, C, R, E, take, declaration, render))> -> @debug:Bool -> @result:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Returned<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error> -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>)
template queue_app source · line 66 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-Error:Data -> @app:Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold) -> @request:0x14a72e1c180a5ab1f8a056d43822425c/machine.QueueInput<V> -> @outcome:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error> -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>)
App-level queue adapter returning actual App and transaction outcome. Retains observer/debug/registration owners; transition application remains explicit.
template read_finished source · line 69 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @view:0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V> -> @result:Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Unit>) -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>)
template read_taken source · line 72 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @owners:Owners -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.observe_pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>, prior, observe(S, K, V, C, R, E, take, declaration, render))> -> @debug:Bool -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>) -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>)
template read_app source · line 77 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold) -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>)
Read declared current value while returning App, without depending on debug. Unavailable remains an explicit view. Does not apply queue or run handlers.
template ObservedRows source · line 82 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-Rows:Data -> Data
Type spelling and snapshot assembly are generated by the operational library. Advanced detached row type: prior observation paired with current machine view.
template observation source · line 85 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>>)
Advanced closed observer composition threading World through prior then machine.
template Recipe source · line 88 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> Type
Advanced typed observation recipe projection, with no separate machine owner.
template snapshot_app source · line 92 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine.Slot<S, K, V> -> R) -> @-same:(@_:V -> @_:V -> Bool) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, take> -> @-render:(@_:V -> String) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold) -> @flag:Bool -> Pair(Application(S, K, V, C, R, E, take, put, same, declaration, render, Owners, Rows, prior, fold), Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Binding<S>>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, 0x14a72e1c180a5ab1f8a056d43822425c/machine.CurrentView<S, K, V>>>>>)
Set observation flag then return optional combined snapshot with App. Disabled bypasses current-value projection/rendering; no queue application or barrier.
template initialized_app source · line 96 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @-C:Type -> @-E:Data -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @owners:Owners -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, prior> -> @debug:Bool -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold>
Ordinary initialization preserves the existing app's sole owners and debug recipe.
template init_app source · line 101 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @-C:Type -> @-E:Data -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.take_slot(S, K, V, R, take, put)> -> @-make:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, V)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold>
Initialize missing state from make; already-present state skips make. Preserve actual App owners/recipe/debug. Uses ordinary initialization and its initial publication/revision semantics, not handler execution or generic undo recovery.
template insert_app source · line 107 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @-C:Type -> @-E:Data -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.take_slot(S, K, V, R, take, put)> -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> @value:V -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owners, Rows, prior, fold>
Explicitly insert/replace state value through ordinary initialization storage. Preserve App owners; occupied insertion resets transition messages under the existing insertion contract. This is distinct from a queued transition request.