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 more