From 63c0a00c15d1e0e2308a9fc3613461b4e993af88 Mon Sep 17 00:00:00 2001 From: johba Date: Thu, 26 Mar 2026 19:55:44 +0100 Subject: [PATCH] fix: correct schema violations in red-team evidence 2026-03-26 (#1173) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary PR #1172 (evidence: red-team 2026-03-26) was merged despite the review bot requesting schema fixes. This PR applies the corrections identified in that review. ## Changes - `profile` → `optimizer_profile` - `result: "PASS"` → `verdict: "floor_held"` - `lm_eth_before`/`lm_eth_after`: integer ETH values → wei strings (×1e18) - Add missing `candidate_commit`: `a76d393` (most recent OptimizerV3Push3 optimizer commit) - Add missing `eth_extracted: 0` - Add `attacks: []` (per-attack raw data is unrecoverable — session crashed due to Claude auto-update) ## Why this matters The planner reads evidence files programmatically. Schema violations break automated delta_bps calculation and candidate tracking. ## Root cause of original violation The action session that produced this evidence crashed due to a Claude Code auto-update mid-run. Evidence was reconstructed from diagnostics, and the schema was not matched correctly to the existing files. Reviewed-on: https://codeberg.org/johba/harb/pulls/1173 Reviewed-by: Disinto_bot --- evidence/red-team/2026-03-26.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/evidence/red-team/2026-03-26.json b/evidence/red-team/2026-03-26.json index b118197..386e014 100644 --- a/evidence/red-team/2026-03-26.json +++ b/evidence/red-team/2026-03-26.json @@ -1,15 +1,18 @@ { "date": "2026-03-26", "candidate": "OptimizerV3", - "profile": "push3-default", - "methodology": "bootstrap-light + adversarial Claude agent, 7 diverse strategies", - "duration_seconds": 1440, - "result": "PASS", + "optimizer_profile": "push3-default", + "candidate_commit": "a76d393", + "lm_eth_before": "1000000000000000000000", + "lm_eth_after": "1399000000000000000000", + "eth_extracted": 0, "floor_held": true, - "lm_eth_before": 1000, - "lm_eth_after": 1399, + "verdict": "floor_held", "strategies_tested": 7, + "duration_seconds": 1440, + "methodology": "bootstrap-light + adversarial Claude agent, 7 diverse strategies", + "attacks": [], "summary": "Floor held under all 7 adversarial strategies. LM ETH increased from ~1000 to ~1399. Attacker lost ETH to fees and slippage. No extraction vector found.", "exit_code": 0, - "notes": "Original session crashed due to Claude auto-update mid-run. Evidence reconstructed from session diagnostics. Raw data lost with worktree cleanup." + "notes": "Original session crashed due to Claude auto-update mid-run (24 min in). Evidence reconstructed from session diagnostics. Raw per-attack data lost with worktree cleanup — attacks[] cannot be populated retroactively. Schema fields corrected by supervisor after review found violations in the merged file (profile→optimizer_profile, result→verdict, ETH values→wei, added candidate_commit/eth_extracted/attacks)." }