Skip to content

Interface: BaseIsolationScopeASTNode<TType, THandle, TReceipt, TSync, TTier> ​

Defined in: ast/base/base-isolation-scope-ast-node.ts:18

Domain-agnostic base AST node contract for isolation scopes (IsolationScopeASTNode).

Carries static capability tier metadata (capabilityTier, supportsCheckpoints, supportsBranching) inspected by P.flow at build time without duck-typing runtime driver methods.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the isolation scope node.
THandleunknownRuntime scope handle type acquired by the scope driver.
TReceipt extends Record<string, unknown>Record<string, unknown>Validated scope inspection receipt shape.
TSync extends Record<string, unknown>Record<string, unknown>Validated scope synchronization receipt shape.
TTier extends ScopeCapabilityTierScopeCapabilityTierStatic capability tier ('scope' | 'checkpointable' | 'branchable').

Properties ​

PropertyModifierTypeDescriptionDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the scope node to its runtime handle type.ast/base/base-isolation-scope-ast-node.ts:42
capabilityTierreadonlyTTierDeclarative capability tier governing allowed flow and actor features.ast/base/base-isolation-scope-ast-node.ts:30
conflictCleanCheck?readonlyBaseCheckASTNode<string, THandle>Optional deterministic check enforced after a conflicted merge or rebase.ast/base/base-isolation-scope-ast-node.ts:40
idreadonlystringLogical identifier of the isolation scope configuration.ast/base/base-isolation-scope-ast-node.ts:28
receiptSchemareadonlyZodType<TReceipt>Zod schema validating scope receipts returned by inspect() and commitChild().ast/base/base-isolation-scope-ast-node.ts:36
supportsBranchingreadonly[TTier] extends ["branchable"] ? true : falseCompile-time boolean brand indicating whether BranchableScope is supported.ast/base/base-isolation-scope-ast-node.ts:34
supportsCheckpointsreadonly[TTier] extends ["checkpointable" | "branchable"] ? true : falseCompile-time boolean brand indicating whether CheckpointableScope is supported.ast/base/base-isolation-scope-ast-node.ts:32
syncSchema?readonlyZodType<TSync, unknown, $ZodTypeInternals<TSync, unknown>>Optional Zod schema validating sync receipts returned by syncChild() and syncRoot().ast/base/base-isolation-scope-ast-node.ts:38
typereadonlyTTypeUnique string-literal discriminant of the isolation scope node.ast/base/base-isolation-scope-ast-node.ts:26

Released under the MIT License.