~/bend-docscommunity

ordinary_app_service_registration.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_service_registration.bend as Ordinary_app_service_registration

16 imports
import Base
import ./ordinary_app_execution_recipe.bend as Exec
import ./ordinary_app_execution_run.bend as ExecuteRun
import ./execution_context.bend as Ctx
import ./trace_facts.bend as Facts
import ./schedule.bend as Sch
import ./captured_schedule_composition.bend as Choice
import ./ordinary_app_composer.bend as Build
import ./ordinary_app_recipe.bend as Tree
import ./ordinary_app_records.bend as Leaf
import ./world.bend as W
import ./system.bend as Sys
import ./schedule_provision.bend as SP
import ./ordinary_service_declaration.bend as D
import ./ordinary_app_registration_fields.bend as Records
import ./ordinary_app_observation_data.bend as DTO

Types

type Owner source · line 20 · raw

@S:Data -> @C:Type -> @R:Type -> @E:Data -> @Payload:Type -> @Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> Type

Native service declaration remains operational; no query mode is fabricated. Affine registered service owner retaining its actual registry and setup. The service payload itself stays in World resources, not copied into metadata.

type View source · line 23 · raw

@S:Data -> Data

Detached provided statuses and declaration-derived required service ids.

Templates

template fields source · line 27 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @owner:Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan> -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)

Advanced owner-returning registration fold deriving ServiceKind metadata from actual registry and declaration; this does not grant query gameplay operations.

template required source · line 31 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>

Project this declaration's service requirement for execution preflight.

template provided_text source · line 33 · raw

@-S:Data -> @value:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S> -> String

template requirement_text source · line 36 · raw

@-S:Data -> @value:0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S> -> String

template observed source · line 41 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @result:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>) -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<View<S>>)

template observe source · line 47 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<View<S>>)

Advanced service observer scanning statuses, returning actual World with View and presentation text. Does not invoke the service; composer debug gating decides whether observation runs.

template dispatched source · line 49 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @setup:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Setup<S, C, R, E, scan> -> @result:0x67fd5084c1da4adc13317822045bb11f/system.RunResult<S, C, R, E, Unit, Unit, Unit, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.runner(S, C, R, E, Payload, Rest, take, put, call, declaration)> -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Unit, Unit>)

template run source · line 56 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @owner:Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan> -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Unit, Unit>)

Invoke tracked registration and return Owner plus actual World outcome. This low-level entry does not perform schedule service-availability preflight; the declaration runner is a successful no-op for Missing. No host-effect rollback.

template Application source · line 61 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> Type

Composer App type with this service owner and combined prior/service observations. This type adds service registration metadata, not a fabricated component query.

template defined source · line 63 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-Output:Type -> @done:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, View<S>>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.observe_pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, View<S>, prior, observe(S, C, R, E, Payload, Rest, take, put, call, declaration, scan)), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.fold_pair(S, Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, fold, fields(S, C, R, E, Payload, Rest, take, put, call, declaration, scan))> -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> Output) -> @setup:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Setup<S, C, R, E, scan> -> @owners:Owners -> @recipe:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.Recipe<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, prior> -> @debug:Bool -> @result:0x67fd5084c1da4adc13317822045bb11f/system.RegistrationResult<S, C, R, E, Unit, Unit, Unit, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.runner(S, C, R, E, Payload, Rest, take, put, call, declaration)> -> Output

template install source · line 70 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-Output:Type -> @done:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, View<S>>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.observe_pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, View<S>, prior, observe(S, C, R, E, Payload, Rest, take, put, call, declaration, scan)), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.fold_pair(S, Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, fold, fields(S, C, R, E, Payload, Rest, take, put, call, declaration, scan))> -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> Output) -> @setup:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Setup<S, C, R, E, scan> -> @name:String -> @app:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> Output

Register service onto the composer App. done receives extended actual owners; failed receives the prior App shape and returned World on registration refusal. Does not call the service; callbacks choose a common Output ownership contract.

