~/bend-docscommunity

execution_relation_failure_retention.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend as Execution_relation_failure_retention

10 imports
import Base
import ./execution_composer_layout.bend as Layout
import ./execution_resource_policy.bend as Policy
import ./execution_relation_store.bend as Store
import ./world.bend as W
import ./lifecycle.bend as Life
import ./dependency_application.bend as App
import ./dependency_executor.bend as Exec
import ./relation_types.bend as T
import ./change_tick.bend as Tick

Types

type Catalogue source · line 41 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Type

type MaintenanceResult source · line 79 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Type

type Admission source · line 93 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Type

Root setup admits the whole schema catalogue before executing any system. A partial catalogue retains the callback and manifest rather than maintaining only the convenient subset. Accepted programs are trusted framework evidence.

Definitions

def route_equal source · line 45 · raw

@left:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @right:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> Bool

def contains source · line 51 · raw

@+route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> Bool

def append source · line 62 · raw

@prefix:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @+suffix:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route

def leaf source · line 67 · raw

@policy:0x704c77730661eff4309838fc738ef615/execution_resource_policy.Policy -> @route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> Bool

def covers source · line 72 · raw

@current:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @+prefix:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @+routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> Bool

Templates

template payload source · line 17 · raw

@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-P:Type -> @-shape:{P == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @owner:P -> Pair(P, Unit)

Closed framework resource adapter. It never sees or flushes command buffers. This resource stores the graph and its failure generations together. Retention preserves the graph slot stamp; command publication updates graph writes. Bevy maintains Messages separately from State: https://github.com/bevyengine/bevy/blob/ad678262ce53b5d142fe49ee5e08caff6f00ab60/crates/bevy_ecs/src/message/messages.rs#L188-L201

template restored source · line 19 · raw

@-S:Data -> @-R:Type -> @-layout:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, layout) : Type} -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @rest:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resource_rest(S, layout, route) -> @result:Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.stored(layout, route), Unit) -> R

template selected source · line 22 · raw

@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-R:Type -> @-layout:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, layout) : Type} -> @-shape:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(layout, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @result:Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resource_rest(S, layout, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.stored(layout, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.key(layout, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.origin(layout, route)>) -> R

template maintain_resources source · line 25 · raw

@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-R:Type -> @-layout:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, layout) : Type} -> @-shape:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(layout, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @owner:R -> R

template clocked source · line 27 · raw

@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-E:Data -> @-layout:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, layout) : Type} -> @-shape:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(layout, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, 0x704c77730661eff4309838fc738ef615/change_tick.Tick) -> 0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>

template world source · line 30 · raw

@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-E:Data -> @-layout:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, layout) : Type} -> @-shape:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(layout, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @value:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> 0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>

template Program source · line 34 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Type

Built by trusted schema provisioning from lexical leaf witnesses. Policy alone never supplies a payload type. This callback owns only canonical resources.

template empty source · line 36 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources)

template extend source · line 38 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-valid:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.grant_valid(resources, route) == True{} : Bool} -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor> : Data} -> @-protected:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.policy(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_resource_policy.ProtectedRelation{S, descriptor} : 0x704c77730661eff4309838fc738ef615/execution_resource_policy.Policy} -> @previous:Program(S, resources) -> Program(S, resources)

template none source · line 43 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Catalogue<S, resources>

template admitted source · line 55 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-valid:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.grant_valid(resources, route) == True{} : Bool} -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor> : Data} -> @-protected:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.policy(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_resource_policy.ProtectedRelation{S, descriptor} : 0x704c77730661eff4309838fc738ef615/execution_resource_policy.Policy} -> @duplicate:Bool -> @routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> @previous:Program(S, resources) -> Catalogue<S, resources>

template add source · line 59 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-valid:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.grant_valid(resources, route) == True{} : Bool} -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.Store<S, descriptor> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor> : Data} -> @-protected:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.policy(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_resource_policy.ProtectedRelation{S, descriptor} : 0x704c77730661eff4309838fc738ef615/execution_resource_policy.Policy} -> @previous:Catalogue<S, resources> -> Catalogue<S, resources>

template checked source · line 82 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @complete:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @program:Program(S, resources) -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> MaintenanceResult<S, resources>

template apply source · line 86 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @catalogue:Catalogue<S, resources> -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> MaintenanceResult<S, resources>

template preparation source · line 96 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @complete:Bool -> @routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> @program:Program(S, resources) -> Admission<S, resources>

template prepare source · line 100 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @catalogue:Catalogue<S, resources> -> Admission<S, resources>

template retained_world source · line 104 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @program:Program(S, resources) -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, 0x704c77730661eff4309838fc738ef615/change_tick.Tick) -> 0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>

template completed source · line 110 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-Owners:Type -> @-Guards:Type -> @-Handler:Type -> @-Error:Data -> @-Out:Data -> @program:Program(S, resources) -> @result:0x704c77730661eff4309838fc738ef615/dependency_executor.ExecutionResult<0x704c77730661eff4309838fc738ef615/dependency_application.State<0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Owners, Guards, Handler>, String, Error, Out> -> 0x704c77730661eff4309838fc738ef615/dependency_executor.ExecutionResult<0x704c77730661eff4309838fc738ef615/dependency_application.State<0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Owners, Guards, Handler>, String, Error, Out>

This is an overall Root completion callback, after final deferred policy. It rotates on Finished even with finalApply=false or an unchanged clock, and never advances a Reader, graph cache, resource stamp, sequence or reader ID.