Repository navigation
fix(verify): mirror the #1497 private-audit boundary in the artifact verifier - #1655
Merged
Merged
Conversation
…verifier Action-smoke run 42219180484 (head 9b0515b) failed only at the verifier step: review/orchestrator_plan.json omitted exactly two tertiary refutation-confirmation observation follow-up tasks that the verifier's expected_orchestrator_plan recomputation predicted (follow-up-5b086cfae3c6 for obsgrp-0008-2d45ab4ac464 and follow-up-54be0a39f8ab for obsgrp-0010-a2fe5afa15a3, both sources=["model-failed-objection"]). Classification: verifier-stale. PR #1497 (commit 8f77a63) deliberately extended the shared private-audit predicate is_pr_body_artifact_only_observation with is_model_only_failed_objection (src/noise.rs:64), which follow_up_task_for_observation_group (src/follow_up_routing.rs:164) consumes: model-only failed objections stopped receiving follow-up tasks by construction of the shared predicate. The Python mirror never gained that condition - nor the older #914 (commit f6c7a1c) specialist-audit kind match (src/noise.rs:65-68), nor the #914 internal-audit kind/status vocabulary (src/validate.rs:16-34) that require_observation_schema enforces downstream of the plan check. Mirror all three in scripts/verify-bun-review-artifacts.py, citing the Rust rules, and add the discriminating self-test self_test_model_only_failed_objection_follow_up_suppressed (suppressed for model-only provenance, preserved with an independent evidence source, internal-audit kinds artifact-only; Rust replay src/noise.rs:1154-1208). Validation: - scripts/verify-bun-review-artifacts.py against the retained smoke artifact set F:/Temp/smoke-artifacts/ub-review-model-smoke with --min-ok-model-lanes 10 --require-no-model-evidence-failures: fails on origin/main with "review/orchestrator_plan.json does not match pre-follow-up evidence routing", passes with this change. - --self-test: passes under WSL; on native Windows it crashes in the pre-existing self_test_task_ledger_receipt_links symlink step (WinError 1314), identically on pristine origin/main, so that block is an environment limitation, not this change. - the new self-test scenario yields 1 follow-up task on the pre-fix mirror and 0 on the fixed mirror (Rust emits 0). Reference: #1341 (campaign enabler; smoke run 42219180484).
Contributor
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 54 minutes. View limit details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause
Action-smoke run
42219180484
(main
9b0515bb, MiniMax model smoke, 10 usable lanes) failed only at theverifier step with
review/orchestrator_plan.json does not match pre-follow-up evidence routing.The actual plan omitted exactly two tertiary observation follow-up tasks —
follow-up-5b086cfae3c6(obsgrp-0008-2d45ab4ac464) andfollow-up-54be0a39f8ab(obsgrp-0010-a2fe5afa15a3) — while every otherserialized line of the plan matched the verifier's recomputation.
Both observation groups carry
sources: ["model-failed-objection"]. PR #1497(commit
8f77a63b) deliberately extended the shared private-audit predicateis_pr_body_artifact_only_observationwithis_model_only_failed_objection(
src/noise.rs:47-53, applied atsrc/noise.rs:64, rationale in-code and indocs/calibration/ripr-8262.md: a specialist's rejected hypotheses are privateaudit, not earned public refutations).
follow_up_task_for_observation_group(
src/follow_up_routing.rs:164) already consumed that predicate, so byconstruction of the deliberate predicate extension, model-only failed
objections stopped receiving follow-up question tasks. The Python mirror in
scripts/verify-bun-review-artifacts.pynever gained that condition — nor theolder #914 (
f6c7a1c2) specialist-audit kind match (src/noise.rs:65-68),nor the #914 internal-audit kind/status vocabulary (
src/validate.rs:16-34)that
require_observation_schemaenforces immediately downstream of the plancheck (the smoke artifact contains a
malformed-internal-auditobservation,so the plan fix alone does not reach a green run).
Classification: verifier-stale
The orchestrator behaved as deliberately changed; the verifier's
expected-plan recomputation was stale. No Rust change is proposed or needed.
Change
Mirror the three Rust rules in the Python verifier, each citing its Rust
file:line and originating PR/commit:
is_model_only_failed_objectionadded and applied insideis_pr_body_artifact_only_observation(mirror ofsrc/noise.rs:47-53,64).empty-internal-audit/malformed-internal-auditkind match inside thesame predicate (mirror of
src/noise.rs:65-68).require_observation_schemaaccepts the two internal-audit kinds and thedegraded/failedstatuses restricted to those kinds (mirror ofsrc/validate.rs:16-34).Plus a discriminating self-test
self_test_model_only_failed_objection_follow_up_suppressed: an exclusivelymodel-failed-objectiongroup gets no follow-up task (but keeps itsobservation group), the same group with an independent evidence source keeps
its tertiary
refutation-confirmationtask, and the specialist audit kindsstay artifact-only (Rust replay:
src/noise.rs:1154-1208).Discriminating validation
python -I scripts/verify-bun-review-artifacts.py F:/Temp/smoke-artifacts/ub-review-model-smoke --min-ok-model-lanes 10 --require-no-model-evidence-failures— fails on pristine
origin/mainwithreview/orchestrator_plan.json does not match pre-follow-up evidence routing, passes with this change (review artifact contract verified,exit 0, 10 usable model lanes).
python -I scripts/verify-bun-review-artifacts.py --self-test— passes(under WSL, exit 0). On native Windows the suite crashes in the
pre-existing
self_test_task_ledger_receipt_linkssymlink step(
OSError: [WinError 1314] A required privilege is not held by the client), identically on pristineorigin/main— an environmentlimitation of this Windows box, not this change.
1 predicted follow-up task on the pre-fix mirror and 0 on the fixed
mirror (the Rust emission is 0), so the test discriminates exactly the
drifted rule.
Known gaps
(
self_test_noise_rule_phrase_parity_with_rust) compares onlycontains("…")phrases and structurally cannot catch non-phrase predicatedrift such as source-provenance or kind matches — this incident is exactly
such drift, found by the artifact contract instead. A structural-parity
guard is a separate, larger obligation and is out of scope here.
cargovalidation was run.Reference: #1341 (campaign enabler; smoke run 42219180484). This PR does not
close that issue.