harb/scripts
openhands f3fb1c3db0 fix: fix: red-team cross-pattern export records intermediate states as DECREASED (#852)
The extract_memory regex previously matched any "lm.?eth" mention,
including mid-execution "Total LM ETH: X wei" output lines produced by
the agent's cast check commands.  During a staking step these lines
reflect an intermediate chain state (ETH temporarily locked/moved)
rather than the final reverted state, causing strategies to be recorded
as DECREASED even when the runner confirmed ETH_SAFE.

Fix: narrow the capture to the structured `lm_eth_after: <value>`
label that the agent writes in its final RED-TEAM REPORT block.
Mid-execution total-ETH lines no longer match and cannot corrupt the
per-strategy result in memory or the cross-patterns file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 13:19:03 +00:00
..
harb-evaluator fix: fix: red-team cross-pattern export records intermediate states as DECREASED (#852) 2026-03-16 13:19:03 +00:00
bootstrap-common.sh fix: restore bootstrap_vwap from master 2026-03-14 13:31:23 +00:00
build-ci-images.sh refactor: consolidate CI and local dev orchestration (#108) 2026-02-03 12:07:28 +01:00
build-kraiken-lib.sh tax rate, version and compose (#70) 2025-10-07 19:26:08 +02:00
ci-bootstrap.sh fix: move VWAP bootstrap from forge script to bootstrap-common.sh 2026-03-13 23:28:52 +00:00
dev.sh feat: add Otterscan block explorer to dev environment (#109) 2026-02-13 14:55:07 +00:00
quick-screenshot.mjs fill stake e2e 2025-10-11 17:54:49 +00:00
review-poll.sh fix: address review — migration comment, link ring buffer constants (#170) 2026-02-22 18:56:36 +00:00
review-pr.sh fix: address review — migration comment, link ring buffer constants (#170) 2026-02-22 18:56:36 +00:00
run-usertest.sh feat/ponder-lm-indexing (#142) 2026-02-18 00:19:05 +01:00
screenshot-stake-page.mjs fill stake e2e 2025-10-11 17:54:49 +00:00
sync-tax-rates.mjs tax rate, version and compose (#70) 2025-10-07 19:26:08 +02:00
wait-for-service.sh refactor: consolidate CI and local dev orchestration (#108) 2026-02-03 12:07:28 +01:00
watch-kraiken-lib.sh migrate/podman-to-docker (#92) 2025-11-08 14:08:46 +01:00