harb/scripts
openhands 7950608179 fix: address review findings for red-team memory tracking (#820)
- make_pattern: replace text.find('stake')/find('unstake') with
  re.search(r'\bstake\b')/re.search(r'\bunstake\b') so 'stake' is never
  found as a substring of 'unstake' (bug #1)
- make_pattern: track first-occurrence position of each op and sort by
  position before building the sequence string, preserving actual
  execution order instead of a hardcoded canonical order (bug #2)
- insight capture: track insight_pri on the current dict; only overwrite
  stored insight when new match has strictly higher priority (lower index),
  preventing a late 'because...' clause from silently replacing an earlier
  'Key Insight:' capture (warning #3)
- run_num: compute max(run)+1 from JSON entries instead of wc -l so run
  numbers stay monotonically increasing after memory trim (info #4)
- red-team-sweep.sh: also set adaptive flag when any r37-r40 register has
  a variable-form assignment (r40 = uint256(someVar)), catching candidates
  where only one branch uses constants (warning #5)
- red-team-sweep.sh: remove unnecessary 'import sys as _sys' in except
  block; sys is already in scope (nit #6)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:54:01 +00:00
..
harb-evaluator fix: address review findings for red-team memory tracking (#820) 2026-03-15 15:54:01 +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