SessionScope class
The tree execution lifecycle for one admitted work bead's circuit.
It asks the station admission authority for durable attempt transitions.
Key it ValueKey('${bead.id}:session') so it persists across cursor ticks
while the work node keeps its branch identity.
- Mixed-in types
Constructors
- SessionScope({required Bead bead, required Circuit circuit, SessionProjection? existingSession, ReapWorktree? reapWorktree, RootCheckout? workRoot, Key? key})
-
Creates the scope for
beadrunningcircuit, with the bead's linkedexistingSession(null until the authority creates one; non-null means the authority admitted an adoption or a retire-then-remint lifecycle).const
Properties
- bead → Bead
-
The work bead this session drives (its id is the circuit's root nodePath
and the mint's
work_beadlinkage).final - circuit → Circuit
-
The root circuit for this work bead.
final
- existingSession → SessionProjection?
-
The bead's linked session projection (the JOIN row) — null when no session
exists yet (mint), non-null once the bridge projects one (adopt). Its
SessionProjection.cursorthreads the per-node cursor down toCircuitScopepull-free (A39).final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Identity
Keyused by keyed reconciliation (Branch.updateChildren). Null means positional (unkeyed) identity.finalinherited - reapWorktree → ReapWorktree?
-
Existing domain-free three-gate seam; null with workRoot disables reap.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workRoot → RootCheckout?
-
Root checkout paired with reapWorktree.
final
Methods
-
createBranch(
) → StatefulBranch -
Creates the mounted
Branchfor this configuration.inherited -
createState(
) → State< SessionScope> - Creates the mutable state for a branch of this seed.
-
debugFillProperties(
DiagnosticsBuilder properties) → void -
Adds this object's diagnostic properties to
properties. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringDeep(
) → String -
Returns a deterministic multiline description of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited