Skip to main content

Module site

Module site 

Source
Expand description

Contracts-first construction, with immutable acts and atomic receipts.

Modules§

effects
Builder grants use Lys’s existing delegation and revocation routes.
executor
The construction target for the approved-draft executor and durable outbox.
preparation
Exact preparation joins the admitted pass to the existing Lys draft writer.
storage
One snapshot operation keeps the target, approval, receipt and outcome.

Structs§

Approval
The connector’s authenticated approval, stored without free-text words.
BuilderGrants
The exact Lys grant ids, retained for deterministic revocation.
ConstructionConfig
Operator bounds and delegation sources for the construction registry.
Contract
Exactly what the site promises on one served subject.
SiteAct
A prepared act whose actor is derived only from an admitted pass.
SiteLimits
Required positive operator bounds; reaching a bound refuses before mutation.
SiteSpec
Immutable contracts approved before binding any builder.

Enums§

SiteChange
Deliberate construction events; no payload becomes executable code.
SiteError
All construction refusals contain boundary names, never rejected payloads.

Functions§

validate_contracts
The schema strings are carried exactly; equivalence compares parsed shapes.