feat(FN-4333): complete Step 3 — add post-merge audit mode settings row

Fusion-Task-Id: FN-4333
Fusion-Task-Lineage: 39442c0b-046e-4a34-8bdd-0f4c60bea451
This commit is contained in:
Fusion
2026-05-13 10:30:18 -07:00
committed by gsxdsm
parent 7b6db26f41
commit 6b3dd07d0e

View File

@@ -4061,8 +4061,9 @@ export function SettingsModal({
</small>
</div>
<div className="form-group">
<label htmlFor="postMergeAuditMode">Post-Merge Audit Mode</label>
<label htmlFor="postMergeAuditMode">Post-merge audit mode</label>
<select
className="select"
id="postMergeAuditMode"
value={form.postMergeAuditMode ?? "block"}
onChange={(e) =>
@@ -4072,12 +4073,12 @@ export function SettingsModal({
}))
}
>
<option value="block">Block — refuse to auto-complete merges with duplicate-subject or touched-file overlap risks (default)</option>
<option value="warn">Warn log audit findings but auto-complete the merge</option>
<option value="off">Off skip the post-merge audit entirely</option>
<option value="block">Block (default)</option>
<option value="warn">Warn (log findings, continue)</option>
<option value="off">Off (skip audit)</option>
</select>
<small>
Controls how the post-squash / post-rebase audit reacts to risk findings. Regardless of mode, the audit short-circuits overlap-only findings on rebase merges when deterministic verification has already proven the tree — those cannot have produced silent drops. Switch to Warn or Off only if you trust your branches don&apos;t silently drop edits.
Controls the post-merge audit gate. <strong>Block</strong> refuses to auto-complete merges that show duplicate-subject or touched-file overlap risks (most conservative). <strong>Warn</strong> logs findings but auto-completes the merge. <strong>Off</strong> skips the audit entirely. Default: Block. Switching to Warn or Off is recommended only if you trust your branches don&apos;t silently drop edits.
</small>
</div>
<div className="form-group">