Skip to main content

Crate effect_runtime

Crate effect_runtime 

Source
Expand description

Scaffold owner crate for post-v20 final-pass surfaces.

§Integration Points

  • forge-pilot observe phase: governance_gate.rs (#[cfg(feature = "governance")]) reads effect intent publication status, preflight report dispositions, and commit decision state from semantic-memory projections.
  • forge-pilot act phase: effect commit decisions (authorized vs. denied) and execution permit validity directly gate whether the loop executes planned effects.
  • verification-control: effect preflight report and commit decision case types are affected; compensation plan execution feeds into post-effect verification cases.
  • Stack Arena scenarios: governed lane exercises governance observation of effect lifecycle from intent through execution receipt and observation bundle closure.

§Artifact Families

ArtifactSchema VersionOwner
EffectWindowV1EffectWindowV1this crate
EffectIntentV1EffectIntentV1this crate
EffectPreflightReportV1EffectPreflightReportV1this crate
EffectCommitDecisionV1EffectCommitDecisionV1this crate
EffectExecutionReceiptV1EffectExecutionReceiptV1this crate
EffectObservationBundleV1EffectObservationBundleV1this crate
ExternalEffectLedgerEntryV1ExternalEffectLedgerEntryV1this crate
CompensationPlanV1CompensationPlanV1this crate
CompensationExecutionReceiptV1CompensationExecutionReceiptV1this crate

Re-exports§

pub use compensation::*;
pub use effect::*;
pub use error::*;
pub use observation::*;
pub use v25::*;
pub use vocab::*;

Modules§

compensation
Compensation lifecycle artifacts: plans and execution receipts for reversing or mitigating effects.
effect
Core effect lifecycle artifacts: window, intent, preflight, and commit decision.
error
Validation error types and helper functions for effect-runtime artifact invariant checks.
observation
Post-execution observation artifacts: execution receipts, observation bundles, and external ledger entries.
v25
V25 constitutional citation and obligation reference types shared across effect artifacts.
vocab
Controlled vocabulary enums for effect-runtime artifact fields.