ordinary_app_local_fields.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_app_local_fields.bend as Ordinary_app_local_fields
21 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 ./system.bend as Sys import ./schedule.bend as Sch import ./schedule_provision.bend as SP import ./captured_schedule_composition.bend as Choice import ./ordinary_app_composer.bend as Build import ./ordinary_app_records.bend as Pair import ./ordinary_app_recipe.bend as Tree import ./ordinary_app_observation_data.bend as DTO import ./local.bend as Local import ./world.bend as W import ./ordinary_app_registration_fields.bend as Fields import ./ordinary_query_declaration.bend as Query import ./ordinary_resource_system.bend as P import ./transaction.bend as T import ./commands.bend as Cmd import ./capabilities.bend as Cap
Types
type Owner source · line 40 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> Type
Affine owner of the actual Local.Instance, indexed by declaration and body. No copied Local payload is retained in registration metadata.
Owner@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @instance:0x14a72e1c180a5ab1f8a056d43822425c/local.Instance<S, C, R, E, L, Args, Error, Out, runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)> -> Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>
type Registration source · line 44 · raw
@-World:Type -> @-Owned:Type -> @-L:Type -> Type
Registration success retains Local in owner; refusal returns actual World and incoming L separately, without running the callback.
Registered@-World:Type -> @-Owned:Type -> @-L:Type -> @world:World -> @owner:Owned -> Registration<World, Owned, L>
Rejected@-World:Type -> @-Owned:Type -> @-L:Type -> @world:World -> @local:L -> Registration<World, Owned, L>
type Appended source · line 82 · raw
@-Before:Type -> @-After:Type -> @-L:Type -> Type
Registration into an App either returns the extended App or the prior App shape with actual incoming Local. No automatic destructor runs on AppendRejected.
Appended@-Before:Type -> @-After:Type -> @-L:Type -> @app:After -> Appended<Before, After, L>
AppendRejected@-Before:Type -> @-After:Type -> @-L:Type -> @app:Before -> @local:L -> Appended<Before, After, L>
type ExecutionError source · line 100 · raw
@Error:Data -> Data
Schedule-facing distinction between callback transaction failure and refused registration/routing. Neither branch implies Local was rolled back.
CallbackFailure@Error:Data -> @error:Error -> ExecutionError<Error>
RegistrationRefused@Error:Data -> ExecutionError<Error>
type Invocation source · line 105 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> Type
Executable invocation retaining actual Local owner and reusable Data Args. It stores no Out: schedule execution discards successful Out after completion.
Invocation@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @owner:Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> @args:Args -> Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>
Templates
template returned source · line 24 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Error:Data -> @-Out:Type -> @local:L -> @output:Out -> @result:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Returned<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error> -> 0x14a72e1c180a5ab1f8a056d43822425c/local.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, L, Error, Out>
One ordinary declaration indexes the runner and registration owner. Local is returned separately from body Out on both transaction success and failure.
template finished source · line 28 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Error:Data -> @-Out:Type -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out))) -> 0x14a72e1c180a5ab1f8a056d43822425c/local.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, L, Error, Out>
template runner source · line 36 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @local:L -> @args:Args -> 0x14a72e1c180a5ab1f8a056d43822425c/local.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, L, Error, Out>
Execute one resource declaration/body with opaque Tx capabilities and actual L. Preserve performed ECS effects and the returned outcome. Body-returned Local persists on success AND failure; failed Out is discarded, not returned as recovery. Args is consumed by the callback. This is Local execution, not captured-query state rollback, and arbitrary external callback effects are not transactional.
template registered source · line 47 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @result:0x14a72e1c180a5ab1f8a056d43822425c/local.Registered<S, C, R, E, L, Args, Error, Out, runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)> -> Registration<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, L>
template define source · line 54 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @name:String -> @local:L -> Registration<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, L>
Register the Local runner using access derived from the same resource declaration. Returns Registration with actual owners; does not execute the body or fabricate a query reader. Closed declarations/projections remain trusted provisioning.
template run source · line 60 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @args:Args -> 0x14a72e1c180a5ab1f8a056d43822425c/local.Run<S, C, R, E, L, Args, Error, Out, runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)>
Run the retained Local instance after actual registration/World validation. Completed returns the updated instance and Done(Out) or Fail(Error); callback failure still retains its returned Local. Refused returns World, instance and unconsumed Args. No implicit barrier, skip processing or disposal is performed.
template field_values source · line 63 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @instance:0x14a72e1c180a5ab1f8a056d43822425c/local.Instance<S, C, R, E, L, Args, Error, Out, runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)> -> @clause:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Clause<S> -> Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>)
template fields source · line 70 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>)
Local has no retained query reader cursor; None marks this nonreader metadata. Project registration fields while returning Owner. Resource slot/mode/access come from the operational declaration; Local payload remains opaque. The absent cursor is metadata, not a live lifecycle/event reader position.
template fields_list_returned source · line 73 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @result:Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>) -> Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)
template fold source · line 78 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)
Advanced singleton registration fold retaining Owner and its actual Local. Produces metadata only, not an additional resource grant or gameplay invocation.
template appended source · line 87 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @previous:Previous -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, observe> -> @debug:Bool -> @result:Registration<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, L> -> Appended<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Pair(Previous, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>), Rows, observe, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_records.fold_pair(S, Previous, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, previousFold, fold(S, C, R, E, L, Args, Error, Out, Ops, declaration, body))>, L>
Ordinary registration composes the derived fold itself; application authors provide only operational declaration/body and Local, never metadata adapters.
template register source · line 94 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @app:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold> -> @name:String -> @local:L -> Appended<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_composer.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Pair(Previous, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>), Rows, observe, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_records.fold_pair(S, Previous, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, previousFold, fold(S, C, R, E, L, Args, Error, Out, Ops, declaration, body))>, L>
Register into a composer App, deriving the metadata fold and retaining prior owners/observer/debug. On refusal return prior App shape and Local; does not run body. See test-fixtures/public-schedules/named-app-v1/matched-feature-v1/fixture.bend.
template execution_folded source · line 107 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @args:Args -> @result:Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>) -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)
template execution_fields source · line 111 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)
Advanced owner-returning fold of invocation metadata, retaining stored Args.
template execution_planned source · line 114 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @args:Args -> @result:Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>) -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)
template execution_plan source · line 119 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)
Advanced owner-returning single-id plan at condition slot zero with no explicit requirements. Does not derive requirements from field metadata or run Local.
template execution_returned source · line 122 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @args:Args -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @result:0x14a72e1c180a5ab1f8a056d43822425c/local.Run<S, C, R, E, L, Args, Error, Out, runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)> -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, ExecutionError<Error>, Unit>)
template execution_allowed source · line 127 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @valid:Bool -> @owner:Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> @args:Args -> @context:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, ExecutionError<Error>, Unit>)
template execution_selected source · line 133 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @args:Args -> @context:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @id:U32 -> @result:Pair(Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>) -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, ExecutionError<Error>, Unit>)
template execution_run source · line 141 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @value:Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body> -> @context:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @id:U32 -> Pair(Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, ExecutionError<Error>, Unit>)
Advanced id-routed dispatch. Mismatched id returns invocation/context unchanged with RegistrationRefused. Matched execution preserves reusable Data Args and retains the returned Local instance; callback failure maps to CallbackFailure, while successful Out is discarded. Trace context is carried separately. This adapter installs no skip/cursor-advance or Local disposal callback.
template Executable source · line 147 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> Type
Advanced execution-enabled App type with prior owners plus Local invocation. Uses prior observation unchanged and adds registration fields/plan/dispatch; this does not expose Local to unrelated systems or reset it on failed execution.
template execution_added source · line 149 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @args:Args -> @previous:Previous -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, observe> -> @debug:Bool -> @result:Registration<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Owner<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>, L> -> Appended<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_execution_recipe.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold, PriorError, priorPlan, priorDispatch, priorProvide>, Executable(S, C, R, E, L, Args, Error, Out, Ops, declaration, body, Previous, Rows, observe, previousFold, PriorError, priorPlan, priorDispatch, priorProvide), L>
template add source · line 157 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @value:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_execution_recipe.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold, PriorError, priorPlan, priorDispatch, priorProvide> -> @name:String -> @local:L -> @args:Args -> Appended<0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_execution_recipe.Registered<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Previous, Rows, observe, previousFold, PriorError, priorPlan, priorDispatch, priorProvide>, Executable(S, C, R, E, L, Args, Error, Out, Ops, declaration, body, Previous, Rows, observe, previousFold, PriorError, priorPlan, priorDispatch, priorProvide), L>
Register Local and Data Args into an execution-enabled App, deriving composition from the declaration. Refusal returns prior App and actual L; success retains L and Args for later dispatch. No run, condition skip or disposal happens here. Explicit lifecycle cleanup remains in local.bend rather than an implicit finalizer.
template execution_owners source · line 161 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> Type
Advanced type projection of prior owners paired with actual Local invocation.
template execution_rows source · line 164 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> Data
Advanced detached row projection: Local adds metadata, not observation rows.
template execution_observe source · line 168 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)
Advanced observer projection retaining the prior observer exactly; Local is not automatically rendered or inspected by this adapter.
template execution_fold source · line 171 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @_:Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>) -> Pair(Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>), List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)
Advanced closed fold of prior fields followed by Local invocation metadata.
template composed_plan source · line 174 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @_:Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>) -> Pair(Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>), 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)
Advanced closed plan composition: prior plan then Local id, retaining owners.
template execution_dispatch source · line 178 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @_:Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>) -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Pair(Previous, Invocation<S, C, R, E, L, Args, Error, Out, Ops, declaration, body>), 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, 0x14a72e1c180a5ab1f8a056d43822425c/captured_schedule_composition.Choice<PriorError, ExecutionError<Error>>, Unit>)
Advanced closed routing to prior or Local invocation with tagged error branches. Dispatch preserves actual owners; it is not a shared Local or capture transaction.
template execution_provide source · line 182 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Data -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_system.Declaration<S, R, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<Error>, Out)))) -> @-Previous:Type -> @-Rows:Data -> @-observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-PriorError:Data -> @-priorPlan:(@_:Previous -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Plan<S>)) -> @-priorDispatch:(@_:Previous -> @_:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @_:U32 -> Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>>, PriorError, Unit>)) -> @-priorProvide:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)) -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/schedule_provision.Requirement<S>>)
Advanced provisioning composition: preserve prior provisioning and add no extra requirements for this Local registration.