From b29917381f63437827bb697aeff07e9d7263d08d Mon Sep 17 00:00:00 2001 From: CyberSecurityUP Date: Thu, 3 Dec 2026 09:37:30 -0300 Subject: [PATCH] fix(web): apply Settings Engine (reactive/phased) to the wizard - choosing Phased in Settings now unchecks the wizard Reactive engine box - avoids the checkbox default re-enabling reactive and skipping tool recon --- web/public/app.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/public/app.js b/web/public/app.js index e7bf05a..b01bd88 100644 --- a/web/public/app.js +++ b/web/public/app.js @@ -665,6 +665,14 @@ async function loadProviders() { sel.addEventListener('change', onProviderChange); try { const cfg = await api('/api/config/settings'); + // Settings → Engine is the default for new runs; without this the wizard's + // reactive checkbox stayed checked and every web run used the reactive + // engine (no tool-recon / URL harvest) even when the operator chose phased. + const rbox = $('#fieldReactive'); + if (rbox) { + if (cfg.reactive === 'off') rbox.checked = false; + else if (cfg.reactive === 'on') rbox.checked = true; + } if (cfg.defaultModel) { const parts = cfg.defaultModel.split(':'); if (parts.length >= 2) {