~/bend-docscommunity

ordinary_owned_event_family_reader_query.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_owned_event_family_reader_query.bend as Ordinary_owned_event_family_reader_query

30 imports
import Base
import ./change_tick.bend as Tick
import ./ordinary_event_declaration.bend as Event
import ./ordinary_schema.bend as Schema
import ./ordinary_app_event_family_runtime.bend as App
import ./ordinary_app_event_family_reader.bend as AppReader
import ./ordinary_app_registration_fields.bend as Records
import ./ordinary_app_observation_data.bend as DTO
import ./ordinary_app_recipe.bend as Tree
import ./ordinary_app_records.bend as Leaf
import ./execution_context.bend as Ctx
import ./trace_facts.bend as TraceFacts
import ./owned_event_family_maintenance.bend as Maintenance
import ./owned_event_family_catalog.bend as Catalog
import ./owned_event_family_lifecycle.bend as Life
import ./world.bend as W
import ./system.bend as Sys
import ./transaction.bend as T
import ./capabilities.bend as Cap
import ./owner_product.bend as Product
import ./owned_event_log.bend as Log
import ./ordinary_owned_event.bend as Pub
import ./ordinary_owned_event_family_reader_binding.bend as Setup
import ./owned_event_family_reader_query.bend as Core
import ./event_runtime.bend as Ev
import ./event_stream.bend as Stream
import ./event_family_runtime.bend as FR
import ./event_family_routing.bend as Route
import ./ordinary_query_declaration.bend as Decl
import ./compose.bend as Q

Templates

template register source · line 38 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @runtime:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>> -> @name:String -> 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Registration<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>

Register an owned-event reader joined to a retained ordinary query declaration. Access metadata includes event read and query clauses; registration does not run projection/body. Failure returns actual runtime. Payload lookup remains scoped through at:P -> Request -> P & Projection, not a grant to extract P from its log.

template run_observed source · line 43 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @runtime:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>> -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)> -> @args:Args -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>) -> 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.RunResult<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>

Advanced run using an already observed registry/cursor pair. Pass that cursor into query lifecycle filtering and retain the run owner/completion contract below; the supplied pair is trusted to come from the matching actual registration.

template run source · line 54 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @runtime:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>> -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)> -> @registry:0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)> -> @args:Args -> 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.RunResult<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>

Resolve unread payload keys in order, project each through the confined request, restore its log owner, then traverse current live query handles with declared query caps. All event/row ECS writes share one transaction. Args and returned Observation owners remain in Reply; failure clears Data outputs and rolls back recorded ECS edits, not arbitrary mutations made by trusted projectors. Uses registry cursor for lifecycle selection; success advances it to World tick. Semantic Reply failure preserves unread stream position under failed-reader rules; transport Succeeded alone is not semantic success. lagged records retention loss.

template run_trace_cursor source · line 60 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @runtime:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>> -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)> -> @args:Args -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.RunResult<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>, 0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State)

Advanced trace-aware counterpart of run_observed using its supplied registry cursor. Return actual runtime/reader/registry, semantic completion and fact state; trace collection does not replace semantic success or acknowledge failed work.

template run_traced source · line 66 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @runtime:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>> -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)> -> @registry:0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)> -> @args:Args -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.RunResult<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>, 0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State)

Trace-aware run with actual operation facts returned separately. Same query transaction, owner returns and semantic reader advancement; facts may describe attempts that rolled back. Does not perform log retirement or an implicit barrier.

template run_context source · line 72 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @context:0x14a72e1c180a5ab1f8a056d43822425c/execution_context.Context<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>> -> @family:0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners> -> @tick:Nat -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)> -> @registry:0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)> -> @args:Args -> 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.ContextRunResult<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>

Advanced execution-context bridge carrying the existing trace, family state and tick through run_traced. Returned routing result retains actual owners; no new query or payload capability is inferred from the context.

template component_uses source · line 78 · raw

@-S:Data -> @clauses:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Clause<S>> -> List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.DeclaredUse>

