Rulvar API reference / @rulvar/core / EffectTerminalDecision
Interface: EffectTerminalDecision
Defined in: packages/core/src/effects/types.ts:230
A terminal transition (RFC section 4.6): the first terminal append for an intent closes it; later would-be transitions fold as durable no-ops with a superseded-by reason. A terminal without intentRef is a standalone refused record (the writer's durable give-up when no intent ever landed); it requires logicalKey.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
causalRef? | number | Causal reference (for 'compensated': the compensation intent). | packages/core/src/effects/types.ts:238 |
decisionType | "effect_terminal" | - | packages/core/src/effects/types.ts:231 |
intentRef? | number | - | packages/core/src/effects/types.ts:233 |
logicalKey? | string | - | packages/core/src/effects/types.ts:234 |
opId | string | - | packages/core/src/effects/types.ts:232 |
reason? | string | - | packages/core/src/effects/types.ts:236 |
terminal | EffectTerminalState | - | packages/core/src/effects/types.ts:235 |