pub struct ScratchpadConfig {Show 17 fields
pub enabled: bool,
pub max_notes_per_run: usize,
pub remind_after_readonly_tools: usize,
pub remind_enabled: bool,
pub inject_summary_max_chars: usize,
pub inject_on_report_keywords: Vec<String>,
pub retention_days: u32,
pub coverage_soft_ratio: f64,
pub coverage_hard_ratio: f64,
pub coverage_hard_block_enabled: bool,
pub coverage_count_deferred_as_accounted: bool,
pub require_deferred_meta: bool,
pub coverage_reviewed_warn_ratio: f64,
pub coverage_reviewed_hard_ratio: f64,
pub coverage_reviewed_hard_block_enabled: bool,
pub auditor_from_scratchpad: bool,
pub auditor_include_medium_min: usize,
}Expand description
Resolved scratchpad settings for engine + tools.
Fields§
§enabled: bool§max_notes_per_run: usize§remind_after_readonly_tools: usize§remind_enabled: bool§inject_summary_max_chars: usize§inject_on_report_keywords: Vec<String>§retention_days: u32§coverage_soft_ratio: f64Phase C1: soft warn when accounted_ratio is below this (default 0.85).
coverage_hard_ratio: f64Phase C1: hard block P2 summary when below this (default 0.60).
coverage_hard_block_enabled: bool§coverage_count_deferred_as_accounted: boolWhen true, deferred counts toward accounted only with kind=meta reason (§6.12.4).
require_deferred_meta: boolPhase C1: set_area(deferred) requires kind=meta with non-empty claim.
coverage_reviewed_warn_ratio: f64L0 lists deferred areas when reviewed_ratio is below this (default 0.70).
coverage_reviewed_hard_ratio: f64Hard block write_file to audit deliverables when reviewed_ratio is below this (default 0.40).
coverage_reviewed_hard_block_enabled: bool§auditor_from_scratchpad: boolPhase C2: prepend scratchpad verified note_id table to Auditor spawn.
auditor_include_medium_min: usizePhase C2: include all MEDIUM in track A when count ≥ this (default 3).
Trait Implementations§
Source§impl Clone for ScratchpadConfig
impl Clone for ScratchpadConfig
Source§fn clone(&self) -> ScratchpadConfig
fn clone(&self) -> ScratchpadConfig
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 ScratchpadConfig
impl Debug for ScratchpadConfig
Auto Trait Implementations§
impl Freeze for ScratchpadConfig
impl RefUnwindSafe for ScratchpadConfig
impl Send for ScratchpadConfig
impl Sync for ScratchpadConfig
impl Unpin for ScratchpadConfig
impl UnsafeUnpin for ScratchpadConfig
impl UnwindSafe for ScratchpadConfig
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