pub struct DevflowConfig {
pub capture_retention: usize,
pub review_angles: Option<Vec<String>>,
pub external_verify_enabled: bool,
pub yes_ship: bool,
}Expand description
The minimal project configuration introduced by Phase 16 decision D-03.
Missing fields inherit their built-in defaults so operators can specify
only the knobs they need in devflow.toml.
Fields§
§capture_retention: usizeNumber of capture generations to retain per pipeline stage.
review_angles: Option<Vec<String>>Custom Ship review angles; None keeps the built-in angle list.
external_verify_enabled: boolWhether declared external verification commands may run.
yes_ship: boolWhether the Ship gate is standing pre-authorized for this project
(D-12, 28-CONTEXT.md) — the gate’s approval is supplied
automatically and attributed in the gate ledger, exactly as if
--yes-ship had been typed on every invocation. Deliberately
defaults to false, unlike external_verify_enabled: an absent
devflow.toml, or one that omits this key, must never pre-authorize
a Ship. This is a deliberate reversal of Phase 23’s own D-05
(--yes-ship was a per-run flag only, never config-persistable, “so
a standing unattended auto-merge can never become the silent
default”). The reversal’s stated cost, recorded twice: relaxing this
later is easy, but tightening it after operators depend on a
persisted setting is not. commands::start combines this value with
the CLI flag via logical OR rather than replacing it, because the
flag has no negative form — passing --yes-ship always wins.
Implementations§
Source§impl DevflowConfig
impl DevflowConfig
Sourcepub fn capture_retention(&self) -> usize
pub fn capture_retention(&self) -> usize
Return the configured capture-retention count.
Sourcepub fn review_angles(&self) -> Option<&[String]>
pub fn review_angles(&self) -> Option<&[String]>
Return configured review angles, or None to use built-in angles.
Sourcepub fn external_verify_enabled(&self) -> bool
pub fn external_verify_enabled(&self) -> bool
Return whether external verification is enabled.
Trait Implementations§
Source§impl Clone for DevflowConfig
impl Clone for DevflowConfig
Source§fn clone(&self) -> DevflowConfig
fn clone(&self) -> DevflowConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DevflowConfig
impl Debug for DevflowConfig
Source§impl Default for DevflowConfig
impl Default for DevflowConfig
Source§impl<'de> Deserialize<'de> for DevflowConfigwhere
DevflowConfig: Default,
impl<'de> Deserialize<'de> for DevflowConfigwhere
DevflowConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for DevflowConfig
Source§impl PartialEq for DevflowConfig
impl PartialEq for DevflowConfig
impl StructuralPartialEq for DevflowConfig
Auto Trait Implementations§
impl Freeze for DevflowConfig
impl RefUnwindSafe for DevflowConfig
impl Send for DevflowConfig
impl Sync for DevflowConfig
impl Unpin for DevflowConfig
impl UnsafeUnpin for DevflowConfig
impl UnwindSafe for DevflowConfig
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.