CommitteeSelectionCapability class
The SHADOW selector — one ServiceCapability per review circuit, mounted
BESIDE the full committee and depended on by nothing.
It always resolves to Ok and never carries a grade: it cannot Escalate,
cannot Rewind, cannot report Failed, and never invokes another circuit
node. Every failure it meets — an unreadable artifact, an unresolvable agent
config, a throwing adapter, a refused write — becomes typed provenance in
the persisted run.
Constructors
- CommitteeSelectionCapability({required CommitteeClassifier classifier, required CommitteeSelectionEvidenceSource evidenceSource, required CommitteeSelectionStore store, CommitteeSelectionPolicy policy = kCommitteeSelectionPolicy})
-
Creates the selector over its three injected seams and a defaulted policy
(the ambient
InheritedSeed<CommitteeSelectionPolicy>wins when mounted).const
Properties
- classifier → CommitteeClassifier
-
The bounded one-shot classifier seam.
final
- evidenceSource → CommitteeSelectionEvidenceSource
-
The stage-evidence adapter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- policy → CommitteeSelectionPolicy
-
The policy used when the tree mounts none.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → CommitteeSelectionStore
-
The durable shadow store.
final
Methods
-
createAllocation(
AllocationInputs inputs) → Allocation -
The default
Allocationfor an async service body (ADR-0009 D6) — theServiceAllocation/JobAllocationconvenience: start-runs, no adopt/ detach/update, respawn-or-skip.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
TreeContext context, StepArgs args) → Future< StepOutcome> -
Runs the capability body, resolving to its outcome. The host maps the
outcome to a cursor write through the chokepoint. Read ambient values from
contextat entry; after every await, checkStepArgs.cancelbefore touching the context again. -
supervisionPolicy(
StepArgs args) → SupervisionPolicy -
This capability's per-kind supervision declaration.
inherited
-
teardown(
StepArgs args) → Future< void> -
Idempotent cleanup on unmount. Defaults to a no-op. Dispose-path: NO tree
context (see
ProcessCapability.teardown).inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited