pub enum HealthScope {
All,
SourceOnly,
PurposeDefault,
PurposeWithAssets,
PurposeWithSourceFiles,
PurposeStrict,
}Expand description
Scope controls for bounded health and purpose-curation queries.
Variants§
All
Include all indexed paths.
SourceOnly
Include only source files and folders with source descendants.
PurposeDefault
Include all folders plus high-impact files.
PurposeWithAssets
Include all folders, high-impact files, and non-source files.
PurposeWithSourceFiles
Include all folders, high-impact files, and all source files.
PurposeStrict
Include every indexed file and folder.
Implementations§
Source§impl HealthScope
impl HealthScope
Sourcepub fn source_only() -> Self
pub fn source_only() -> Self
Scope restricted to source-relevant paths.
Sourcepub fn purpose_default() -> Self
pub fn purpose_default() -> Self
Default agent purpose curation scope: folders plus high-impact files.
Sourcepub fn purpose_with_assets() -> Self
pub fn purpose_with_assets() -> Self
Purpose curation scope including non-source asset files.
Sourcepub fn purpose_with_source_files() -> Self
pub fn purpose_with_source_files() -> Self
Purpose curation scope including all source files.
Sourcepub fn purpose_strict() -> Self
pub fn purpose_strict() -> Self
Strict purpose curation scope including every indexed path.
Sourcepub fn is_source_focused(self) -> bool
pub fn is_source_focused(self) -> bool
Whether this scope should be reported as source-focused in agent payloads.
Sourcepub fn is_purpose_queue(self) -> bool
pub fn is_purpose_queue(self) -> bool
Whether this scope uses the folder-first high-impact purpose queue.
Trait Implementations§
Source§impl Clone for HealthScope
impl Clone for HealthScope
Source§fn clone(&self) -> HealthScope
fn clone(&self) -> HealthScope
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HealthScope
impl Debug for HealthScope
Source§impl PartialEq for HealthScope
impl PartialEq for HealthScope
impl Copy for HealthScope
impl Eq for HealthScope
impl StructuralPartialEq for HealthScope
Auto Trait Implementations§
impl Freeze for HealthScope
impl RefUnwindSafe for HealthScope
impl Send for HealthScope
impl Sync for HealthScope
impl Unpin for HealthScope
impl UnwindSafe for HealthScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.