Advanced metadata projection labeling retained query clauses as component uses for the message source. This formatter does not validate or widen query grants.

template owner_fields source · line 85 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @owner:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)

Advanced owner-returning App fold combining event-read identity, actual registry metadata and retained query clauses. Declared-use metadata is descriptive; the operational query declaration and scoped request still determine authority.

template app_registered source · line 88 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @-Previous:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-Output:Type -> @done:(@_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_runtime.Application<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>>), 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, Unit>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.observe_pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, Unit, prior, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.observe(S, C, R, E)), 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_records.fold_pair(S, Previous, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>>, previousFold, owner_fields(S, C, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put, descriptor, Owners, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body))> -> Output) -> @failed:(@_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_runtime.Application<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Previous, Rows, prior, previousFold> -> Output) -> @schema:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_schema.Schema<S, C, R> -> @previous:Previous -> @recipe:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.Recipe<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, prior> -> @debug:Bool -> @result:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Registration<S, C, R, E, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put), 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)> -> Output

template install source · line 97 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-E:Data -> @-Domains:Data -> @-F:Type -> @-path:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_log.Log<P>, Rest> -> @-inject:(@_:Nat -> E) -> @-select:(@_:List<&2, E> -> List<&2, Nat>) -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event.Domain<S, P> -> @-make:(@_:Domains -> @_:Nat -> F) -> @-sync:(@_:F -> @_:Nat -> @_:List<&2, E> -> F) -> @-frame:(@_:F -> @_:Nat -> F) -> @-retain:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @-inventory:(@_:F -> Pair(F, List<&2, String>)) -> @-take:(@_:F -> Pair(F, 0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat>)) -> @-put:(@_:F -> @_:0x14a72e1c180a5ab1f8a056d43822425c/event_stream.Stream<S, Nat> -> F) -> @-descriptor:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_owned_event_family_reader_binding.Setup<S, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put> -> @-Owners:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-at:(@_:P -> @_:Request -> Pair(P, Projection)) -> @-project:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Projected<Args, Observation, U>)) -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, C, R, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Observation -> @_:Args -> @_:H -> Pair(H, Pair(Observation, Pair(Args, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))))) -> @-Previous:Type -> @-Rows:Data -> @-prior:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Observation<Rows>)) -> @-previousFold:(@_:Previous -> Pair(Previous, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_registration_fields.Fields<S>>)) -> @-Output:Type -> @done:(@_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_runtime.Application<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Pair(Previous, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>>), 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_observation_data.Product<Rows, Unit>, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_recipe.observe_pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Rows, Unit, prior, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.observe(S, C, R, E)), 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_records.fold_pair(S, Previous, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_reader.Owner<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Reader<S, Nat, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.take(S, Nat, E, F, Owners, take), 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.put(S, Nat, E, F, Owners, put)>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Input<Nat, Pair(Args, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>)>, Unit, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.Reply<Args, Observation, U, Out>, 0x14a72e1c180a5ab1f8a056d43822425c/owned_event_family_reader_query.runner(S, C, R, P, Rest, E, path, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body)>>, previousFold, owner_fields(S, C, R, P, Rest, E, Domains, F, path, inject, select, identity, make, sync, frame, retain, inventory, take, put, descriptor, Owners, Request, Projection, Args, Observation, U, Out, Ops, at, project, query, body))> -> Output) -> @failed:(@_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_runtime.Application<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Previous, Rows, prior, previousFold> -> Output) -> @value:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_app_event_family_runtime.Application<S, C, R, E, 0x14a72e1c180a5ab1f8a056d43822425c/event_family_runtime.State<E, F, Owners>, Previous, Rows, prior, previousFold> -> @name:String -> Output

Register and append this reader/query owner to the family App. done receives extended owners and combined metadata; failed receives the prior App with actual runtime returned on admission refusal. Observation adds Unit beside prior rows, not automatic payload presentation. Use owned-family maintenance for retirement and owned-event-family-lifecycle.bend for explicit reader lifecycle operations.