Commit bbaa0f1
committed
fix(ci): seal 14th fix-forward — revert cmd_over_fetch partial_success flip
CI on 83b4b68 failed: test_w809_over_fetch_empty_corpus_partial_success_bool_present
asserts `partial_success is False` on empty corpus — the wave-1 A W805
Pattern-2 sweep over-applied the "disclose empty state" rule to
cmd_over_fetch by flipping partial_success=True on empty_corpus /
no_php_models branches.
W809's contract (sealed by task #907 finding "no Pattern 2 gap") is:
empty corpus → 0 real leaks → partial_success MUST be False. Over-fetch
is legitimately a "0 leaks = healthy" check, not a missing-data Pattern-2
case. The new `detector_state` field on the envelope ("empty_corpus" /
"no_php_models" / "scanned") provides the right disclosure mechanism —
flipping partial_success was redundant AND contract-violating.
Reverted the `if w805_empty_state is not None: partial_success = True`
flip. Kept the detector_state field + verdict text changes (those still
add real signal). Tests/test_w809_over_fetch_empty_corpus.py: 5/5 pass.1 parent 83b4b68 commit bbaa0f1
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
1443 | 1444 | | |
1444 | | - | |
1445 | | - | |
1446 | 1445 | | |
1447 | 1446 | | |
1448 | 1447 | | |
| |||
0 commit comments