harb/tools
johba ff86b3691d chore: extract shared inject.sh, add red-team-sweep.sh (#806)
## What
- `tools/push3-transpiler/inject.sh` — shared transpile+inject logic used by both batch-eval and red-team-sweep
- `batch-eval.sh` — replaced inline 60-line Python block with `inject.sh` call
- `scripts/harb-evaluator/red-team-sweep.sh` — red-teams each kindergarten seed using existing `red-team.sh`, with random smoke test gate

## Why
Sweep script kept breaking because I rewrote the injection logic instead of reusing batch-eval's proven Python. Now there's one copy.

## Testing
- inject.sh tested manually on DO box with optimizer_v3 seed
- Smoke test picks random seed, injects + compiles before starting sweep

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/806
Reviewed-by: review_bot <review_bot@noreply.codeberg.org>
2026-03-15 10:24:03 +01:00
..
push3-evolution chore: extract shared inject.sh, add red-team-sweep.sh (#806) 2026-03-15 10:24:03 +01:00
push3-transpiler chore: extract shared inject.sh, add red-team-sweep.sh (#806) 2026-03-15 10:24:03 +01:00
deploy-optimizer.sh fix: add --tc DeployLocal to forge script invocations 2026-03-12 23:12:25 +00:00