docs(valid-detection-benchmark): persist 10.4/10.5 review advisories

This commit is contained in:
Marius Ciepluch
2026-11-22 20:12:21 +01:00
parent c2b5f5bc92
commit c867f24f7d
@@ -451,3 +451,4 @@
- R1 final validation (2026-11-21), minor drift items: two module-local `OPERATOR_READ_POLICY_DIGEST` constants exist (`admission_replay.py` "scoped-replay-operator-read-policy" vs `run.py` "operator-command-read-policy" — caller-side only, no artifact-key coupling); `sealed_retry.py` imports the private `_reference_value` from `sealed_diagnostics` (not in `__all__`); 9.2's `score_replacement_replay` and 8.5's `derive_scoped_replay` are parallel wrappers over the same core `score_and_replay` (the admission path uses 8.5's; 9.2's seam is the 10/11+ product surface). Revisit when 11.x wires the entry points.
- Task 10.1 review: `sourcing_queue_build._request_order` sorts by (url, advisory_locator, reachability_digest, model_digest) with a stable sort, so two distinct candidates tying on all four keys get cap selection decided by input order (restart reproducibility still holds — decode is canonical-bytes-bound — but permutation-rebuild determinism does not). The next task owning that module (10.2+) should extend the sort key with the remaining content digests or refuse tied-but-distinct requests closed. Also noted: an `INSUFFICIENT_FAMILIES` refusal does not durably persist that attempt's exclusions (10.2 owns review-record exclusion durability).
- Task 10.2 review (2026-11-22): both 10.1 fold-ins landed (7-key `_request_order` discriminating old four-key ties + `InsufficientFamiliesRefusal.attempt_exclusions` durable persistence). Residual, forwarded to the next owner of `sourcing_queue_build.py`: distinct candidates differing only in non-digest fix-site scalars (path/function under identical repo/advisory/reachability/manifest/license digests) still tie on all seven keys and get cap selection by input order (round-1 reviewer reproduced divergent state digests across permutations); fix is fix-site scalars in the key or a closed refusal of residual ties. Optional hardening forwarded for the cohort modules: `project_accepted_ground_truth` call sits outside a closed-refusal wrapper (defense-in-depth only; unreachable with a consistent queue), and `decode_cohort_batch` accepts self-consistent forgeries whose `pending_entries`/`outcome.queue_entry_digest` are non-digest strings (downstream matching fails closed; a digest check would match sibling-field rigor). Real Python cohort remains PENDING external review records — the 10.2 done criterion is fixture-verified only.
- Task 10.4/10.5 reviews (2026-11-22), advisories forwarded to the next owners: (a) `cohort_selection.py` `_ledger_facts` accepts a non-tuple `pending_entries` iterable from forged in-process ledgers without STATE_MISMATCH (durable paths enforce tuple-of-digests upstream; failure direction is starvation, never acceptance) — one-line isinstance guard; (b) `positive_set_closure.py` `_validate_closure` lacks the `type() is int` strict check on `total_accepted_positives` (forged float 40.0/bool decodes; no gate can flip; integers are equally forgeable, store authority is the integrity boundary) — one-line strict-int guard; (c) `_pending_by_ecosystem` docstring equivalence claim is false in the CONFLICTING_ACCEPTED_REVIEW corner (committed third-round marks the entry answered, fourth-round conservatively keeps it pending; fail-safe direction, committed behavior untouched) — docstring fix only. Real cohorts for rounds 3 and 4 remain PENDING external review records; the 10.5 combined-set closure (48 positives, both ecosystems, 5 families) is fixture-verified only.