[pitboss] sweep after phase 05: 2 deferred items resolved

This commit is contained in:
pitboss 2026-05-12 03:18:19 -04:00
parent 09553f5b4c
commit 6d147d334e
4 changed files with 430 additions and 4 deletions

View file

@ -475,7 +475,12 @@ pub fn handle(
// ── Dynamic verification (feature-gated) ─────────────────────────────
#[cfg(feature = "dynamic")]
if config.scanner.verify {
let opts = crate::dynamic::verify::VerifyOptions::from_config(config);
let mut opts = crate::dynamic::verify::VerifyOptions::from_config(config);
// Enable the verdict cache (§12 Q5) when an index DB is in use.
// When index_mode is Off, the DB is never created, so no cache.
if index_mode != IndexMode::Off && db_path.exists() {
opts.db_path = Some(db_path.clone());
}
for diag in &mut diags {
let result = crate::dynamic::verify::verify_finding(diag, &opts);
if let Some(ref mut ev) = diag.evidence {