pub struct PhaseContext {
pub spec_id: String,
pub spec_dir: PathBuf,
pub config: HashMap<String, String>,
pub artifacts: Vec<String>,
pub selectors: Option<Selectors>,
pub strict_validation: bool,
pub redactor: Arc<SecretRedactor>,
}Expand description
Context information passed to phases during execution
Fields§
§spec_id: StringUnique identifier for the spec being processed
spec_dir: PathBufBase directory for the spec artifacts
config: HashMap<String, String>Configuration and runtime parameters
artifacts: Vec<String>Available artifacts from previous phases
selectors: Option<Selectors>Content selectors for packet building (from config)
If Some, phases should use these selectors when building packets.
If None, phases fall back to built-in selector defaults.
strict_validation: boolEnable strict validation for phase outputs.
When true, validation failures (meta-summaries, too-short output,
missing required sections) become hard errors that fail the phase.
When false, validation issues are logged as warnings only.
redactor: Arc<SecretRedactor>Secret redactor for any user-facing output emitted during phase execution.
This is built once from the effective configuration and threaded through to ensure configured extra/ignore patterns are applied consistently.
Trait Implementations§
Source§impl Clone for PhaseContext
impl Clone for PhaseContext
Source§fn clone(&self) -> PhaseContext
fn clone(&self) -> PhaseContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more