Summary
The #791 fix added three log lines to QfcStreamingDequeueConfidenceGate (launch, zero-acceptance checkpoint, scan bound reached). The launch and checkpoint lines are content-asserted by tests; the scan-bound line emitted by LogScanBoundReached is not asserted by any test, so a regression in its content (the Bound= value or the Decision=stop token) would pass the suite. AC1 of #791 requires the bound decision to be logged.
Environment
- OS/version: Windows 11 Pro 10.0.26200
- Python version: n/a (C# / .NET Framework 4.8 VSTO add-in)
- Command/flags used: static review of branch bug/quickfiler-high-confidence-cancel-teardown-and-deadline-defects-791 at 5953636
- Data source or fixture: none (code review finding N3 in code-review.2026-09-06T15-31.md)
Steps to Reproduce
- Search QuickFiler.Test for the literals
scan bound reached, Bound=, and Decision=stop: zero matches.
- Compare with the launch and checkpoint lines, which
QfcStreamingDequeueConfidenceGateTests.Part4.cs asserts through the injected debugLog delegate.
Expected Behavior
A test drives the gate to ScanCapReached (item cap and time ceiling) and asserts the emitted line carries the cutoff, scanned and accepted counts, the bound that fired, and the stop decision.
Actual Behavior
The ScanCapReached tests assert the stop reason and that no further take occurs, but not the log line content.
Logs / Screenshots
Impact / Severity
Low: a diagnostics-only gap; the behavior itself is tested.
Source
From: docs/features/potential/2026-09-06-gate-scan-bound-log-line-content-unasserted.md
Summary
The #791 fix added three log lines to
QfcStreamingDequeueConfidenceGate(launch, zero-acceptance checkpoint, scan bound reached). The launch and checkpoint lines are content-asserted by tests; the scan-bound line emitted byLogScanBoundReachedis not asserted by any test, so a regression in its content (theBound=value or theDecision=stoptoken) would pass the suite. AC1 of #791 requires the bound decision to be logged.Environment
Steps to Reproduce
scan bound reached,Bound=, andDecision=stop: zero matches.QfcStreamingDequeueConfidenceGateTests.Part4.csasserts through the injecteddebugLogdelegate.Expected Behavior
A test drives the gate to
ScanCapReached(item cap and time ceiling) and asserts the emitted line carries the cutoff, scanned and accepted counts, the bound that fired, and the stop decision.Actual Behavior
The
ScanCapReachedtests assert the stop reason and that no further take occurs, but not the log line content.Logs / Screenshots
Impact / Severity
Low: a diagnostics-only gap; the behavior itself is tested.
Source
From: docs/features/potential/2026-09-06-gate-scan-bound-log-line-content-unasserted.md