Skip preflight evidence setup when capture is disabled
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Pipeline Preflight Review Remediation
|
||||
|
||||
All five findings are implemented and individually verified. The audit text below
|
||||
is retained as context; each finding's completion marker records its resolution.
|
||||
|
||||
## Scope And Overall Assessment
|
||||
|
||||
Reviewed implementation commit `c08e5ab` against all eleven stages of
|
||||
@@ -245,6 +248,11 @@ thresholds and production benchmarks are unnecessary.
|
||||
|
||||
## Finding 5: Skip Evidence Preparation When Capture Is Disabled
|
||||
|
||||
**Status: Complete.** Disabled capture now passes a nil smoke observer and never
|
||||
constructs the evidence writer or its mask indexes. Enabled capture retains the
|
||||
same evidence lifecycle. Focused enabled/disabled command, capture-failure,
|
||||
native-verdict, and provider-count tests pass.
|
||||
|
||||
**Priority:** P3 — avoidable work; plan Stage 7.
|
||||
|
||||
**Owner:** [Preflight command](../../internal/cli/pipeline_preflight.go), lines
|
||||
|
||||
Reference in New Issue
Block a user