fix: correct schema violations in red-team evidence 2026-03-26 (#1173)

## 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 <disinto_bot@noreply.codeberg.org>
This commit is contained in:
johba 2026-03-26 19:55:44 +01:00
parent 02fb8c07f2
commit 63c0a00c15

View file

@ -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)."
}