Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

The services registry and its lifecycle (SRV-028 R2 to R5).

Read-only configuration templates and approved live records share the same process lifecycle. Construction begins with contracts and an empty template, then a held act records the program that completion leaves asleep.

The durable store keeps one complete bounded snapshot for construction, including prepared acts, approvals, receipts and notification intents. An old file registry is imported once before admission; historical records remain. Caller authority is decided through the admitted pass before mutations.

Modules§

plan
The bound builder’s durable plan and retained change stream.
site
Contracts-first construction, with immutable acts and atomic receipts.
templates
Live approved templates, constrained by operator roots and SHA-256 pins.
trial
Trial admission is an additional fence over the pass’s own serve/call grants.

Structs§

Lifecycle
The registry, its templates and the processes it started.
LysPlacer
Placer over Lys’s placement route with this liminal’s app credential.
ProcessGrant
What a service process’s own credential admits: registering its subjects, and nothing else.
ServiceRecord
One service, as kept.
Transition
One change of state, with who made it and when.

Enums§

LifecycleError
Why a lifecycle request did nothing, by name.
ServiceState
Where a service stands.

Traits§

Placer
Places a resource under its parent in Lys.