DiscoveryCommitteeSelectionEvidenceSource class
Reads one stage's evidence out of the live worktree.
Best-effort by construction: the discovery readers already degrade an absent/corrupt artifact to null, and the pinned diff is read through the same posture. Nothing here throws for a missing input.
- Implemented types
Constructors
- DiscoveryCommitteeSelectionEvidenceSource({required CommitteePinnedDiffPath pinnedDiffPathFor, DiscoveryAnchors? readAnchors(String workspaceDir) = readDiscoveryAnchors, DiscoveryDossier? readDossier(String workspaceDir) = readDiscoveryDossier})
-
Creates the source over the injected
pinnedDiffPathForderiver, with the two discovery readers overridable so an offline fixture never touches a real filesystem.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pinnedDiffPathFor → CommitteePinnedDiffPath
-
Derives the absolute pinned-diff path under a workspace.
final
- readAnchors → DiscoveryAnchors? Function(String workspaceDir)
-
Reads the round's deterministic gather.
final
- readDossier → DiscoveryDossier? Function(String workspaceDir)
-
Reads the round's curated dossier.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
{required CommitteeStage stage, required String workBeadId, required String workspaceDir}) → CommitteeSelectionEvidence -
Reads the normalized evidence for
stageatworkspaceDir. A missing or malformed artifact is reported through CommitteeSelectionEvidence.missingEvidenceIds, never thrown.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited