Skip to main content

Module effect

Module effect 

Source
Expand description

Core effect lifecycle artifacts: window, intent, preflight, and commit decision.

These types model the governed effect pipeline from intent declaration through commit authorization. Each artifact enforces owner-side invariants via its validate() method and is constructed through a builder pattern.

Structs§

EffectCommitDecisionV1
Authorization decision for committing an effect, linking intent and preflight report to an execution permit.
EffectCommitDecisionV1Builder
Builder for EffectCommitDecisionV1.
EffectIntentV1
Declaration of an intended effect including its class, target surface, blast radius, and approval requirements.
EffectIntentV1Builder
Builder for EffectIntentV1.
EffectPreflightReportV1
Result of preflight checks against an effect intent, gating commit eligibility.
EffectPreflightReportV1Builder
Builder for EffectPreflightReportV1.
EffectWindowV1
Temporal execution window that bounds when an effect may start, timeout, and how mid-flight closures are handled.
EffectWindowV1Builder
Builder for EffectWindowV1.

Enums§

EffectCommitDispositionV1
Authorization outcome of a commit decision: denied, advisory-only, or authorized for execution.
EffectPreflightDispositionV1
Outcome disposition of a preflight check determining whether an effect may proceed to commit.