pub(crate) struct PurposeCurationPage {Show 22 fields
pub(crate) project_instance_id: String,
pub(crate) active_generation: u64,
pub(crate) task: String,
pub(crate) work_key: String,
pub(crate) actionable: bool,
pub(crate) curation_scope: &'static str,
pub(crate) total: usize,
pub(crate) unfiltered_total: usize,
pub(crate) returned: usize,
pub(crate) start_index: usize,
pub(crate) limit: usize,
pub(crate) max_limit: usize,
pub(crate) next_start_index: Option<usize>,
pub(crate) truncated: bool,
pub(crate) source_only: bool,
pub(crate) folder_scope: String,
pub(crate) file_scope: String,
pub(crate) category: String,
pub(crate) severity: String,
pub(crate) path_prefix: String,
pub(crate) summary_only: bool,
pub(crate) items: Vec<PurposeCurationItem>,
}Expand description
Agent-facing purpose curation queue with bounded health metadata.
Fields§
§project_instance_id: StringSelected project identity bound into every work key.
active_generation: u64Active generation bound into every work key and state token.
task: StringHost-owned task label for this bounded batch.
work_key: StringDeterministic identity for the complete returned batch.
actionable: boolWhether this page contains work a host or main agent can process.
curation_scope: &'static strPurpose policy scope; automatic handoffs are always low scope.
total: usizeFindings after filters are applied.
unfiltered_total: usizeFindings before filters are applied, after resolved findings are removed.
returned: usizeFindings returned in this page.
start_index: usizePagination start index used for this page.
limit: usizeMaximum findings requested for this page.
max_limit: usizeMaximum allowed page size.
next_start_index: Option<usize>Next start index when more rows are available.
truncated: boolWhether more rows are available.
source_only: boolWhether the queue is restricted to source-relevant paths.
folder_scope: StringFolder scope included in the queue.
file_scope: StringFile scope included in the queue.
category: StringApplied category filter.
severity: StringApplied severity filter.
path_prefix: StringApplied path-prefix filter.
summary_only: boolWhether rows were intentionally omitted.
items: Vec<PurposeCurationItem>Queue items that need agent inspection or approval.
Trait Implementations§
Source§impl Debug for PurposeCurationPage
impl Debug for PurposeCurationPage
Auto Trait Implementations§
impl Freeze for PurposeCurationPage
impl RefUnwindSafe for PurposeCurationPage
impl Send for PurposeCurationPage
impl Sync for PurposeCurationPage
impl Unpin for PurposeCurationPage
impl UnwindSafe for PurposeCurationPage
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more