pub(crate) struct PurposeCurationItem {Show 17 fields
pub(crate) work_key: String,
pub(crate) state_token: String,
pub(crate) severity: String,
pub(crate) id: String,
pub(crate) category: String,
pub(crate) path: String,
pub(crate) related_path: String,
pub(crate) kind: String,
pub(crate) language: String,
pub(crate) purpose: String,
pub(crate) purpose_status: String,
pub(crate) purpose_source: String,
pub(crate) purpose_agent_reviewed: bool,
pub(crate) review_priority: String,
pub(crate) review_reason: String,
pub(crate) content_summary: String,
pub(crate) recommendation: String,
}Expand description
One path that needs purpose curation.
Fields§
§work_key: StringDeterministic project/generation/task/path identity for duplicate coalescing.
state_token: StringOpaque current-row token required for stale-safe conditional review.
severity: StringFinding severity.
id: StringStable health finding id.
category: StringHealth finding category.
path: StringIndexed repository-relative path.
Related path for structural findings.
kind: StringNode kind when the path is still indexed.
language: StringDetected language for source files.
purpose: StringCurrent approved or suggested purpose text.
purpose_status: StringPurpose lifecycle status.
purpose_source: StringPurpose source.
purpose_agent_reviewed: boolWhether an agent explicitly reviewed or set this purpose.
review_priority: StringPriority for agent curation.
review_reason: StringStable reason explaining the priority.
content_summary: StringCurrent deterministic content summary.
recommendation: StringRecommended agent action.
Trait Implementations§
Source§impl Debug for PurposeCurationItem
impl Debug for PurposeCurationItem
Auto Trait Implementations§
impl Freeze for PurposeCurationItem
impl RefUnwindSafe for PurposeCurationItem
impl Send for PurposeCurationItem
impl Sync for PurposeCurationItem
impl Unpin for PurposeCurationItem
impl UnwindSafe for PurposeCurationItem
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
§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>
Converts
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>
Converts
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