pub struct SelectionInput {
pub harness: Vec<HarnessCandidate>,
pub user_turn: Option<UserTurnCandidate>,
pub instructions: Vec<InstructionCandidate>,
pub pins: Vec<PinnedCandidate>,
pub compaction_summaries: Vec<CompactionSummaryCandidate>,
pub transcript: Vec<TranscriptCandidate>,
pub skills: Vec<SkillCandidate>,
pub dropped_ids: Vec<String>,
}Expand description
All candidate sources for a turn, ready for selection.
Built by the caller from boundary work (filesystem discovery and transcript projection). The policy consumes this without further I/O.
Fields§
§harness: Vec<HarnessCandidate>Always-loaded harness fragments.
user_turn: Option<UserTurnCandidate>Current user turn text, outside ordinary budget eviction.
instructions: Vec<InstructionCandidate>Scoped project instructions, closest-first.
pins: Vec<PinnedCandidate>Active pins.
compaction_summaries: Vec<CompactionSummaryCandidate>Compaction summaries, latest last.
transcript: Vec<TranscriptCandidate>Recent transcript candidates, oldest first.
skills: Vec<SkillCandidate>Discovered and loaded skills.
dropped_ids: Vec<String>Explicitly dropped item ids (persist until source change or reset).
Trait Implementations§
Source§impl Clone for SelectionInput
impl Clone for SelectionInput
Source§fn clone(&self) -> SelectionInput
fn clone(&self) -> SelectionInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectionInput
impl Debug for SelectionInput
Source§impl Default for SelectionInput
impl Default for SelectionInput
Source§fn default() -> SelectionInput
fn default() -> SelectionInput
Returns the “default value” for a type. Read more
impl Eq for SelectionInput
Source§impl PartialEq for SelectionInput
impl PartialEq for SelectionInput
impl StructuralPartialEq for SelectionInput
Auto Trait Implementations§
impl Freeze for SelectionInput
impl RefUnwindSafe for SelectionInput
impl Send for SelectionInput
impl Sync for SelectionInput
impl Unpin for SelectionInput
impl UnsafeUnpin for SelectionInput
impl UnwindSafe for SelectionInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more