template execution_plan source · line 76 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @owner:Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan> -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)

Advanced owner-returning plan: this registry id at condition slot zero with the declaration's service requirement. Does not invoke P or derive a query grant.

template execution_returned source · line 79 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @trace:0x67fd5084c1da4adc13317822045bb11f/trace_facts.State -> @result:Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Unit, Unit>) -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, Unit, Unit>)

template execution_allowed source · line 82 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @allowed:Bool -> @owner:Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan> -> @context:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @id:U32 -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, Unit, Unit>)

template execution_run source · line 89 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @owner:Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan> -> @context:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @id:U32 -> Pair(Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, Unit, Unit>)

Advanced dispatch entry: an unmatched id returns Owner/context with Failed(Unit) without calling P. Matched routing invokes tracked run; schedule provisioning performs availability checks separately.

template Executable source · line 96 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> Type

Advanced execution-enabled App type composing prior plan/dispatch/provision with this service. Actual owners are retained; errors distinguish prior/service.

template execution_added source · line 98 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @-Output:Type -> @done:(@_:Executable(S, C, R, E, Payload, Rest, take, put, call, declaration, scan, Owners, Rows, prior, fold, PriorError, priorPlan, priorDispatch, priorProvide) -> Output) -> @app:Application(S, C, R, E, Payload, Rest, take, put, call, declaration, scan, Owners, Rows, prior, fold) -> Output

template execution_rejected source · line 100 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @-Output:Type -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_execution_recipe.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold, PriorError, priorPlan, priorDispatch, priorProvide> -> Output) -> @app:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold> -> Output

template add source · line 105 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @-Output:Type -> @done:(@_:Executable(S, C, R, E, Payload, Rest, take, put, call, declaration, scan, Owners, Rows, prior, fold, PriorError, priorPlan, priorDispatch, priorProvide) -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_execution_recipe.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold, PriorError, priorPlan, priorDispatch, priorProvide> -> Output) -> @setup:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Setup<S, C, R, E, scan> -> @name:String -> @value:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_execution_recipe.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, prior, fold, PriorError, priorPlan, priorDispatch, priorProvide> -> Output

Add service registration to an execution-enabled App, composing its plan and provisioning. done receives the extended App; failed receives the previous App shape on refusal. Does not run the service or make host effects transactional.

template execution_owners source · line 109 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> Type

Advanced type projection of prior and actual service registration owners.

template execution_rows source · line 112 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> Data

Advanced detached row shape pairing prior observations with service View.

template execution_observe source · line 115 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, View<S>>>)

Advanced closed observer composition: prior then service statuses, threading World.

template execution_fold source · line 118 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @_:Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>) -> Pair(Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>), List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)

Advanced closed owner fold: prior fields then service metadata, retaining owners.

template composed_plan source · line 121 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @_:Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>) -> Pair(Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>), 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)

Advanced closed plan composition retaining actual prior/service owners in order.

template execution_dispatch source · line 125 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @_:Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>) -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Pair(Owners, Owner<S, C, R, E, Payload, Rest, take, put, call, declaration, scan>), 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, 0x67fd5084c1da4adc13317822045bb11f/captured_schedule_composition.Choice<PriorError, Unit>, Unit>)

Advanced closed routing composition; selects prior or service runner by retained registration metadata, preserving both owners and tagging the failure branch.

template execution_provide source · line 130 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Payload:Type -> @-Rest:Type -> @-take:(@_:R -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Slot<Payload> -> R) -> @-call:(@_:Payload -> Payload) -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Declaration<S, R, Payload, Rest, take, put, call> -> @-scan:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_service_declaration.Status<S>>)) -> @-Owners:Type -> @-Rows:Data -> @-prior:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Owners -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Owners -> @_:0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>> -> @_:U32 -> Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/execution_context.Context<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)) -> @_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/schedule_provision.Requirement<S>>)

Advanced closed availability composition, prior then service scan; no host call. For an ordinary consumer see failedtxn-motion64/consumer/motion-schedule.bend under test-fixtures/connected-performance.