From e4ae37958e7174cba3c31c9e020732bc4bc6bc92 Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Sat, 21 Nov 2026 19:41:35 +0100 Subject: [PATCH] docs(valid-detection-benchmark): record R1 final-validation follow-up owners --- .kiro/specs/valid-detection-benchmark/tasks.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.kiro/specs/valid-detection-benchmark/tasks.md b/.kiro/specs/valid-detection-benchmark/tasks.md index ee891403..65fa58be 100644 --- a/.kiro/specs/valid-detection-benchmark/tasks.md +++ b/.kiro/specs/valid-detection-benchmark/tasks.md @@ -446,3 +446,6 @@ - Task 9.1 review empirically confirmed a hardening gap in the committed 8.1 module: `admission_orchestrator._freeze_gate` catches only `(TypeError, ValueError)` while `population_freeze_bytes` raises `AttributeError` for dict-shaped freeze inputs, escaping as an unhandled traceback instead of a closed `FREEZE_NOT_ADMISSION_CLASS` refusal (fail-closed either way). The next task owning that module (8.3) should fold in the one-line except-tuple extension plus an adversarial test. (Folded in by 8.3: tuple now `(TypeError, ValueError, AttributeError)` plus adversarial orchestrator test.) - Task 8.3 (load-bearing for 8.5/11.3): core `authorize_evaluation` cannot run over the committed 8.1/8.2 products — empirically confirmed by two independent reviews: (a) 8.2 `_content_ref` builds ContentRefs over repository artifact *envelopes* while core `resolve_content`/`decode_arm_observation_set` expect raw documents, so no digest-honest resolver can bridge them; (b) `compose_plan_manifest` binds `readiness_digests=(capability_report_digest,)` while core `_validate_readiness` requires real `ReadinessResult` objects whose re-derived digests match. 8.5 must repair the manifest/ref composition in a NEW sibling module (`admission_execution.py` is sealed at 400 LLOC) or amend the core seam before replay; the interim authority is the benchmark-owned `AdmissionSpendReleaseV1` bound to the committed custody receipt. - Hostile-decode discipline (from 8.3's three review rounds): every `json.loads` on untrusted sealed bytes must use `parse_constant` rejection plus a finite `parse_float` hook (numeric-overflow literals like `1e999` bypass `parse_constant`), and `RecursionError` must appear in every recursion-exposed except tuple. Tasks 8.5, 8.6, and 9.3 must apply this to any new decoder of untrusted bytes. +- R1 final validation (2026-11-21): the conversion from the benchmark-owned 8.3/8.4 products (`AdmissionSpendReleaseV1.released_cases` / `ExactScopeProjectionV1`) to the core V3 case graph (`ArmAdmissionCasesV3` / `AdmissionCaseReleaseV3` / `EvaluationSpendBindingV3`) that `derive_scoped_replay` requires is NOT yet committed; `run.py`'s replay-stage signature is today satisfiable only by test fixtures. Owner: tasks 11.3/11.6 (synthetic + governed end-to-end runs) must build this adapter, cross-check 8.4's parallel scoped-denominator computation against the core replay, and wire `bridge_core_authorization` into the production stage. Until then the run command is machinery, not production-complete. +- R1 final validation (2026-11-21): the pre-existing decoders behind the operator read path predate the hostile-decode discipline and lack it — `replacement_artifact_contract.py:207` (json.loads with no parse_constant/finite parse_float/RecursionError), plus `workflow_outcome._decode_canonical` (workflow_outcome.py:394) and `workflow_journal._decode_canonical` (workflow_journal.py:379); 9.3 review reproduced an unhandled RecursionError through them (closed at the run.py boundary only). Owner: task 11.1 (validation harness) or the next task owning `replacement_artifact_contract.py`; 9.3's boundary-level closure is interim. +- 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.